diff --git a/.github/workflows/sumocli-build.yml b/.github/workflows/sumocli-build.yml index c455825f..efb3068f 100644 --- a/.github/workflows/sumocli-build.yml +++ b/.github/workflows/sumocli-build.yml @@ -57,14 +57,14 @@ jobs: $build = $Env:GITHUB_RUN_NUMBER $time = Get-Date go build -ldflags ` - "-X 'github.com/wizedkyle/sumocli/internal/build.Version=${{ env.TAG }}' ` - -X 'github.com/wizedkyle/sumocli/internal/build.Build=$build' ` - -X 'github.com/wizedkyle/sumocli/internal/build.Date=$time'" ` + "-X 'github.com/SumoLogic-Incubator/sumocli/internal/build.Version=${{ env.TAG }}' ` + -X 'github.com/SumoLogic-Incubator/sumocli/internal/build.Build=$build' ` + -X 'github.com/SumoLogic-Incubator/sumocli/internal/build.Date=$time'" ` ./cmd/sumocli - name: Signing Executable shell: pwsh run: | - azuresigntool sign --description-url "https://github.com/wizedkyle/sumocli" --file-digest sha256 ` + azuresigntool sign --description-url "https://github.com/SumoLogic-Incubator/sumocli" --file-digest sha256 ` --azure-key-vault-url ${{ secrets.AZURE_KEY_VAULT_URL }} ` --azure-key-vault-client-id ${{ secrets.AZURE_KEY_VAULT_CLIENT_ID }} ` --azure-key-vault-client-secret ${{ secrets.AZURE_KEY_VAULT_CLIENT_SECRET }} ` @@ -115,9 +115,9 @@ jobs: $build = $Env:GITHUB_RUN_NUMBER $time = Get-Date go build -ldflags ` - "-X 'github.com/wizedkyle/sumocli/internal/build.Version=${{ env.TAG }}' ` - -X 'github.com/wizedkyle/sumocli/internal/build.Build=$build' ` - -X 'github.com/wizedkyle/sumocli/internal/build.Date=$time'" ` + "-X 'github.com/SumoLogic-Incubator/sumocli/internal/build.Version=${{ env.TAG }}' ` + -X 'github.com/SumoLogic-Incubator/sumocli/internal/build.Build=$build' ` + -X 'github.com/SumoLogic-Incubator/sumocli/internal/build.Date=$time'" ` ./cmd/sumocli - name: Zip Releases run: | @@ -161,9 +161,9 @@ jobs: $build = $Env:GITHUB_RUN_NUMBER $time = Get-Date go build -ldflags ` - "-X 'github.com/wizedkyle/sumocli/internal/build.Version=${{ env.TAG }}' ` - -X 'github.com/wizedkyle/sumocli/internal/build.Build=$build' ` - -X 'github.com/wizedkyle/sumocli/internal/build.Date=$time'" ` + "-X 'github.com/SumoLogic-Incubator/sumocli/internal/build.Version=${{ env.TAG }}' ` + -X 'github.com/SumoLogic-Incubator/sumocli/internal/build.Build=$build' ` + -X 'github.com/SumoLogic-Incubator/sumocli/internal/build.Date=$time'" ` ./cmd/sumocli env: GOOS: darwin @@ -236,9 +236,9 @@ jobs: run: | time=$(date) go build -ldflags \ - "-X 'github.com/wizedkyle/sumocli/internal/build.Version=${{ env.TAG }}' \ - -X 'github.com/wizedkyle/sumocli/internal/build.Build=$GITHUB_RUN_NUMBER' \ - -X 'github.com/wizedkyle/sumocli/internal/build.Date=$time'" \ + "-X 'github.com/SumoLogic-Incubator/sumocli/internal/build.Version=${{ env.TAG }}' \ + -X 'github.com/SumoLogic-Incubator/sumocli/internal/build.Build=$GITHUB_RUN_NUMBER' \ + -X 'github.com/SumoLogic-Incubator/sumocli/internal/build.Date=$time'" \ ./cmd/sumocli env: GOOS: darwin diff --git a/Dockerfile b/Dockerfile index d7f71d2b..0fbf9c5d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ LABEL maintainer="Kyle Jackson " ENV DEV=true -WORKDIR $GOPATH/src/github.com/wizedkyle/sumocli +WORKDIR $GOPATH/src/github.com/SumoLogic-Incubator/sumocli COPY . . RUN chmod +x ./scripts/build.sh RUN ./scripts/build.sh diff --git a/README.md b/README.md index 737ba0fe..56df041f 100644 --- a/README.md +++ b/README.md @@ -10,22 +10,22 @@ Download the binary for your platform from the Releases page. ### Docker -Each version of Sumocli is published on [Docker Hub](https://hub.docker.com/r/wizedkyle/sumocli). +Each version of Sumocli is published on [Docker Hub](https://hub.docker.com/r/SumoLogic-Incubator/sumocli). Pull the latest image: -`docker pull wizedkyle/sumocli:latest` +`docker pull SumoLogic-Incubator/sumocli:latest` Pull a specific version image: -`docker pull wizedkyle/sumocli:v0.11.0` +`docker pull SumoLogic-Incubator/sumocli:v0.11.0` ### Build Yourself You can build the sumocli application for your platform by performing the following steps: Clone the sumocli repo -`git clone https://github.com/wizedkyle/sumocli` +`git clone https://github.com/SumoLogic-Incubator/sumocli` The repo is using Go modules so you can run go build: diff --git a/cmd/sumocli/main.go b/cmd/sumocli/main.go index 705c7126..05cea172 100644 --- a/cmd/sumocli/main.go +++ b/cmd/sumocli/main.go @@ -1,10 +1,10 @@ package main import ( - "github.com/wizedkyle/sumocli/pkg/cmd/root" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/root" ) func main() { rootCmd := root.NewCmdRoot() rootCmd.Execute() -} \ No newline at end of file +} diff --git a/config/config.go b/config/config.go index 5b485d24..812efee8 100644 --- a/config/config.go +++ b/config/config.go @@ -1,8 +1,8 @@ package config import ( - "github.com/wizedkyle/sumocli/internal/authentication" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumocli/internal/authentication" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "net/http" "time" ) diff --git a/go.mod b/go.mod index 5fa3a88d..dcf9db4a 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/wizedkyle/sumocli +module github.com/SumoLogic-Incubator/sumocli go 1.15 @@ -9,6 +9,7 @@ require ( github.com/Azure/go-autorest/autorest/azure/auth v0.5.5 github.com/Azure/go-autorest/autorest/to v0.4.0 github.com/Azure/go-autorest/autorest/validation v0.3.0 // indirect + github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip v0.10.0 github.com/antihax/optional v1.0.0 github.com/aws/aws-sdk-go-v2/config v1.3.0 github.com/aws/aws-sdk-go-v2/service/cloudtrail v1.3.1 @@ -24,7 +25,6 @@ require ( github.com/spf13/cobra v1.1.1 github.com/spf13/viper v1.7.1 github.com/stretchr/testify v1.6.1 // indirect - github.com/wizedkyle/sumologic-go-sdk/service/cip v0.8.1-0.20210902095618-f1717b030ad5 golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad // indirect golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c golang.org/x/text v0.3.5 // indirect diff --git a/go.sum b/go.sum index 00d06c29..a8fbe81d 100644 --- a/go.sum +++ b/go.sum @@ -40,6 +40,8 @@ github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= +github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip v0.10.0 h1:mTDRnpNTWDpwR78bUA24iFS/MvFYdqyUN1sjYozP01g= +github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip v0.10.0/go.mod h1:7pWkiApE2iO78lfxskkgc2Pl+1182LcFkbfvgdVgtrM= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/antihax/optional v1.0.0 h1:xK2lYat7ZLaVVcIuj82J8kIro4V6kDe0AUDFboUCwcg= @@ -271,14 +273,6 @@ github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/subosito/gotenv v1.2.0 h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s= github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/wizedkyle/sumologic-go-sdk/service/cip v0.6.1-0.20210825094727-8109f4536350 h1:NU8c26arg1JL4m3j2dzDIWG2x5I4tHnN25CY3q331IU= -github.com/wizedkyle/sumologic-go-sdk/service/cip v0.6.1-0.20210825094727-8109f4536350/go.mod h1:vOQqk5F8YEKsMREZsbWKdHAYcrYJsPOkAdhIi4hV0a0= -github.com/wizedkyle/sumologic-go-sdk/service/cip v0.6.1-0.20210829120411-11bcf861ac71 h1:BD0bQb6oYPTJ2RlsTbZI00r0yvGrIwYGTsrr/yCvu4s= -github.com/wizedkyle/sumologic-go-sdk/service/cip v0.6.1-0.20210829120411-11bcf861ac71/go.mod h1:vOQqk5F8YEKsMREZsbWKdHAYcrYJsPOkAdhIi4hV0a0= -github.com/wizedkyle/sumologic-go-sdk/service/cip v0.8.0 h1:ZYpZ/cH0U/IIm/5YHoostbYAw5Ua0NxwEdUrqzLmByM= -github.com/wizedkyle/sumologic-go-sdk/service/cip v0.8.0/go.mod h1:vOQqk5F8YEKsMREZsbWKdHAYcrYJsPOkAdhIi4hV0a0= -github.com/wizedkyle/sumologic-go-sdk/service/cip v0.8.1-0.20210902095618-f1717b030ad5 h1:r8xTM8ki9U3gOkkBYTRRoGb6GFwPZ8oJwIA8qAOxOTY= -github.com/wizedkyle/sumologic-go-sdk/service/cip v0.8.1-0.20210902095618-f1717b030ad5/go.mod h1:vOQqk5F8YEKsMREZsbWKdHAYcrYJsPOkAdhIi4hV0a0= github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= diff --git a/internal/authentication/authentication.go b/internal/authentication/authentication.go index f980eac1..799b8cbf 100644 --- a/internal/authentication/authentication.go +++ b/internal/authentication/authentication.go @@ -3,8 +3,8 @@ package authentication import ( "encoding/base64" "fmt" + "github.com/SumoLogic-Incubator/sumocli/internal/encryption" "github.com/spf13/viper" - "github.com/wizedkyle/sumocli/internal/encryption" "os" "path/filepath" ) diff --git a/internal/authorizers/authorizers.go b/internal/authorizers/authorizers.go index bef05905..6a8af019 100644 --- a/internal/authorizers/authorizers.go +++ b/internal/authorizers/authorizers.go @@ -5,7 +5,7 @@ import ( "github.com/Azure/go-autorest/autorest" "github.com/Azure/go-autorest/autorest/adal" "github.com/Azure/go-autorest/autorest/azure/auth" - "github.com/wizedkyle/sumocli/internal/config" + "github.com/SumoLogic-Incubator/sumocli/internal/config" ) type OAuthGrantType int diff --git a/internal/clients/clients.go b/internal/clients/clients.go index 8039a109..76473c2d 100644 --- a/internal/clients/clients.go +++ b/internal/clients/clients.go @@ -9,8 +9,8 @@ import ( "github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub" "github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus" "github.com/Azure/azure-sdk-for-go/services/web/mgmt/2020-06-01/web" - "github.com/wizedkyle/sumocli/internal/authorizers" - "github.com/wizedkyle/sumocli/internal/config" + "github.com/SumoLogic-Incubator/sumocli/internal/authorizers" + "github.com/SumoLogic-Incubator/sumocli/internal/config" ) func GetAppServiceClient() web.AppsClient { diff --git a/internal/cloud/aws.go b/internal/cloud/aws.go index f7620e76..421a405d 100644 --- a/internal/cloud/aws.go +++ b/internal/cloud/aws.go @@ -1,8 +1,8 @@ package cloud import ( - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/logging" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" ) func SetAWSAuthentication(awsId string, awsKey string, roleArn string) api.ThirdPartyReferenceResourcesAuthentication { diff --git a/internal/config/config.go b/internal/config/config.go index e00f34ef..4a0056c1 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -3,9 +3,9 @@ package config import ( "github.com/Azure/go-autorest/autorest/azure" "github.com/Azure/go-autorest/autorest/to" + "github.com/SumoLogic-Incubator/sumocli/internal/build" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/internal/build" - "github.com/wizedkyle/sumocli/pkg/logging" ) var ( diff --git a/internal/encryption/encryption.go b/internal/encryption/encryption.go index a269ea13..c687c299 100644 --- a/internal/encryption/encryption.go +++ b/internal/encryption/encryption.go @@ -7,7 +7,7 @@ import ( "crypto/sha256" "encoding/hex" "fmt" - "github.com/wizedkyle/sumocli/pkg/logging" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "io" ) diff --git a/pkg/cmd/access-keys/access-keys.go b/pkg/cmd/access-keys/access-keys.go index 525306ab..b8a76bd2 100644 --- a/pkg/cmd/access-keys/access-keys.go +++ b/pkg/cmd/access-keys/access-keys.go @@ -1,13 +1,13 @@ package access_keys import ( + cmdAccessKeysCreate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/access-keys/create" + cmdAccessKeysDelete "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/access-keys/delete" + cmdAccessKeysListAll "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/access-keys/list_all" + cmdAccessKeysListPersonal "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/access-keys/list_personal" + cmdAccessKeysUpdate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/access-keys/update" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - cmdAccessKeysCreate "github.com/wizedkyle/sumocli/pkg/cmd/access-keys/create" - cmdAccessKeysDelete "github.com/wizedkyle/sumocli/pkg/cmd/access-keys/delete" - cmdAccessKeysListAll "github.com/wizedkyle/sumocli/pkg/cmd/access-keys/list_all" - cmdAccessKeysListPersonal "github.com/wizedkyle/sumocli/pkg/cmd/access-keys/list_personal" - cmdAccessKeysUpdate "github.com/wizedkyle/sumocli/pkg/cmd/access-keys/update" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdAccessKeys(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/access-keys/create/create.go b/pkg/cmd/access-keys/create/create.go index a1a82367..5317da52 100644 --- a/pkg/cmd/access-keys/create/create.go +++ b/pkg/cmd/access-keys/create/create.go @@ -1,10 +1,10 @@ package create import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdAccessKeysCreate(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/access-keys/delete/delete.go b/pkg/cmd/access-keys/delete/delete.go index a910ba9a..25e92899 100644 --- a/pkg/cmd/access-keys/delete/delete.go +++ b/pkg/cmd/access-keys/delete/delete.go @@ -1,9 +1,9 @@ package delete import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdAccessKeysDelete(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/access-keys/list_all/list_all.go b/pkg/cmd/access-keys/list_all/list_all.go index 93eb6f99..16dcc55d 100644 --- a/pkg/cmd/access-keys/list_all/list_all.go +++ b/pkg/cmd/access-keys/list_all/list_all.go @@ -1,11 +1,11 @@ package list_all import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdAccessKeysListAll(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/access-keys/list_personal/list_personal.go b/pkg/cmd/access-keys/list_personal/list_personal.go index 7922cefb..8e79ed70 100644 --- a/pkg/cmd/access-keys/list_personal/list_personal.go +++ b/pkg/cmd/access-keys/list_personal/list_personal.go @@ -1,9 +1,9 @@ package list_personal import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdAccessKeysListPersonal(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/access-keys/update/update.go b/pkg/cmd/access-keys/update/update.go index 1f14ec52..18f13e74 100644 --- a/pkg/cmd/access-keys/update/update.go +++ b/pkg/cmd/access-keys/update/update.go @@ -1,10 +1,10 @@ package update import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdAccessKeysUpdate(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/account/account.go b/pkg/cmd/account/account.go index d85c8b2e..2bf1f2dd 100644 --- a/pkg/cmd/account/account.go +++ b/pkg/cmd/account/account.go @@ -1,14 +1,14 @@ package account import ( + NewCmdAccountCreateSubdomain "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/account/create-subdomain" + NewCmdAccountDeleteSubdomain "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/account/delete-subdomain" + NewCmdAccountGetOwner "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/account/get-owner" + NewCmdAccountGetSubdomain "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/account/get-subdomain" + NewCmdAccountRecoverSubdomain "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/account/recover-subdomain" + NewCmdAccountUpdateSubdomain "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/account/update-subdomain" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - NewCmdAccountCreateSubdomain "github.com/wizedkyle/sumocli/pkg/cmd/account/create-subdomain" - NewCmdAccountDeleteSubdomain "github.com/wizedkyle/sumocli/pkg/cmd/account/delete-subdomain" - NewCmdAccountGetOwner "github.com/wizedkyle/sumocli/pkg/cmd/account/get-owner" - NewCmdAccountGetSubdomain "github.com/wizedkyle/sumocli/pkg/cmd/account/get-subdomain" - NewCmdAccountRecoverSubdomain "github.com/wizedkyle/sumocli/pkg/cmd/account/recover-subdomain" - NewCmdAccountUpdateSubdomain "github.com/wizedkyle/sumocli/pkg/cmd/account/update-subdomain" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdAccount(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/account/create-subdomain/create-subdomain.go b/pkg/cmd/account/create-subdomain/create-subdomain.go index 6245563b..38ba2db7 100644 --- a/pkg/cmd/account/create-subdomain/create-subdomain.go +++ b/pkg/cmd/account/create-subdomain/create-subdomain.go @@ -1,10 +1,10 @@ package create_subdomain import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdAccountCreateSubdomain(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/account/delete-subdomain/delete-subdomain.go b/pkg/cmd/account/delete-subdomain/delete-subdomain.go index 1d95bacb..65bc1e19 100644 --- a/pkg/cmd/account/delete-subdomain/delete-subdomain.go +++ b/pkg/cmd/account/delete-subdomain/delete-subdomain.go @@ -1,9 +1,9 @@ package delete_subdomain import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdAccountDeleteSubdomain(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/account/get-owner/get-owner.go b/pkg/cmd/account/get-owner/get-owner.go index 549f4691..84d38f87 100644 --- a/pkg/cmd/account/get-owner/get-owner.go +++ b/pkg/cmd/account/get-owner/get-owner.go @@ -1,9 +1,9 @@ package get_owner import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdAccountGetOwner(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/account/get-subdomain/get-subdomain.go b/pkg/cmd/account/get-subdomain/get-subdomain.go index 8d7a0de5..28c5db9f 100644 --- a/pkg/cmd/account/get-subdomain/get-subdomain.go +++ b/pkg/cmd/account/get-subdomain/get-subdomain.go @@ -1,9 +1,9 @@ package get_subdomain import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdAccountGetSubdomain(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/account/recover-subdomain/recover-subdomain.go b/pkg/cmd/account/recover-subdomain/recover-subdomain.go index a7140ca5..9bf380d7 100644 --- a/pkg/cmd/account/recover-subdomain/recover-subdomain.go +++ b/pkg/cmd/account/recover-subdomain/recover-subdomain.go @@ -1,9 +1,9 @@ package recover_subdomain import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdAccountRecoverSubdomain(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/account/update-subdomain/update-subdomain.go b/pkg/cmd/account/update-subdomain/update-subdomain.go index 5f6c4abd..699cdc20 100644 --- a/pkg/cmd/account/update-subdomain/update-subdomain.go +++ b/pkg/cmd/account/update-subdomain/update-subdomain.go @@ -1,10 +1,10 @@ package update_subdomain import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdAccountUpdateSubdomain(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/apps/apps.go b/pkg/cmd/apps/apps.go index 339bd4f1..65e47e05 100644 --- a/pkg/cmd/apps/apps.go +++ b/pkg/cmd/apps/apps.go @@ -1,12 +1,12 @@ package apps import ( + NewCmdAppsGet "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/apps/get" + NewCmdAppsInstall "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/apps/install" + NewCmdAppsInstallStatus "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/apps/install_status" + NewCmdAppsList "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/apps/list" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - NewCmdAppsGet "github.com/wizedkyle/sumocli/pkg/cmd/apps/get" - NewCmdAppsInstall "github.com/wizedkyle/sumocli/pkg/cmd/apps/install" - NewCmdAppsInstallStatus "github.com/wizedkyle/sumocli/pkg/cmd/apps/install_status" - NewCmdAppsList "github.com/wizedkyle/sumocli/pkg/cmd/apps/list" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdApps(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/apps/get/get.go b/pkg/cmd/apps/get/get.go index 09da3335..766b1f88 100644 --- a/pkg/cmd/apps/get/get.go +++ b/pkg/cmd/apps/get/get.go @@ -1,9 +1,9 @@ package get import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdAppsGet(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/apps/install/install.go b/pkg/cmd/apps/install/install.go index 47a2e34e..7a1bcdf1 100644 --- a/pkg/cmd/apps/install/install.go +++ b/pkg/cmd/apps/install/install.go @@ -1,10 +1,10 @@ package install import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdAppsInstall(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/apps/install_status/install_status.go b/pkg/cmd/apps/install_status/install_status.go index d9707a08..ce8642a8 100644 --- a/pkg/cmd/apps/install_status/install_status.go +++ b/pkg/cmd/apps/install_status/install_status.go @@ -1,9 +1,9 @@ package install_status import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdAppsInstallStatus(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/apps/list/list.go b/pkg/cmd/apps/list/list.go index e7c2c508..3f884637 100644 --- a/pkg/cmd/apps/list/list.go +++ b/pkg/cmd/apps/list/list.go @@ -1,9 +1,9 @@ package list import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdAppsList(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/archive-ingestion/archive-ingestion.go b/pkg/cmd/archive-ingestion/archive-ingestion.go index 6614995f..f4c75ebb 100644 --- a/pkg/cmd/archive-ingestion/archive-ingestion.go +++ b/pkg/cmd/archive-ingestion/archive-ingestion.go @@ -1,12 +1,12 @@ package archive_ingestion import ( + NewCmdArchiveIngestionCreate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/archive-ingestion/create" + NewCmdArchiveIngestionDelete "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/archive-ingestion/delete" + NewCmdArchiveIngestionGet "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/archive-ingestion/get" + NewCmdArchiveIngestionList "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/archive-ingestion/list" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - NewCmdArchiveIngestionCreate "github.com/wizedkyle/sumocli/pkg/cmd/archive-ingestion/create" - NewCmdArchiveIngestionDelete "github.com/wizedkyle/sumocli/pkg/cmd/archive-ingestion/delete" - NewCmdArchiveIngestionGet "github.com/wizedkyle/sumocli/pkg/cmd/archive-ingestion/get" - NewCmdArchiveIngestionList "github.com/wizedkyle/sumocli/pkg/cmd/archive-ingestion/list" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdArchiveIngestion(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/archive-ingestion/create/create.go b/pkg/cmd/archive-ingestion/create/create.go index 1434dfc0..09f46315 100644 --- a/pkg/cmd/archive-ingestion/create/create.go +++ b/pkg/cmd/archive-ingestion/create/create.go @@ -1,11 +1,11 @@ package create import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/rs/zerolog/log" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" "time" ) diff --git a/pkg/cmd/archive-ingestion/delete/delete.go b/pkg/cmd/archive-ingestion/delete/delete.go index 84aab380..34207d1f 100644 --- a/pkg/cmd/archive-ingestion/delete/delete.go +++ b/pkg/cmd/archive-ingestion/delete/delete.go @@ -1,9 +1,9 @@ package delete import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdArchiveIngestionDelete(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/archive-ingestion/get/get.go b/pkg/cmd/archive-ingestion/get/get.go index 24e5417f..5fbef72c 100644 --- a/pkg/cmd/archive-ingestion/get/get.go +++ b/pkg/cmd/archive-ingestion/get/get.go @@ -1,11 +1,11 @@ package get import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdArchiveIngestionGet(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/archive-ingestion/list/list.go b/pkg/cmd/archive-ingestion/list/list.go index 86b7616d..92e0cd63 100644 --- a/pkg/cmd/archive-ingestion/list/list.go +++ b/pkg/cmd/archive-ingestion/list/list.go @@ -1,9 +1,9 @@ package list import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdArchiveIngestionList(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/collectors/collectors.go b/pkg/cmd/collectors/collectors.go index e4e1abc5..2c2d4942 100644 --- a/pkg/cmd/collectors/collectors.go +++ b/pkg/cmd/collectors/collectors.go @@ -1,14 +1,14 @@ package collectors import ( + cmdCollectorCreate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/collectors/create" + cmdCollectorDelete "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/collectors/delete" + cmdCollectorGet "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/collectors/get" + cmdCollectorList "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/collectors/list" + cmdCollectorUpdate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/collectors/update" + cmdCollectorUpgrade "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/collectors/upgrade" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - cmdCollectorCreate "github.com/wizedkyle/sumocli/pkg/cmd/collectors/create" - cmdCollectorDelete "github.com/wizedkyle/sumocli/pkg/cmd/collectors/delete" - cmdCollectorGet "github.com/wizedkyle/sumocli/pkg/cmd/collectors/get" - cmdCollectorList "github.com/wizedkyle/sumocli/pkg/cmd/collectors/list" - cmdCollectorUpdate "github.com/wizedkyle/sumocli/pkg/cmd/collectors/update" - cmdCollectorUpgrade "github.com/wizedkyle/sumocli/pkg/cmd/collectors/upgrade" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdCollectors(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/collectors/create/create.go b/pkg/cmd/collectors/create/create.go index f1665f4a..2eae7659 100644 --- a/pkg/cmd/collectors/create/create.go +++ b/pkg/cmd/collectors/create/create.go @@ -1,10 +1,10 @@ package create import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdCollectorCreate(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/collectors/delete/delete.go b/pkg/cmd/collectors/delete/delete.go index a6d948ca..b287b58a 100644 --- a/pkg/cmd/collectors/delete/delete.go +++ b/pkg/cmd/collectors/delete/delete.go @@ -1,11 +1,11 @@ package delete import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdCollectorDelete(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/collectors/get/get.go b/pkg/cmd/collectors/get/get.go index f6fa4648..c8758d6e 100644 --- a/pkg/cmd/collectors/get/get.go +++ b/pkg/cmd/collectors/get/get.go @@ -2,9 +2,9 @@ package get import ( "fmt" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdCollectorGet(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/collectors/list/list.go b/pkg/cmd/collectors/list/list.go index ec873b40..f7be57ba 100644 --- a/pkg/cmd/collectors/list/list.go +++ b/pkg/cmd/collectors/list/list.go @@ -1,11 +1,11 @@ package list import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdCollectorList(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/collectors/update/update.go b/pkg/cmd/collectors/update/update.go index 4139a360..72385bd0 100644 --- a/pkg/cmd/collectors/update/update.go +++ b/pkg/cmd/collectors/update/update.go @@ -1,10 +1,10 @@ package update import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdCollectorUpdate(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/collectors/upgrade/get_available_builds/get_available_builds.go b/pkg/cmd/collectors/upgrade/get_available_builds/get_available_builds.go index f87948c4..65232951 100644 --- a/pkg/cmd/collectors/upgrade/get_available_builds/get_available_builds.go +++ b/pkg/cmd/collectors/upgrade/get_available_builds/get_available_builds.go @@ -1,9 +1,9 @@ package get_available_builds import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdGetBuilds(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/collectors/upgrade/get_upgradable_collectors/get_upgradable_collectors.go b/pkg/cmd/collectors/upgrade/get_upgradable_collectors/get_upgradable_collectors.go index c8ec66f2..41cc0190 100644 --- a/pkg/cmd/collectors/upgrade/get_upgradable_collectors/get_upgradable_collectors.go +++ b/pkg/cmd/collectors/upgrade/get_upgradable_collectors/get_upgradable_collectors.go @@ -1,11 +1,11 @@ package get_upgradable_collectors import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdGetUpgradableCollectors(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/collectors/upgrade/start/start.go b/pkg/cmd/collectors/upgrade/start/start.go index 11b73604..bea49736 100644 --- a/pkg/cmd/collectors/upgrade/start/start.go +++ b/pkg/cmd/collectors/upgrade/start/start.go @@ -2,10 +2,10 @@ package start import ( "fmt" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" "strconv" ) diff --git a/pkg/cmd/collectors/upgrade/status/status.go b/pkg/cmd/collectors/upgrade/status/status.go index 67544c55..84531f1b 100644 --- a/pkg/cmd/collectors/upgrade/status/status.go +++ b/pkg/cmd/collectors/upgrade/status/status.go @@ -1,9 +1,9 @@ package status import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdUpgradableCollectorStatus(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/collectors/upgrade/upgrade.go b/pkg/cmd/collectors/upgrade/upgrade.go index 118a6b87..78afab95 100644 --- a/pkg/cmd/collectors/upgrade/upgrade.go +++ b/pkg/cmd/collectors/upgrade/upgrade.go @@ -1,12 +1,12 @@ package upgrade import ( + cmdCollectorUpgradeBuilds "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/collectors/upgrade/get_available_builds" + cmdCollectorUpgradeGet "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/collectors/upgrade/get_upgradable_collectors" + cmdCollectorUpgradeStart "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/collectors/upgrade/start" + cmdCollectorStatus "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/collectors/upgrade/status" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - cmdCollectorUpgradeBuilds "github.com/wizedkyle/sumocli/pkg/cmd/collectors/upgrade/get_available_builds" - cmdCollectorUpgradeGet "github.com/wizedkyle/sumocli/pkg/cmd/collectors/upgrade/get_upgradable_collectors" - cmdCollectorUpgradeStart "github.com/wizedkyle/sumocli/pkg/cmd/collectors/upgrade/start" - cmdCollectorStatus "github.com/wizedkyle/sumocli/pkg/cmd/collectors/upgrade/status" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdUpgradeCollectors(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/configure/configure.go b/pkg/cmd/configure/configure.go index 75aa22dc..3a50c830 100644 --- a/pkg/cmd/configure/configure.go +++ b/pkg/cmd/configure/configure.go @@ -3,12 +3,12 @@ package configure import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/internal/authentication" + "github.com/SumoLogic-Incubator/sumocli/internal/encryption" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/manifoldco/promptui" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/internal/authentication" - "github.com/wizedkyle/sumocli/internal/encryption" - "github.com/wizedkyle/sumocli/pkg/logging" "os" "path/filepath" "strings" diff --git a/pkg/cmd/content/content.go b/pkg/cmd/content/content.go index f00d4981..ecaeef55 100644 --- a/pkg/cmd/content/content.go +++ b/pkg/cmd/content/content.go @@ -1,19 +1,19 @@ package content import ( + cmdContentGet "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/content/get" + cmdContentCopyStatus "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/content/get_copy_status" + cmdContentDeletionStatus "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/content/get_deletion_status" + cmdContentExportResult "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/content/get_export_result" + cmdContentExportStatus "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/content/get_export_status" + cmdContentImportStatus "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/content/get_import_status" + cmdContentMove "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/content/move" + cmdContentStartCopy "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/content/start_copy" + cmdContentStartDeletion "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/content/start_deletion" + cmdContentStartExport "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/content/start_export" + cmdContentStartImport "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/content/start_import" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - cmdContentGet "github.com/wizedkyle/sumocli/pkg/cmd/content/get" - cmdContentCopyStatus "github.com/wizedkyle/sumocli/pkg/cmd/content/get_copy_status" - cmdContentDeletionStatus "github.com/wizedkyle/sumocli/pkg/cmd/content/get_deletion_status" - cmdContentExportResult "github.com/wizedkyle/sumocli/pkg/cmd/content/get_export_result" - cmdContentExportStatus "github.com/wizedkyle/sumocli/pkg/cmd/content/get_export_status" - cmdContentImportStatus "github.com/wizedkyle/sumocli/pkg/cmd/content/get_import_status" - cmdContentMove "github.com/wizedkyle/sumocli/pkg/cmd/content/move" - cmdContentStartCopy "github.com/wizedkyle/sumocli/pkg/cmd/content/start_copy" - cmdContentStartDeletion "github.com/wizedkyle/sumocli/pkg/cmd/content/start_deletion" - cmdContentStartExport "github.com/wizedkyle/sumocli/pkg/cmd/content/start_export" - cmdContentStartImport "github.com/wizedkyle/sumocli/pkg/cmd/content/start_import" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdContent(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/content/get/get.go b/pkg/cmd/content/get/get.go index 55a2d0f4..d31c35ff 100644 --- a/pkg/cmd/content/get/get.go +++ b/pkg/cmd/content/get/get.go @@ -2,9 +2,9 @@ package get import ( "fmt" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdGet(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/content/get_copy_status/get_copy_status.go b/pkg/cmd/content/get_copy_status/get_copy_status.go index c97db3bc..036e806d 100644 --- a/pkg/cmd/content/get_copy_status/get_copy_status.go +++ b/pkg/cmd/content/get_copy_status/get_copy_status.go @@ -1,11 +1,11 @@ package get_copy_status import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdGetCopyStatus(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/content/get_deletion_status/get_deletion_status.go b/pkg/cmd/content/get_deletion_status/get_deletion_status.go index edeced87..918adfdb 100644 --- a/pkg/cmd/content/get_deletion_status/get_deletion_status.go +++ b/pkg/cmd/content/get_deletion_status/get_deletion_status.go @@ -1,11 +1,11 @@ package get_deletion_status import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdGetDeletionStatus(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/content/get_export_result/get_export_result.go b/pkg/cmd/content/get_export_result/get_export_result.go index 7fa65d20..caa538be 100644 --- a/pkg/cmd/content/get_export_result/get_export_result.go +++ b/pkg/cmd/content/get_export_result/get_export_result.go @@ -3,12 +3,12 @@ package get_export_result import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/rs/zerolog/log" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" "net/http" "os" "path/filepath" diff --git a/pkg/cmd/content/get_export_status/get_export_status.go b/pkg/cmd/content/get_export_status/get_export_status.go index befa94a4..d56c3511 100644 --- a/pkg/cmd/content/get_export_status/get_export_status.go +++ b/pkg/cmd/content/get_export_status/get_export_status.go @@ -1,11 +1,11 @@ package get_export_status import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdExportStatus(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/content/get_import_status/get_import_status.go b/pkg/cmd/content/get_import_status/get_import_status.go index 5e92f9d4..69880971 100644 --- a/pkg/cmd/content/get_import_status/get_import_status.go +++ b/pkg/cmd/content/get_import_status/get_import_status.go @@ -1,11 +1,11 @@ package get_import_status import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdGetImportStatus(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/content/move/move.go b/pkg/cmd/content/move/move.go index 6f52d36e..3c504a38 100644 --- a/pkg/cmd/content/move/move.go +++ b/pkg/cmd/content/move/move.go @@ -1,11 +1,11 @@ package move import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdMove(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/content/start_copy/start_copy.go b/pkg/cmd/content/start_copy/start_copy.go index 5ba25d45..212fbe1c 100644 --- a/pkg/cmd/content/start_copy/start_copy.go +++ b/pkg/cmd/content/start_copy/start_copy.go @@ -1,11 +1,11 @@ package start_copy import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdStartCopy(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/content/start_deletion/start_deletion.go b/pkg/cmd/content/start_deletion/start_deletion.go index 1eb1f91a..aef32a26 100644 --- a/pkg/cmd/content/start_deletion/start_deletion.go +++ b/pkg/cmd/content/start_deletion/start_deletion.go @@ -1,11 +1,11 @@ package start_deletion import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdStartDeletion(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/content/start_export/start_export.go b/pkg/cmd/content/start_export/start_export.go index 59a0cfeb..0618c8d9 100644 --- a/pkg/cmd/content/start_export/start_export.go +++ b/pkg/cmd/content/start_export/start_export.go @@ -1,11 +1,11 @@ package start_export import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdStartExport(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/content/start_import/start_import.go b/pkg/cmd/content/start_import/start_import.go index b7661fea..36183e17 100644 --- a/pkg/cmd/content/start_import/start_import.go +++ b/pkg/cmd/content/start_import/start_import.go @@ -2,12 +2,12 @@ package start_import import ( "encoding/json" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/rs/zerolog/log" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" "os" ) diff --git a/pkg/cmd/dashboards/create/create.go b/pkg/cmd/dashboards/create/create.go index 360567af..4b31b6d4 100644 --- a/pkg/cmd/dashboards/create/create.go +++ b/pkg/cmd/dashboards/create/create.go @@ -2,11 +2,11 @@ package create import ( "encoding/json" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/rs/zerolog/log" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" "os" ) diff --git a/pkg/cmd/dashboards/dashboards.go b/pkg/cmd/dashboards/dashboards.go index fa727df3..7cc65a3f 100644 --- a/pkg/cmd/dashboards/dashboards.go +++ b/pkg/cmd/dashboards/dashboards.go @@ -1,12 +1,12 @@ package dashboards import ( + NewCmdDashboardCreate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/dashboards/create" + NewCmdDashboardDelete "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/dashboards/delete" + NewCmdDashboardsGet "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/dashboards/get" + NewCmdDashboardsUpdate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/dashboards/update" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - NewCmdDashboardCreate "github.com/wizedkyle/sumocli/pkg/cmd/dashboards/create" - NewCmdDashboardDelete "github.com/wizedkyle/sumocli/pkg/cmd/dashboards/delete" - NewCmdDashboardsGet "github.com/wizedkyle/sumocli/pkg/cmd/dashboards/get" - NewCmdDashboardsUpdate "github.com/wizedkyle/sumocli/pkg/cmd/dashboards/update" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdDashboards(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/dashboards/delete/delete.go b/pkg/cmd/dashboards/delete/delete.go index 9cf094c9..fab10905 100644 --- a/pkg/cmd/dashboards/delete/delete.go +++ b/pkg/cmd/dashboards/delete/delete.go @@ -1,9 +1,9 @@ package delete import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdDashboardsDelete(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/dashboards/get/get.go b/pkg/cmd/dashboards/get/get.go index 1891b7ec..9c5fb6b6 100644 --- a/pkg/cmd/dashboards/get/get.go +++ b/pkg/cmd/dashboards/get/get.go @@ -1,9 +1,9 @@ package get import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdDashboardsGet(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/dashboards/update/update.go b/pkg/cmd/dashboards/update/update.go index 2b321a78..7b475287 100644 --- a/pkg/cmd/dashboards/update/update.go +++ b/pkg/cmd/dashboards/update/update.go @@ -2,11 +2,11 @@ package update import ( "encoding/json" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/rs/zerolog/log" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" "os" ) diff --git a/pkg/cmd/dynamic_parsing/create/create.go b/pkg/cmd/dynamic_parsing/create/create.go index cf7532e6..045a2a6e 100644 --- a/pkg/cmd/dynamic_parsing/create/create.go +++ b/pkg/cmd/dynamic_parsing/create/create.go @@ -1,10 +1,10 @@ package create import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdDynamicParsingCreate(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/dynamic_parsing/delete/delete.go b/pkg/cmd/dynamic_parsing/delete/delete.go index 37fddc65..93841a05 100644 --- a/pkg/cmd/dynamic_parsing/delete/delete.go +++ b/pkg/cmd/dynamic_parsing/delete/delete.go @@ -1,9 +1,9 @@ package delete import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdDynamicParsingDelete(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/dynamic_parsing/dynamic-parsing.go b/pkg/cmd/dynamic_parsing/dynamic-parsing.go index 8cafb1fb..05be76c9 100644 --- a/pkg/cmd/dynamic_parsing/dynamic-parsing.go +++ b/pkg/cmd/dynamic_parsing/dynamic-parsing.go @@ -1,13 +1,13 @@ package dynamic_parsing import ( + NewCmdDynamicParsingCreate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/dynamic_parsing/create" + NewCmdDynamicParsingDelete "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/dynamic_parsing/delete" + NewCmdDynamicParsingGet "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/dynamic_parsing/get" + NewCmdDynamicParsingList "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/dynamic_parsing/list" + NewCmdDynamicParsingUpdate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/dynamic_parsing/update" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - NewCmdDynamicParsingCreate "github.com/wizedkyle/sumocli/pkg/cmd/dynamic_parsing/create" - NewCmdDynamicParsingDelete "github.com/wizedkyle/sumocli/pkg/cmd/dynamic_parsing/delete" - NewCmdDynamicParsingGet "github.com/wizedkyle/sumocli/pkg/cmd/dynamic_parsing/get" - NewCmdDynamicParsingList "github.com/wizedkyle/sumocli/pkg/cmd/dynamic_parsing/list" - NewCmdDynamicParsingUpdate "github.com/wizedkyle/sumocli/pkg/cmd/dynamic_parsing/update" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdDynamicParsing(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/dynamic_parsing/get/get.go b/pkg/cmd/dynamic_parsing/get/get.go index 2cfedbc3..7ee00f12 100644 --- a/pkg/cmd/dynamic_parsing/get/get.go +++ b/pkg/cmd/dynamic_parsing/get/get.go @@ -1,9 +1,9 @@ package get import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdDynamicParsingGet(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/dynamic_parsing/list/list.go b/pkg/cmd/dynamic_parsing/list/list.go index 4b0d59dd..e342f577 100644 --- a/pkg/cmd/dynamic_parsing/list/list.go +++ b/pkg/cmd/dynamic_parsing/list/list.go @@ -1,11 +1,11 @@ package list import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdDynamicParsingList(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/dynamic_parsing/update/update.go b/pkg/cmd/dynamic_parsing/update/update.go index 1f534eeb..6c91d165 100644 --- a/pkg/cmd/dynamic_parsing/update/update.go +++ b/pkg/cmd/dynamic_parsing/update/update.go @@ -1,10 +1,10 @@ package update import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdDynamicParsingUpdate(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/factory/http.go b/pkg/cmd/factory/http.go index 0fc057f4..3b23a548 100644 --- a/pkg/cmd/factory/http.go +++ b/pkg/cmd/factory/http.go @@ -4,11 +4,11 @@ import ( "bytes" "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/internal/authentication" + "github.com/SumoLogic-Incubator/sumocli/internal/config" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/rs/zerolog" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/internal/authentication" - "github.com/wizedkyle/sumocli/internal/config" - "github.com/wizedkyle/sumocli/pkg/logging" "net/http" "time" ) diff --git a/pkg/cmd/field_extraction_rules/create/create.go b/pkg/cmd/field_extraction_rules/create/create.go index 667d0ffe..fc467766 100644 --- a/pkg/cmd/field_extraction_rules/create/create.go +++ b/pkg/cmd/field_extraction_rules/create/create.go @@ -1,10 +1,10 @@ package create import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdFieldExtractionRulesCreate(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/field_extraction_rules/delete/delete.go b/pkg/cmd/field_extraction_rules/delete/delete.go index 27bf1f0c..535af71a 100644 --- a/pkg/cmd/field_extraction_rules/delete/delete.go +++ b/pkg/cmd/field_extraction_rules/delete/delete.go @@ -1,9 +1,9 @@ package delete import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdFieldExtractionRulesDelete(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/field_extraction_rules/field-extraction-rules.go b/pkg/cmd/field_extraction_rules/field-extraction-rules.go index 0bf7c34a..42cd7bc8 100644 --- a/pkg/cmd/field_extraction_rules/field-extraction-rules.go +++ b/pkg/cmd/field_extraction_rules/field-extraction-rules.go @@ -1,13 +1,13 @@ package field_extraction_rules import ( + NewCmdFieldExtractionRulesCreate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/field_extraction_rules/create" + NewCmdFieldExtractionRulesDelete "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/field_extraction_rules/delete" + NewCmdFieldExtractionRulesGet "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/field_extraction_rules/get" + NewCmdFieldExtractionRulesList "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/field_extraction_rules/list" + NewCmdFieldExtractionRulesUpdate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/field_extraction_rules/update" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - NewCmdFieldExtractionRulesCreate "github.com/wizedkyle/sumocli/pkg/cmd/field_extraction_rules/create" - NewCmdFieldExtractionRulesDelete "github.com/wizedkyle/sumocli/pkg/cmd/field_extraction_rules/delete" - NewCmdFieldExtractionRulesGet "github.com/wizedkyle/sumocli/pkg/cmd/field_extraction_rules/get" - NewCmdFieldExtractionRulesList "github.com/wizedkyle/sumocli/pkg/cmd/field_extraction_rules/list" - NewCmdFieldExtractionRulesUpdate "github.com/wizedkyle/sumocli/pkg/cmd/field_extraction_rules/update" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdFieldExtractionRules(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/field_extraction_rules/get/get.go b/pkg/cmd/field_extraction_rules/get/get.go index 1c65e582..c8b4bebf 100644 --- a/pkg/cmd/field_extraction_rules/get/get.go +++ b/pkg/cmd/field_extraction_rules/get/get.go @@ -1,9 +1,9 @@ package get import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdFieldExtractionRulesGet(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/field_extraction_rules/list/list.go b/pkg/cmd/field_extraction_rules/list/list.go index 04d7f7d5..6259ec86 100644 --- a/pkg/cmd/field_extraction_rules/list/list.go +++ b/pkg/cmd/field_extraction_rules/list/list.go @@ -1,11 +1,11 @@ package list import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdFieldExtractionRulesList(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/field_extraction_rules/update/update.go b/pkg/cmd/field_extraction_rules/update/update.go index 546cda2f..fe783105 100644 --- a/pkg/cmd/field_extraction_rules/update/update.go +++ b/pkg/cmd/field_extraction_rules/update/update.go @@ -1,10 +1,10 @@ package update import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdFieldExtractionRulesUpdate(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/field_management/create_field/create_field.go b/pkg/cmd/field_management/create_field/create_field.go index edd3b208..5341ff80 100644 --- a/pkg/cmd/field_management/create_field/create_field.go +++ b/pkg/cmd/field_management/create_field/create_field.go @@ -1,10 +1,10 @@ package create_field import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdFieldManagementCreateField(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/field_management/delete_field/delete_field.go b/pkg/cmd/field_management/delete_field/delete_field.go index e9286b10..33b7add2 100644 --- a/pkg/cmd/field_management/delete_field/delete_field.go +++ b/pkg/cmd/field_management/delete_field/delete_field.go @@ -1,9 +1,9 @@ package delete_field import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdFieldManagementDeleteField(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/field_management/disable_custom_field/disable_custom_field.go b/pkg/cmd/field_management/disable_custom_field/disable_custom_field.go index 10a5d780..6b9f1b36 100644 --- a/pkg/cmd/field_management/disable_custom_field/disable_custom_field.go +++ b/pkg/cmd/field_management/disable_custom_field/disable_custom_field.go @@ -1,9 +1,9 @@ package disable_custom_field import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdFieldManagementDisableCustomField(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/field_management/enable_custom_field/enable_custom_field.go b/pkg/cmd/field_management/enable_custom_field/enable_custom_field.go index cc2a88fa..fb576326 100644 --- a/pkg/cmd/field_management/enable_custom_field/enable_custom_field.go +++ b/pkg/cmd/field_management/enable_custom_field/enable_custom_field.go @@ -1,9 +1,9 @@ package enable_custom_field import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdFieldManagementEnableCustomField(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/field_management/field-management.go b/pkg/cmd/field_management/field-management.go index 9f17461b..2a277fc2 100644 --- a/pkg/cmd/field_management/field-management.go +++ b/pkg/cmd/field_management/field-management.go @@ -1,18 +1,18 @@ package field_management import ( + NewCmdFieldManagementCreateField "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/field_management/create_field" + NewCmdFieldManagementDeleteField "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/field_management/delete_field" + NewCmdFieldManagementDisableCustomField "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/field_management/disable_custom_field" + NewCmdFieldManagementEnableCustomField "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/field_management/enable_custom_field" + NewCmdFieldManagementGetBuiltinField "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/field_management/get_builtin_field" + NewCmdFieldManagementGetCapacityInfo "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/field_management/get_capacity_info" + NewCmdFieldManagementGetCustomField "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/field_management/get_custom_field" + NewCmdFieldManagementListBuiltinFields "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/field_management/list_builtin_fields" + NewCmdFieldManagementListCustomFields "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/field_management/list_custom_fields" + NewCmdFieldManagementListDroppedFields "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/field_management/list_dropped_fields" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - NewCmdFieldManagementCreateField "github.com/wizedkyle/sumocli/pkg/cmd/field_management/create_field" - NewCmdFieldManagementDeleteField "github.com/wizedkyle/sumocli/pkg/cmd/field_management/delete_field" - NewCmdFieldManagementDisableCustomField "github.com/wizedkyle/sumocli/pkg/cmd/field_management/disable_custom_field" - NewCmdFieldManagementEnableCustomField "github.com/wizedkyle/sumocli/pkg/cmd/field_management/enable_custom_field" - NewCmdFieldManagementGetBuiltinField "github.com/wizedkyle/sumocli/pkg/cmd/field_management/get_builtin_field" - NewCmdFieldManagementGetCapacityInfo "github.com/wizedkyle/sumocli/pkg/cmd/field_management/get_capacity_info" - NewCmdFieldManagementGetCustomField "github.com/wizedkyle/sumocli/pkg/cmd/field_management/get_custom_field" - NewCmdFieldManagementListBuiltinFields "github.com/wizedkyle/sumocli/pkg/cmd/field_management/list_builtin_fields" - NewCmdFieldManagementListCustomFields "github.com/wizedkyle/sumocli/pkg/cmd/field_management/list_custom_fields" - NewCmdFieldManagementListDroppedFields "github.com/wizedkyle/sumocli/pkg/cmd/field_management/list_dropped_fields" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdFieldManagement(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/field_management/get_builtin_field/get_builtin_field.go b/pkg/cmd/field_management/get_builtin_field/get_builtin_field.go index 33233828..39abaa90 100644 --- a/pkg/cmd/field_management/get_builtin_field/get_builtin_field.go +++ b/pkg/cmd/field_management/get_builtin_field/get_builtin_field.go @@ -1,9 +1,9 @@ package get_builtin_field import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdFieldManagementGetBuiltinField(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/field_management/get_capacity_info/get_capacity_info.go b/pkg/cmd/field_management/get_capacity_info/get_capacity_info.go index dfb3b7e8..703bc251 100644 --- a/pkg/cmd/field_management/get_capacity_info/get_capacity_info.go +++ b/pkg/cmd/field_management/get_capacity_info/get_capacity_info.go @@ -1,9 +1,9 @@ package get_capacity_info import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdFieldManagementGetCapacityInfo(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/field_management/get_custom_field/get_custom_field.go b/pkg/cmd/field_management/get_custom_field/get_custom_field.go index 4d569441..2268a7e7 100644 --- a/pkg/cmd/field_management/get_custom_field/get_custom_field.go +++ b/pkg/cmd/field_management/get_custom_field/get_custom_field.go @@ -1,9 +1,9 @@ package get_custom_field import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdFieldManagementGetCustomField(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/field_management/list_builtin_fields/list-builtin-fields.go b/pkg/cmd/field_management/list_builtin_fields/list-builtin-fields.go index 74af2818..7d6bf431 100644 --- a/pkg/cmd/field_management/list_builtin_fields/list-builtin-fields.go +++ b/pkg/cmd/field_management/list_builtin_fields/list-builtin-fields.go @@ -1,9 +1,9 @@ package list_builtin_fields import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdFieldManagementListBuiltinFields(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/field_management/list_custom_fields/list_custom_fields.go b/pkg/cmd/field_management/list_custom_fields/list_custom_fields.go index efbadd2a..320b8bb2 100644 --- a/pkg/cmd/field_management/list_custom_fields/list_custom_fields.go +++ b/pkg/cmd/field_management/list_custom_fields/list_custom_fields.go @@ -1,9 +1,9 @@ package list_custom_fields import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdFieldManagementListCustomFields(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/field_management/list_dropped_fields/list_dropped_fields.go b/pkg/cmd/field_management/list_dropped_fields/list_dropped_fields.go index 9022d230..ef3d8437 100644 --- a/pkg/cmd/field_management/list_dropped_fields/list_dropped_fields.go +++ b/pkg/cmd/field_management/list_dropped_fields/list_dropped_fields.go @@ -1,9 +1,9 @@ package list_dropped_fields import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdFieldManagementListDroppedFields(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/folders/create/create.go b/pkg/cmd/folders/create/create.go index c0612eb7..0b6464ca 100644 --- a/pkg/cmd/folders/create/create.go +++ b/pkg/cmd/folders/create/create.go @@ -1,11 +1,11 @@ package create import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdCreate(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/folders/folders.go b/pkg/cmd/folders/folders.go index b301900f..07845318 100644 --- a/pkg/cmd/folders/folders.go +++ b/pkg/cmd/folders/folders.go @@ -1,18 +1,18 @@ package folders import ( + cmdFoldersCreate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/folders/create" + cmdFoldersGet "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/folders/get" + cmdFoldersAdminRecommendedFolder "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/folders/get_admin_recommended_folder" + cmdFoldersAdminRecommendedFolderResult "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/folders/get_admin_recommended_folder_result" + cmdFoldersAdminRecommendedFolderStatus "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/folders/get_admin_recommended_folder_status" + cmdFoldersGlobalFolder "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/folders/get_global_folder" + cmdFoldersGlobalFolderResult "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/folders/get_global_folder_result" + cmdFoldersGlobalFolderStatus "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/folders/get_global_folder_status" + cmdFoldersPersonalFolder "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/folders/get_personal_folder" + cmdFoldersUpdate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/folders/update" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - cmdFoldersCreate "github.com/wizedkyle/sumocli/pkg/cmd/folders/create" - cmdFoldersGet "github.com/wizedkyle/sumocli/pkg/cmd/folders/get" - cmdFoldersAdminRecommendedFolder "github.com/wizedkyle/sumocli/pkg/cmd/folders/get_admin_recommended_folder" - cmdFoldersAdminRecommendedFolderResult "github.com/wizedkyle/sumocli/pkg/cmd/folders/get_admin_recommended_folder_result" - cmdFoldersAdminRecommendedFolderStatus "github.com/wizedkyle/sumocli/pkg/cmd/folders/get_admin_recommended_folder_status" - cmdFoldersGlobalFolder "github.com/wizedkyle/sumocli/pkg/cmd/folders/get_global_folder" - cmdFoldersGlobalFolderResult "github.com/wizedkyle/sumocli/pkg/cmd/folders/get_global_folder_result" - cmdFoldersGlobalFolderStatus "github.com/wizedkyle/sumocli/pkg/cmd/folders/get_global_folder_status" - cmdFoldersPersonalFolder "github.com/wizedkyle/sumocli/pkg/cmd/folders/get_personal_folder" - cmdFoldersUpdate "github.com/wizedkyle/sumocli/pkg/cmd/folders/update" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdFolders(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/folders/get/get.go b/pkg/cmd/folders/get/get.go index 742833ce..1502844d 100644 --- a/pkg/cmd/folders/get/get.go +++ b/pkg/cmd/folders/get/get.go @@ -1,11 +1,11 @@ package get import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdGet(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/folders/get_admin_recommended_folder/get_admin_recommended_folder.go b/pkg/cmd/folders/get_admin_recommended_folder/get_admin_recommended_folder.go index 45584eee..a33e692d 100644 --- a/pkg/cmd/folders/get_admin_recommended_folder/get_admin_recommended_folder.go +++ b/pkg/cmd/folders/get_admin_recommended_folder/get_admin_recommended_folder.go @@ -1,11 +1,11 @@ package get_admin_recommended_folder import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdGetAdminRecommendedFolder(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/folders/get_admin_recommended_folder_result/get_admin_recommended_folder_result.go b/pkg/cmd/folders/get_admin_recommended_folder_result/get_admin_recommended_folder_result.go index 7060e33c..0224f1ad 100644 --- a/pkg/cmd/folders/get_admin_recommended_folder_result/get_admin_recommended_folder_result.go +++ b/pkg/cmd/folders/get_admin_recommended_folder_result/get_admin_recommended_folder_result.go @@ -1,9 +1,9 @@ package get_admin_recommended_folder_result import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdGetAdminRecommendedFolderResult(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/folders/get_admin_recommended_folder_status/get_admin_recommended_folder_status.go b/pkg/cmd/folders/get_admin_recommended_folder_status/get_admin_recommended_folder_status.go index c10ada62..782df42d 100644 --- a/pkg/cmd/folders/get_admin_recommended_folder_status/get_admin_recommended_folder_status.go +++ b/pkg/cmd/folders/get_admin_recommended_folder_status/get_admin_recommended_folder_status.go @@ -1,9 +1,9 @@ package get_admin_recommended_folder_status import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdGetAdminRecommendedFolderStatus(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/folders/get_global_folder/get_global_folder.go b/pkg/cmd/folders/get_global_folder/get_global_folder.go index af64de62..6787bacb 100644 --- a/pkg/cmd/folders/get_global_folder/get_global_folder.go +++ b/pkg/cmd/folders/get_global_folder/get_global_folder.go @@ -1,11 +1,11 @@ package get_global_folder import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdGetGlobalFolder(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/folders/get_global_folder_result/get_global_folder_result.go b/pkg/cmd/folders/get_global_folder_result/get_global_folder_result.go index 6c3b6966..89e5b4ae 100644 --- a/pkg/cmd/folders/get_global_folder_result/get_global_folder_result.go +++ b/pkg/cmd/folders/get_global_folder_result/get_global_folder_result.go @@ -1,9 +1,9 @@ package get_global_folder_result import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdGetGlobalFolderResult(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/folders/get_global_folder_status/get_global_folder_status.go b/pkg/cmd/folders/get_global_folder_status/get_global_folder_status.go index 82dc62c3..a0b44952 100644 --- a/pkg/cmd/folders/get_global_folder_status/get_global_folder_status.go +++ b/pkg/cmd/folders/get_global_folder_status/get_global_folder_status.go @@ -1,9 +1,9 @@ package get_global_folder_status import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdGetGlobalFolderStatus(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/folders/get_personal_folder/get_personal_folder.go b/pkg/cmd/folders/get_personal_folder/get_personal_folder.go index ef3018d8..2a360e17 100644 --- a/pkg/cmd/folders/get_personal_folder/get_personal_folder.go +++ b/pkg/cmd/folders/get_personal_folder/get_personal_folder.go @@ -1,9 +1,9 @@ package get_personal_folder import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdGetPersonalFolder(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/folders/update/update.go b/pkg/cmd/folders/update/update.go index 6bb633e0..36495ef9 100644 --- a/pkg/cmd/folders/update/update.go +++ b/pkg/cmd/folders/update/update.go @@ -1,11 +1,11 @@ package update import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdUpdate(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/health_events/get/get.go b/pkg/cmd/health_events/get/get.go index 60a785cc..7b930a0d 100644 --- a/pkg/cmd/health_events/get/get.go +++ b/pkg/cmd/health_events/get/get.go @@ -2,11 +2,11 @@ package get import ( "fmt" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" "os" ) diff --git a/pkg/cmd/health_events/health_events.go b/pkg/cmd/health_events/health_events.go index 9a066f44..9971c80d 100644 --- a/pkg/cmd/health_events/health_events.go +++ b/pkg/cmd/health_events/health_events.go @@ -1,10 +1,10 @@ package health_events import ( + NewCmdHealthEventsGet "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/health_events/get" + NewCmdHealthEventsList "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/health_events/list" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - NewCmdHealthEventsGet "github.com/wizedkyle/sumocli/pkg/cmd/health_events/get" - NewCmdHealthEventsList "github.com/wizedkyle/sumocli/pkg/cmd/health_events/list" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdHealthEvents(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/health_events/list/list.go b/pkg/cmd/health_events/list/list.go index 93d8565d..29e76465 100644 --- a/pkg/cmd/health_events/list/list.go +++ b/pkg/cmd/health_events/list/list.go @@ -1,11 +1,11 @@ package list import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdHealthEventsList(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/ingest_budgets/assign_collector/assign_collector.go b/pkg/cmd/ingest_budgets/assign_collector/assign_collector.go index d009c7a9..d8ec7d55 100644 --- a/pkg/cmd/ingest_budgets/assign_collector/assign_collector.go +++ b/pkg/cmd/ingest_budgets/assign_collector/assign_collector.go @@ -1,9 +1,9 @@ package assign_collector import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdIngestBudgetsAssignCollector(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/ingest_budgets/create/create.go b/pkg/cmd/ingest_budgets/create/create.go index 33535814..6168d40f 100644 --- a/pkg/cmd/ingest_budgets/create/create.go +++ b/pkg/cmd/ingest_budgets/create/create.go @@ -1,10 +1,10 @@ package create import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdIngestBudgetsCreate(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/ingest_budgets/delete/delete.go b/pkg/cmd/ingest_budgets/delete/delete.go index 2e337afc..aaf08d7f 100644 --- a/pkg/cmd/ingest_budgets/delete/delete.go +++ b/pkg/cmd/ingest_budgets/delete/delete.go @@ -1,9 +1,9 @@ package delete import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdIngestBudgetsDelete(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/ingest_budgets/get/get.go b/pkg/cmd/ingest_budgets/get/get.go index 687ef3d3..cea34370 100644 --- a/pkg/cmd/ingest_budgets/get/get.go +++ b/pkg/cmd/ingest_budgets/get/get.go @@ -1,9 +1,9 @@ package get import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdIngestBudgetsGet(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/ingest_budgets/get_associated_collectors/get_associated_collectors.go b/pkg/cmd/ingest_budgets/get_associated_collectors/get_associated_collectors.go index 06cf3908..7f944f21 100644 --- a/pkg/cmd/ingest_budgets/get_associated_collectors/get_associated_collectors.go +++ b/pkg/cmd/ingest_budgets/get_associated_collectors/get_associated_collectors.go @@ -1,11 +1,11 @@ package get_associated_collectors import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdIngestBudgetsGetAssociatedCollectors(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/ingest_budgets/ingest_budgets.go b/pkg/cmd/ingest_budgets/ingest_budgets.go index 22a43307..403027be 100644 --- a/pkg/cmd/ingest_budgets/ingest_budgets.go +++ b/pkg/cmd/ingest_budgets/ingest_budgets.go @@ -1,17 +1,17 @@ package ingest_budgets import ( + NewCmdIngestBudgetsAssignCollector "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/ingest_budgets/assign_collector" + NewCmdIngestBudgetsCreate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/ingest_budgets/create" + NewCmdIngestBudgetsDelete "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/ingest_budgets/delete" + NewCmdIngestBudgetsGet "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/ingest_budgets/get" + NewCmdIngestBudgetsGetAssociatedCollectors "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/ingest_budgets/get_associated_collectors" + NewCmdIngestBudgetsList "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/ingest_budgets/list" + NewCmdIngestBudgetsRemoveCollector "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/ingest_budgets/remove_collector" + NewCmdIngestBudgetsReset "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/ingest_budgets/reset" + NewCmdIngestBudgetsUpdate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/ingest_budgets/update" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - NewCmdIngestBudgetsAssignCollector "github.com/wizedkyle/sumocli/pkg/cmd/ingest_budgets/assign_collector" - NewCmdIngestBudgetsCreate "github.com/wizedkyle/sumocli/pkg/cmd/ingest_budgets/create" - NewCmdIngestBudgetsDelete "github.com/wizedkyle/sumocli/pkg/cmd/ingest_budgets/delete" - NewCmdIngestBudgetsGet "github.com/wizedkyle/sumocli/pkg/cmd/ingest_budgets/get" - NewCmdIngestBudgetsGetAssociatedCollectors "github.com/wizedkyle/sumocli/pkg/cmd/ingest_budgets/get_associated_collectors" - NewCmdIngestBudgetsList "github.com/wizedkyle/sumocli/pkg/cmd/ingest_budgets/list" - NewCmdIngestBudgetsRemoveCollector "github.com/wizedkyle/sumocli/pkg/cmd/ingest_budgets/remove_collector" - NewCmdIngestBudgetsReset "github.com/wizedkyle/sumocli/pkg/cmd/ingest_budgets/reset" - NewCmdIngestBudgetsUpdate "github.com/wizedkyle/sumocli/pkg/cmd/ingest_budgets/update" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdIngestBudgets(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/ingest_budgets/list/list.go b/pkg/cmd/ingest_budgets/list/list.go index 599090ba..b85d260c 100644 --- a/pkg/cmd/ingest_budgets/list/list.go +++ b/pkg/cmd/ingest_budgets/list/list.go @@ -1,11 +1,11 @@ package list import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdIngestBudgetsList(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/ingest_budgets/remove_collector/remove_collector.go b/pkg/cmd/ingest_budgets/remove_collector/remove_collector.go index 0815d2cf..76840501 100644 --- a/pkg/cmd/ingest_budgets/remove_collector/remove_collector.go +++ b/pkg/cmd/ingest_budgets/remove_collector/remove_collector.go @@ -1,9 +1,9 @@ package remove_collector import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmIngestBudgetsRemoveAssociatedCollector(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/ingest_budgets/reset/reset.go b/pkg/cmd/ingest_budgets/reset/reset.go index 952c0636..7f69f5bc 100644 --- a/pkg/cmd/ingest_budgets/reset/reset.go +++ b/pkg/cmd/ingest_budgets/reset/reset.go @@ -1,9 +1,9 @@ package reset import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdIngestBudgetsReset(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/ingest_budgets/update/update.go b/pkg/cmd/ingest_budgets/update/update.go index 2e428572..25bac0b5 100644 --- a/pkg/cmd/ingest_budgets/update/update.go +++ b/pkg/cmd/ingest_budgets/update/update.go @@ -1,10 +1,10 @@ package update import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdIngestBudgetsUpdate(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/ingest_budgets_v2/create/create.go b/pkg/cmd/ingest_budgets_v2/create/create.go index 6fda70d0..61d13004 100644 --- a/pkg/cmd/ingest_budgets_v2/create/create.go +++ b/pkg/cmd/ingest_budgets_v2/create/create.go @@ -1,10 +1,10 @@ package create import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdIngestBudgetsV2Create(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/ingest_budgets_v2/delete/delete.go b/pkg/cmd/ingest_budgets_v2/delete/delete.go index 6739e4d7..0d18385c 100644 --- a/pkg/cmd/ingest_budgets_v2/delete/delete.go +++ b/pkg/cmd/ingest_budgets_v2/delete/delete.go @@ -1,9 +1,9 @@ package delete import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdIngestBudgetsV2Delete(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/ingest_budgets_v2/get/get.go b/pkg/cmd/ingest_budgets_v2/get/get.go index 99848b55..e1b8378c 100644 --- a/pkg/cmd/ingest_budgets_v2/get/get.go +++ b/pkg/cmd/ingest_budgets_v2/get/get.go @@ -1,9 +1,9 @@ package get import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdIngestBudgetsV2Get(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/ingest_budgets_v2/ingest_budgets_v2.go b/pkg/cmd/ingest_budgets_v2/ingest_budgets_v2.go index 99009c38..7396d9ae 100644 --- a/pkg/cmd/ingest_budgets_v2/ingest_budgets_v2.go +++ b/pkg/cmd/ingest_budgets_v2/ingest_budgets_v2.go @@ -1,14 +1,14 @@ package ingest_budgets_v2 import ( + NewCmdIngestBudgetsV2Create "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/ingest_budgets_v2/create" + NewCmdIngestBudgetsV2Delete "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/ingest_budgets_v2/delete" + NewCmdIngestBudgetsV2Get "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/ingest_budgets_v2/get" + NewCmdIngestBudgetsV2List "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/ingest_budgets_v2/list" + NewCmdIngestBudgetsV2Reset "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/ingest_budgets_v2/reset" + NewCmdIngestBudgetsV2Update "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/ingest_budgets_v2/update" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - NewCmdIngestBudgetsV2Create "github.com/wizedkyle/sumocli/pkg/cmd/ingest_budgets_v2/create" - NewCmdIngestBudgetsV2Delete "github.com/wizedkyle/sumocli/pkg/cmd/ingest_budgets_v2/delete" - NewCmdIngestBudgetsV2Get "github.com/wizedkyle/sumocli/pkg/cmd/ingest_budgets_v2/get" - NewCmdIngestBudgetsV2List "github.com/wizedkyle/sumocli/pkg/cmd/ingest_budgets_v2/list" - NewCmdIngestBudgetsV2Reset "github.com/wizedkyle/sumocli/pkg/cmd/ingest_budgets_v2/reset" - NewCmdIngestBudgetsV2Update "github.com/wizedkyle/sumocli/pkg/cmd/ingest_budgets_v2/update" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdIngestBudgetsV2(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/ingest_budgets_v2/list/list.go b/pkg/cmd/ingest_budgets_v2/list/list.go index 0a2fd524..0981b4a4 100644 --- a/pkg/cmd/ingest_budgets_v2/list/list.go +++ b/pkg/cmd/ingest_budgets_v2/list/list.go @@ -1,11 +1,11 @@ package list import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdIngestBudgetsV2List(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/ingest_budgets_v2/reset/reset.go b/pkg/cmd/ingest_budgets_v2/reset/reset.go index b2ee68a2..1dbc0fa4 100644 --- a/pkg/cmd/ingest_budgets_v2/reset/reset.go +++ b/pkg/cmd/ingest_budgets_v2/reset/reset.go @@ -1,9 +1,9 @@ package reset import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdIngestBudgetsV2Reset(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/ingest_budgets_v2/update/update.go b/pkg/cmd/ingest_budgets_v2/update/update.go index 5cf7ae74..4c374b57 100644 --- a/pkg/cmd/ingest_budgets_v2/update/update.go +++ b/pkg/cmd/ingest_budgets_v2/update/update.go @@ -1,10 +1,10 @@ package update import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdIngestBudgetsV2Update(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/live-tail/live-tail.go b/pkg/cmd/live-tail/live-tail.go index e4f1b9e8..23ee8c47 100644 --- a/pkg/cmd/live-tail/live-tail.go +++ b/pkg/cmd/live-tail/live-tail.go @@ -1,8 +1,8 @@ package live_tail import ( + cmdLiveTailStart "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/live-tail/start" "github.com/spf13/cobra" - cmdLiveTailStart "github.com/wizedkyle/sumocli/pkg/cmd/live-tail/start" ) func NewCmdLiveTail() *cobra.Command { diff --git a/pkg/cmd/live-tail/start/start.go b/pkg/cmd/live-tail/start/start.go index f043c62c..b303da2b 100644 --- a/pkg/cmd/live-tail/start/start.go +++ b/pkg/cmd/live-tail/start/start.go @@ -3,11 +3,11 @@ package start import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/internal/authentication" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/rs/zerolog" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/internal/authentication" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" "reflect" "strconv" diff --git a/pkg/cmd/lookup_tables/create/create.go b/pkg/cmd/lookup_tables/create/create.go index a7289149..67ef6c29 100644 --- a/pkg/cmd/lookup_tables/create/create.go +++ b/pkg/cmd/lookup_tables/create/create.go @@ -1,10 +1,10 @@ package create import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdLookupTablesCreate(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/lookup_tables/delete-data/delete-data.go b/pkg/cmd/lookup_tables/delete-data/delete-data.go index 33e5b063..e5c5b3aa 100644 --- a/pkg/cmd/lookup_tables/delete-data/delete-data.go +++ b/pkg/cmd/lookup_tables/delete-data/delete-data.go @@ -1,9 +1,9 @@ package delete_data import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdLookupTablesDeleteData(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/lookup_tables/delete-row/delete-row.go b/pkg/cmd/lookup_tables/delete-row/delete-row.go index 921720aa..f84c9690 100644 --- a/pkg/cmd/lookup_tables/delete-row/delete-row.go +++ b/pkg/cmd/lookup_tables/delete-row/delete-row.go @@ -1,10 +1,10 @@ package delete_row import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdLookupTablesDeleteRow(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/lookup_tables/delete/delete.go b/pkg/cmd/lookup_tables/delete/delete.go index cae02e88..7891334d 100644 --- a/pkg/cmd/lookup_tables/delete/delete.go +++ b/pkg/cmd/lookup_tables/delete/delete.go @@ -1,9 +1,9 @@ package delete import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdLookupTablesDelete(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/lookup_tables/get/get.go b/pkg/cmd/lookup_tables/get/get.go index 7a9175e6..6ace16c4 100644 --- a/pkg/cmd/lookup_tables/get/get.go +++ b/pkg/cmd/lookup_tables/get/get.go @@ -1,9 +1,9 @@ package get import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdLookupTablesGet(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/lookup_tables/insert-row/insert-row.go b/pkg/cmd/lookup_tables/insert-row/insert-row.go index 6b7f3b43..d4f54608 100644 --- a/pkg/cmd/lookup_tables/insert-row/insert-row.go +++ b/pkg/cmd/lookup_tables/insert-row/insert-row.go @@ -1,10 +1,10 @@ package insert_row import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdLookupTablesInsertRow(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/lookup_tables/job-status/job-status.go b/pkg/cmd/lookup_tables/job-status/job-status.go index 7d23dc2f..0109266a 100644 --- a/pkg/cmd/lookup_tables/job-status/job-status.go +++ b/pkg/cmd/lookup_tables/job-status/job-status.go @@ -1,9 +1,9 @@ package job_status import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdLookupTableJobStatus(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/lookup_tables/lookup_tables.go b/pkg/cmd/lookup_tables/lookup_tables.go index 4d00133f..90a27b43 100644 --- a/pkg/cmd/lookup_tables/lookup_tables.go +++ b/pkg/cmd/lookup_tables/lookup_tables.go @@ -1,17 +1,17 @@ package lookup_tables import ( + cmdLookupTablesCreate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/lookup_tables/create" + cmdLookupTablesDelete "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/lookup_tables/delete" + cmdLookupTablesDeleteData "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/lookup_tables/delete-data" + cmdLookupTablesDeleteRow "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/lookup_tables/delete-row" + cmdLookupTablesGet "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/lookup_tables/get" + cmdLookupTablesInsertRow "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/lookup_tables/insert-row" + cmdLookupTablesJobStatus "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/lookup_tables/job-status" + cmdLookupTablesUpdate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/lookup_tables/update" + cmdLookupTablesUpload "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/lookup_tables/upload" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - cmdLookupTablesCreate "github.com/wizedkyle/sumocli/pkg/cmd/lookup_tables/create" - cmdLookupTablesDelete "github.com/wizedkyle/sumocli/pkg/cmd/lookup_tables/delete" - cmdLookupTablesDeleteData "github.com/wizedkyle/sumocli/pkg/cmd/lookup_tables/delete-data" - cmdLookupTablesDeleteRow "github.com/wizedkyle/sumocli/pkg/cmd/lookup_tables/delete-row" - cmdLookupTablesGet "github.com/wizedkyle/sumocli/pkg/cmd/lookup_tables/get" - cmdLookupTablesInsertRow "github.com/wizedkyle/sumocli/pkg/cmd/lookup_tables/insert-row" - cmdLookupTablesJobStatus "github.com/wizedkyle/sumocli/pkg/cmd/lookup_tables/job-status" - cmdLookupTablesUpdate "github.com/wizedkyle/sumocli/pkg/cmd/lookup_tables/update" - cmdLookupTablesUpload "github.com/wizedkyle/sumocli/pkg/cmd/lookup_tables/upload" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdLookupTables(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/lookup_tables/update/update.go b/pkg/cmd/lookup_tables/update/update.go index 0de6362f..c99a1cdb 100644 --- a/pkg/cmd/lookup_tables/update/update.go +++ b/pkg/cmd/lookup_tables/update/update.go @@ -1,10 +1,10 @@ package update import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdLookupTablesEdit(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/lookup_tables/upload/upload.go b/pkg/cmd/lookup_tables/upload/upload.go index 98078cb0..88bd8646 100644 --- a/pkg/cmd/lookup_tables/upload/upload.go +++ b/pkg/cmd/lookup_tables/upload/upload.go @@ -2,11 +2,11 @@ package upload import ( "fmt" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" "os" ) diff --git a/pkg/cmd/monitors/create-folder/create-folder.go b/pkg/cmd/monitors/create-folder/create-folder.go index 9f5678b0..13939a02 100644 --- a/pkg/cmd/monitors/create-folder/create-folder.go +++ b/pkg/cmd/monitors/create-folder/create-folder.go @@ -3,10 +3,10 @@ package create_folder import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" "net/url" ) diff --git a/pkg/cmd/monitors/get-root-folder/get-root-folder.go b/pkg/cmd/monitors/get-root-folder/get-root-folder.go index c25463dc..3c363229 100644 --- a/pkg/cmd/monitors/get-root-folder/get-root-folder.go +++ b/pkg/cmd/monitors/get-root-folder/get-root-folder.go @@ -3,10 +3,10 @@ package get_root_folder import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" ) diff --git a/pkg/cmd/monitors/get-usage-info/get-usage-info.go b/pkg/cmd/monitors/get-usage-info/get-usage-info.go index dd3c251f..6b02138d 100644 --- a/pkg/cmd/monitors/get-usage-info/get-usage-info.go +++ b/pkg/cmd/monitors/get-usage-info/get-usage-info.go @@ -3,10 +3,10 @@ package get_usage_info import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" ) diff --git a/pkg/cmd/monitors/monitors.go b/pkg/cmd/monitors/monitors.go index 4f0e8e3f..54612d78 100644 --- a/pkg/cmd/monitors/monitors.go +++ b/pkg/cmd/monitors/monitors.go @@ -1,10 +1,10 @@ package monitors import ( + NewCmdMonitorsCreateFolder "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/monitors/create-folder" + NewCmdMonitorsGetRootFolder "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/monitors/get-root-folder" + NewCmdMonitorsGetUsageInfo "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/monitors/get-usage-info" "github.com/spf13/cobra" - NewCmdMonitorsCreateFolder "github.com/wizedkyle/sumocli/pkg/cmd/monitors/create-folder" - NewCmdMonitorsGetRootFolder "github.com/wizedkyle/sumocli/pkg/cmd/monitors/get-root-folder" - NewCmdMonitorsGetUsageInfo "github.com/wizedkyle/sumocli/pkg/cmd/monitors/get-usage-info" ) func NewCmdMonitors() *cobra.Command { diff --git a/pkg/cmd/partitions/cancel_retention_update/cancel_retention_update.go b/pkg/cmd/partitions/cancel_retention_update/cancel_retention_update.go index c224fb57..de679774 100644 --- a/pkg/cmd/partitions/cancel_retention_update/cancel_retention_update.go +++ b/pkg/cmd/partitions/cancel_retention_update/cancel_retention_update.go @@ -1,9 +1,9 @@ package cancel_retention_update import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdPartitionsCancelRetentionUpdate(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/partitions/create/create.go b/pkg/cmd/partitions/create/create.go index 5338134b..be48e7b9 100644 --- a/pkg/cmd/partitions/create/create.go +++ b/pkg/cmd/partitions/create/create.go @@ -1,10 +1,10 @@ package created import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdPartitionCreate(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/partitions/decommission/decommission.go b/pkg/cmd/partitions/decommission/decommission.go index eb3eec39..adbc2d21 100644 --- a/pkg/cmd/partitions/decommission/decommission.go +++ b/pkg/cmd/partitions/decommission/decommission.go @@ -1,9 +1,9 @@ package decommission import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdPartitionsDecommission(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/partitions/get/get.go b/pkg/cmd/partitions/get/get.go index f327e30d..1c2e672a 100644 --- a/pkg/cmd/partitions/get/get.go +++ b/pkg/cmd/partitions/get/get.go @@ -1,9 +1,9 @@ package get import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdPartitionsGet(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/partitions/list/list.go b/pkg/cmd/partitions/list/list.go index 587e184a..69a7c789 100644 --- a/pkg/cmd/partitions/list/list.go +++ b/pkg/cmd/partitions/list/list.go @@ -1,11 +1,11 @@ package list import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdPartitionsList(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/partitions/partitions.go b/pkg/cmd/partitions/partitions.go index 74a03cab..a8162b6f 100644 --- a/pkg/cmd/partitions/partitions.go +++ b/pkg/cmd/partitions/partitions.go @@ -1,14 +1,14 @@ package partitions import ( + NewCmdPartitionsCancelRetentionUpdate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/partitions/cancel_retention_update" + NewCmdPartitionsCreate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/partitions/create" + NewCmdPartitionsDecommission "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/partitions/decommission" + NewCmdPartitionsGet "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/partitions/get" + NewCmdPartitionsList "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/partitions/list" + NewCmdPartitionsUpdate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/partitions/update" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - NewCmdPartitionsCancelRetentionUpdate "github.com/wizedkyle/sumocli/pkg/cmd/partitions/cancel_retention_update" - NewCmdPartitionsCreate "github.com/wizedkyle/sumocli/pkg/cmd/partitions/create" - NewCmdPartitionsDecommission "github.com/wizedkyle/sumocli/pkg/cmd/partitions/decommission" - NewCmdPartitionsGet "github.com/wizedkyle/sumocli/pkg/cmd/partitions/get" - NewCmdPartitionsList "github.com/wizedkyle/sumocli/pkg/cmd/partitions/list" - NewCmdPartitionsUpdate "github.com/wizedkyle/sumocli/pkg/cmd/partitions/update" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdPartitions(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/partitions/update/update.go b/pkg/cmd/partitions/update/update.go index f2326b47..16b5c7c6 100644 --- a/pkg/cmd/partitions/update/update.go +++ b/pkg/cmd/partitions/update/update.go @@ -1,10 +1,10 @@ package update import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdPartitionUpdate(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/password-policy/get/get.go b/pkg/cmd/password-policy/get/get.go index 037679c9..248f4fd3 100644 --- a/pkg/cmd/password-policy/get/get.go +++ b/pkg/cmd/password-policy/get/get.go @@ -3,10 +3,10 @@ package get import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" ) diff --git a/pkg/cmd/password-policy/password-policy.go b/pkg/cmd/password-policy/password-policy.go index 987e0ce6..2a6e3173 100644 --- a/pkg/cmd/password-policy/password-policy.go +++ b/pkg/cmd/password-policy/password-policy.go @@ -1,9 +1,9 @@ package password_policy import ( + NewCmdPasswordPolicyGet "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/password-policy/get" + NewCmdPasswordPolicyUpdate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/password-policy/update" "github.com/spf13/cobra" - NewCmdPasswordPolicyGet "github.com/wizedkyle/sumocli/pkg/cmd/password-policy/get" - NewCmdPasswordPolicyUpdate "github.com/wizedkyle/sumocli/pkg/cmd/password-policy/update" ) func NewCmdPasswordPolicy() *cobra.Command { diff --git a/pkg/cmd/password-policy/update/update.go b/pkg/cmd/password-policy/update/update.go index e31f2c94..6bc19943 100644 --- a/pkg/cmd/password-policy/update/update.go +++ b/pkg/cmd/password-policy/update/update.go @@ -3,10 +3,10 @@ package update import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" ) diff --git a/pkg/cmd/permissions/add/add.go b/pkg/cmd/permissions/add/add.go index 0a6928be..51bb10c3 100644 --- a/pkg/cmd/permissions/add/add.go +++ b/pkg/cmd/permissions/add/add.go @@ -3,10 +3,10 @@ package add import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" ) diff --git a/pkg/cmd/permissions/get/get.go b/pkg/cmd/permissions/get/get.go index f596bbfd..d5dd0e3f 100644 --- a/pkg/cmd/permissions/get/get.go +++ b/pkg/cmd/permissions/get/get.go @@ -3,10 +3,10 @@ package get import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" "net/url" ) diff --git a/pkg/cmd/permissions/permissions.go b/pkg/cmd/permissions/permissions.go index dd7a980d..ffb5fab9 100644 --- a/pkg/cmd/permissions/permissions.go +++ b/pkg/cmd/permissions/permissions.go @@ -1,10 +1,10 @@ package permissions import ( + cmdPermissionsAdd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/permissions/add" + cmdPermissionsGet "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/permissions/get" + cmdPermissionsRemove "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/permissions/remove" "github.com/spf13/cobra" - cmdPermissionsAdd "github.com/wizedkyle/sumocli/pkg/cmd/permissions/add" - cmdPermissionsGet "github.com/wizedkyle/sumocli/pkg/cmd/permissions/get" - cmdPermissionsRemove "github.com/wizedkyle/sumocli/pkg/cmd/permissions/remove" ) func NewCmdPermissions() *cobra.Command { diff --git a/pkg/cmd/permissions/remove/remove.go b/pkg/cmd/permissions/remove/remove.go index e0b909b9..a63b7d92 100644 --- a/pkg/cmd/permissions/remove/remove.go +++ b/pkg/cmd/permissions/remove/remove.go @@ -3,10 +3,10 @@ package remove import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" ) diff --git a/pkg/cmd/roles/assign/assign.go b/pkg/cmd/roles/assign/assign.go index 695c925f..13eb91e0 100644 --- a/pkg/cmd/roles/assign/assign.go +++ b/pkg/cmd/roles/assign/assign.go @@ -1,9 +1,9 @@ package assign import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdRoleAssign(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/roles/create/create.go b/pkg/cmd/roles/create/create.go index 00c57ea6..e8803f8d 100644 --- a/pkg/cmd/roles/create/create.go +++ b/pkg/cmd/roles/create/create.go @@ -1,11 +1,11 @@ package create import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/rs/zerolog/log" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdRoleCreate(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/roles/delete/delete.go b/pkg/cmd/roles/delete/delete.go index af8dc670..f86ea00d 100644 --- a/pkg/cmd/roles/delete/delete.go +++ b/pkg/cmd/roles/delete/delete.go @@ -1,9 +1,9 @@ package delete import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdRoleDelete(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/roles/get/get.go b/pkg/cmd/roles/get/get.go index d0d7c773..42cc0572 100644 --- a/pkg/cmd/roles/get/get.go +++ b/pkg/cmd/roles/get/get.go @@ -1,9 +1,9 @@ package get import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdRoleGet(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/roles/list/list.go b/pkg/cmd/roles/list/list.go index 361d3e62..0e6853fb 100644 --- a/pkg/cmd/roles/list/list.go +++ b/pkg/cmd/roles/list/list.go @@ -1,11 +1,11 @@ package list import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdRoleList(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/roles/remove/remove.go b/pkg/cmd/roles/remove/remove.go index ed5f01f4..f16881c4 100644 --- a/pkg/cmd/roles/remove/remove.go +++ b/pkg/cmd/roles/remove/remove.go @@ -1,9 +1,9 @@ package remove import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdRoleRemoveUser(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/roles/roles.go b/pkg/cmd/roles/roles.go index ee825f46..ec16e373 100644 --- a/pkg/cmd/roles/roles.go +++ b/pkg/cmd/roles/roles.go @@ -1,15 +1,15 @@ package roles import ( + cmdRoleAssign "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/roles/assign" + cmdRoleCreate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/roles/create" + cmdRoleDelete "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/roles/delete" + cmdRoleGet "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/roles/get" + cmdRoleList "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/roles/list" + cmdRoleRemove "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/roles/remove" + cmdRoleUpdate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/roles/update" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - cmdRoleAssign "github.com/wizedkyle/sumocli/pkg/cmd/roles/assign" - cmdRoleCreate "github.com/wizedkyle/sumocli/pkg/cmd/roles/create" - cmdRoleDelete "github.com/wizedkyle/sumocli/pkg/cmd/roles/delete" - cmdRoleGet "github.com/wizedkyle/sumocli/pkg/cmd/roles/get" - cmdRoleList "github.com/wizedkyle/sumocli/pkg/cmd/roles/list" - cmdRoleRemove "github.com/wizedkyle/sumocli/pkg/cmd/roles/remove" - cmdRoleUpdate "github.com/wizedkyle/sumocli/pkg/cmd/roles/update" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdRole(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/roles/update/update.go b/pkg/cmd/roles/update/update.go index cf5574ed..4364abae 100644 --- a/pkg/cmd/roles/update/update.go +++ b/pkg/cmd/roles/update/update.go @@ -1,11 +1,11 @@ package update import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/rs/zerolog/log" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdRoleUpdate(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/root/root.go b/pkg/cmd/root/root.go index 126d9682..ccbd6a92 100644 --- a/pkg/cmd/root/root.go +++ b/pkg/cmd/root/root.go @@ -1,37 +1,37 @@ package root import ( + "github.com/SumoLogic-Incubator/sumocli/config" + accessKeysCmd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/access-keys" + accountCmd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/account" + appsCmd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/apps" + archiveIngestion "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/archive-ingestion" + collectorCmd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/collectors" + ConfigureCmd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/configure" + contentCmd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/content" + dashboardsCmd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/dashboards" + dynamicParsingCmd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/dynamic_parsing" + fieldExtractionRulesCmd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/field_extraction_rules" + fieldManagement "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/field_management" + foldersCmd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/folders" + healthEventsCmd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/health_events" + ingestBudgetsCmd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/ingest_budgets" + ingestBudgetsV2Cmd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/ingest_budgets_v2" + liveTailCmd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/live-tail" + lookupTablesCmd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/lookup_tables" + monitorsCmd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/monitors" + partitionsCmd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/partitions" + passwordPolicyCmd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/password-policy" + permissionsCmd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/permissions" + roleCmd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/roles" + samlCmd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/saml" + scheduledViewsCmd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/scheduled-views" + serviceAllowlistCmd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/service_allowlist" + sourcesCmd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/sources" + tokensCmd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/tokens" + usersCmd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/users" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/version" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/config" - accessKeysCmd "github.com/wizedkyle/sumocli/pkg/cmd/access-keys" - accountCmd "github.com/wizedkyle/sumocli/pkg/cmd/account" - appsCmd "github.com/wizedkyle/sumocli/pkg/cmd/apps" - archiveIngestion "github.com/wizedkyle/sumocli/pkg/cmd/archive-ingestion" - collectorCmd "github.com/wizedkyle/sumocli/pkg/cmd/collectors" - ConfigureCmd "github.com/wizedkyle/sumocli/pkg/cmd/configure" - contentCmd "github.com/wizedkyle/sumocli/pkg/cmd/content" - dashboardsCmd "github.com/wizedkyle/sumocli/pkg/cmd/dashboards" - dynamicParsingCmd "github.com/wizedkyle/sumocli/pkg/cmd/dynamic_parsing" - fieldExtractionRulesCmd "github.com/wizedkyle/sumocli/pkg/cmd/field_extraction_rules" - fieldManagement "github.com/wizedkyle/sumocli/pkg/cmd/field_management" - foldersCmd "github.com/wizedkyle/sumocli/pkg/cmd/folders" - healthEventsCmd "github.com/wizedkyle/sumocli/pkg/cmd/health_events" - ingestBudgetsCmd "github.com/wizedkyle/sumocli/pkg/cmd/ingest_budgets" - ingestBudgetsV2Cmd "github.com/wizedkyle/sumocli/pkg/cmd/ingest_budgets_v2" - liveTailCmd "github.com/wizedkyle/sumocli/pkg/cmd/live-tail" - lookupTablesCmd "github.com/wizedkyle/sumocli/pkg/cmd/lookup_tables" - monitorsCmd "github.com/wizedkyle/sumocli/pkg/cmd/monitors" - partitionsCmd "github.com/wizedkyle/sumocli/pkg/cmd/partitions" - passwordPolicyCmd "github.com/wizedkyle/sumocli/pkg/cmd/password-policy" - permissionsCmd "github.com/wizedkyle/sumocli/pkg/cmd/permissions" - roleCmd "github.com/wizedkyle/sumocli/pkg/cmd/roles" - samlCmd "github.com/wizedkyle/sumocli/pkg/cmd/saml" - scheduledViewsCmd "github.com/wizedkyle/sumocli/pkg/cmd/scheduled-views" - serviceAllowlistCmd "github.com/wizedkyle/sumocli/pkg/cmd/service_allowlist" - sourcesCmd "github.com/wizedkyle/sumocli/pkg/cmd/sources" - tokensCmd "github.com/wizedkyle/sumocli/pkg/cmd/tokens" - usersCmd "github.com/wizedkyle/sumocli/pkg/cmd/users" - "github.com/wizedkyle/sumocli/pkg/cmd/version" ) func NewCmdRoot() *cobra.Command { diff --git a/pkg/cmd/saml/add-allowlist-user/add-allowlist-user.go b/pkg/cmd/saml/add-allowlist-user/add-allowlist-user.go index a3c84621..860cf05a 100644 --- a/pkg/cmd/saml/add-allowlist-user/add-allowlist-user.go +++ b/pkg/cmd/saml/add-allowlist-user/add-allowlist-user.go @@ -3,10 +3,10 @@ package add_allowlist_user import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" ) diff --git a/pkg/cmd/saml/create-configuration/create-configuration.go b/pkg/cmd/saml/create-configuration/create-configuration.go index 243c050a..80f80737 100644 --- a/pkg/cmd/saml/create-configuration/create-configuration.go +++ b/pkg/cmd/saml/create-configuration/create-configuration.go @@ -3,10 +3,10 @@ package create_configuration import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" ) diff --git a/pkg/cmd/saml/delete-configuration/delete-configuration.go b/pkg/cmd/saml/delete-configuration/delete-configuration.go index a771d67e..a6020a59 100644 --- a/pkg/cmd/saml/delete-configuration/delete-configuration.go +++ b/pkg/cmd/saml/delete-configuration/delete-configuration.go @@ -3,10 +3,10 @@ package delete_configuration import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" ) diff --git a/pkg/cmd/saml/disable-lockdown/disable-lockdown.go b/pkg/cmd/saml/disable-lockdown/disable-lockdown.go index 73cf7ea6..058beaf5 100644 --- a/pkg/cmd/saml/disable-lockdown/disable-lockdown.go +++ b/pkg/cmd/saml/disable-lockdown/disable-lockdown.go @@ -3,10 +3,10 @@ package disable_lockdown import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" ) diff --git a/pkg/cmd/saml/enable-lockdown/enable-lockdown.go b/pkg/cmd/saml/enable-lockdown/enable-lockdown.go index 88369eb9..2ee0c40a 100644 --- a/pkg/cmd/saml/enable-lockdown/enable-lockdown.go +++ b/pkg/cmd/saml/enable-lockdown/enable-lockdown.go @@ -3,10 +3,10 @@ package enable_lockdown import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" ) diff --git a/pkg/cmd/saml/get-allowlist-users/get-allowlist-users.go b/pkg/cmd/saml/get-allowlist-users/get-allowlist-users.go index 40abd9d2..09886967 100644 --- a/pkg/cmd/saml/get-allowlist-users/get-allowlist-users.go +++ b/pkg/cmd/saml/get-allowlist-users/get-allowlist-users.go @@ -3,10 +3,10 @@ package get_allowlist_users import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" ) diff --git a/pkg/cmd/saml/get-configurations/get-configurations.go b/pkg/cmd/saml/get-configurations/get-configurations.go index a3ef4b7b..6054d5ee 100644 --- a/pkg/cmd/saml/get-configurations/get-configurations.go +++ b/pkg/cmd/saml/get-configurations/get-configurations.go @@ -3,10 +3,10 @@ package get_configurations import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" ) diff --git a/pkg/cmd/saml/remove-allowlist-user/remove-allowlist-user.go b/pkg/cmd/saml/remove-allowlist-user/remove-allowlist-user.go index a47cb455..36b32c92 100644 --- a/pkg/cmd/saml/remove-allowlist-user/remove-allowlist-user.go +++ b/pkg/cmd/saml/remove-allowlist-user/remove-allowlist-user.go @@ -3,10 +3,10 @@ package remove_allowlist_user import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" ) diff --git a/pkg/cmd/saml/saml.go b/pkg/cmd/saml/saml.go index 736f0bf8..b9aa2d8d 100644 --- a/pkg/cmd/saml/saml.go +++ b/pkg/cmd/saml/saml.go @@ -1,16 +1,16 @@ package saml import ( + NewCmdSamlAddAllowListUser "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/saml/add-allowlist-user" + NewCmdSamlCreateConfiguration "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/saml/create-configuration" + NewCmdSamlDeleteConfiguration "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/saml/delete-configuration" + NewCmdSamlDisableLockdown "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/saml/disable-lockdown" + NewCmdSamlEnableLockdown "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/saml/enable-lockdown" + NewCmdSamlGetAllowListUsers "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/saml/get-allowlist-users" + NewCmdSamlGetConfigurations "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/saml/get-configurations" + NewCmdSamlRemoveAllowListUser "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/saml/remove-allowlist-user" + NewCmdSamlUpdateConfiguration "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/saml/update-configuration" "github.com/spf13/cobra" - NewCmdSamlAddAllowListUser "github.com/wizedkyle/sumocli/pkg/cmd/saml/add-allowlist-user" - NewCmdSamlCreateConfiguration "github.com/wizedkyle/sumocli/pkg/cmd/saml/create-configuration" - NewCmdSamlDeleteConfiguration "github.com/wizedkyle/sumocli/pkg/cmd/saml/delete-configuration" - NewCmdSamlDisableLockdown "github.com/wizedkyle/sumocli/pkg/cmd/saml/disable-lockdown" - NewCmdSamlEnableLockdown "github.com/wizedkyle/sumocli/pkg/cmd/saml/enable-lockdown" - NewCmdSamlGetAllowListUsers "github.com/wizedkyle/sumocli/pkg/cmd/saml/get-allowlist-users" - NewCmdSamlGetConfigurations "github.com/wizedkyle/sumocli/pkg/cmd/saml/get-configurations" - NewCmdSamlRemoveAllowListUser "github.com/wizedkyle/sumocli/pkg/cmd/saml/remove-allowlist-user" - NewCmdSamlUpdateConfiguration "github.com/wizedkyle/sumocli/pkg/cmd/saml/update-configuration" ) func NewCmdSaml() *cobra.Command { diff --git a/pkg/cmd/saml/update-configuration/update-configuration.go b/pkg/cmd/saml/update-configuration/update-configuration.go index 9095e929..6db59dcd 100644 --- a/pkg/cmd/saml/update-configuration/update-configuration.go +++ b/pkg/cmd/saml/update-configuration/update-configuration.go @@ -3,10 +3,10 @@ package update_configuration import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" "reflect" "strconv" diff --git a/pkg/cmd/scheduled-views/create/create.go b/pkg/cmd/scheduled-views/create/create.go index bd6f9f87..1e0212c9 100644 --- a/pkg/cmd/scheduled-views/create/create.go +++ b/pkg/cmd/scheduled-views/create/create.go @@ -3,10 +3,10 @@ package create import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" ) diff --git a/pkg/cmd/scheduled-views/disable/disable.go b/pkg/cmd/scheduled-views/disable/disable.go index 6ab172df..780bbab2 100644 --- a/pkg/cmd/scheduled-views/disable/disable.go +++ b/pkg/cmd/scheduled-views/disable/disable.go @@ -3,10 +3,10 @@ package disable import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" ) diff --git a/pkg/cmd/scheduled-views/get/get.go b/pkg/cmd/scheduled-views/get/get.go index 49bef9b4..8ea1f77e 100644 --- a/pkg/cmd/scheduled-views/get/get.go +++ b/pkg/cmd/scheduled-views/get/get.go @@ -3,10 +3,10 @@ package get import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" ) diff --git a/pkg/cmd/scheduled-views/list/list.go b/pkg/cmd/scheduled-views/list/list.go index 415d29b6..53efb1a2 100644 --- a/pkg/cmd/scheduled-views/list/list.go +++ b/pkg/cmd/scheduled-views/list/list.go @@ -3,10 +3,10 @@ package list import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" "net/url" "strconv" diff --git a/pkg/cmd/scheduled-views/pause/pause.go b/pkg/cmd/scheduled-views/pause/pause.go index 31766609..653006dc 100644 --- a/pkg/cmd/scheduled-views/pause/pause.go +++ b/pkg/cmd/scheduled-views/pause/pause.go @@ -3,10 +3,10 @@ package pause import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" ) diff --git a/pkg/cmd/scheduled-views/scheduled-views.go b/pkg/cmd/scheduled-views/scheduled-views.go index 2a746787..a789c654 100644 --- a/pkg/cmd/scheduled-views/scheduled-views.go +++ b/pkg/cmd/scheduled-views/scheduled-views.go @@ -1,14 +1,14 @@ package scheduled_views import ( + NewCmdScheduledViewsCreate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/scheduled-views/create" + NewCmdScheduledViewsDisable "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/scheduled-views/disable" + NewCmdScheduledViewsGet "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/scheduled-views/get" + NewCmdScheduledViewsList "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/scheduled-views/list" + NewCmdScheduledViewsPause "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/scheduled-views/pause" + NewCmdScheduledViewsStart "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/scheduled-views/start" + NewCmdScheduledViewsUpdate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/scheduled-views/update" "github.com/spf13/cobra" - NewCmdScheduledViewsCreate "github.com/wizedkyle/sumocli/pkg/cmd/scheduled-views/create" - NewCmdScheduledViewsDisable "github.com/wizedkyle/sumocli/pkg/cmd/scheduled-views/disable" - NewCmdScheduledViewsGet "github.com/wizedkyle/sumocli/pkg/cmd/scheduled-views/get" - NewCmdScheduledViewsList "github.com/wizedkyle/sumocli/pkg/cmd/scheduled-views/list" - NewCmdScheduledViewsPause "github.com/wizedkyle/sumocli/pkg/cmd/scheduled-views/pause" - NewCmdScheduledViewsStart "github.com/wizedkyle/sumocli/pkg/cmd/scheduled-views/start" - NewCmdScheduledViewsUpdate "github.com/wizedkyle/sumocli/pkg/cmd/scheduled-views/update" ) func NewCmdScheduledViews() *cobra.Command { diff --git a/pkg/cmd/scheduled-views/start/start.go b/pkg/cmd/scheduled-views/start/start.go index a5080c4c..bd028df7 100644 --- a/pkg/cmd/scheduled-views/start/start.go +++ b/pkg/cmd/scheduled-views/start/start.go @@ -3,10 +3,10 @@ package start import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" ) diff --git a/pkg/cmd/scheduled-views/update/update.go b/pkg/cmd/scheduled-views/update/update.go index c2f13706..45afd2c0 100644 --- a/pkg/cmd/scheduled-views/update/update.go +++ b/pkg/cmd/scheduled-views/update/update.go @@ -3,10 +3,10 @@ package update import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" ) diff --git a/pkg/cmd/service_allowlist/add/add.go b/pkg/cmd/service_allowlist/add/add.go index 3aab319a..91ff62c3 100644 --- a/pkg/cmd/service_allowlist/add/add.go +++ b/pkg/cmd/service_allowlist/add/add.go @@ -1,9 +1,9 @@ package add import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdServiceAllowlistAdd(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/service_allowlist/disable/disable.go b/pkg/cmd/service_allowlist/disable/disable.go index 06264fdb..93439b4c 100644 --- a/pkg/cmd/service_allowlist/disable/disable.go +++ b/pkg/cmd/service_allowlist/disable/disable.go @@ -2,9 +2,9 @@ package disable import ( "fmt" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" "os" ) diff --git a/pkg/cmd/service_allowlist/enable/enable.go b/pkg/cmd/service_allowlist/enable/enable.go index a1c5c8de..5fbb1709 100644 --- a/pkg/cmd/service_allowlist/enable/enable.go +++ b/pkg/cmd/service_allowlist/enable/enable.go @@ -2,9 +2,9 @@ package enable import ( "fmt" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" "os" ) diff --git a/pkg/cmd/service_allowlist/list/list.go b/pkg/cmd/service_allowlist/list/list.go index e3527ab8..e9248ba3 100644 --- a/pkg/cmd/service_allowlist/list/list.go +++ b/pkg/cmd/service_allowlist/list/list.go @@ -1,9 +1,9 @@ package list import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdServiceAllowlistList(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/service_allowlist/remove/remove.go b/pkg/cmd/service_allowlist/remove/remove.go index 49cd2c45..e65d13ae 100644 --- a/pkg/cmd/service_allowlist/remove/remove.go +++ b/pkg/cmd/service_allowlist/remove/remove.go @@ -3,10 +3,10 @@ package remove import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" ) diff --git a/pkg/cmd/service_allowlist/service_allowlist.go b/pkg/cmd/service_allowlist/service_allowlist.go index 6b3dd36e..6a9ff994 100644 --- a/pkg/cmd/service_allowlist/service_allowlist.go +++ b/pkg/cmd/service_allowlist/service_allowlist.go @@ -1,14 +1,14 @@ package service_allowlist import ( + cmdServiceAllowlistAdd "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/service_allowlist/add" + cmdServiceAllowlistDisable "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/service_allowlist/disable" + cmdServiceAllowlistEnable "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/service_allowlist/enable" + cmdServiceAllowlistList "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/service_allowlist/list" + cmdServiceAllowlistRemove "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/service_allowlist/remove" + cmdServiceAllowlistStatus "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/service_allowlist/status" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - cmdServiceAllowlistAdd "github.com/wizedkyle/sumocli/pkg/cmd/service_allowlist/add" - cmdServiceAllowlistDisable "github.com/wizedkyle/sumocli/pkg/cmd/service_allowlist/disable" - cmdServiceAllowlistEnable "github.com/wizedkyle/sumocli/pkg/cmd/service_allowlist/enable" - cmdServiceAllowlistList "github.com/wizedkyle/sumocli/pkg/cmd/service_allowlist/list" - cmdServiceAllowlistRemove "github.com/wizedkyle/sumocli/pkg/cmd/service_allowlist/remove" - cmdServiceAllowlistStatus "github.com/wizedkyle/sumocli/pkg/cmd/service_allowlist/status" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdServiceAllowlist(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/service_allowlist/status/status.go b/pkg/cmd/service_allowlist/status/status.go index a85afa1a..5030b719 100644 --- a/pkg/cmd/service_allowlist/status/status.go +++ b/pkg/cmd/service_allowlist/status/status.go @@ -1,9 +1,9 @@ package status import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdServiceAllowlistStatus(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/sources/aws_cloudtrail/aws_cloudtrail.go b/pkg/cmd/sources/aws_cloudtrail/aws_cloudtrail.go index f993a4b2..47291e72 100644 --- a/pkg/cmd/sources/aws_cloudtrail/aws_cloudtrail.go +++ b/pkg/cmd/sources/aws_cloudtrail/aws_cloudtrail.go @@ -1,8 +1,8 @@ package aws_cloudtrail import ( + NewCmdAWSCloudTrailSourceCreate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/sources/aws_cloudtrail/create" "github.com/spf13/cobra" - NewCmdAWSCloudTrailSourceCreate "github.com/wizedkyle/sumocli/pkg/cmd/sources/aws_cloudtrail/create" ) func NewCmdAWSCloudTrailSource() *cobra.Command { diff --git a/pkg/cmd/sources/aws_cloudtrail/create/create.go b/pkg/cmd/sources/aws_cloudtrail/create/create.go index 69cbae10..277136ca 100644 --- a/pkg/cmd/sources/aws_cloudtrail/create/create.go +++ b/pkg/cmd/sources/aws_cloudtrail/create/create.go @@ -5,6 +5,10 @@ import ( "encoding/json" "fmt" "github.com/Azure/go-autorest/autorest/to" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/internal/cloud" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/aws/aws-sdk-go-v2/config" "github.com/aws/aws-sdk-go-v2/service/cloudtrail" "github.com/aws/aws-sdk-go-v2/service/kms" @@ -13,10 +17,6 @@ import ( "github.com/aws/aws-sdk-go-v2/service/sns" "github.com/aws/aws-sdk-go-v2/service/sts" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/internal/cloud" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" "strconv" "strings" diff --git a/pkg/cmd/sources/aws_s3_archive/aws_s3_archive.go b/pkg/cmd/sources/aws_s3_archive/aws_s3_archive.go index f52f3ecc..13a751dc 100644 --- a/pkg/cmd/sources/aws_s3_archive/aws_s3_archive.go +++ b/pkg/cmd/sources/aws_s3_archive/aws_s3_archive.go @@ -1,8 +1,8 @@ package aws_s3_archive import ( + NewCmdAWSS3ArchiveSourceCreate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/sources/aws_s3_archive/create" "github.com/spf13/cobra" - NewCmdAWSS3ArchiveSourceCreate "github.com/wizedkyle/sumocli/pkg/cmd/sources/aws_s3_archive/create" ) func NewCmdAWSS3ArchiveSource() *cobra.Command { diff --git a/pkg/cmd/sources/aws_s3_archive/create/create.go b/pkg/cmd/sources/aws_s3_archive/create/create.go index d9cf082e..a999d2f0 100644 --- a/pkg/cmd/sources/aws_s3_archive/create/create.go +++ b/pkg/cmd/sources/aws_s3_archive/create/create.go @@ -3,11 +3,11 @@ package create import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/internal/cloud" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/internal/cloud" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" "strconv" "strings" diff --git a/pkg/cmd/sources/azure_event_hub/azure_event_hub.go b/pkg/cmd/sources/azure_event_hub/azure_event_hub.go index b32ee65a..d830d2a3 100644 --- a/pkg/cmd/sources/azure_event_hub/azure_event_hub.go +++ b/pkg/cmd/sources/azure_event_hub/azure_event_hub.go @@ -1,11 +1,11 @@ package azure_event_hub import ( + NewCmdAzureEventHubCreate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/sources/azure_event_hub/create" + NewCmdAzureEventHubGet "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/sources/azure_event_hub/get" + NewCmdAzureEventHubUpdate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/sources/azure_event_hub/update" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - NewCmdAzureEventHubCreate "github.com/wizedkyle/sumocli/pkg/cmd/sources/azure_event_hub/create" - NewCmdAzureEventHubGet "github.com/wizedkyle/sumocli/pkg/cmd/sources/azure_event_hub/get" - NewCmdAzureEventHubUpdate "github.com/wizedkyle/sumocli/pkg/cmd/sources/azure_event_hub/update" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdAzureEventHubSource(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/sources/azure_event_hub/create/create.go b/pkg/cmd/sources/azure_event_hub/create/create.go index 89cdb3c3..86763706 100644 --- a/pkg/cmd/sources/azure_event_hub/create/create.go +++ b/pkg/cmd/sources/azure_event_hub/create/create.go @@ -1,10 +1,10 @@ package create import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdAzureEventHubSourceCreate(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/sources/azure_event_hub/get/get.go b/pkg/cmd/sources/azure_event_hub/get/get.go index 6005dfb3..868e56e2 100644 --- a/pkg/cmd/sources/azure_event_hub/get/get.go +++ b/pkg/cmd/sources/azure_event_hub/get/get.go @@ -1,9 +1,9 @@ package get import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdAzureEventHubSourceGet(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/sources/azure_event_hub/update/update.go b/pkg/cmd/sources/azure_event_hub/update/update.go index 6dc56044..ff5c628b 100644 --- a/pkg/cmd/sources/azure_event_hub/update/update.go +++ b/pkg/cmd/sources/azure_event_hub/update/update.go @@ -1,11 +1,11 @@ package update import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/rs/zerolog/log" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" "strconv" ) diff --git a/pkg/cmd/sources/create/create.go b/pkg/cmd/sources/create/create.go index 35e70fc7..12ca5e4b 100644 --- a/pkg/cmd/sources/create/create.go +++ b/pkg/cmd/sources/create/create.go @@ -2,11 +2,11 @@ package create import ( "encoding/json" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/rs/zerolog" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" "strconv" "strings" diff --git a/pkg/cmd/sources/delete/delete.go b/pkg/cmd/sources/delete/delete.go index 26db85d3..2835b61e 100644 --- a/pkg/cmd/sources/delete/delete.go +++ b/pkg/cmd/sources/delete/delete.go @@ -2,9 +2,9 @@ package delete import ( "fmt" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "strconv" ) diff --git a/pkg/cmd/sources/http/create/create.go b/pkg/cmd/sources/http/create/create.go index 9b7d47e0..0f1bf89a 100644 --- a/pkg/cmd/sources/http/create/create.go +++ b/pkg/cmd/sources/http/create/create.go @@ -3,10 +3,10 @@ package create import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" "strconv" "strings" diff --git a/pkg/cmd/sources/http/http.go b/pkg/cmd/sources/http/http.go index 75959691..7fe41a60 100644 --- a/pkg/cmd/sources/http/http.go +++ b/pkg/cmd/sources/http/http.go @@ -1,9 +1,9 @@ package http import ( + NewCmdCreateHttpSource "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/sources/http/create" + NewCmdUpdateHttpSource "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/sources/http/update" "github.com/spf13/cobra" - NewCmdCreateHttpSource "github.com/wizedkyle/sumocli/pkg/cmd/sources/http/create" - NewCmdUpdateHttpSource "github.com/wizedkyle/sumocli/pkg/cmd/sources/http/update" ) func NewCmdHttpSources() *cobra.Command { diff --git a/pkg/cmd/sources/http/update/update.go b/pkg/cmd/sources/http/update/update.go index ad09e9ad..23c9ec7e 100644 --- a/pkg/cmd/sources/http/update/update.go +++ b/pkg/cmd/sources/http/update/update.go @@ -3,10 +3,10 @@ package update import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" "reflect" "strconv" diff --git a/pkg/cmd/sources/list/list.go b/pkg/cmd/sources/list/list.go index 388cfb63..4d0fd04a 100644 --- a/pkg/cmd/sources/list/list.go +++ b/pkg/cmd/sources/list/list.go @@ -3,11 +3,11 @@ package list import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/rs/zerolog" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" ) diff --git a/pkg/cmd/sources/local-file/create/create.go b/pkg/cmd/sources/local-file/create/create.go index 1144bf5d..636c07f5 100644 --- a/pkg/cmd/sources/local-file/create/create.go +++ b/pkg/cmd/sources/local-file/create/create.go @@ -3,10 +3,10 @@ package create import ( "encoding/json" "fmt" + "github.com/SumoLogic-Incubator/sumocli/api" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/factory" + "github.com/SumoLogic-Incubator/sumocli/pkg/logging" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/api" - "github.com/wizedkyle/sumocli/pkg/cmd/factory" - "github.com/wizedkyle/sumocli/pkg/logging" "io" "strconv" ) diff --git a/pkg/cmd/sources/local-file/local-file.go b/pkg/cmd/sources/local-file/local-file.go index d9aa800d..f6c864ef 100644 --- a/pkg/cmd/sources/local-file/local-file.go +++ b/pkg/cmd/sources/local-file/local-file.go @@ -1,8 +1,8 @@ package local_file import ( + NewCmdLocalFileSourceCreate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/sources/local-file/create" "github.com/spf13/cobra" - NewCmdLocalFileSourceCreate "github.com/wizedkyle/sumocli/pkg/cmd/sources/local-file/create" ) func NewCmdLocalFileSources() *cobra.Command { diff --git a/pkg/cmd/sources/sources.go b/pkg/cmd/sources/sources.go index 3f7d99ea..effd7bf4 100644 --- a/pkg/cmd/sources/sources.go +++ b/pkg/cmd/sources/sources.go @@ -1,15 +1,15 @@ package sources import ( + cmdAwsCloudTrailSource "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/sources/aws_cloudtrail" + cmdAWSS3ArchiveSource "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/sources/aws_s3_archive" + cmdAzureEventHubSource "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/sources/azure_event_hub" + cmdSourcesDelete "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/sources/delete" + cmdHttpSources "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/sources/http" + cmdSourcesList "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/sources/list" + cmdLocalFileSources "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/sources/local-file" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - cmdAwsCloudTrailSource "github.com/wizedkyle/sumocli/pkg/cmd/sources/aws_cloudtrail" - cmdAWSS3ArchiveSource "github.com/wizedkyle/sumocli/pkg/cmd/sources/aws_s3_archive" - cmdAzureEventHubSource "github.com/wizedkyle/sumocli/pkg/cmd/sources/azure_event_hub" - cmdSourcesDelete "github.com/wizedkyle/sumocli/pkg/cmd/sources/delete" - cmdHttpSources "github.com/wizedkyle/sumocli/pkg/cmd/sources/http" - cmdSourcesList "github.com/wizedkyle/sumocli/pkg/cmd/sources/list" - cmdLocalFileSources "github.com/wizedkyle/sumocli/pkg/cmd/sources/local-file" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdSources(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/tokens/create/create.go b/pkg/cmd/tokens/create/create.go index 258c62f7..e78dfb3b 100644 --- a/pkg/cmd/tokens/create/create.go +++ b/pkg/cmd/tokens/create/create.go @@ -1,10 +1,10 @@ package create import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdTokensCreate(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/tokens/delete/delete.go b/pkg/cmd/tokens/delete/delete.go index c6946657..08ddded5 100644 --- a/pkg/cmd/tokens/delete/delete.go +++ b/pkg/cmd/tokens/delete/delete.go @@ -1,9 +1,9 @@ package delete import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdTokensDelete(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/tokens/get/get.go b/pkg/cmd/tokens/get/get.go index 4077d914..79a5472f 100644 --- a/pkg/cmd/tokens/get/get.go +++ b/pkg/cmd/tokens/get/get.go @@ -1,9 +1,9 @@ package get import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdTokensGet(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/tokens/list/list.go b/pkg/cmd/tokens/list/list.go index 7314f1a0..cca873e2 100644 --- a/pkg/cmd/tokens/list/list.go +++ b/pkg/cmd/tokens/list/list.go @@ -1,9 +1,9 @@ package list import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdTokensList(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/tokens/tokens.go b/pkg/cmd/tokens/tokens.go index 23d876e0..35815032 100644 --- a/pkg/cmd/tokens/tokens.go +++ b/pkg/cmd/tokens/tokens.go @@ -1,13 +1,13 @@ package tokens import ( + cmdTokensCreate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/tokens/create" + cmdTokensDelete "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/tokens/delete" + cmdTokensGet "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/tokens/get" + cmdTokensList "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/tokens/list" + cmdTokensUpdate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/tokens/update" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - cmdTokensCreate "github.com/wizedkyle/sumocli/pkg/cmd/tokens/create" - cmdTokensDelete "github.com/wizedkyle/sumocli/pkg/cmd/tokens/delete" - cmdTokensGet "github.com/wizedkyle/sumocli/pkg/cmd/tokens/get" - cmdTokensList "github.com/wizedkyle/sumocli/pkg/cmd/tokens/list" - cmdTokensUpdate "github.com/wizedkyle/sumocli/pkg/cmd/tokens/update" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdTokens(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/tokens/update/update.go b/pkg/cmd/tokens/update/update.go index 93b94697..af1049fa 100644 --- a/pkg/cmd/tokens/update/update.go +++ b/pkg/cmd/tokens/update/update.go @@ -1,10 +1,10 @@ package update import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdTokensUpdate(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/users/change_email/change_email.go b/pkg/cmd/users/change_email/change_email.go index de286d62..c4adea8f 100644 --- a/pkg/cmd/users/change_email/change_email.go +++ b/pkg/cmd/users/change_email/change_email.go @@ -1,10 +1,10 @@ package change_email import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdUserChangeEmail(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/users/create/create.go b/pkg/cmd/users/create/create.go index 5933238c..da675160 100644 --- a/pkg/cmd/users/create/create.go +++ b/pkg/cmd/users/create/create.go @@ -1,10 +1,10 @@ package create import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdUserCreate(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/users/delete/delete.go b/pkg/cmd/users/delete/delete.go index b9592468..c3132aac 100644 --- a/pkg/cmd/users/delete/delete.go +++ b/pkg/cmd/users/delete/delete.go @@ -1,11 +1,11 @@ package delete import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdUserDelete(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/users/disable_mfa/disable_mfa.go b/pkg/cmd/users/disable_mfa/disable_mfa.go index fbfe4e22..9705c0c5 100644 --- a/pkg/cmd/users/disable_mfa/disable_mfa.go +++ b/pkg/cmd/users/disable_mfa/disable_mfa.go @@ -2,12 +2,12 @@ package disable_mfa import ( "errors" + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/manifoldco/promptui" "github.com/rs/zerolog/log" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdUserDisableMFA(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/users/get/get.go b/pkg/cmd/users/get/get.go index 166001e0..aead0ae9 100644 --- a/pkg/cmd/users/get/get.go +++ b/pkg/cmd/users/get/get.go @@ -1,9 +1,9 @@ package get import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdGetUser(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/users/list/list.go b/pkg/cmd/users/list/list.go index 395de2ac..1836fa0a 100644 --- a/pkg/cmd/users/list/list.go +++ b/pkg/cmd/users/list/list.go @@ -1,11 +1,11 @@ package list import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/antihax/optional" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdUserList(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/users/reset_password/reset_password.go b/pkg/cmd/users/reset_password/reset_password.go index fbc5a818..71fed869 100644 --- a/pkg/cmd/users/reset_password/reset_password.go +++ b/pkg/cmd/users/reset_password/reset_password.go @@ -1,9 +1,9 @@ package reset_password import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdUserResetPassword(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/users/unlock/unlock.go b/pkg/cmd/users/unlock/unlock.go index eb8c4351..0a51d78a 100644 --- a/pkg/cmd/users/unlock/unlock.go +++ b/pkg/cmd/users/unlock/unlock.go @@ -1,9 +1,9 @@ package unlock import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdUnlockUser(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/users/update/update.go b/pkg/cmd/users/update/update.go index 319a323c..08d36877 100644 --- a/pkg/cmd/users/update/update.go +++ b/pkg/cmd/users/update/update.go @@ -1,10 +1,10 @@ package update import ( + "github.com/SumoLogic-Incubator/sumocli/pkg/cmdutils" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/pkg/cmdutils" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" - "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" ) func NewCmdUserUpdate(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/users/users.go b/pkg/cmd/users/users.go index 4f7cb930..d6bf32a0 100644 --- a/pkg/cmd/users/users.go +++ b/pkg/cmd/users/users.go @@ -1,17 +1,17 @@ package users import ( + cmdUserChange "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/users/change_email" + cmdUserCreate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/users/create" + cmdUserDelete "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/users/delete" + cmdUserDisable "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/users/disable_mfa" + cmdUserGet "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/users/get" + cmdUserList "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/users/list" + cmduserReset "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/users/reset_password" + cmdUserUnlock "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/users/unlock" + cmdUserUpdate "github.com/SumoLogic-Incubator/sumocli/pkg/cmd/users/update" + "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip" "github.com/spf13/cobra" - cmdUserChange "github.com/wizedkyle/sumocli/pkg/cmd/users/change_email" - cmdUserCreate "github.com/wizedkyle/sumocli/pkg/cmd/users/create" - cmdUserDelete "github.com/wizedkyle/sumocli/pkg/cmd/users/delete" - cmdUserDisable "github.com/wizedkyle/sumocli/pkg/cmd/users/disable_mfa" - cmdUserGet "github.com/wizedkyle/sumocli/pkg/cmd/users/get" - cmdUserList "github.com/wizedkyle/sumocli/pkg/cmd/users/list" - cmduserReset "github.com/wizedkyle/sumocli/pkg/cmd/users/reset_password" - cmdUserUnlock "github.com/wizedkyle/sumocli/pkg/cmd/users/unlock" - cmdUserUpdate "github.com/wizedkyle/sumocli/pkg/cmd/users/update" - "github.com/wizedkyle/sumologic-go-sdk/service/cip" ) func NewCmdUser(client *cip.APIClient) *cobra.Command { diff --git a/pkg/cmd/version/version.go b/pkg/cmd/version/version.go index ffc4dadf..fd0d60c6 100644 --- a/pkg/cmd/version/version.go +++ b/pkg/cmd/version/version.go @@ -2,8 +2,8 @@ package version import ( "fmt" + "github.com/SumoLogic-Incubator/sumocli/internal/build" "github.com/spf13/cobra" - "github.com/wizedkyle/sumocli/internal/build" ) func NewCmdVersion() *cobra.Command { diff --git a/pkg/cmdutils/fields.go b/pkg/cmdutils/fields.go index ebc177e4..a976be62 100644 --- a/pkg/cmdutils/fields.go +++ b/pkg/cmdutils/fields.go @@ -1,6 +1,6 @@ package cmdutils -import "github.com/wizedkyle/sumologic-go-sdk/service/cip/types" +import "github.com/SumoLogic-Incubator/sumologic-go-sdk/service/cip/types" func GenerateFieldsMap(fieldNames []string, fieldValues []string) map[string]string { if len(fieldNames) > 0 && len(fieldValues) > 0 { diff --git a/scripts/build.sh b/scripts/build.sh index a5420163..e4fbdc3a 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -10,5 +10,5 @@ if [ "$DEV" = "true" ]; then echo "=> Building sumocli" gox -osarch="linux/amd64" ./cmd/sumocli ls -lah - mv "$GOPATH/src/github.com/wizedkyle/sumocli/sumocli_linux_amd64" "$GOPATH/bin/sumocli" + mv "$GOPATH/src/github.com/SumoLogic-Incubator/sumocli/sumocli_linux_amd64" "$GOPATH/bin/sumocli" fi diff --git a/sumocli b/sumocli index 50c577a8..2a2c066f 100755 Binary files a/sumocli and b/sumocli differ