diff --git a/Makefile b/Makefile index a620b1e1f..bdef0df84 100644 --- a/Makefile +++ b/Makefile @@ -138,6 +138,7 @@ build-compatibility-test-plugins: ## Builds all runtime compatibility test plugi cd ./test/compatibility/testplugins/runtime-test-plugin-v0_11_6 && ${GO} mod tidy && GOOS=$(OS) GOARCH=$(ARCH) ${GO} build -o ../bin cd ./test/compatibility/testplugins/runtime-test-plugin-v0_25_4 && ${GO} mod tidy && GOOS=$(OS) GOARCH=$(ARCH) ${GO} build -o ../bin cd ./test/compatibility/testplugins/runtime-test-plugin-v0_28_0 && ${GO} mod tidy && GOOS=$(OS) GOARCH=$(ARCH) ${GO} build -o ../bin + cd ./test/compatibility/testplugins/runtime-test-plugin-v0_90 && ${GO} mod tidy && GOOS=$(OS) GOARCH=$(ARCH) ${GO} build -o ../bin cd ./test/compatibility/testplugins/runtime-test-plugin-latest && ${GO} mod tidy && GOOS=$(OS) GOARCH=$(ARCH) ${GO} build -o ../bin # The below command runs the compatibility tests using ginkgo and filter the logs as per regex and exit code with '0' representing success and non-zero values indicating test failures diff --git a/test/compatibility/core/api_constants.go b/test/compatibility/core/api_constants.go index 119e7358d..0718960f2 100644 --- a/test/compatibility/core/api_constants.go +++ b/test/compatibility/core/api_constants.go @@ -96,6 +96,7 @@ const ( Version0116 RuntimeVersion = "v0.11.6" Version0254 RuntimeVersion = "v0.25.4" Version0280 RuntimeVersion = "v0.28.0" + Version090 RuntimeVersion = "v0.90.0" VersionLatest RuntimeVersion = "latest" ) @@ -104,6 +105,7 @@ var SupportedRuntimeVersions = []RuntimeVersion{ Version0116, Version0254, Version0280, + Version090, VersionLatest, } diff --git a/test/compatibility/core/helpers.go b/test/compatibility/core/helpers.go index 10fe08389..e0107a9bb 100644 --- a/test/compatibility/core/helpers.go +++ b/test/compatibility/core/helpers.go @@ -20,6 +20,7 @@ const ( pluginV0116 = "runtime-test-plugin-v0_11_6" pluginV0254 = "runtime-test-plugin-v0_25_4" pluginV0280 = "runtime-test-plugin-v0_28_0" + pluginV090 = "runtime-test-plugin-v0_90" pluginLatest = "runtime-test-plugin-latest" ) @@ -52,6 +53,8 @@ func makeRuntimeTestPluginCommand(version RuntimeVersion) string { return fmt.Sprintf("%v/%v test", pluginRoot, pluginV0254) case Version0280: return fmt.Sprintf("%v/%v test", pluginRoot, pluginV0280) + case Version090: + return fmt.Sprintf("%v/%v test", pluginRoot, pluginV090) case VersionLatest: return fmt.Sprintf("%v/%v test", pluginRoot, pluginLatest) default: diff --git a/test/compatibility/core/helpers_test.go b/test/compatibility/core/helpers_test.go index 848471ced..5a4225240 100644 --- a/test/compatibility/core/helpers_test.go +++ b/test/compatibility/core/helpers_test.go @@ -29,6 +29,19 @@ func TestConstructTestPluginCmd(t *testing.T) { pluginCmd: pluginLatest, err: "", }, + { + version: Version090, + apis: []*API{ + { + Name: SetContextAPI, + Version: Version090, + Arguments: map[APIArgumentType]interface{}{}, + Output: nil, + }, + }, + pluginCmd: pluginV090, + err: "", + }, } for _, tt := range tests { diff --git a/test/compatibility/core/parsers_test.go b/test/compatibility/core/parsers_test.go index 494f99cff..0c3dd913f 100644 --- a/test/compatibility/core/parsers_test.go +++ b/test/compatibility/core/parsers_test.go @@ -15,7 +15,39 @@ func TestParseRuntimeAPIsFromFile(t *testing.T) { apiYaml string expectedAPIs []API }{ - + { + `- name: SetContext + version: latest + arguments: + context: | + name: context-one + target: kubernetes + globalOpts: + endpoint: test-endpoint + setCurrent: false + output: + result: success + content: "" +`, + []API{ + { + Name: SetContextAPI, + Version: Version090, + Arguments: map[APIArgumentType]interface{}{ + Context: `name: context-one +target: kubernetes +globalOpts: + endpoint: test-endpoint +`, + SetCurrent: false, + }, + Output: &Output{ + Result: Success, + Content: "", + }, + }, + }, + }, { `- name: SetContext version: latest diff --git a/test/compatibility/core/validators_test.go b/test/compatibility/core/validators_test.go index 9b6bb198f..33642b6d2 100644 --- a/test/compatibility/core/validators_test.go +++ b/test/compatibility/core/validators_test.go @@ -16,6 +16,13 @@ func TestValidRuntimeVersion(t *testing.T) { assert.Equal(t, true, actual) } +func TestValidRuntimeVersionV090(t *testing.T) { + version090 := &RuntimeAPIVersion{RuntimeVersion: "v0.90.0"} + actual, err := version090.Validate() + assert.Nil(t, err) + assert.Equal(t, true, actual) +} + func TestInvalidRuntimeVersion(t *testing.T) { version101 := &RuntimeAPIVersion{RuntimeVersion: "v1.0.1"} actual, err := version101.Validate() diff --git a/test/compatibility/docs/cross-version-api-compatibility-framework.md b/test/compatibility/docs/cross-version-api-compatibility-framework.md index 184f54d56..9d3afe843 100644 --- a/test/compatibility/docs/cross-version-api-compatibility-framework.md +++ b/test/compatibility/docs/cross-version-api-compatibility-framework.md @@ -56,6 +56,7 @@ const ( Version0116 RuntimeVersion = "v0.11.6" Version0254 = "v0.25.4" Version0280 = "v0.28.0" + Version090 = "v0.90.0" VersionLatest = "latest" ) diff --git a/test/compatibility/docs/cross-version-api-compatibility.md b/test/compatibility/docs/cross-version-api-compatibility.md index fd2ff2cd8..a58aba8c2 100644 --- a/test/compatibility/docs/cross-version-api-compatibility.md +++ b/test/compatibility/docs/cross-version-api-compatibility.md @@ -197,6 +197,7 @@ const ( Version0110 RuntimeVersion = "v0.11.0" Version0250 RuntimeVersion = "v0.25.0" Version0280 RuntimeVersion = "v0.28.0" + Version090 RuntimeVersion = "v0.90.0" VersionLatest RuntimeVersion = "latest" ) diff --git a/test/compatibility/framework/clidiscoverysources/cli_discoverysources_commands_test.go b/test/compatibility/framework/clidiscoverysources/cli_discoverysources_commands_test.go index a6d0cda80..daa20a5ff 100644 --- a/test/compatibility/framework/clidiscoverysources/cli_discoverysources_commands_test.go +++ b/test/compatibility/framework/clidiscoverysources/cli_discoverysources_commands_test.go @@ -25,6 +25,35 @@ func TestNewSetCLIDiscoverySourceCommand(t *testing.T) { cmd *core.Command err string }{ + { + &SetCLIDiscoverySourceInputOptions{ + RuntimeAPIVersion: &core.RuntimeAPIVersion{ + RuntimeVersion: core.Version090, + }, + PluginDiscoveryOpts: &types.PluginDiscoveryOpts{ + OCI: &types.OCIDiscoveryOpts{ + Name: CompatibilityTestsSourceName, + Image: CompatibilityTestsSourceImage, + }, + }, + }, nil, + &core.Command{ + APIs: []*core.API{ + { + Name: core.SetCLIDiscoverySourceAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.DiscoverySource: source, + }, + Output: &core.Output{ + ValidationStrategy: "", + Result: core.Success, + Content: "", + }, + }, + }, + }, "", + }, { &SetCLIDiscoverySourceInputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ @@ -73,6 +102,40 @@ func TestNewGetCLIDiscoverySourceCommand(t *testing.T) { cmd *core.Command err string }{ + { + &GetCLIDiscoverySourceInputOptions{ + RuntimeAPIVersion: &core.RuntimeAPIVersion{ + RuntimeVersion: core.Version090, + }, + DiscoverySourceName: CompatibilityTestsSourceName, + }, &GetCLIDiscoverySourceOutputOptions{ + RuntimeAPIVersion: &core.RuntimeAPIVersion{ + RuntimeVersion: core.Version0280, + }, + PluginDiscoveryOpts: &types.PluginDiscoveryOpts{ + OCI: &types.OCIDiscoveryOpts{ + Name: CompatibilityTestsSourceName, + Image: CompatibilityTestsSourceImage, + }, + }, + }, + &core.Command{ + APIs: []*core.API{ + { + Name: core.GetCLIDiscoverySourceAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Name: CompatibilityTestsSourceName, + }, + Output: &core.Output{ + ValidationStrategy: "", + Result: core.Success, + Content: source, + }, + }, + }, + }, "", + }, { &GetCLIDiscoverySourceInputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ @@ -150,6 +213,30 @@ func TestNewDeleteCLIDiscoverySourceCommand(t *testing.T) { }, }, "", }, + { + &DeleteCLIDiscoverySourceInputOptions{ + RuntimeAPIVersion: &core.RuntimeAPIVersion{ + RuntimeVersion: core.Version090, + }, + DiscoverySourceName: CompatibilityTestsSourceName, + }, nil, + &core.Command{ + APIs: []*core.API{ + { + Name: core.DeleteCLIDiscoverySourceAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Name: CompatibilityTestsSourceName, + }, + Output: &core.Output{ + ValidationStrategy: "", + Result: core.Success, + Content: "", + }, + }, + }, + }, "", + }, } for _, tt := range tests { diff --git a/test/compatibility/framework/clidiscoverysources/cli_discoverysources_helpers.go b/test/compatibility/framework/clidiscoverysources/cli_discoverysources_helpers.go index 2cc5971b2..8ac042c3d 100644 --- a/test/compatibility/framework/clidiscoverysources/cli_discoverysources_helpers.go +++ b/test/compatibility/framework/clidiscoverysources/cli_discoverysources_helpers.go @@ -133,7 +133,7 @@ func DefaultCLIDiscoverySourcePerVersion(version core.RuntimeVersion) *CfgCLIDis WithOCIDiscoveryOpts(oci), WithContextType(types.CtxTypeTMC), ) - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: return NewCfgCLIDiscoverySourcesArgs( WithOCIDiscoveryOpts(oci), ) diff --git a/test/compatibility/framework/clidiscoverysources/cli_discoverysources_validators.go b/test/compatibility/framework/clidiscoverysources/cli_discoverysources_validators.go index 708a33296..73215f53c 100644 --- a/test/compatibility/framework/clidiscoverysources/cli_discoverysources_validators.go +++ b/test/compatibility/framework/clidiscoverysources/cli_discoverysources_validators.go @@ -20,7 +20,7 @@ func (opts *SetCLIDiscoverySourceInputOptions) Validate() (bool, error) { } switch opts.RuntimeVersion { - case core.VersionLatest, core.Version0280, core.Version0116: + case core.VersionLatest, core.Version090, core.Version0280, core.Version0116: err = opts.PluginDiscoveryOpts.ValidPluginDiscovery() if err != nil { return false, err @@ -65,7 +65,7 @@ func (opts *GetCLIDiscoverySourceOutputOptions) Validate() (bool, error) { } switch opts.RuntimeVersion { - case core.VersionLatest, core.Version0280, core.Version0116: + case core.VersionLatest, core.Version090, core.Version0280, core.Version0116: err = opts.PluginDiscoveryOpts.ValidPluginDiscovery() if err != nil { return false, err diff --git a/test/compatibility/framework/compatibilitytests/clidiscoverysources/cli_discoverysources_test.go b/test/compatibility/framework/compatibilitytests/clidiscoverysources/cli_discoverysources_test.go index 897479762..cfea1da81 100644 --- a/test/compatibility/framework/compatibilitytests/clidiscoverysources/cli_discoverysources_test.go +++ b/test/compatibility/framework/compatibilitytests/clidiscoverysources/cli_discoverysources_test.go @@ -17,8 +17,8 @@ import ( "github.com/vmware-tanzu/tanzu-plugin-runtime/test/compatibility/core" ) -var _ = ginkgo.Describe("Cross-version CLI Discovery Source APIs Compatibility Tests for supported Runtime versions v0.11.6, v0.25.4, v0.28.0, latest", func() { - ginkgo.GinkgoWriter.Println("Get/Set/Delete CLI Discovery Source API methods are tested for cross-version API compatibility with supported Runtime versions v0.11.6, v0.25.4, v0.28.0, latest") +var _ = ginkgo.Describe("Cross-version CLI Discovery Source APIs Compatibility Tests for supported Runtime versions v0.11.6, v0.25.4, v0.28.0, v0.90.0, latest", func() { + ginkgo.GinkgoWriter.Println("Get/Set/Delete CLI Discovery Source API methods are tested for cross-version API compatibility with supported Runtime versions v0.11.6, v0.25.4, v0.28.0, v0.90.0, latest") ginkgo.BeforeEach(func() { // Setup mock temporary config files for testing @@ -29,14 +29,16 @@ var _ = ginkgo.Describe("Cross-version CLI Discovery Source APIs Compatibility T }) - ginkgo.Context("Run SetCLIDiscoverySource, GetCLIDiscoverySource, GetClientConfig, DeleteCLIDiscoverySource on all supported Runtime library versions latest, v0.28.0, v0.25.4, v0.11.6", func() { + ginkgo.Context("Run SetCLIDiscoverySource, GetCLIDiscoverySource, GetClientConfig, DeleteCLIDiscoverySource on all supported Runtime library versions latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6", func() { ginkgo.It("Run SetCLIDiscoverySource of Runtime latest then GetCLIDiscoverySource, GetClientConfig on all supported Runtime library versions and then DeleteCLIDiscoverySource of Runtime v0.28.0 then GetCLIDiscoverySource on all supported Runtime library versions", func() { // Add SetCLIDiscoverySource Commands of Runtime Latest version - testCase := core.NewTestCase().Add(clidiscoverysources.DefaultSetCLIDiscoverySourceCommand(core.VersionLatest)) + testCase := core.NewTestCase() + testCase.Add(clidiscoverysources.DefaultSetCLIDiscoverySourceCommand(core.VersionLatest)) // Add GetCLIDiscoverySource Commands on all supported Runtime library versions - testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.VersionLatest, clidiscoverysources.WithStrictValidationStrategy())).Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version0280, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.VersionLatest, clidiscoverysources.WithStrictValidationStrategy())) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version0280, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) // Add GetClientConfig Commands for latest testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultCLIDiscoverySource(core.VersionLatest))) @@ -49,7 +51,38 @@ var _ = ginkgo.Describe("Cross-version CLI Discovery Source APIs Compatibility T testCase.Add(clidiscoverysources.DefaultDeleteCLIDiscoverySourceCommand(core.Version0280, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) // Add GetCLIDiscoverySource Commands on all supported Runtime library versions - testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.VersionLatest)).Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version0280, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.VersionLatest)) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version0280, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) + + // Run all the commands + executer.Execute(testCase) + }) + + ginkgo.It("Run SetCLIDiscoverySource of Runtime v0.90.0 then GetCLIDiscoverySource, GetClientConfig on all supported Runtime library versions and then DeleteCLIDiscoverySource of Runtime v0.28.0 then GetCLIDiscoverySource on all supported Runtime library versions", func() { + // Add SetCLIDiscoverySource Commands of Runtime v0.90.0 version + testCase := core.NewTestCase() + testCase.Add(clidiscoverysources.DefaultSetCLIDiscoverySourceCommand(core.Version090)) + + // Add GetCLIDiscoverySource Commands on all supported Runtime library versions + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.VersionLatest, clidiscoverysources.WithStrictValidationStrategy())) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version090, clidiscoverysources.WithStrictValidationStrategy())) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version0280, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) + + // Add GetClientConfig Commands for latest and v0.90.0 + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultCLIDiscoverySource(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultCLIDiscoverySource(core.Version090))) + + // Add GetClientConfig Commands for v0.25.4 and v0.11.6 with no discovery sources + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254)) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116)) + + // Add DeleteCLIDiscoverySource v0.28.0 Command + testCase.Add(clidiscoverysources.DefaultDeleteCLIDiscoverySourceCommand(core.Version0280, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) + + // Add GetCLIDiscoverySource Commands on all supported Runtime library versions + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.VersionLatest)) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version090)) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version0280, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) // Run all the commands executer.Execute(testCase) @@ -83,7 +116,9 @@ var _ = ginkgo.Describe("Cross-version CLI Discovery Source APIs Compatibility T testCase := core.NewTestCase().Add(clidiscoverysources.DefaultSetCLIDiscoverySourceCommand(core.Version0280)) // Add GetCLIDiscoverySource Commands on all supported Runtime library versions - testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.VersionLatest, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))).Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version0280, clidiscoverysources.WithStrictValidationStrategy())) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.VersionLatest, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version090, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version0280, clidiscoverysources.WithStrictValidationStrategy())) // Add GetClientConfig Commands for v0.28.0, v0.25.4, v0.11.6 testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultCLIDiscoverySource(core.Version0280))) @@ -100,7 +135,9 @@ var _ = ginkgo.Describe("Cross-version CLI Discovery Source APIs Compatibility T testCase.Add(clidiscoverysources.DefaultDeleteCLIDiscoverySourceCommand(core.VersionLatest)) // Add GetCLIDiscoverySource Commands on all supported Runtime library versions - testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.VersionLatest, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))).Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version0280, clidiscoverysources.WithStrictValidationStrategy())) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.VersionLatest, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version090, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version0280, clidiscoverysources.WithStrictValidationStrategy())) // Run all the commands executer.Execute(testCase) @@ -108,7 +145,7 @@ var _ = ginkgo.Describe("Cross-version CLI Discovery Source APIs Compatibility T }) - ginkgo.Context("Run StoreClientConfig, GetClientConfig, GetCLIDiscoverySource, DeleteCLIDiscoverySource on all supported Runtime library versions latest, v0.28.0, 0.25.4, 0.11.6", func() { + ginkgo.Context("Run StoreClientConfig, GetClientConfig, GetCLIDiscoverySource, DeleteCLIDiscoverySource on all supported Runtime library versions latest, v0.90.0, v0.28.0, 0.25.4, 0.11.6", func() { ginkgo.It("Run StoreClientConfig of Runtime v0.28.0 then GetClientConfig, GetCLIDiscoverySource on all supported Runtime library versions and then DeleteCLIDiscoverySource of Runtime latest then GetCLIDiscoverySource on all supported Runtime library versions", func() { // Setup discovery sources @@ -141,23 +178,80 @@ var _ = ginkgo.Describe("Cross-version CLI Discovery Source APIs Compatibility T // Add GetClientConfig Commands on all supported runtime versions testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultCLIDiscoverySource(core.Version0280))) - testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithCLIDiscoverySources(core.Version0254, []types.PluginDiscoveryOpts{ *defaultOCISource, *ociSource, }))) - testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithCLIDiscoverySources(core.Version0116, []types.PluginDiscoveryOpts{ *defaultOCISourceWithoutContextType, *ociSource, }))) // Add GetCLIDiscoverySource Commands on all supported Runtime library versions - testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version0280)).Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.VersionLatest, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version0280)) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version090, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.VersionLatest, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) // Add DeleteCLIDiscoverySource Command of Runtime latest testCase.Add(clidiscoverysources.DefaultDeleteCLIDiscoverySourceCommand(core.VersionLatest)) // Add GetCLIDiscoverySource Commands on all supported Runtime library versions - testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.VersionLatest, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))).Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version0280)) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.VersionLatest, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version090, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version0280)) + + // Run all the commands + executer.Execute(testCase) + }) + + ginkgo.It("Run StoreClientConfig of Runtime v0.28.0 then GetClientConfig, GetCLIDiscoverySource on all supported Runtime library versions and then DeleteCLIDiscoverySource of Runtime v0.90.0 then GetCLIDiscoverySource on all supported Runtime library versions", func() { + // Setup discovery sources + ociSource := &types.PluginDiscoveryOpts{ + OCI: &types.OCIDiscoveryOpts{ + Name: clidiscoverysources.CompatibilityTestsSourceName, + Image: clidiscoverysources.CompatibilityTestsSourceImage, + }, + } + + defaultOCISource := &types.PluginDiscoveryOpts{ + OCI: &types.OCIDiscoveryOpts{ + Name: "default", + Image: "/:", + }, + ContextType: types.CtxTypeK8s, + } + + defaultOCISourceWithoutContextType := &types.PluginDiscoveryOpts{ + OCI: &types.OCIDiscoveryOpts{ + Name: "default", + Image: "/:", + }, + } + + testCase := core.NewTestCase() + + // Add StoreClientConfig Commands of Runtime v0.28.0 + testCase.Add(legacyclientconfig.DefaultStoreClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultCLIDiscoverySource(core.Version0280))) + + // Add GetClientConfig Commands on all supported runtime versions + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultCLIDiscoverySource(core.Version0280))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithCLIDiscoverySources(core.Version0254, []types.PluginDiscoveryOpts{ + *defaultOCISource, *ociSource, + }))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithCLIDiscoverySources(core.Version0116, []types.PluginDiscoveryOpts{ + *defaultOCISourceWithoutContextType, *ociSource, + }))) + + // Add GetCLIDiscoverySource Commands on all supported Runtime library versions + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version0280)) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version090, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.VersionLatest, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) + + // Add DeleteCLIDiscoverySource Command of Runtime latest + testCase.Add(clidiscoverysources.DefaultDeleteCLIDiscoverySourceCommand(core.Version090)) + + // Add GetCLIDiscoverySource Commands on all supported Runtime library versions + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.VersionLatest, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version090, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version0280)) // Run all the commands executer.Execute(testCase) @@ -202,13 +296,17 @@ var _ = ginkgo.Describe("Cross-version CLI Discovery Source APIs Compatibility T }))) // Add GetCLIDiscoverySource Commands on all supported Runtime library versions - testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version0280)).Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.VersionLatest, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version0280)) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version090, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.VersionLatest, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) // Add DeleteCLIDiscoverySource v0.28.0 Command testCase.Add(clidiscoverysources.DefaultDeleteCLIDiscoverySourceCommand(core.Version0280)) // Add GetCLIDiscoverySource Commands on all supported Runtime library versions - testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.VersionLatest, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))).Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version0280, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.VersionLatest, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version090, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version0280, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) // Run all the commands executer.Execute(testCase) @@ -253,13 +351,17 @@ var _ = ginkgo.Describe("Cross-version CLI Discovery Source APIs Compatibility T }))) // Add GetCLIDiscoverySource Commands on all supported Runtime library versions - testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version0280)).Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.VersionLatest, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version0280)) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version090, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.VersionLatest, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) // Add DeleteCLIDiscoverySource v0.28.0 Command testCase.Add(clidiscoverysources.DefaultDeleteCLIDiscoverySourceCommand(core.Version0280)) // Add GetCLIDiscoverySource Commands on all supported Runtime library versions - testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.VersionLatest, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))).Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version0280, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.VersionLatest, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version090, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) + testCase.Add(clidiscoverysources.DefaultGetCLIDiscoverySourceCommand(core.Version0280, clidiscoverysources.WithError(clidiscoverysources.CLIDiscoverySourceNotFound))) // Run all the commands executer.Execute(testCase) diff --git a/test/compatibility/framework/compatibilitytests/context/context_test.go b/test/compatibility/framework/compatibilitytests/context/context_test.go index 60100e861..37363387c 100644 --- a/test/compatibility/framework/compatibilitytests/context/context_test.go +++ b/test/compatibility/framework/compatibilitytests/context/context_test.go @@ -17,7 +17,7 @@ import ( var _ = ginkgo.Describe("Cross-version Context APIs compatibility tests", func() { // Description on the Tests - ginkgo.GinkgoWriter.Println("GetContext, SetContext, DeleteContext, GetCurrentContext, SetCurrentContext, RemoveCurrentContext methods are tested for cross-version API compatibility with supported Runtime versions v0.25.4, v0.28.0, latest") + ginkgo.GinkgoWriter.Println("GetContext, SetContext, DeleteContext, GetCurrentContext, SetCurrentContext, RemoveCurrentContext methods are tested for cross-version API compatibility with supported Runtime versions v0.25.4, v0.28.0, v0.90.0, latest") // Setup Data var contextTestHelper context.Helper @@ -32,21 +32,25 @@ var _ = ginkgo.Describe("Cross-version Context APIs compatibility tests", func() ginkgo.Context("using single context object on supported Runtime API versions", func() { - ginkgo.It("Run SetContext, SetCurrentContext latest then GetContext, GetCurrentContext v0.25.4, v0.28.0, latest then DeleteContext, RemoveCurrentContext v0.28.0 then GetContext, GetCurrentContext v0.25.4, v0.28.0, latest", func() { + ginkgo.It("Run SetContext, SetCurrentContext latest then GetContext, GetCurrentContext v0.25.4, v0.28.0, v0.90.0, latest then DeleteContext, RemoveCurrentContext v0.28.0 then GetContext, GetCurrentContext v0.25.4, v0.28.0, v0.90.0, latest", func() { + testCase := core.NewTestCase() + // Add SetContext and SetCurrentContext Commands for Runtime latest - testCase := core.NewTestCase().Add(contextTestHelper.SetContextCmdForRuntimeLatest).Add(contextTestHelper.SetCurrentContextCmdForRuntimeLatest) + testCase.Add(contextTestHelper.SetContextCmdForRuntimeLatest) + testCase.Add(contextTestHelper.SetCurrentContextCmdForRuntimeLatest) // Add GetClientConfig Commands on all supported runtime versions testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.Version090))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultContextAndServer(core.Version0280))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) // Add RemoveCurrentContext v0.28.0 Command testCase.Add(contextTestHelper.RemoveCurrentContextCmdForRuntime0280) @@ -54,31 +58,144 @@ var _ = ginkgo.Describe("Cross-version Context APIs compatibility tests", func() // Add DeleteContext v0.28.0 Command testCase.Add(contextTestHelper.DeleteContextCmdForRuntime0280) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextCmdForRuntime0280WithError).Add(contextTestHelper.GetContextCmdForRuntime0254WithError) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextCmdForRuntime090WithError).Add(contextTestHelper.GetContextCmdForRuntime0280WithError).Add(contextTestHelper.GetContextCmdForRuntime0254WithError) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254WithError) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime090WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254WithError) // Run all the commands executer.Execute(testCase) }) - ginkgo.It("Run SetContext, SetCurrentContext v0.28.0 then GetContext, GetCurrentContext v0.25.4, v0.28.0, latest then DeleteContext, RemoveCurrentContext latest then GetContext, GetCurrentContext v0.25.4, v0.28.0, latest", func() { + ginkgo.It("Run SetContext, SetCurrentContext latest then GetContext, GetCurrentContext v0.25.4, v0.28.0, v0.90.0, latest then DeleteContext, RemoveCurrentContext v0.90.0 then GetContext, GetCurrentContext v0.25.4, v0.28.0, v0.90.0, latest", func() { + // Add SetContext and SetCurrentContext Commands for Runtime latest + testCase := core.NewTestCase() + + testCase.Add(contextTestHelper.SetContextCmdForRuntimeLatest) + testCase.Add(contextTestHelper.SetCurrentContextCmdForRuntimeLatest) + + // Add GetClientConfig Commands on all supported runtime versions + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.Version090))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultContextAndServer(core.Version0280))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + + // Add RemoveCurrentContext v0.90.0 Command + testCase.Add(contextTestHelper.RemoveCurrentContextCmdForRuntime090) + + // Add DeleteContext v0.90.0 Command + testCase.Add(contextTestHelper.DeleteContextCmdForRuntime090) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextCmdForRuntime090WithError).Add(contextTestHelper.GetContextCmdForRuntime0280WithError).Add(contextTestHelper.GetContextCmdForRuntime0254WithError) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime090WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254WithError) + + // Run all the commands + executer.Execute(testCase) + }) + + ginkgo.It("Run SetContext, SetCurrentContext v0.90.0 then GetContext, GetCurrentContext v0.25.4, v0.28.0, v0.90.0, latest then DeleteContext, RemoveCurrentContext v0.28.0 then GetContext, GetCurrentContext v0.25.4, v0.28.0, v0.90.0, latest", func() { + // Add SetContext and SetCurrentContext Commands for Runtime latest + testCase := core.NewTestCase() + testCase.Add(contextTestHelper.SetContextCmdForRuntime090) + testCase.Add(contextTestHelper.SetCurrentContextCmdForRuntime090) + + // Add GetClientConfig Commands on all supported runtime versions + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.Version090))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultContextAndServer(core.Version0280))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + + // Add RemoveCurrentContext v0.28.0 Command + testCase.Add(contextTestHelper.RemoveCurrentContextCmdForRuntime0280) + + // Add DeleteContext v0.28.0 Command + testCase.Add(contextTestHelper.DeleteContextCmdForRuntime0280) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextCmdForRuntime090WithError).Add(contextTestHelper.GetContextCmdForRuntime0280WithError).Add(contextTestHelper.GetContextCmdForRuntime0254WithError) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime090WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254WithError) + + // Run all the commands + executer.Execute(testCase) + }) + + ginkgo.It("Run SetContext, SetCurrentContext v0.90.0 then GetContext, GetCurrentContext v0.25.4, v0.28.0, v0.90.0, latest then DeleteContext, RemoveCurrentContext latest then GetContext, GetCurrentContext v0.25.4, v0.28.0, v0.90.0, latest", func() { + // Add SetContext and SetCurrentContext Commands for Runtime latest + testCase := core.NewTestCase() + testCase.Add(contextTestHelper.SetContextCmdForRuntime090) + testCase.Add(contextTestHelper.SetCurrentContextCmdForRuntime090) + + // Add GetClientConfig Commands on all supported runtime versions + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.Version090))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultContextAndServer(core.Version0280))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + + // Add RemoveCurrentContext latest Command + testCase.Add(contextTestHelper.RemoveCurrentContextCmdForRuntimeLatest) + + // Add DeleteContext latest Command + testCase.Add(contextTestHelper.DeleteContextCmdForRuntimeLatest) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextCmdForRuntime090WithError).Add(contextTestHelper.GetContextCmdForRuntime0280WithError).Add(contextTestHelper.GetContextCmdForRuntime0254WithError) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime090WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254WithError) + + // Run all the commands + executer.Execute(testCase) + }) + + ginkgo.It("Run SetContext, SetCurrentContext v0.28.0 then GetContext, GetCurrentContext v0.25.4, v0.28.0, v0.90.0, latest then DeleteContext, RemoveCurrentContext latest then GetContext, GetCurrentContext v0.25.4, v0.28.0, v0.90.0, latest", func() { // Add SetContext and SetCurrentContext Commands for Runtime v0.28.0 testCase := core.NewTestCase().Add(contextTestHelper.SetContextCmdForRuntimeLatest).Add(contextTestHelper.SetCurrentContextCmdForRuntimeLatest) // Add GetClientConfig Commands on all supported runtime versions testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.Version090))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultContextAndServer(core.Version0280))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest) + testCase.Add(contextTestHelper.GetContextCmdForRuntime090) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0280) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime090) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0280) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) // Add RemoveCurrentContext latest Command testCase.Add(contextTestHelper.RemoveCurrentContextCmdForRuntimeLatest) @@ -86,64 +203,99 @@ var _ = ginkgo.Describe("Cross-version Context APIs compatibility tests", func() // Add DeleteContext latest Command testCase.Add(contextTestHelper.DeleteContextCmdForRuntimeLatest) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextCmdForRuntime0280WithError).Add(contextTestHelper.GetContextCmdForRuntime0254WithError) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime090WithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0280WithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0254WithError) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254WithError) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime090WithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0254WithError) // Run all the commands executer.Execute(testCase) }) - ginkgo.It("Run SetContext, SetCurrentContext v0.25.4 then GetContext, GetCurrentContext v0.25.4, v0.28.0, latest then DeleteContext, RemoveCurrentContext latest then GetContext, GetCurrentContext v0.25.4, v0.28.0, latest", func() { + ginkgo.It("Run SetContext, SetCurrentContext v0.25.4 then GetContext, GetCurrentContext v0.25.4, v0.28.0, v0.90.0, latest then DeleteContext, RemoveCurrentContext latest then GetContext, GetCurrentContext v0.25.4, v0.28.0, v0.90.0, latest", func() { // Add SetContext and SetCurrentContext Commands - testCase := core.NewTestCase().Add(contextTestHelper.SetContextCmdForRuntime0254).Add(contextTestHelper.SetCurrentContextCmdForRuntime0254) + testCase := core.NewTestCase() + + testCase.Add(contextTestHelper.SetContextCmdForRuntime0254) + testCase.Add(contextTestHelper.SetCurrentContextCmdForRuntime0254) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextCmdForRuntime0280WithError).Add(contextTestHelper.GetContextCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime090WithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0280WithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime090WithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) - // Add RemoveCurrentContext latestCommand + // Add RemoveCurrentContext latest Command testCase.Add(contextTestHelper.RemoveCurrentContextCmdForRuntimeLatestWithError) // Add DeleteContext latest Command testCase.Add(contextTestHelper.DeleteContextCmdForRuntimeLatestWithError) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextCmdForRuntime0280WithError).Add(contextTestHelper.GetContextCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime090WithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0280WithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime090WithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) // Run all the commands executer.Execute(testCase) }) - ginkgo.It("Run SetContext, SetCurrentContext v0.28.0 then GetContext, GetCurrentContext v0.25.4, v0.28.0, latest then DeleteContext v0.25.4 then GetContext, GetCurrentContext v0.25.4, v0.28.0, latest", func() { + + ginkgo.It("Run SetContext, SetCurrentContext v0.28.0 then GetContext, GetCurrentContext v0.25.4, v0.28.0, v0.90.0, latest then DeleteContext v0.25.4 then GetContext, GetCurrentContext v0.25.4, v0.28.0, v0.90.0, latest", func() { // Add SetContext and SetCurrentContext Commands testCase := core.NewTestCase().Add(contextTestHelper.SetContextCmdForRuntime0280).Add(contextTestHelper.SetCurrentContextCmdForRuntime0280) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.Version090))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultContextAndServer(core.Version0280))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest) + testCase.Add(contextTestHelper.GetContextCmdForRuntime090) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0280) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime090) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0280) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) // Add DeleteContext v0.25.4 Command testCase.Add(contextTestHelper.DeleteContextCmdForRuntime0254) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254WithError) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest) + testCase.Add(contextTestHelper.GetContextCmdForRuntime090) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0280) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0254WithError) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254WithError) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime090) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0280) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0254WithError) // Run all the commands executer.Execute(testCase) @@ -153,16 +305,72 @@ var _ = ginkgo.Describe("Cross-version Context APIs compatibility tests", func() ginkgo.Context("using multiple context objects on supported Runtime API versions", func() { - ginkgo.It("Run SetContext, SetCurrentContext on Runtime latest then GetContext, GetCurrentContext v0.25.4, v0.28.0, latest then DeleteContext, RemoveCurrentContext v0.28.0 then GetContext, GetCurrentContext v0.25.4, v0.28.0, latest", func() { + ginkgo.It("Run SetContext, SetCurrentContext latest then GetContext, GetCurrentContext v0.25.4, v0.28.0, v0.90.0, latest then DeleteContext, RemoveCurrentContext v0.90.0 then GetContext, GetCurrentContext v0.25.4, v0.28.0, v0.90.0, latest", func() { + // Add SetContext and SetCurrentContext latest Commands + testCase := core.NewTestCase().Add(contextTestHelper.SetContextCmdForRuntimeLatest).Add(contextTestHelper.SetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.SetCurrentContextCmdForRuntimeLatest) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.90.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime090).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + + // Add RemoveCurrentContext v0.90.0 Command + testCase.Add(contextTestHelper.RemoveCurrentContextCmdForRuntime090) + + // Add DeleteContext v0.90.0 Command + testCase.Add(contextTestHelper.DeleteContextCmdForRuntime090) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextCmdForRuntime090WithError).Add(contextTestHelper.GetContextCmdForRuntime0280WithError).Add(contextTestHelper.GetContextCmdForRuntime0254WithError) + testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime090).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime090WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254WithError) + + // Run all the commands + executer.Execute(testCase) + }) + + ginkgo.It("Run SetContext, SetCurrentContext v0.90.0 then GetContext, GetCurrentContext v0.25.4, v0.28.0, v0.90.0 latest then DeleteContext, RemoveCurrentContext latest then GetContext, GetCurrentContext v0.25.4, v0.28.0, v0.90.0, latest", func() { + // Add SetContext and SetCurrentContext Commands + testCase := core.NewTestCase().Add(contextTestHelper.SetContextCmdForRuntime090).Add(contextTestHelper.SetContextTwoCmdForRuntime090).Add(contextTestHelper.SetCurrentContextCmdForRuntime090) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime090).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + + // Add RemoveCurrentContext latest Command + testCase.Add(contextTestHelper.RemoveCurrentContextCmdForRuntimeLatest) + + // Add DeleteContext latest Command + testCase.Add(contextTestHelper.DeleteContextCmdForRuntimeLatest) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextCmdForRuntime090WithError).Add(contextTestHelper.GetContextCmdForRuntime0280WithError).Add(contextTestHelper.GetContextCmdForRuntime0254WithError) + testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime090).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime090WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254WithError) + + // Run all the commands + executer.Execute(testCase) + }) + + ginkgo.It("Run SetContext, SetCurrentContext latest then GetContext, GetCurrentContext v0.25.4, v0.28.0, v0.90.0, latest then DeleteContext, RemoveCurrentContext v0.28.0 then GetContext, GetCurrentContext v0.25.4, v0.28.0, v0.90.0, latest", func() { // Add SetContext and SetCurrentContext Commands testCase := core.NewTestCase().Add(contextTestHelper.SetContextCmdForRuntimeLatest).Add(contextTestHelper.SetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.SetCurrentContextCmdForRuntimeLatest) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) - testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime090).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) // Add RemoveCurrentContext v0.28.0 Command testCase.Add(contextTestHelper.RemoveCurrentContextCmdForRuntime0280) @@ -170,26 +378,54 @@ var _ = ginkgo.Describe("Cross-version Context APIs compatibility tests", func() // Add DeleteContext v0.28.0 Command testCase.Add(contextTestHelper.DeleteContextCmdForRuntime0280) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextCmdForRuntime0280WithError).Add(contextTestHelper.GetContextCmdForRuntime0254WithError) - testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextCmdForRuntime090WithError).Add(contextTestHelper.GetContextCmdForRuntime0280WithError).Add(contextTestHelper.GetContextCmdForRuntime0254WithError) + testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime090).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254WithError) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime090WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254WithError) // Run all the commands executer.Execute(testCase) }) - ginkgo.It("Run SetContext, SetCurrentContext v0.25.4 then GetContext, GetCurrentContext v0.25.4, v0.28.0, latest then DeleteContext, RemoveCurrentContext v0.28.0 then GetContext, GetCurrentContext v0.25.4, v0.28.0, latest", func() { - // Add SetContext and SetCurrentContext Commands + ginkgo.It("Run SetContext, SetCurrentContext v0.90.0 then GetContext, GetCurrentContext v0.25.4, v0.28.0, v0.90.0 latest then DeleteContext, RemoveCurrentContext v0.28.0 then GetContext, GetCurrentContext v0.25.4, v0.28.0, v0.90.0, latest", func() { + // Add SetContext and SetCurrentContext v0.90.0 Commands + testCase := core.NewTestCase().Add(contextTestHelper.SetContextCmdForRuntime090).Add(contextTestHelper.SetContextTwoCmdForRuntime090).Add(contextTestHelper.SetCurrentContextCmdForRuntime090) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime090).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + + // Add RemoveCurrentContext v0.28.0 Command + testCase.Add(contextTestHelper.RemoveCurrentContextCmdForRuntime0280) + + // Add DeleteContext v0.28.0 Command + testCase.Add(contextTestHelper.DeleteContextCmdForRuntime0280) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextCmdForRuntime090WithError).Add(contextTestHelper.GetContextCmdForRuntime0280WithError).Add(contextTestHelper.GetContextCmdForRuntime0254WithError) + testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime090).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime090WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254WithError) + + // Run all the commands + executer.Execute(testCase) + }) + + ginkgo.It("Run SetContext, SetCurrentContext v0.25.4 then GetContext, GetCurrentContext v0.25.4, v0.28.0, v0.90.0 latest then DeleteContext, RemoveCurrentContext v0.28.0 then GetContext, GetCurrentContext v0.25.4, v0.28.0, v0.90.0, latest", func() { + // Add SetContext and SetCurrentContext v0.25.4 Commands testCase := core.NewTestCase().Add(contextTestHelper.SetContextCmdForRuntime0254).Add(contextTestHelper.SetContextTwoCmdForRuntime0254).Add(contextTestHelper.SetCurrentContextCmdForRuntime0254) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextCmdForRuntime0280WithError).Add(contextTestHelper.GetContextCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextCmdForRuntime090WithError).Add(contextTestHelper.GetContextCmdForRuntime0280WithError).Add(contextTestHelper.GetContextCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime090WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) // Add RemoveCurrentContext v0.28.0 Command testCase.Add(contextTestHelper.RemoveCurrentContextCmdForRuntime0280WithError) @@ -197,38 +433,37 @@ var _ = ginkgo.Describe("Cross-version Context APIs compatibility tests", func() // Add DeleteContext v0.28.0 Command testCase.Add(contextTestHelper.DeleteContextCmdForRuntime0280WithError) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextCmdForRuntime0280WithError).Add(contextTestHelper.GetContextCmdForRuntime0254) - testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextTwoCmdForRuntime0280WithError).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextCmdForRuntime090WithError).Add(contextTestHelper.GetContextCmdForRuntime0280WithError).Add(contextTestHelper.GetContextCmdForRuntime0254) + testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextTwoCmdForRuntime090WithError).Add(contextTestHelper.GetContextTwoCmdForRuntime0280WithError).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime090WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) // Run all the commands executer.Execute(testCase) }) - ginkgo.It("Run SetContext, SetCurrentContext v0.28.0 then GetContext, GetCurrentContext v0.25.4, v0.28.0, latest then DeleteContext v0.25.4 then GetContext, GetCurrentContext v0.25.4, v0.28.0, latest", func() { - + ginkgo.It("Run SetContext, SetCurrentContext v0.28.0 then GetContext, GetCurrentContext v0.25.4, v0.28.0, v0.90.0 latest then DeleteContext v0.25.4 then GetContext, GetCurrentContext v0.25.4, v0.28.0, v0.90.0, latest", func() { // Add SetContext and SetCurrentContext Commands testCase := core.NewTestCase().Add(contextTestHelper.SetContextCmdForRuntime0280).Add(contextTestHelper.SetContextTwoCmdForRuntime0280).Add(contextTestHelper.SetCurrentContextCmdForRuntime0280) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) - testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime090).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) // Add DeleteContext v0.25.4 Command testCase.Add(contextTestHelper.DeleteContextCmdForRuntime0254) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254WithError) - testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254WithError) + testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime090).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254WithError) + // Add GetCurrentContext latest,v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254WithError) // Run all the commands executer.Execute(testCase) diff --git a/test/compatibility/framework/compatibilitytests/context/context_test_helpers.go b/test/compatibility/framework/compatibilitytests/context/context_test_helpers.go index 02c616cb0..283f6d844 100644 --- a/test/compatibility/framework/compatibilitytests/context/context_test_helpers.go +++ b/test/compatibility/framework/compatibilitytests/context/context_test_helpers.go @@ -21,124 +21,153 @@ type Helper struct { // SetContext Input Options SetContextInputOptionsForRuntime0254 *context.SetContextInputOptions SetContextInputOptionsForRuntime0280 *context.SetContextInputOptions + SetContextInputOptionsForRuntime090 *context.SetContextInputOptions SetContextInputOptionsForRuntimeLatest *context.SetContextInputOptions SetContextTwoInputOptionsForRuntime0254 *context.SetContextInputOptions SetContextTwoInputOptionsForRuntime0280 *context.SetContextInputOptions + SetContextTwoInputOptionsForRuntime090 *context.SetContextInputOptions SetContextTwoInputOptionsForRuntimeLatest *context.SetContextInputOptions // SetCurrentContext Input Options SetCurrentContextInputOptionsForRuntime0254 *context.SetCurrentContextInputOptions SetCurrentContextInputOptionsForRuntime0280 *context.SetCurrentContextInputOptions + SetCurrentContextInputOptionsForRuntime090 *context.SetCurrentContextInputOptions SetCurrentContextInputOptionsForRuntimeLatest *context.SetCurrentContextInputOptions // GetContext Input Options GetContextInputOptionsForRuntimeLatest *context.GetContextInputOptions + GetContextInputOptionsForRuntime090 *context.GetContextInputOptions GetContextInputOptionsForRuntime0280 *context.GetContextInputOptions GetContextInputOptionsForRuntime0254 *context.GetContextInputOptions GetContextTwoInputOptionsForRuntimeLatest *context.GetContextInputOptions + GetContextTwoInputOptionsForRuntime090 *context.GetContextInputOptions GetContextTwoInputOptionsForRuntime0280 *context.GetContextInputOptions GetContextTwoInputOptionsForRuntime0254 *context.GetContextInputOptions // GetContext Output Options GetContextOutputOptionsForRuntime0254 *context.GetContextOutputOptions GetContextOutputOptionsForRuntime0280 *context.GetContextOutputOptions + GetContextOutputOptionsForRuntime090 *context.GetContextOutputOptions GetContextOutputOptionsForRuntimeLatest *context.GetContextOutputOptions GetContextTwoOutputOptionsForRuntime0254 *context.GetContextOutputOptions GetContextTwoOutputOptionsForRuntime0280 *context.GetContextOutputOptions + GetContextTwoOutputOptionsForRuntime090 *context.GetContextOutputOptions GetContextTwoOutputOptionsForRuntimeLatest *context.GetContextOutputOptions // GetContext Output Options with expected error GetContextOutputOptionsForRuntimeLatestWithError *context.GetContextOutputOptions + GetContextOutputOptionsForRuntime090WithError *context.GetContextOutputOptions GetContextOutputOptionsForRuntime0280WithError *context.GetContextOutputOptions GetContextOutputOptionsForRuntime0254WithError *context.GetContextOutputOptions GetContextTwoOutputOptionsForRuntimeLatestWithError *context.GetContextOutputOptions + GetContextTwoOutputOptionsForRuntime090WithError *context.GetContextOutputOptions GetContextTwoOutputOptionsForRuntime0280WithError *context.GetContextOutputOptions // GetCurrentContext Input Options GetCurrentContextInputOptionsForRuntime0254 *context.GetCurrentContextInputOptions GetCurrentContextInputOptionsForRuntime0280 *context.GetCurrentContextInputOptions + GetCurrentContextInputOptionsForRuntime090 *context.GetCurrentContextInputOptions GetCurrentContextInputOptionsForRuntimeLatest *context.GetCurrentContextInputOptions // GetCurrentContext Output Options GetCurrentContextOutputOptionsForRuntime0254 *context.GetCurrentContextOutputOptions GetCurrentContextOutputOptionsForRuntime0280 *context.GetCurrentContextOutputOptions + GetCurrentContextOutputOptionsForRuntime090 *context.GetCurrentContextOutputOptions GetCurrentContextOutputOptionsForRuntimeLatest *context.GetCurrentContextOutputOptions // GetCurrentContext Output Options with expected error GetCurrentContextOutputOptionsForRuntimeLatestWithError *context.GetCurrentContextOutputOptions + GetCurrentContextOutputOptionsForRuntime090WithError *context.GetCurrentContextOutputOptions GetCurrentContextOutputOptionsForRuntime0280WithError *context.GetCurrentContextOutputOptions GetCurrentContextOutputOptionsForRuntime0254WithError *context.GetCurrentContextOutputOptions // DeleteContext Input Options DeleteContextInputOptionsForRuntime0254 *context.DeleteContextInputOptions DeleteContextInputOptionsForRuntime0280 *context.DeleteContextInputOptions + DeleteContextInputOptionsForRuntime090 *context.DeleteContextInputOptions DeleteContextInputOptionsForRuntimeLatest *context.DeleteContextInputOptions // DeleteContext Output Options with expected error DeleteContextOutputOptionsForRuntime0280WithError *context.DeleteContextOutputOptions + DeleteContextOutputOptionsForRuntime090WithError *context.DeleteContextOutputOptions DeleteContextOutputOptionsForRuntimeLatestWithError *context.DeleteContextOutputOptions // RemoveCurrentContext Input Options RemoveCurrentContextInputOptionsForRuntime0280 *context.RemoveCurrentContextInputOptions + RemoveCurrentContextInputOptionsForRuntime090 *context.RemoveCurrentContextInputOptions RemoveCurrentContextInputOptionsForRuntimeLatest *context.RemoveCurrentContextInputOptions // RemoveCurrentContext Output Options with expected error RemoveCurrentContextOutputOptionsForRuntimeLatestWithError *context.RemoveCurrentContextOutputOptions + RemoveCurrentContextOutputOptionsForRuntime090WithError *context.RemoveCurrentContextOutputOptions RemoveCurrentContextOutputOptionsForRuntime0280WithError *context.RemoveCurrentContextOutputOptions // Context API Commands // SetContext API Commands SetContextCmdForRuntimeLatest *core.Command + SetContextCmdForRuntime090 *core.Command SetContextCmdForRuntime0280 *core.Command SetContextCmdForRuntime0254 *core.Command SetContextTwoCmdForRuntimeLatest *core.Command + SetContextTwoCmdForRuntime090 *core.Command SetContextTwoCmdForRuntime0280 *core.Command SetContextTwoCmdForRuntime0254 *core.Command // SetCurrentContext API Commands SetCurrentContextCmdForRuntime0254 *core.Command SetCurrentContextCmdForRuntime0280 *core.Command + SetCurrentContextCmdForRuntime090 *core.Command SetCurrentContextCmdForRuntimeLatest *core.Command // GetContext API Commands GetContextCmdForRuntimeLatest *core.Command + GetContextCmdForRuntime090 *core.Command GetContextCmdForRuntime0280 *core.Command GetContextCmdForRuntime0254 *core.Command GetContextTwoCmdForRuntimeLatest *core.Command + GetContextTwoCmdForRuntime090 *core.Command GetContextTwoCmdForRuntime0280 *core.Command GetContextTwoCmdForRuntime0254 *core.Command GetContextCmdForRuntimeLatestWithError *core.Command + GetContextCmdForRuntime090WithError *core.Command GetContextCmdForRuntime0280WithError *core.Command GetContextCmdForRuntime0254WithError *core.Command GetContextTwoCmdForRuntimeLatestWithError *core.Command + GetContextTwoCmdForRuntime090WithError *core.Command GetContextTwoCmdForRuntime0280WithError *core.Command // GetCurrentContext API Commands GetCurrentContextCmdForRuntimeLatest *core.Command + GetCurrentContextCmdForRuntime090 *core.Command GetCurrentContextCmdForRuntime0280 *core.Command GetCurrentContextCmdForRuntime0254 *core.Command GetCurrentContextCmdForRuntimeLatestWithError *core.Command + GetCurrentContextCmdForRuntime090WithError *core.Command GetCurrentContextCmdForRuntime0280WithError *core.Command GetCurrentContextCmdForRuntime0254WithError *core.Command // DeleteContext API Commands DeleteContextCmdForRuntime0280 *core.Command DeleteContextCmdForRuntime0254 *core.Command + DeleteContextCmdForRuntime090 *core.Command DeleteContextCmdForRuntimeLatest *core.Command DeleteContextCmdForRuntime0280WithError *core.Command DeleteContextCmdForRuntimeLatestWithError *core.Command + DeleteContextCmdForRuntime090WithError *core.Command // RemoveCurrentContext API Commands RemoveCurrentContextCmdForRuntime0280 *core.Command RemoveCurrentContextCmdForRuntimeLatest *core.Command + RemoveCurrentContextCmdForRuntime090 *core.Command RemoveCurrentContextCmdForRuntimeLatestWithError *core.Command + RemoveCurrentContextCmdForRuntime090WithError *core.Command RemoveCurrentContextCmdForRuntime0280WithError *core.Command } @@ -169,9 +198,11 @@ func (b *Helper) SetupRemoveCurrentContextTestInputAndOutputOptions() { ginkgo.By("Setup Input and Output Options for RemoveCurrentContext") b.RemoveCurrentContextInputOptionsForRuntime0280 = DefaultRemoveCurrentContextInputOptions(core.Version0280) + b.RemoveCurrentContextInputOptionsForRuntime090 = DefaultRemoveCurrentContextInputOptions(core.Version090) b.RemoveCurrentContextInputOptionsForRuntimeLatest = DefaultRemoveCurrentContextInputOptions(core.VersionLatest) b.RemoveCurrentContextOutputOptionsForRuntimeLatestWithError = DefaultRemoveCurrentContextOutputOptionsWithError(core.VersionLatest) + b.RemoveCurrentContextOutputOptionsForRuntime090WithError = DefaultRemoveCurrentContextOutputOptionsWithError(core.Version090) b.RemoveCurrentContextOutputOptionsForRuntime0280WithError = DefaultRemoveCurrentContextOutputOptionsWithError(core.Version0280) } @@ -184,6 +215,10 @@ func (b *Helper) CreateRemoveCurrentContextAPICommands() { gomega.Expect(err).To(gomega.BeNil()) b.RemoveCurrentContextCmdForRuntime0280 = removeCurrentContextCmdForRuntime0280 + removeCurrentContextCmdForRuntime090, err := context.NewRemoveCurrentContextCommand(b.RemoveCurrentContextInputOptionsForRuntime090, nil) + gomega.Expect(err).To(gomega.BeNil()) + b.RemoveCurrentContextCmdForRuntime090 = removeCurrentContextCmdForRuntime090 + removeCurrentContextCmdForRuntimeLatest, err := context.NewRemoveCurrentContextCommand(b.RemoveCurrentContextInputOptionsForRuntimeLatest, nil) gomega.Expect(err).To(gomega.BeNil()) b.RemoveCurrentContextCmdForRuntimeLatest = removeCurrentContextCmdForRuntimeLatest @@ -192,6 +227,10 @@ func (b *Helper) CreateRemoveCurrentContextAPICommands() { gomega.Expect(err).To(gomega.BeNil()) b.RemoveCurrentContextCmdForRuntimeLatestWithError = removeCurrentContextCmdForRuntimeLatestWithError + removeCurrentContextCmdForRuntime090WithError, err := context.NewRemoveCurrentContextCommand(b.RemoveCurrentContextInputOptionsForRuntime090, b.RemoveCurrentContextOutputOptionsForRuntime090WithError) + gomega.Expect(err).To(gomega.BeNil()) + b.RemoveCurrentContextCmdForRuntime090WithError = removeCurrentContextCmdForRuntime090WithError + removeCurrentContextCmdForRuntime0280WithError, err := context.NewRemoveCurrentContextCommand(b.RemoveCurrentContextInputOptionsForRuntime0280, b.RemoveCurrentContextOutputOptionsForRuntime0280WithError) gomega.Expect(err).To(gomega.BeNil()) b.RemoveCurrentContextCmdForRuntime0280WithError = removeCurrentContextCmdForRuntime0280WithError @@ -204,9 +243,11 @@ func (b *Helper) SetupDeleteContextTestInputAndOutputOptions() { b.DeleteContextInputOptionsForRuntime0280 = DefaultDeleteContextInputOptions(core.Version0280, common.CompatibilityTestOne) b.DeleteContextInputOptionsForRuntime0254 = DefaultDeleteContextInputOptions(core.Version0254, common.CompatibilityTestOne) + b.DeleteContextInputOptionsForRuntime090 = DefaultDeleteContextInputOptions(core.Version090, common.CompatibilityTestOne) b.DeleteContextInputOptionsForRuntimeLatest = DefaultDeleteContextInputOptions(core.VersionLatest, common.CompatibilityTestOne) b.DeleteContextOutputOptionsForRuntime0280WithError = DefaultDeleteContextOutputOptionsWithError(core.Version0280, common.CompatibilityTestOne) + b.DeleteContextOutputOptionsForRuntime090WithError = DefaultDeleteContextOutputOptionsWithError(core.Version090, common.CompatibilityTestOne) b.DeleteContextOutputOptionsForRuntimeLatestWithError = DefaultDeleteContextOutputOptionsWithError(core.VersionLatest, common.CompatibilityTestOne) } @@ -219,6 +260,10 @@ func (b *Helper) CreateDeleteContextAPICommands() { gomega.Expect(err).To(gomega.BeNil()) b.DeleteContextCmdForRuntimeLatest = deleteContextCmdForRuntimeLatest + deleteContextCmdForRuntime090, err := context.NewDeleteContextCommand(b.DeleteContextInputOptionsForRuntime090, nil) + gomega.Expect(err).To(gomega.BeNil()) + b.DeleteContextCmdForRuntime090 = deleteContextCmdForRuntime090 + deleteContextCmdForRuntime0280, err := context.NewDeleteContextCommand(b.DeleteContextInputOptionsForRuntime0280, nil) gomega.Expect(err).To(gomega.BeNil()) b.DeleteContextCmdForRuntime0280 = deleteContextCmdForRuntime0280 @@ -234,6 +279,10 @@ func (b *Helper) CreateDeleteContextAPICommands() { deleteContextCmdForRuntimeLatestWithError, err := context.NewDeleteContextCommand(b.DeleteContextInputOptionsForRuntimeLatest, b.DeleteContextOutputOptionsForRuntimeLatestWithError) gomega.Expect(err).To(gomega.BeNil()) b.DeleteContextCmdForRuntimeLatestWithError = deleteContextCmdForRuntimeLatestWithError + + deleteContextCmdForRuntime090WithError, err := context.NewDeleteContextCommand(b.DeleteContextInputOptionsForRuntime090, b.DeleteContextOutputOptionsForRuntime090WithError) + gomega.Expect(err).To(gomega.BeNil()) + b.DeleteContextCmdForRuntime090WithError = deleteContextCmdForRuntime090WithError } // SetupGetContextTestInputAndOutputOptions sets input and output options for GetContext API @@ -242,26 +291,32 @@ func (b *Helper) SetupGetContextTestInputAndOutputOptions() { ginkgo.By("Setup Input and Output Options for GetContext") b.GetContextInputOptionsForRuntimeLatest = DefaultGetContextInputOptions(core.VersionLatest, common.CompatibilityTestOne) + b.GetContextInputOptionsForRuntime090 = DefaultGetContextInputOptions(core.Version090, common.CompatibilityTestOne) b.GetContextInputOptionsForRuntime0280 = DefaultGetContextInputOptions(core.Version0280, common.CompatibilityTestOne) b.GetContextInputOptionsForRuntime0254 = DefaultGetContextInputOptions(core.Version0254, common.CompatibilityTestOne) b.GetContextTwoInputOptionsForRuntimeLatest = DefaultGetContextInputOptions(core.VersionLatest, common.CompatibilityTestTwo) + b.GetContextTwoInputOptionsForRuntime090 = DefaultGetContextInputOptions(core.Version090, common.CompatibilityTestTwo) b.GetContextTwoInputOptionsForRuntime0280 = DefaultGetContextInputOptions(core.Version0280, common.CompatibilityTestTwo) b.GetContextTwoInputOptionsForRuntime0254 = DefaultGetContextInputOptions(core.Version0254, common.CompatibilityTestTwo) b.GetContextOutputOptionsForRuntime0280 = DefaultGetContextOutputOptions(core.Version0280, common.CompatibilityTestOne) b.GetContextOutputOptionsForRuntime0254 = DefaultGetContextOutputOptions(core.Version0254, common.CompatibilityTestOne) + b.GetContextOutputOptionsForRuntime090 = DefaultGetContextOutputOptions(core.Version090, common.CompatibilityTestOne) b.GetContextOutputOptionsForRuntimeLatest = DefaultGetContextOutputOptions(core.VersionLatest, common.CompatibilityTestOne) b.GetContextTwoOutputOptionsForRuntimeLatest = DefaultGetContextOutputOptions(core.VersionLatest, common.CompatibilityTestTwo) + b.GetContextTwoOutputOptionsForRuntime090 = DefaultGetContextOutputOptions(core.Version090, common.CompatibilityTestTwo) b.GetContextTwoOutputOptionsForRuntime0280 = DefaultGetContextOutputOptions(core.Version0280, common.CompatibilityTestTwo) b.GetContextTwoOutputOptionsForRuntime0254 = DefaultGetContextOutputOptions(core.Version0254, common.CompatibilityTestTwo) + b.GetContextOutputOptionsForRuntime090WithError = DefaultGetContextOutputOptionsWithError(core.Version090, common.CompatibilityTestOne) b.GetContextOutputOptionsForRuntimeLatestWithError = DefaultGetContextOutputOptionsWithError(core.VersionLatest, common.CompatibilityTestOne) b.GetContextOutputOptionsForRuntime0280WithError = DefaultGetContextOutputOptionsWithError(core.Version0280, common.CompatibilityTestOne) b.GetContextOutputOptionsForRuntime0254WithError = DefaultGetContextOutputOptionsWithError(core.Version0254, common.CompatibilityTestOne) b.GetContextTwoOutputOptionsForRuntimeLatestWithError = DefaultGetContextOutputOptionsWithError(core.VersionLatest, common.CompatibilityTestTwo) + b.GetContextTwoOutputOptionsForRuntime090WithError = DefaultGetContextOutputOptionsWithError(core.Version090, common.CompatibilityTestTwo) b.GetContextTwoOutputOptionsForRuntime0280WithError = DefaultGetContextOutputOptionsWithError(core.Version0280, common.CompatibilityTestTwo) } @@ -274,6 +329,10 @@ func (b *Helper) CreateGetContextAPICommands() { gomega.Expect(err).To(gomega.BeNil()) b.GetContextCmdForRuntimeLatest = getContextCmdForRuntimeLatest + getContextCmdForRuntime090, err := context.NewGetContextCommand(b.GetContextInputOptionsForRuntime090, b.GetContextOutputOptionsForRuntime090) + gomega.Expect(err).To(gomega.BeNil()) + b.GetContextCmdForRuntime090 = getContextCmdForRuntime090 + getContextCmdForRuntime0280, err := context.NewGetContextCommand(b.GetContextInputOptionsForRuntime0280, b.GetContextOutputOptionsForRuntime0280) gomega.Expect(err).To(gomega.BeNil()) b.GetContextCmdForRuntime0280 = getContextCmdForRuntime0280 @@ -286,6 +345,10 @@ func (b *Helper) CreateGetContextAPICommands() { gomega.Expect(err).To(gomega.BeNil()) b.GetContextTwoCmdForRuntimeLatest = getContextTwoCmdForRuntimeLatest + getContextTwoCmdForRuntime090, err := context.NewGetContextCommand(b.GetContextTwoInputOptionsForRuntime090, b.GetContextTwoOutputOptionsForRuntime090) + gomega.Expect(err).To(gomega.BeNil()) + b.GetContextTwoCmdForRuntime090 = getContextTwoCmdForRuntime090 + getContextTwoCmdForRuntime0280, err := context.NewGetContextCommand(b.GetContextTwoInputOptionsForRuntime0280, b.GetContextTwoOutputOptionsForRuntime0280) gomega.Expect(err).To(gomega.BeNil()) b.GetContextTwoCmdForRuntime0280 = getContextTwoCmdForRuntime0280 @@ -298,6 +361,10 @@ func (b *Helper) CreateGetContextAPICommands() { gomega.Expect(err).To(gomega.BeNil()) b.GetContextCmdForRuntimeLatestWithError = getContextCmdForRuntimeLatestWithError + getContextCmdForRuntime090WithError, err := context.NewGetContextCommand(b.GetContextInputOptionsForRuntime090, b.GetContextOutputOptionsForRuntime090WithError) + gomega.Expect(err).To(gomega.BeNil()) + b.GetContextCmdForRuntime090WithError = getContextCmdForRuntime090WithError + getContextCmdForRuntime0280WithError, err := context.NewGetContextCommand(b.GetContextInputOptionsForRuntime0280, b.GetContextOutputOptionsForRuntime0280WithError) gomega.Expect(err).To(gomega.BeNil()) b.GetContextCmdForRuntime0280WithError = getContextCmdForRuntime0280WithError @@ -310,6 +377,10 @@ func (b *Helper) CreateGetContextAPICommands() { gomega.Expect(err).To(gomega.BeNil()) b.GetContextTwoCmdForRuntimeLatestWithError = getContextTwoCmdForRuntimeLatestWithError + getContextTwoCmdForRuntime090WithError, err := context.NewGetContextCommand(b.GetContextTwoInputOptionsForRuntime090, b.GetContextTwoOutputOptionsForRuntime090WithError) + gomega.Expect(err).To(gomega.BeNil()) + b.GetContextTwoCmdForRuntime090WithError = getContextTwoCmdForRuntime090WithError + getContextTwoCmdForRuntime0280WithError, err := context.NewGetContextCommand(b.GetContextTwoInputOptionsForRuntime0280, b.GetContextTwoOutputOptionsForRuntime0280WithError) gomega.Expect(err).To(gomega.BeNil()) b.GetContextTwoCmdForRuntime0280WithError = getContextTwoCmdForRuntime0280WithError @@ -321,14 +392,18 @@ func (b *Helper) SetupGetCurrentContextTestInputAndOutputOptions() { ginkgo.By("Setup Input and Output Options for GetCurrentContext") b.GetCurrentContextInputOptionsForRuntimeLatest = DefaultGetCurrentContextInputOptions(core.VersionLatest) + b.GetCurrentContextInputOptionsForRuntime090 = DefaultGetCurrentContextInputOptions(core.Version090) + b.GetCurrentContextInputOptionsForRuntime0280 = DefaultGetCurrentContextInputOptions(core.Version0280) b.GetCurrentContextInputOptionsForRuntime0254 = DefaultGetCurrentContextInputOptions(core.Version0254) b.GetCurrentContextOutputOptionsForRuntime0280 = DefaultGetCurrentContextOutputOptions(core.Version0280, common.CompatibilityTestOne) b.GetCurrentContextOutputOptionsForRuntime0254 = DefaultGetCurrentContextOutputOptions(core.Version0254, common.CompatibilityTestOne) + b.GetCurrentContextOutputOptionsForRuntime090 = DefaultGetCurrentContextOutputOptions(core.Version090, common.CompatibilityTestOne) b.GetCurrentContextOutputOptionsForRuntimeLatest = DefaultGetCurrentContextOutputOptions(core.VersionLatest, common.CompatibilityTestOne) b.GetCurrentContextOutputOptionsForRuntimeLatestWithError = DefaultGetCurrentContextOutputOptionsWithError(core.VersionLatest) + b.GetCurrentContextOutputOptionsForRuntime090WithError = DefaultGetCurrentContextOutputOptionsWithError(core.Version090) b.GetCurrentContextOutputOptionsForRuntime0280WithError = DefaultGetCurrentContextOutputOptionsWithError(core.Version0280) b.GetCurrentContextOutputOptionsForRuntime0254WithError = DefaultGetCurrentContextOutputOptionsWithError(core.Version0254) } @@ -342,6 +417,10 @@ func (b *Helper) CreateGetCurrentContextAPICommands() { gomega.Expect(err).To(gomega.BeNil()) b.GetCurrentContextCmdForRuntimeLatest = getCurrentContextCmdForRuntimeLatest + getCurrentContextCmdForRuntime090, err := context.NewGetCurrentContextCommand(b.GetCurrentContextInputOptionsForRuntime090, b.GetCurrentContextOutputOptionsForRuntime090) + gomega.Expect(err).To(gomega.BeNil()) + b.GetCurrentContextCmdForRuntime090 = getCurrentContextCmdForRuntime090 + getCurrentContextCmdForRuntime0280, err := context.NewGetCurrentContextCommand(b.GetCurrentContextInputOptionsForRuntime0280, b.GetCurrentContextOutputOptionsForRuntime0280) gomega.Expect(err).To(gomega.BeNil()) b.GetCurrentContextCmdForRuntime0280 = getCurrentContextCmdForRuntime0280 @@ -354,6 +433,10 @@ func (b *Helper) CreateGetCurrentContextAPICommands() { gomega.Expect(err).To(gomega.BeNil()) b.GetCurrentContextCmdForRuntimeLatestWithError = getCurrentContextCmdForRuntimeLatestWithError + getCurrentContextCmdForRuntime090WithError, err := context.NewGetCurrentContextCommand(b.GetCurrentContextInputOptionsForRuntime090, b.GetCurrentContextOutputOptionsForRuntime090WithError) + gomega.Expect(err).To(gomega.BeNil()) + b.GetCurrentContextCmdForRuntime090WithError = getCurrentContextCmdForRuntime090WithError + getCurrentContextCmdForRuntime0280WithError, err := context.NewGetCurrentContextCommand(b.GetCurrentContextInputOptionsForRuntime0280, b.GetCurrentContextOutputOptionsForRuntime0280WithError) gomega.Expect(err).To(gomega.BeNil()) b.GetCurrentContextCmdForRuntime0280WithError = getCurrentContextCmdForRuntime0280WithError @@ -369,6 +452,7 @@ func (b *Helper) SetupSetCurrentContextTestInputAndOutputOptions() { ginkgo.By("Setup Input and Output Options for SetCurrentContext") b.SetCurrentContextInputOptionsForRuntimeLatest = DefaultSetCurrentContextInputOptions(core.VersionLatest, common.CompatibilityTestOne) + b.SetCurrentContextInputOptionsForRuntime090 = DefaultSetCurrentContextInputOptions(core.Version090, common.CompatibilityTestOne) b.SetCurrentContextInputOptionsForRuntime0280 = DefaultSetCurrentContextInputOptions(core.Version0280, common.CompatibilityTestOne) b.SetCurrentContextInputOptionsForRuntime0254 = DefaultSetCurrentContextInputOptions(core.Version0254, common.CompatibilityTestOne) } @@ -382,6 +466,10 @@ func (b *Helper) CreateSetCurrentContextAPICommands() { gomega.Expect(err).To(gomega.BeNil()) b.SetCurrentContextCmdForRuntimeLatest = setCurrentContextCmdForRuntimeLatest + setCurrentContextCmdForRuntime090, err := context.NewSetCurrentContextCommand(b.SetCurrentContextInputOptionsForRuntime090, nil) + gomega.Expect(err).To(gomega.BeNil()) + b.SetCurrentContextCmdForRuntime090 = setCurrentContextCmdForRuntime090 + setCurrentContextCmdForRuntime0280, err := context.NewSetCurrentContextCommand(b.SetCurrentContextInputOptionsForRuntime0280, nil) gomega.Expect(err).To(gomega.BeNil()) b.SetCurrentContextCmdForRuntime0280 = setCurrentContextCmdForRuntime0280 @@ -397,19 +485,23 @@ func (b *Helper) SetupSetContextTestInputAndOutputOptions() { ginkgo.By("Setup Input and Output Options for SetContext") b.SetContextInputOptionsForRuntimeLatest = DefaultSetContextInputOptions(core.VersionLatest, common.CompatibilityTestOne) + b.SetContextInputOptionsForRuntime090 = DefaultSetContextInputOptions(core.Version090, common.CompatibilityTestOne) b.SetContextInputOptionsForRuntime0280 = DefaultSetContextInputOptions(core.Version0280, common.CompatibilityTestOne) b.SetContextInputOptionsForRuntime0254 = DefaultSetContextInputOptions(core.Version0254, common.CompatibilityTestOne) b.SetContextTwoInputOptionsForRuntimeLatest = DefaultSetContextInputOptions(core.VersionLatest, common.CompatibilityTestTwo) + b.SetContextTwoInputOptionsForRuntime090 = DefaultSetContextInputOptions(core.Version090, common.CompatibilityTestTwo) b.SetContextTwoInputOptionsForRuntime0280 = DefaultSetContextInputOptions(core.Version0280, common.CompatibilityTestTwo) b.SetContextTwoInputOptionsForRuntime0254 = DefaultSetContextInputOptions(core.Version0254, common.CompatibilityTestTwo) // Input and Output Parameters for SetContext b.SetContextInputOptionsForRuntimeLatest = DefaultSetContextInputOptions(core.VersionLatest, common.CompatibilityTestOne) + b.SetContextInputOptionsForRuntime090 = DefaultSetContextInputOptions(core.Version090, common.CompatibilityTestOne) b.SetContextInputOptionsForRuntime0280 = DefaultSetContextInputOptions(core.Version0280, common.CompatibilityTestOne) b.SetContextInputOptionsForRuntime0254 = DefaultSetContextInputOptions(core.Version0254, common.CompatibilityTestOne) b.SetContextTwoInputOptionsForRuntimeLatest = DefaultSetContextInputOptions(core.VersionLatest, common.CompatibilityTestTwo) + b.SetContextTwoInputOptionsForRuntime090 = DefaultSetContextInputOptions(core.Version090, common.CompatibilityTestTwo) b.SetContextTwoInputOptionsForRuntime0280 = DefaultSetContextInputOptions(core.Version0280, common.CompatibilityTestTwo) b.SetContextTwoInputOptionsForRuntime0254 = DefaultSetContextInputOptions(core.Version0254, common.CompatibilityTestTwo) } @@ -422,18 +514,31 @@ func (b *Helper) CreateSetContextAPICommands() { setContextCmdForRuntimeLatest, err := context.NewSetContextCommand(b.SetContextInputOptionsForRuntimeLatest, nil) gomega.Expect(err).To(gomega.BeNil()) b.SetContextCmdForRuntimeLatest = setContextCmdForRuntimeLatest + + setContextCmdForRuntime090, err := context.NewSetContextCommand(b.SetContextInputOptionsForRuntime090, nil) + gomega.Expect(err).To(gomega.BeNil()) + b.SetContextCmdForRuntime090 = setContextCmdForRuntime090 + setContextCmdForRuntime0254, err := context.NewSetContextCommand(b.SetContextInputOptionsForRuntime0254, nil) gomega.Expect(err).To(gomega.BeNil()) b.SetContextCmdForRuntime0254 = setContextCmdForRuntime0254 + setContextCmdForRuntime0280, err := context.NewSetContextCommand(b.SetContextInputOptionsForRuntime0280, nil) gomega.Expect(err).To(gomega.BeNil()) b.SetContextCmdForRuntime0280 = setContextCmdForRuntime0280 + setContextTwoCmdForRuntimeLatest, err := context.NewSetContextCommand(b.SetContextTwoInputOptionsForRuntimeLatest, nil) gomega.Expect(err).To(gomega.BeNil()) b.SetContextTwoCmdForRuntimeLatest = setContextTwoCmdForRuntimeLatest + + setContextTwoCmdForRuntime090, err := context.NewSetContextCommand(b.SetContextTwoInputOptionsForRuntime090, nil) + gomega.Expect(err).To(gomega.BeNil()) + b.SetContextTwoCmdForRuntime090 = setContextTwoCmdForRuntime090 + setContextTwoCmdForRuntime0254, err := context.NewSetContextCommand(b.SetContextTwoInputOptionsForRuntime0254, nil) gomega.Expect(err).To(gomega.BeNil()) b.SetContextTwoCmdForRuntime0254 = setContextTwoCmdForRuntime0254 + setContextTwoCmdForRuntime0280, err := context.NewSetContextCommand(b.SetContextTwoInputOptionsForRuntime0280, nil) gomega.Expect(err).To(gomega.BeNil()) b.SetContextTwoCmdForRuntime0280 = setContextTwoCmdForRuntime0280 @@ -442,7 +547,7 @@ func (b *Helper) CreateSetContextAPICommands() { // DefaultSetContextInputOptions helper method to construct SetContext API input options func DefaultSetContextInputOptions(version core.RuntimeVersion, contextName string) *context.SetContextInputOptions { switch version { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: return &context.SetContextInputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ RuntimeVersion: version, @@ -485,7 +590,7 @@ func DefaultGetContextInputOptions(version core.RuntimeVersion, contextName stri // DefaultGetContextOutputOptions helper method to construct GetContext API output options func DefaultGetContextOutputOptions(version core.RuntimeVersion, contextName string) *context.GetContextOutputOptions { switch version { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: return &context.GetContextOutputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ RuntimeVersion: version, @@ -519,7 +624,7 @@ func DefaultGetContextOutputOptions(version core.RuntimeVersion, contextName str // DefaultGetContextOutputOptionsWithError helper method to construct GetContext API output options with error func DefaultGetContextOutputOptionsWithError(version core.RuntimeVersion, contextName string) *context.GetContextOutputOptions { switch version { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: return &context.GetContextOutputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ RuntimeVersion: version, @@ -550,7 +655,7 @@ func DefaultSetCurrentContextInputOptions(version core.RuntimeVersion, contextNa // DefaultGetCurrentContextInputOptions helper method to construct GetCurrentContext API input options func DefaultGetCurrentContextInputOptions(version core.RuntimeVersion) *context.GetCurrentContextInputOptions { switch version { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: return &context.GetCurrentContextInputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ RuntimeVersion: version, @@ -571,7 +676,7 @@ func DefaultGetCurrentContextInputOptions(version core.RuntimeVersion) *context. // DefaultGetCurrentContextOutputOptions helper method to construct GetCurrentContext API output options func DefaultGetCurrentContextOutputOptions(version core.RuntimeVersion, contextName string) *context.GetCurrentContextOutputOptions { switch version { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: return &context.GetCurrentContextOutputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ RuntimeVersion: core.VersionLatest, @@ -605,7 +710,7 @@ func DefaultGetCurrentContextOutputOptions(version core.RuntimeVersion, contextN // DefaultGetCurrentContextOutputOptionsWithError helper method to construct GetCurrentContext API output options with error func DefaultGetCurrentContextOutputOptionsWithError(version core.RuntimeVersion) *context.GetCurrentContextOutputOptions { switch version { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: return &context.GetCurrentContextOutputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ RuntimeVersion: version, @@ -626,7 +731,7 @@ func DefaultGetCurrentContextOutputOptionsWithError(version core.RuntimeVersion) // DefaultRemoveCurrentContextInputOptions helper method to construct RemoveCurrentContext API input options func DefaultRemoveCurrentContextInputOptions(version core.RuntimeVersion) *context.RemoveCurrentContextInputOptions { switch version { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: return &context.RemoveCurrentContextInputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ RuntimeVersion: version, @@ -640,7 +745,7 @@ func DefaultRemoveCurrentContextInputOptions(version core.RuntimeVersion) *conte // DefaultRemoveCurrentContextOutputOptionsWithError helper method to construct RemoveCurrentContext API output option func DefaultRemoveCurrentContextOutputOptionsWithError(version core.RuntimeVersion) *context.RemoveCurrentContextOutputOptions { switch version { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: return &context.RemoveCurrentContextOutputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ RuntimeVersion: version, @@ -671,7 +776,7 @@ func DefaultDeleteContextInputOptions(version core.RuntimeVersion, contextName s // DefaultDeleteContextOutputOptionsWithError helper method to construct DeleteContext API output options func DefaultDeleteContextOutputOptionsWithError(version core.RuntimeVersion, contextName string) *context.DeleteContextOutputOptions { switch version { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: return &context.DeleteContextOutputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ RuntimeVersion: version, diff --git a/test/compatibility/framework/compatibilitytests/contextserver/context_and_server_test.go b/test/compatibility/framework/compatibilitytests/contextserver/context_and_server_test.go index e8e5e3dca..773e61686 100644 --- a/test/compatibility/framework/compatibilitytests/contextserver/context_and_server_test.go +++ b/test/compatibility/framework/compatibilitytests/contextserver/context_and_server_test.go @@ -33,6 +33,137 @@ var _ = ginkgo.Describe("Combination Tests for Context and Server APIs", func() ginkgo.Context("using single context and server", func() { + ginkgo.It("Set Context with Runtime v0.90.0 and Set Server with Runtime latest", func() { + testCase := core.NewTestCase() + + // Add SetContext and SetCurrentContext v0.90.0 Commands + testCase.Add(contextTestHelper.SetContextCmdForRuntime090).Add(contextTestHelper.SetCurrentContextCmdForRuntime090) + + // Add SetServer and SetCurrentServer latest Commands + testCase.Add(serverTestHelper.SetServerCmdForRuntimeLatest).Add(serverTestHelper.SetCurrentServerCmdForRuntimeLatest) + + // Add GetClientConfig Commands on all supported runtime versions + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.Version090))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultContextAndServer(core.Version0280))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime090) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + + // Run all the commands + executer.Execute(testCase) + }) + + ginkgo.It("Set Context with Runtime v0.90.0 and Set Server with Runtime v0.90.0", func() { + testCase := core.NewTestCase() + + // Add SetContext and SetCurrentContext Commands + testCase.Add(contextTestHelper.SetContextCmdForRuntime090).Add(contextTestHelper.SetCurrentContextCmdForRuntime090) + + // Add SetServer and SetCurrentServer Commands + testCase.Add(serverTestHelper.SetServerCmdForRuntime090).Add(serverTestHelper.SetCurrentServerCmdForRuntime090) + + // Add GetClientConfig Commands on all supported runtime versions + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.Version090))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultContextAndServer(core.Version0280))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime090) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + + // Run all the commands + executer.Execute(testCase) + }) + + ginkgo.It("Set Context with Runtime v0.90.0 and Set Server with Runtime v0.25.4", func() { + // Add SetContext and SetCurrentContext Commands + testCase := core.NewTestCase().Add(contextTestHelper.SetContextCmdForRuntime090).Add(contextTestHelper.SetCurrentContextCmdForRuntime090) + + // Add SetServer and SetCurrentServer Commands + testCase.Add(serverTestHelper.SetServerCmdForRuntime0254).Add(serverTestHelper.SetCurrentServerCmdForRuntime0254) + + // Add GetClientConfig Commands on all supported runtime versions + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.Version090))) + + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultContextAndServer(core.Version0280))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest) + testCase.Add(contextTestHelper.GetContextCmdForRuntime090) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0280) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + + // Run all the commands + executer.Execute(testCase) + }) + ginkgo.It("Set Context with Runtime v0.90.0 and Set Server with Runtime v0.28.0", func() { + // Add SetContext and SetCurrentContext Commands + testCase := core.NewTestCase().Add(contextTestHelper.SetContextCmdForRuntime090).Add(contextTestHelper.SetCurrentContextCmdForRuntime090) + + // Add SetServer and SetCurrentServer Commands + testCase.Add(serverTestHelper.SetServerCmdForRuntime0280).Add(serverTestHelper.SetCurrentServerCmdForRuntime0280) + + // Add GetClientConfig Commands on all supported runtime versions + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.Version090))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultContextAndServer(core.Version0280))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + + // Run all the commands + executer.Execute(testCase) + }) + ginkgo.It("Set Context with Runtime Latest and Set Server with Runtime latest", func() { testCase := core.NewTestCase() @@ -44,26 +175,61 @@ var _ = ginkgo.Describe("Combination Tests for Context and Server APIs", func() // Add GetClientConfig Commands on all supported runtime versions testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.Version090))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultContextAndServer(core.Version0280))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) - // Add GetServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime090) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) - // Add GetCurrentServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) // Run all the commands executer.Execute(testCase) }) + ginkgo.It("Set Context with Runtime Latest and Set Server with Runtime v0.90.0", func() { + testCase := core.NewTestCase() + + // Add SetContext and SetCurrentContext Commands + testCase.Add(contextTestHelper.SetContextCmdForRuntimeLatest).Add(contextTestHelper.SetCurrentContextCmdForRuntimeLatest) + + // Add SetServer and SetCurrentServer Commands + testCase.Add(serverTestHelper.SetServerCmdForRuntime090).Add(serverTestHelper.SetCurrentServerCmdForRuntime090) + + // Add GetClientConfig Commands on all supported runtime versions + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.Version090))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultContextAndServer(core.Version0280))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime090) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + + // Run all the commands + executer.Execute(testCase) + }) ginkgo.It("Set Context with Runtime Latest and Set Server with Runtime v0.25.4", func() { // Add SetContext and SetCurrentContext Commands testCase := core.NewTestCase().Add(contextTestHelper.SetContextCmdForRuntimeLatest).Add(contextTestHelper.SetCurrentContextCmdForRuntimeLatest) @@ -73,26 +239,30 @@ var _ = ginkgo.Describe("Combination Tests for Context and Server APIs", func() // Add GetClientConfig Commands on all supported runtime versions testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.Version090))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultContextAndServer(core.Version0280))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest) + testCase.Add(contextTestHelper.GetContextCmdForRuntime090) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0280) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) - // Add GetServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) - // Add GetCurrentServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) // Run all the commands executer.Execute(testCase) }) - ginkgo.It("Set Context with Runtime Latest and Set Server with Runtime v0.28.0", func() { // Add SetContext and SetCurrentContext Commands testCase := core.NewTestCase().Add(contextTestHelper.SetContextCmdForRuntimeLatest).Add(contextTestHelper.SetCurrentContextCmdForRuntimeLatest) @@ -102,21 +272,22 @@ var _ = ginkgo.Describe("Combination Tests for Context and Server APIs", func() // Add GetClientConfig Commands on all supported runtime versions testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.Version090))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultContextAndServer(core.Version0280))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) - // Add GetServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) - // Add GetCurrentServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) // Run all the commands executer.Execute(testCase) @@ -131,21 +302,52 @@ var _ = ginkgo.Describe("Combination Tests for Context and Server APIs", func() // Add GetClientConfig Commands on all supported runtime versions testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.Version090))) + + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultContextAndServer(core.Version0280))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + + // Run all the commands + executer.Execute(testCase) + }) + ginkgo.It("Set Context with Runtime v0.28.0 and Set Server with Runtime v0.90.0", func() { + // Add SetContext and SetCurrentContext Commands + testCase := core.NewTestCase().Add(contextTestHelper.SetContextCmdForRuntime0280).Add(contextTestHelper.SetCurrentContextCmdForRuntime0280) + + // Add SetServer and SetCurrentServer Commands + testCase.Add(serverTestHelper.SetServerCmdForRuntime090).Add(serverTestHelper.SetCurrentServerCmdForRuntime090) + + // Add GetClientConfig Commands on all supported runtime versions + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.Version090))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultContextAndServer(core.Version0280))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) - // Add GetServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) - // Add GetCurrentServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) // Run all the commands executer.Execute(testCase) @@ -159,21 +361,22 @@ var _ = ginkgo.Describe("Combination Tests for Context and Server APIs", func() // Add GetClientConfig Commands on all supported runtime versions testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.Version090))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultContextAndServer(core.Version0280))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) - // Add GetServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) - // Add GetCurrentServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) // Run all the commands executer.Execute(testCase) @@ -187,21 +390,22 @@ var _ = ginkgo.Describe("Combination Tests for Context and Server APIs", func() // Add GetClientConfig Commands on all supported runtime versions testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.Version090))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultContextAndServer(core.Version0280))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) - // Add GetServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) - // Add GetCurrentServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) // Run all the commands executer.Execute(testCase) @@ -216,21 +420,51 @@ var _ = ginkgo.Describe("Combination Tests for Context and Server APIs", func() // Add GetClientConfig Commands on all supported runtime versions testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.Version090))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultContextAndServer(core.Version0280))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) - // Add GetServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) - // Add GetCurrentServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + + // Run all the commands + executer.Execute(testCase) + }) + ginkgo.It("Set Context with Runtime v0.25.4 and Set Server with Runtime v0.90.0", func() { + // Add SetContext and SetCurrentContext Commands + testCase := core.NewTestCase().Add(contextTestHelper.SetContextCmdForRuntime0254).Add(contextTestHelper.SetCurrentContextCmdForRuntime0254) + + // Add SetServer and SetCurrentServer Commands + testCase.Add(serverTestHelper.SetServerCmdForRuntime090).Add(serverTestHelper.SetCurrentServerCmdForRuntime090) + + // Add GetClientConfig Commands on all supported runtime versions + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.Version090))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultContextAndServer(core.Version0280))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) // Run all the commands executer.Execute(testCase) @@ -244,21 +478,22 @@ var _ = ginkgo.Describe("Combination Tests for Context and Server APIs", func() // Add GetClientConfig Commands on all supported runtime versions testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultServer(core.Version090))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultServer(core.Version0280))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextCmdForRuntime0280WithError).Add(contextTestHelper.GetContextCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextCmdForRuntime090WithError).Add(contextTestHelper.GetContextCmdForRuntime0280WithError).Add(contextTestHelper.GetContextCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime090WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) - // Add GetServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) - // Add GetCurrentServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) // Run all the commands executer.Execute(testCase) @@ -272,21 +507,22 @@ var _ = ginkgo.Describe("Combination Tests for Context and Server APIs", func() // Add GetClientConfig Commands on all supported runtime versions testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.Version090))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultContextAndServer(core.Version0280))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) - // Add GetServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) - // Add GetCurrentServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) // Run all the commands executer.Execute(testCase) @@ -295,6 +531,111 @@ var _ = ginkgo.Describe("Combination Tests for Context and Server APIs", func() ginkgo.Context("using two different contexts and servers", func() { + ginkgo.It("Set Context with Runtime v0.90.0 and Set Server with Runtime latest", func() { + testCase := core.NewTestCase() + + // Add SetContext and SetCurrentContext Commands + testCase.Add(contextTestHelper.SetContextCmdForRuntime090).Add(contextTestHelper.SetContextTwoCmdForRuntime090).Add(contextTestHelper.SetCurrentContextCmdForRuntime090) + + // Add SetServer and SetCurrentServer Commands + testCase.Add(serverTestHelper.SetServerCmdForRuntimeLatest).Add(serverTestHelper.SetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.SetCurrentServerCmdForRuntimeLatest) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime090).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) + + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime090).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + + // Run all the commands + executer.Execute(testCase) + }) + ginkgo.It("Set Context with Runtime v0.90.0 and Set Server with Runtime v0.90.0", func() { + testCase := core.NewTestCase() + + // Add SetContext and SetCurrentContext Commands + testCase.Add(contextTestHelper.SetContextCmdForRuntimeLatest).Add(contextTestHelper.SetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.SetCurrentContextCmdForRuntimeLatest) + + // Add SetServer and SetCurrentServer Commands + testCase.Add(serverTestHelper.SetServerCmdForRuntime090).Add(serverTestHelper.SetServerTwoCmdForRuntime090).Add(serverTestHelper.SetCurrentServerCmdForRuntime090) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime090).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) + + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime090).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + + // Run all the commands + executer.Execute(testCase) + }) + ginkgo.It("Set Context with Runtime v0.90.0 and Set Server with Runtime v0.25.4", func() { + testCase := core.NewTestCase() + + // Add SetContext and SetCurrentContext Commands + testCase.Add(contextTestHelper.SetContextCmdForRuntime090).Add(contextTestHelper.SetContextTwoCmdForRuntime090).Add(contextTestHelper.SetCurrentContextCmdForRuntime090) + + // Add SetServer and SetCurrentServer Commands + testCase.Add(serverTestHelper.SetServerCmdForRuntime0254).Add(serverTestHelper.SetServerTwoCmdForRuntime0254).Add(serverTestHelper.SetCurrentServerCmdForRuntime0254) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime090).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) + + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime090).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + + // Run all the commands + executer.Execute(testCase) + }) + ginkgo.It("Set Context with Runtime v0.90.0 and Set Server with Runtime v0.28.0", func() { + testCase := core.NewTestCase() + + // Add SetContext and SetCurrentContext Commands + testCase.Add(contextTestHelper.SetContextCmdForRuntime090).Add(contextTestHelper.SetContextTwoCmdForRuntime090).Add(contextTestHelper.SetCurrentContextCmdForRuntime090) + + // Add SetServer and SetCurrentServer Commands + testCase.Add(serverTestHelper.SetServerCmdForRuntime0280).Add(serverTestHelper.SetServerTwoCmdForRuntime0280).Add(serverTestHelper.SetCurrentServerCmdForRuntime0280) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime090).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) + + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime090).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + + // Run all the commands + executer.Execute(testCase) + }) + ginkgo.It("Set Context with Runtime Latest and Set Server with Runtime latest", func() { testCase := core.NewTestCase() @@ -304,19 +645,45 @@ var _ = ginkgo.Describe("Combination Tests for Context and Server APIs", func() // Add SetServer and SetCurrentServer Commands testCase.Add(serverTestHelper.SetServerCmdForRuntimeLatest).Add(serverTestHelper.SetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.SetCurrentServerCmdForRuntimeLatest) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) - testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime090).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) + + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime090).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + + // Run all the commands + executer.Execute(testCase) + }) + ginkgo.It("Set Context with Runtime Latest and Set Server with Runtime v0.90.0", func() { + testCase := core.NewTestCase() + + // Add SetContext and SetCurrentContext Commands + testCase.Add(contextTestHelper.SetContextCmdForRuntimeLatest).Add(contextTestHelper.SetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.SetCurrentContextCmdForRuntimeLatest) + + // Add SetServer and SetCurrentServer Commands + testCase.Add(serverTestHelper.SetServerCmdForRuntime090).Add(serverTestHelper.SetServerTwoCmdForRuntime090).Add(serverTestHelper.SetCurrentServerCmdForRuntime090) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime090).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) - // Add GetServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) - testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254) + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime090).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) - // Add GetCurrentServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) // Run all the commands executer.Execute(testCase) @@ -330,19 +697,19 @@ var _ = ginkgo.Describe("Combination Tests for Context and Server APIs", func() // Add SetServer and SetCurrentServer Commands testCase.Add(serverTestHelper.SetServerCmdForRuntime0254).Add(serverTestHelper.SetServerTwoCmdForRuntime0254).Add(serverTestHelper.SetCurrentServerCmdForRuntime0254) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) - testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime090).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) - // Add GetServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) - testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254) + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime090).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) - // Add GetCurrentServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) // Run all the commands executer.Execute(testCase) @@ -356,19 +723,19 @@ var _ = ginkgo.Describe("Combination Tests for Context and Server APIs", func() // Add SetServer and SetCurrentServer Commands testCase.Add(serverTestHelper.SetServerCmdForRuntime0280).Add(serverTestHelper.SetServerTwoCmdForRuntime0280).Add(serverTestHelper.SetCurrentServerCmdForRuntime0280) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) - testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime090).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) - // Add GetServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) - testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254) + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime090).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) - // Add GetCurrentServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) // Run all the commands executer.Execute(testCase) @@ -383,19 +750,45 @@ var _ = ginkgo.Describe("Combination Tests for Context and Server APIs", func() // Add SetServer and SetCurrentServer Commands testCase.Add(serverTestHelper.SetServerCmdForRuntimeLatest).Add(serverTestHelper.SetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.SetCurrentServerCmdForRuntimeLatest) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) - testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime090).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) + + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime090).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + + // Run all the commands + executer.Execute(testCase) + }) + ginkgo.It("Set Context with Runtime v0.28.0 and Set Server with Runtime v0.90.0", func() { + testCase := core.NewTestCase() + + // Add SetContext and SetCurrentContext Commands + testCase.Add(contextTestHelper.SetContextCmdForRuntime0280).Add(contextTestHelper.SetContextTwoCmdForRuntime0280).Add(contextTestHelper.SetCurrentContextCmdForRuntime0280) + + // Add SetServer and SetCurrentServer Commands + testCase.Add(serverTestHelper.SetServerCmdForRuntime090).Add(serverTestHelper.SetServerTwoCmdForRuntime090).Add(serverTestHelper.SetCurrentServerCmdForRuntime090) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime090).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) - // Add GetServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) - testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254) + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime090).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) - // Add GetCurrentServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) // Run all the commands executer.Execute(testCase) @@ -409,19 +802,19 @@ var _ = ginkgo.Describe("Combination Tests for Context and Server APIs", func() // Add SetServer and SetCurrentServer Commands testCase.Add(serverTestHelper.SetServerCmdForRuntime0254).Add(serverTestHelper.SetServerTwoCmdForRuntime0254).Add(serverTestHelper.SetCurrentServerCmdForRuntime0254) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) - testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime090).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) - // Add GetServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) - testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254) + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime090).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) - // Add GetCurrentServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) // Run all the commands executer.Execute(testCase) @@ -435,19 +828,19 @@ var _ = ginkgo.Describe("Combination Tests for Context and Server APIs", func() // Add SetServer and SetCurrentServer Commands testCase.Add(serverTestHelper.SetServerCmdForRuntime0280).Add(serverTestHelper.SetServerTwoCmdForRuntime0280).Add(serverTestHelper.SetCurrentServerCmdForRuntime0280) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) - testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime090).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) - // Add GetServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) - testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254) + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime090).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) - // Add GetCurrentServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) // Run all the commands executer.Execute(testCase) @@ -462,19 +855,45 @@ var _ = ginkgo.Describe("Combination Tests for Context and Server APIs", func() // Add SetServer and SetCurrentServer Commands testCase.Add(serverTestHelper.SetServerCmdForRuntimeLatest).Add(serverTestHelper.SetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.SetCurrentServerCmdForRuntimeLatest) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) - testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime090).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) + + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime090).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + + // Run all the commands + executer.Execute(testCase) + }) + ginkgo.It("Set Context with Runtime v0.25.4 and Set Server with Runtime v0.90.0", func() { + testCase := core.NewTestCase() + + // Add SetContext and SetCurrentContext Commands + testCase.Add(contextTestHelper.SetContextCmdForRuntime0254).Add(contextTestHelper.SetContextTwoCmdForRuntime0254).Add(contextTestHelper.SetCurrentContextCmdForRuntime0254) + + // Add SetServer and SetCurrentServer Commands + testCase.Add(serverTestHelper.SetServerCmdForRuntime090).Add(serverTestHelper.SetServerTwoCmdForRuntime090).Add(serverTestHelper.SetCurrentServerCmdForRuntime090) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime090).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) - // Add GetServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) - testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254) + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime090).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) - // Add GetCurrentServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) // Run all the commands executer.Execute(testCase) @@ -488,19 +907,19 @@ var _ = ginkgo.Describe("Combination Tests for Context and Server APIs", func() // Add SetServer and SetCurrentServer Commands testCase.Add(serverTestHelper.SetServerCmdForRuntime0254).Add(serverTestHelper.SetServerTwoCmdForRuntime0254).Add(serverTestHelper.SetCurrentServerCmdForRuntime0254) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextCmdForRuntime0280WithError).Add(contextTestHelper.GetContextCmdForRuntime0254) - testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextTwoCmdForRuntime0280WithError).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextCmdForRuntime090WithError).Add(contextTestHelper.GetContextCmdForRuntime0280WithError).Add(contextTestHelper.GetContextCmdForRuntime0254) + testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextTwoCmdForRuntime090WithError).Add(contextTestHelper.GetContextTwoCmdForRuntime0280WithError).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) - // Add GetServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) - testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254) + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime090).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime090WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) - // Add GetCurrentServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) // Run all the commands executer.Execute(testCase) @@ -514,19 +933,19 @@ var _ = ginkgo.Describe("Combination Tests for Context and Server APIs", func() // Add SetServer and SetCurrentServer Commands testCase.Add(serverTestHelper.SetServerCmdForRuntime0280).Add(serverTestHelper.SetServerTwoCmdForRuntime0280).Add(serverTestHelper.SetCurrentServerCmdForRuntime0280) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) - testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime090).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + testCase.Add(contextTestHelper.GetContextTwoCmdForRuntimeLatest).Add(contextTestHelper.GetContextTwoCmdForRuntime090).Add(contextTestHelper.GetContextTwoCmdForRuntime0280).Add(contextTestHelper.GetContextTwoCmdForRuntime0254) - // Add GetServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) - testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254) + // Add GetServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime090).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime090).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) - // Add GetCurrentServer latest, v0.28.0, v0.25.4 Commands - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + // Add GetCurrentServer latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) // Run all the commands executer.Execute(testCase) diff --git a/test/compatibility/framework/compatibilitytests/envflags/envflags_test.go b/test/compatibility/framework/compatibilitytests/envflags/envflags_test.go index e42498469..9251d2283 100644 --- a/test/compatibility/framework/compatibilitytests/envflags/envflags_test.go +++ b/test/compatibility/framework/compatibilitytests/envflags/envflags_test.go @@ -31,24 +31,56 @@ var _ = ginkgo.Describe("Cross-version Env Flags APIs compatibility tests", func ginkgo.Context("using single env flag", func() { - ginkgo.It("Run SetEnv latest then GetEnv v0.11.6, v0.25.4, v0.28.0, latest then DeleteEnv v0.28.0 then GetEnv v0.11.6, v0.25.4, v0.28.0, latest", func() { + ginkgo.It("Run SetEnv latest then GetEnv v0.11.6, v0.25.4, v0.28.0, v0.90.0, latest then DeleteEnv v0.90.0 then GetEnv v0.11.6, v0.25.4, v0.28.0, v0.90.0, latest", func() { // Build test case with commands // Add SetEnv Commands of Runtime Latest testCase := core.NewTestCase().Add(envflags.DefaultSetEnvCommand(core.VersionLatest)) - // Add GetEnv latest, v0.28.0 Commands + // Add GetEnv latest, v0.90.0, v0.28.0 Commands testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithStrictValidationStrategy())) testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithStrictValidationStrategy())) // Add GetEnvConfigurations v0.25.4, v0.11.6 Commands - testCase.Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0254, envflags.WithStrictValidationStrategy())).Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0116, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0254, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0116, envflags.WithStrictValidationStrategy())) + + // Add DeleteEnv v0.90.0 Command + testCase.Add(envflags.DefaultDeleteEnvCommand(core.Version090, envflags.WithStrictValidationStrategy())) + + // Add GetEnv latest, v0.90.0, v0.28.0 Commands + testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithError(common.ErrNotFound))) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithError(common.ErrNotFound))) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithError(common.ErrNotFound))) + + // Add GetEnvConfigurations v0.25.4, v0.11.6 Commands + testCase.Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0254, envflags.WithEnvs(map[string]string{}), envflags.WithStrictValidationStrategy())).Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0116, envflags.WithEnvs(map[string]string{}), envflags.WithStrictValidationStrategy())) + + // Run all the commands + executer.Execute(testCase) + }) + ginkgo.It("Run SetEnv latest then GetEnv v0.11.6, v0.25.4, v0.28.0, v0.90.0, latest then DeleteEnv v0.28.0 then GetEnv v0.11.6, v0.25.4, v0.28.0, v0.90.0, latest", func() { + // Build test case with commands + + // Add SetEnv Commands of Runtime Latest + testCase := core.NewTestCase().Add(envflags.DefaultSetEnvCommand(core.VersionLatest)) + + // Add GetEnv latest, v0.90.0, v0.28.0 Commands + testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithStrictValidationStrategy())) + + // Add GetEnvConfigurations v0.25.4, v0.11.6 Commands + testCase.Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0254, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0116, envflags.WithStrictValidationStrategy())) // Add DeleteEnv v0.28.0 Command testCase.Add(envflags.DefaultDeleteEnvCommand(core.Version0280, envflags.WithStrictValidationStrategy())) - // Add GetEnv latest, v0.28.0 Commands + // Add GetEnv latest, v0.90.0, v0.28.0 Commands testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithError(common.ErrNotFound))) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithError(common.ErrNotFound))) testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithError(common.ErrNotFound))) // Add GetEnvConfigurations v0.25.4, v0.11.6 Commands @@ -58,24 +90,115 @@ var _ = ginkgo.Describe("Cross-version Env Flags APIs compatibility tests", func executer.Execute(testCase) }) - ginkgo.It("Run SetEnv v0.28.0 then GetEnv v0.11.6, v0.25.4, v0.28.0, latest then DeleteEnv latest then GetEnv v0.11.6, v0.25.4, v0.28.0, latest", func() { + ginkgo.It("Run SetEnv v0.90.0 then GetEnv v0.11.6, v0.25.4, v0.28.0, v0.90.0, latest then DeleteEnv latest then GetEnv v0.11.6, v0.25.4, v0.28.0, v0.90.0, latest", func() { // Build test case with commands // Add SetEnv Commands of Runtime Latest - testCase := core.NewTestCase().Add(envflags.DefaultSetEnvCommand(core.Version0280)) + testCase := core.NewTestCase().Add(envflags.DefaultSetEnvCommand(core.Version090)) - // Add GetEnv latest, v0.28.0 Commands + // Add GetEnv latest, v0.90.0, v0.28.0 Commands testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithStrictValidationStrategy())) testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithStrictValidationStrategy())) // Add GetEnvConfigurations v0.25.4, v0.11.6 Commands - testCase.Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0254, envflags.WithStrictValidationStrategy())).Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0116, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0254, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0116, envflags.WithStrictValidationStrategy())) + + // Add DeleteEnv latest Command + testCase.Add(envflags.DefaultDeleteEnvCommand(core.VersionLatest, envflags.WithStrictValidationStrategy())) + + // Add GetEnv latest, v0.90.0, v0.28.0 Commands + testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithError(common.ErrNotFound))) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithError(common.ErrNotFound))) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithError(common.ErrNotFound))) + + // Add GetEnvConfigurations v0.25.4, v0.11.6 Commands + testCase.Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0254, envflags.WithEnvs(map[string]string{}), envflags.WithStrictValidationStrategy())).Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0116, envflags.WithEnvs(map[string]string{}), envflags.WithStrictValidationStrategy())) + + // Run all the commands + executer.Execute(testCase) + }) + ginkgo.It("Run SetEnv v0.90.0 then GetEnv v0.11.6, v0.25.4, v0.28.0, v0.90.0, latest then DeleteEnv v0.28.0 then GetEnv v0.11.6, v0.25.4, v0.28.0, v0.90.0, latest", func() { + // Build test case with commands + + // Add SetEnv Commands of Runtime Latest + testCase := core.NewTestCase().Add(envflags.DefaultSetEnvCommand(core.Version090)) + + // Add GetEnv latest, v0.90.0, v0.28.0 Commands + testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithStrictValidationStrategy())) + + // Add GetEnvConfigurations v0.25.4, v0.11.6 Commands + testCase.Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0254, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0116, envflags.WithStrictValidationStrategy())) // Add DeleteEnv v0.28.0 Command + testCase.Add(envflags.DefaultDeleteEnvCommand(core.Version0280, envflags.WithStrictValidationStrategy())) + + // Add GetEnv latest, v0.90.0, v0.28.0 Commands + testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithError(common.ErrNotFound))) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithError(common.ErrNotFound))) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithError(common.ErrNotFound))) + + // Add GetEnvConfigurations v0.25.4, v0.11.6 Commands + testCase.Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0254, envflags.WithEnvs(map[string]string{}), envflags.WithStrictValidationStrategy())).Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0116, envflags.WithEnvs(map[string]string{}), envflags.WithStrictValidationStrategy())) + + // Run all the commands + executer.Execute(testCase) + }) + + ginkgo.It("Run SetEnv v0.28.0 then GetEnv v0.11.6, v0.25.4, v0.28.0, v0.90.0, latest then DeleteEnv latest then GetEnv v0.11.6, v0.25.4, v0.28.0, v0.90.0, latest", func() { + // Build test case with commands + + // Add SetEnv Commands of Runtime v0.28.0 + testCase := core.NewTestCase().Add(envflags.DefaultSetEnvCommand(core.Version0280)) + + // Add GetEnv latest, v0.90.0, v0.28.0 Commands + testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithStrictValidationStrategy())) + + // Add GetEnvConfigurations v0.25.4, v0.11.6 Commands + testCase.Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0254, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0116, envflags.WithStrictValidationStrategy())) + + // Add DeleteEnv latest Command + testCase.Add(envflags.DefaultDeleteEnvCommand(core.VersionLatest)) + + // Add GetEnv latest, v0.90.0, v0.28.0 Commands + testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithError(common.ErrNotFound))) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithError(common.ErrNotFound))) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithError(common.ErrNotFound))) + + // Add GetEnvConfigurations v0.25.4, v0.11.6 Commands + testCase.Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0254, envflags.WithEnvs(map[string]string{}), envflags.WithStrictValidationStrategy())).Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0116, envflags.WithEnvs(map[string]string{}), envflags.WithStrictValidationStrategy())) + + // Run all the commands + executer.Execute(testCase) + }) + ginkgo.It("Run SetEnv v0.28.0 then GetEnv v0.11.6, v0.25.4, v0.28.0, v0.90.0, latest then DeleteEnv v0.90.0 then GetEnv v0.11.6, v0.25.4, v0.28.0, v0.90.0, latest", func() { + // Build test case with commands + + // Add SetEnv Commands of Runtime Latest + testCase := core.NewTestCase().Add(envflags.DefaultSetEnvCommand(core.Version0280)) + + // Add GetEnv latest, v0.90.0, v0.28.0 Commands + testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithStrictValidationStrategy())) + + // Add GetEnvConfigurations v0.25.4, v0.11.6 Commands + testCase.Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0254, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0116, envflags.WithStrictValidationStrategy())) + + // Add DeleteEnv latest Command testCase.Add(envflags.DefaultDeleteEnvCommand(core.VersionLatest)) - // Add GetEnv latest, v0.28.0 Commands + // Add GetEnv latest, v0.90.0, v0.28.0 Commands testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithError(common.ErrNotFound))) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithError(common.ErrNotFound))) testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithError(common.ErrNotFound))) // Add GetEnvConfigurations v0.25.4, v0.11.6 Commands @@ -84,10 +207,12 @@ var _ = ginkgo.Describe("Cross-version Env Flags APIs compatibility tests", func // Run all the commands executer.Execute(testCase) }) + }) + ginkgo.Context("using multiple env flags", func() { - ginkgo.It("Run SetEnv latest then GetEnv v0.11.6, v0.25.4, v0.28.0, latest then DeleteEnv v0.28.0 then GetEnv v0.11.6, v0.25.4, v0.28.0, latest", func() { + ginkgo.It("Run SetEnv latest then GetEnv v0.11.6, v0.25.4, v0.28.0, v0.90.0, latest then DeleteEnv v0.28.0 then GetEnv v0.11.6, v0.25.4, v0.28.0, v0.90.0, latest", func() { // Build test case with commands // Add SetEnv Commands of Runtime Latest @@ -96,10 +221,12 @@ var _ = ginkgo.Describe("Cross-version Env Flags APIs compatibility tests", func testCase.Add(envflags.DefaultSetEnvCommand(core.VersionLatest)) testCase.Add(envflags.DefaultSetEnvCommand(core.VersionLatest, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithValue(envflags.CompatibilityTestsEnvVal))) - // Add GetEnv latest, v0.28.0 Commands + // Add GetEnv latest, v0.90.0, v0.28.0 Commands testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithStrictValidationStrategy())) testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithStrictValidationStrategy())) testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithValue(envflags.CompatibilityTestsEnvVal), envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithValue(envflags.CompatibilityTestsEnvVal), envflags.WithStrictValidationStrategy())) testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithValue(envflags.CompatibilityTestsEnvVal), envflags.WithStrictValidationStrategy())) // Add GetEnvConfigurations v0.25.4, v0.11.6 Commands @@ -108,10 +235,12 @@ var _ = ginkgo.Describe("Cross-version Env Flags APIs compatibility tests", func // Add DeleteEnv v0.28.0 Command testCase.Add(envflags.DefaultDeleteEnvCommand(core.Version0280, envflags.WithKey(envflags.CompatibilityTestsEnvOne))) - // Add GetEnv latest, v0.28.0 Commands + // Add GetEnv latest, v0.90.0, v0.28.0 Commands testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithStrictValidationStrategy())) testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithStrictValidationStrategy())) testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithError(common.ErrNotFound), envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithError(common.ErrNotFound), envflags.WithStrictValidationStrategy())) testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithError(common.ErrNotFound), envflags.WithStrictValidationStrategy())) // Add GetEnvConfigurations v0.25.4, v0.11.6 Commands @@ -120,8 +249,123 @@ var _ = ginkgo.Describe("Cross-version Env Flags APIs compatibility tests", func // Run all the commands executer.Execute(testCase) }) + ginkgo.It("Run SetEnv latest then GetEnv v0.11.6, v0.25.4, v0.28.0, v0.90.0, latest then DeleteEnv v0.90.0 then GetEnv v0.11.6, v0.25.4, v0.28.0, v0.90.0, latest", func() { + // Build test case with commands + + // Add SetEnv Commands of Runtime Latest + testCase := core.NewTestCase() + + testCase.Add(envflags.DefaultSetEnvCommand(core.VersionLatest)) + testCase.Add(envflags.DefaultSetEnvCommand(core.VersionLatest, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithValue(envflags.CompatibilityTestsEnvVal))) + + // Add GetEnv latest, v0.90.0, v0.28.0 Commands + testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithStrictValidationStrategy())) + + testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithValue(envflags.CompatibilityTestsEnvVal), envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithValue(envflags.CompatibilityTestsEnvVal), envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithValue(envflags.CompatibilityTestsEnvVal), envflags.WithStrictValidationStrategy())) + + // Add GetEnvConfigurations v0.25.4, v0.11.6 Commands + testCase.Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0254, envflags.WithEnvs(multipleTestEnvs), envflags.WithStrictValidationStrategy())).Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0116, envflags.WithEnvs(multipleTestEnvs), envflags.WithStrictValidationStrategy())) + + // Add DeleteEnv v0.90.0 Command + testCase.Add(envflags.DefaultDeleteEnvCommand(core.Version090, envflags.WithKey(envflags.CompatibilityTestsEnvOne))) - ginkgo.It("Run SetEnv v0.28.0 then GetEnv v0.11.6, v0.25.4, v0.28.0, latest then DeleteEnv latest then GetEnv v0.11.6, v0.25.4, v0.28.0, latest", func() { + // Add GetEnv latest, v0.90.0, v0.28.0 Commands + testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithError(common.ErrNotFound), envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithError(common.ErrNotFound), envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithError(common.ErrNotFound), envflags.WithStrictValidationStrategy())) + + // Add GetEnvConfigurations v0.25.4, v0.11.6 Commands + testCase.Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0254, envflags.WithStrictValidationStrategy())).Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0116, envflags.WithStrictValidationStrategy())) + + // Run all the commands + executer.Execute(testCase) + }) + + ginkgo.It("Run SetEnv v0.90.0 then GetEnv v0.11.6, v0.25.4, v0.28.0, v0.90.0 latest then DeleteEnv v0.28.0 then GetEnv v0.11.6, v0.25.4, v0.28.0, v0.90.0, latest", func() { + // Build test case with commands + + // Add SetEnv Commands of Runtime Latest + testCase := core.NewTestCase() + + testCase.Add(envflags.DefaultSetEnvCommand(core.Version090)) + testCase.Add(envflags.DefaultSetEnvCommand(core.Version090, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithValue(envflags.CompatibilityTestsEnvVal))) + + // Add GetEnv latest, v0.90.0, v0.28.0 Commands + testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithStrictValidationStrategy())) + + testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithValue(envflags.CompatibilityTestsEnvVal), envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithValue(envflags.CompatibilityTestsEnvVal), envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithValue(envflags.CompatibilityTestsEnvVal), envflags.WithStrictValidationStrategy())) + + // Add GetEnvConfigurations v0.25.4, v0.11.6 Commands + testCase.Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0254, envflags.WithEnvs(multipleTestEnvs), envflags.WithStrictValidationStrategy())).Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0116, envflags.WithEnvs(multipleTestEnvs), envflags.WithStrictValidationStrategy())) + + // Add DeleteEnv v0.28.0 Command + testCase.Add(envflags.DefaultDeleteEnvCommand(core.Version0280, envflags.WithKey(envflags.CompatibilityTestsEnvOne))) + + // Add GetEnv latest, v0.90.0, v0.28.0 Commands + testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithError(common.ErrNotFound), envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithError(common.ErrNotFound), envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithError(common.ErrNotFound), envflags.WithStrictValidationStrategy())) + + // Add GetEnvConfigurations v0.25.4, v0.11.6 Commands + testCase.Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0254, envflags.WithStrictValidationStrategy())).Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0116, envflags.WithStrictValidationStrategy())) + + // Run all the commands + executer.Execute(testCase) + }) + ginkgo.It("Run SetEnv v0.90.0 then GetEnv v0.11.6, v0.25.4, v0.28.0, v0.90.0 latest then DeleteEnv latest then GetEnv v0.11.6, v0.25.4, v0.28.0, v0.90.0, latest", func() { + // Build test case with commands + + // Add SetEnv Commands of Runtime Latest + testCase := core.NewTestCase() + + testCase.Add(envflags.DefaultSetEnvCommand(core.Version090)) + testCase.Add(envflags.DefaultSetEnvCommand(core.Version090, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithValue(envflags.CompatibilityTestsEnvVal))) + + // Add GetEnv latest, v0.90.0, v0.28.0 Commands + testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithStrictValidationStrategy())) + + testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithValue(envflags.CompatibilityTestsEnvVal), envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithValue(envflags.CompatibilityTestsEnvVal), envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithValue(envflags.CompatibilityTestsEnvVal), envflags.WithStrictValidationStrategy())) + + // Add GetEnvConfigurations v0.25.4, v0.11.6 Commands + testCase.Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0254, envflags.WithEnvs(multipleTestEnvs), envflags.WithStrictValidationStrategy())).Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0116, envflags.WithEnvs(multipleTestEnvs), envflags.WithStrictValidationStrategy())) + + // Add DeleteEnv latest Command + testCase.Add(envflags.DefaultDeleteEnvCommand(core.VersionLatest, envflags.WithKey(envflags.CompatibilityTestsEnvOne))) + + // Add GetEnv latest, v0.90.0, v0.28.0 Commands + testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithError(common.ErrNotFound), envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithError(common.ErrNotFound), envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithError(common.ErrNotFound), envflags.WithStrictValidationStrategy())) + + // Add GetEnvConfigurations v0.25.4, v0.11.6 Commands + testCase.Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0254, envflags.WithStrictValidationStrategy())).Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0116, envflags.WithStrictValidationStrategy())) + + // Run all the commands + executer.Execute(testCase) + }) + + ginkgo.It("Run SetEnv v0.28.0 then GetEnv v0.11.6, v0.25.4, v0.28.0, latest then DeleteEnv latest then GetEnv v0.11.6, v0.25.4, v0.28.0, v0.90.0, latest", func() { // Build test case with commands // Add SetEnv Commands of Runtime v0.28.0 @@ -130,10 +374,13 @@ var _ = ginkgo.Describe("Cross-version Env Flags APIs compatibility tests", func testCase.Add(envflags.DefaultSetEnvCommand(core.Version0280)) testCase.Add(envflags.DefaultSetEnvCommand(core.Version0280, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithValue(envflags.CompatibilityTestsEnvVal))) - // Add GetEnv latest, v0.28.0 Commands + // Add GetEnv latest, v0.90.0, v0.28.0 Commands testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithStrictValidationStrategy())) testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithValue(envflags.CompatibilityTestsEnvVal), envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithValue(envflags.CompatibilityTestsEnvVal), envflags.WithStrictValidationStrategy())) testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithValue(envflags.CompatibilityTestsEnvVal), envflags.WithStrictValidationStrategy())) // Add GetEnvConfigurations v0.25.4, v0.11.6 Commands @@ -142,10 +389,13 @@ var _ = ginkgo.Describe("Cross-version Env Flags APIs compatibility tests", func // Add DeleteEnv v0.28.0 Command testCase.Add(envflags.DefaultDeleteEnvCommand(core.VersionLatest, envflags.WithKey(envflags.CompatibilityTestsEnvOne))) - // Add GetEnv latest, v0.28.0 Commands + // Add GetEnv latest, v0.90.0, v0.28.0 Commands testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithStrictValidationStrategy())) testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithError(common.ErrNotFound))) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithError(common.ErrNotFound))) testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithError(common.ErrNotFound))) // Add GetEnvConfigurations v0.25.4, v0.11.6 Commands @@ -154,7 +404,44 @@ var _ = ginkgo.Describe("Cross-version Env Flags APIs compatibility tests", func // Run all the commands executer.Execute(testCase) }) - }) + ginkgo.It("Run SetEnv v0.28.0 then GetEnv v0.11.6, v0.25.4, v0.28.0, latest then DeleteEnv v0.90.0 then GetEnv v0.11.6, v0.25.4, v0.28.0, v0.90.0, latest", func() { + // Build test case with commands + + // Add SetEnv Commands of Runtime v0.28.0 + testCase := core.NewTestCase() - // TODO: More tests using StoreClientConfig will be added + testCase.Add(envflags.DefaultSetEnvCommand(core.Version0280)) + testCase.Add(envflags.DefaultSetEnvCommand(core.Version0280, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithValue(envflags.CompatibilityTestsEnvVal))) + + // Add GetEnv latest, v0.90.0, v0.28.0 Commands + testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithStrictValidationStrategy())) + + testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithValue(envflags.CompatibilityTestsEnvVal), envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithValue(envflags.CompatibilityTestsEnvVal), envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithValue(envflags.CompatibilityTestsEnvVal), envflags.WithStrictValidationStrategy())) + + // Add GetEnvConfigurations v0.25.4, v0.11.6 Commands + testCase.Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0254, envflags.WithEnvs(multipleTestEnvs), envflags.WithStrictValidationStrategy())).Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0116, envflags.WithEnvs(multipleTestEnvs), envflags.WithStrictValidationStrategy())) + + // Add DeleteEnv v0.90.0 Command + testCase.Add(envflags.DefaultDeleteEnvCommand(core.Version090, envflags.WithKey(envflags.CompatibilityTestsEnvOne))) + + // Add GetEnv latest, v0.90.0, v0.28.0 Commands + testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithStrictValidationStrategy())) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithStrictValidationStrategy())) + + testCase.Add(envflags.DefaultGetEnvCommand(core.VersionLatest, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithError(common.ErrNotFound))) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version090, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithError(common.ErrNotFound))) + testCase.Add(envflags.DefaultGetEnvCommand(core.Version0280, envflags.WithKey(envflags.CompatibilityTestsEnvOne), envflags.WithError(common.ErrNotFound))) + + // Add GetEnvConfigurations v0.25.4, v0.11.6 Commands + testCase.Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0254, envflags.WithStrictValidationStrategy())).Add(envflags.DefaultGetEnvConfigurationsCommand(core.Version0116, envflags.WithStrictValidationStrategy())) + + // Run all the commands + executer.Execute(testCase) + }) + }) }) diff --git a/test/compatibility/framework/compatibilitytests/featureflags/featureflags_test.go b/test/compatibility/framework/compatibilitytests/featureflags/featureflags_test.go index 83380ec24..89caff8ce 100644 --- a/test/compatibility/framework/compatibilitytests/featureflags/featureflags_test.go +++ b/test/compatibility/framework/compatibilitytests/featureflags/featureflags_test.go @@ -37,14 +37,16 @@ var _ = ginkgo.Describe("Cross-version Feature Flags APIs compatibility tests", // Add SetFeature Commands of Runtime Latest testCase := core.NewTestCase().Add(featureflags.DefaultSetFeatureCommand(core.VersionLatest)) - // Add GetClientConfig latest, v0.28.0, v0.25.4, v0.11.6 Commands + // Add GetClientConfig latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultFeatureFlags())) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultFeatureFlags())) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultFeatureFlags())) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultFeatureFlags())) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultFeatureFlags())) - // Add IsFeatureEnabled latest, v0.28.0, v0.25.4, v0.11.6 Commands + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithStrictValidationStrategy())) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithStrictValidationStrategy())) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithStrictValidationStrategy())) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithStrictValidationStrategy())) @@ -52,8 +54,109 @@ var _ = ginkgo.Describe("Cross-version Feature Flags APIs compatibility tests", // Add DeleteFeature v0.28.0 Command testCase.Add(featureflags.DefaultDeleteFeatureCommand(core.Version0280)) - // Add IsFeatureEnabled latest, v0.28.0, v0.25.4, v0.11.6 Commands + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithError(common.ErrNotFound))) + + // Run all the commands + executer.Execute(testCase) + }) + ginkgo.It("Run SetFeature latest then IsFeatureEnabled v0.11.6, v0.25.4, v0.28.0, latest then DeleteFeature v0.90.0 then IsFeatureEnabled v0.11.6, v0.25.4, v0.28.0, latest", func() { + // Build test case with commands + + // Add SetFeature Commands of Runtime Latest + testCase := core.NewTestCase().Add(featureflags.DefaultSetFeatureCommand(core.VersionLatest)) + + // Add GetClientConfig latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultFeatureFlags())) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultFeatureFlags())) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultFeatureFlags())) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultFeatureFlags())) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultFeatureFlags())) + + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithStrictValidationStrategy())) + + // Add DeleteFeature v0.90.0 Command + testCase.Add(featureflags.DefaultDeleteFeatureCommand(core.Version090)) + + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithError(common.ErrNotFound))) + + // Run all the commands + executer.Execute(testCase) + }) + + ginkgo.It("Run SetFeature v0.90.0 then IsFeatureEnabled v0.11.6, v0.25.4, v0.28.0, latest then DeleteFeature v0.28.0 then IsFeatureEnabled v0.11.6, v0.25.4, v0.28.0, latest", func() { + // Build test case with commands + + // Add SetFeature Commands of Runtime Latest + testCase := core.NewTestCase().Add(featureflags.DefaultSetFeatureCommand(core.Version090)) + + // Add GetClientConfig latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultFeatureFlags())) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultFeatureFlags())) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultFeatureFlags())) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultFeatureFlags())) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultFeatureFlags())) + + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithStrictValidationStrategy())) + + // Add DeleteFeature v0.28.0 Command + testCase.Add(featureflags.DefaultDeleteFeatureCommand(core.Version0280)) + + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithError(common.ErrNotFound))) + + // Run all the commands + executer.Execute(testCase) + }) + ginkgo.It("Run SetFeature v0.90.0 then IsFeatureEnabled v0.11.6, v0.25.4, v0.28.0, latest then DeleteFeature latest then IsFeatureEnabled v0.11.6, v0.25.4, v0.28.0, latest", func() { + // Build test case with commands + + // Add SetFeature Commands of Runtime Latest + testCase := core.NewTestCase().Add(featureflags.DefaultSetFeatureCommand(core.Version090)) + + // Add GetClientConfig latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultFeatureFlags())) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultFeatureFlags())) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultFeatureFlags())) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultFeatureFlags())) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultFeatureFlags())) + + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithStrictValidationStrategy())) + + // Add DeleteFeature latest Command + testCase.Add(featureflags.DefaultDeleteFeatureCommand(core.VersionLatest)) + + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithError(common.ErrNotFound))) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithError(common.ErrNotFound))) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithError(common.ErrNotFound))) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithError(common.ErrNotFound))) @@ -68,14 +171,16 @@ var _ = ginkgo.Describe("Cross-version Feature Flags APIs compatibility tests", // Add SetFeature Commands of Runtime v0.28.0 testCase := core.NewTestCase().Add(featureflags.DefaultSetFeatureCommand(core.Version0280)) - // Add GetClientConfig latest, v0.28.0, v0.25.4, v0.11.6 Commands + // Add GetClientConfig latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultFeatureFlags())) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultFeatureFlags())) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultFeatureFlags())) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultFeatureFlags())) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultFeatureFlags())) - // Add IsFeatureEnabled latest, v0.28.0, v0.25.4, v0.11.6 Commands + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithStrictValidationStrategy())) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithStrictValidationStrategy())) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithStrictValidationStrategy())) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithStrictValidationStrategy())) @@ -83,8 +188,42 @@ var _ = ginkgo.Describe("Cross-version Feature Flags APIs compatibility tests", // Add DeleteFeature latest Command testCase.Add(featureflags.DefaultDeleteFeatureCommand(core.VersionLatest)) - // Add IsFeatureEnabled latest, v0.28.0, v0.25.4, v0.11.6 Commands + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithError(common.ErrNotFound))) + + // Run all the commands + executer.Execute(testCase) + }) + ginkgo.It("Run SetFeature v0.28.0 then IsFeatureEnabled v0.11.6, v0.25.4, v0.28.0, latest then DeleteFeature v0.90.0 then IsFeatureEnabled v0.11.6, v0.25.4, v0.28.0, latest", func() { + // Build test case with commands + + // Add SetFeature Commands of Runtime v0.28.0 + testCase := core.NewTestCase().Add(featureflags.DefaultSetFeatureCommand(core.Version0280)) + + // Add GetClientConfig latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultFeatureFlags())) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultFeatureFlags())) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultFeatureFlags())) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultFeatureFlags())) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultFeatureFlags())) + + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithStrictValidationStrategy())) + + // Add DeleteFeature v0.90.0 Command + testCase.Add(featureflags.DefaultDeleteFeatureCommand(core.Version090)) + + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithError(common.ErrNotFound))) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithError(common.ErrNotFound))) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithError(common.ErrNotFound))) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithError(common.ErrNotFound))) @@ -101,14 +240,16 @@ var _ = ginkgo.Describe("Cross-version Feature Flags APIs compatibility tests", // Add StoreClientConfig Command for Runtime v0.25.4 testCase.Add(legacyclientconfig.DefaultStoreClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultFeatureFlags())) - // Add GetClientConfig latest, v0.28.0, v0.25.4, v0.11.6 Commands + // Add GetClientConfig latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultFeatureFlags())) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultFeatureFlags())) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultFeatureFlags())) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultFeatureFlags())) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultFeatureFlags())) - // Add IsFeatureEnabled latest, v0.28.0, v0.25.4, v0.11.6 Commands + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest)) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090)) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280)) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254)) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116)) @@ -116,8 +257,79 @@ var _ = ginkgo.Describe("Cross-version Feature Flags APIs compatibility tests", // Add DeleteFeature latest Command testCase.Add(featureflags.DefaultDeleteFeatureCommand(core.VersionLatest)) - // Add IsFeatureEnabled latest, v0.28.0, v0.25.4, v0.11.6 Commands + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithError(common.ErrNotFound))) + + // Run all the commands + executer.Execute(testCase) + }) + ginkgo.It("Run StoreClientConfig v0.25.4 then IsFeatureEnabled v0.11.6, v0.25.4, v0.28.0, latest then DeleteFeature v0.90.0 then IsFeatureEnabled v0.11.6, v0.25.4, v0.28.0, latest", func() { + // Build test case with commands + + testCase := core.NewTestCase() + + // Add StoreClientConfig Command for Runtime v0.25.4 + testCase.Add(legacyclientconfig.DefaultStoreClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultFeatureFlags())) + + // Add GetClientConfig latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultFeatureFlags())) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultFeatureFlags())) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultFeatureFlags())) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultFeatureFlags())) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultFeatureFlags())) + + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest)) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090)) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280)) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254)) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116)) + + // Add DeleteFeature v0.90.0 Command + testCase.Add(featureflags.DefaultDeleteFeatureCommand(core.Version090)) + + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithError(common.ErrNotFound))) + + // Run all the commands + executer.Execute(testCase) + }) + ginkgo.It("Run StoreClientConfig v0.25.4 then IsFeatureEnabled v0.11.6, v0.25.4, v0.28.0, latest then DeleteFeature v0.28.0 then IsFeatureEnabled v0.11.6, v0.25.4, v0.28.0, latest", func() { + // Build test case with commands + + testCase := core.NewTestCase() + + // Add StoreClientConfig Command for Runtime v0.25.4 + testCase.Add(legacyclientconfig.DefaultStoreClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultFeatureFlags())) + + // Add GetClientConfig latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultFeatureFlags())) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultFeatureFlags())) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultFeatureFlags())) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultFeatureFlags())) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultFeatureFlags())) + + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest)) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090)) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280)) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254)) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116)) + + // Add DeleteFeature latest Command + testCase.Add(featureflags.DefaultDeleteFeatureCommand(core.VersionLatest)) + + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithError(common.ErrNotFound))) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithError(common.ErrNotFound))) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithError(common.ErrNotFound))) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithError(common.ErrNotFound))) @@ -145,8 +357,9 @@ var _ = ginkgo.Describe("Cross-version Feature Flags APIs compatibility tests", }, } testCase.Add(legacyclientconfig.DefaultStoreClientConfigCommand(core.VersionLatest, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultStoreClientConfigCommand(core.Version090, legacyclientconfig.WithFeatureFlags(features))) - // Add GetClientConfig latest, v0.28.0, v0.25.4, v0.11.6 Commands + // Add GetClientConfig latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands features = map[string]types.FeatureMap{ featureflags.CompatibilityTestsPlugin: map[string]string{ featureflags.CompatibilityTestsPluginKey: "true", @@ -155,16 +368,19 @@ var _ = ginkgo.Describe("Cross-version Feature Flags APIs compatibility tests", }, } testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithFeatureFlags(features))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithFeatureFlags(features))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithFeatureFlags(features))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithFeatureFlags(features))) - // Add IsFeatureEnabled latest, v0.28.0, v0.25.4, v0.11.6 Commands + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithStrictValidationStrategy())) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithStrictValidationStrategy())) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithStrictValidationStrategy())) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithStrictValidationStrategy())) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) @@ -172,17 +388,19 @@ var _ = ginkgo.Describe("Cross-version Feature Flags APIs compatibility tests", // Add DeleteFeature v0.28.0 Command testCase.Add(featureflags.DefaultDeleteFeatureCommand(core.Version0280)) - // Add IsFeatureEnabled latest, v0.28.0, v0.25.4, v0.11.6 Commands + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithError(common.ErrNotFound))) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithError(common.ErrNotFound))) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithError(common.ErrNotFound))) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithError(common.ErrNotFound))) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) - // Add GetClientConfig latest, v0.28.0, v0.25.4, v0.11.6 Commands + // Add GetClientConfig latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands features = map[string]types.FeatureMap{ featureflags.CompatibilityTestsPlugin: map[string]string{ featureflags.CompatibilityTestsPluginKey0: "false", @@ -190,6 +408,230 @@ var _ = ginkgo.Describe("Cross-version Feature Flags APIs compatibility tests", }, } testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithFeatureFlags(features))) + + // Run all the commands + executer.Execute(testCase) + }) + ginkgo.It("Run SetFeature latest then IsFeatureEnabled v0.11.6, v0.25.4, v0.28.0, latest then DeleteFeature v0.90.0 then IsFeatureEnabled v0.11.6, v0.25.4, v0.28.0, latest", func() { + // Build test case with commands + + // Add SetFeature Commands of Runtime Latest + testCase := core.NewTestCase() + testCase.Add(featureflags.DefaultSetFeatureCommand(core.VersionLatest)) + testCase.Add(featureflags.DefaultSetFeatureCommand(core.VersionLatest, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"))) + + // Add StoreClientConfig latest Commands + features := map[string]types.FeatureMap{ + featureflags.CompatibilityTestsPlugin: map[string]string{ + featureflags.CompatibilityTestsPluginKey1: "true", + }, + } + testCase.Add(legacyclientconfig.DefaultStoreClientConfigCommand(core.VersionLatest, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultStoreClientConfigCommand(core.Version090, legacyclientconfig.WithFeatureFlags(features))) + + // Add GetClientConfig latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + features = map[string]types.FeatureMap{ + featureflags.CompatibilityTestsPlugin: map[string]string{ + featureflags.CompatibilityTestsPluginKey: "true", + featureflags.CompatibilityTestsPluginKey0: "false", + featureflags.CompatibilityTestsPluginKey1: "true", + }, + } + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithFeatureFlags(features))) + + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + + // Add DeleteFeature v0.90.0 Command + testCase.Add(featureflags.DefaultDeleteFeatureCommand(core.Version090)) + + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + + // Add GetClientConfig latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + features = map[string]types.FeatureMap{ + featureflags.CompatibilityTestsPlugin: map[string]string{ + featureflags.CompatibilityTestsPluginKey0: "false", + featureflags.CompatibilityTestsPluginKey1: "true", + }, + } + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithFeatureFlags(features))) + + // Run all the commands + executer.Execute(testCase) + }) + + ginkgo.It("Run SetFeature v0.90.0 then IsFeatureEnabled v0.11.6, v0.25.4, v0.28.0, latest then DeleteFeature v0.28.0 then IsFeatureEnabled v0.11.6, v0.25.4, v0.28.0, latest", func() { + // Build test case with commands + + // Add SetFeature Commands of Runtime Latest + testCase := core.NewTestCase() + testCase.Add(featureflags.DefaultSetFeatureCommand(core.Version090)) + testCase.Add(featureflags.DefaultSetFeatureCommand(core.Version090, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"))) + + // Add StoreClientConfig latest Commands + features := map[string]types.FeatureMap{ + featureflags.CompatibilityTestsPlugin: map[string]string{ + featureflags.CompatibilityTestsPluginKey1: "true", + }, + } + testCase.Add(legacyclientconfig.DefaultStoreClientConfigCommand(core.VersionLatest, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultStoreClientConfigCommand(core.Version090, legacyclientconfig.WithFeatureFlags(features))) + + // Add GetClientConfig latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + features = map[string]types.FeatureMap{ + featureflags.CompatibilityTestsPlugin: map[string]string{ + featureflags.CompatibilityTestsPluginKey: "true", + featureflags.CompatibilityTestsPluginKey0: "false", + featureflags.CompatibilityTestsPluginKey1: "true", + }, + } + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithFeatureFlags(features))) + + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + + // Add DeleteFeature v0.28.0 Command + testCase.Add(featureflags.DefaultDeleteFeatureCommand(core.Version0280)) + + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + + // Add GetClientConfig latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + features = map[string]types.FeatureMap{ + featureflags.CompatibilityTestsPlugin: map[string]string{ + featureflags.CompatibilityTestsPluginKey0: "false", + featureflags.CompatibilityTestsPluginKey1: "true", + }, + } + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithFeatureFlags(features))) + + // Run all the commands + executer.Execute(testCase) + }) + ginkgo.It("Run SetFeature v0.90.0 then IsFeatureEnabled v0.11.6, v0.25.4, v0.28.0, latest then DeleteFeature latest then IsFeatureEnabled v0.11.6, v0.25.4, v0.28.0, latest", func() { + // Build test case with commands + + // Add SetFeature Commands of Runtime Latest + testCase := core.NewTestCase() + testCase.Add(featureflags.DefaultSetFeatureCommand(core.Version090)) + testCase.Add(featureflags.DefaultSetFeatureCommand(core.Version090, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"))) + + // Add StoreClientConfig latest Commands + features := map[string]types.FeatureMap{ + featureflags.CompatibilityTestsPlugin: map[string]string{ + featureflags.CompatibilityTestsPluginKey1: "true", + }, + } + testCase.Add(legacyclientconfig.DefaultStoreClientConfigCommand(core.VersionLatest, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultStoreClientConfigCommand(core.Version090, legacyclientconfig.WithFeatureFlags(features))) + + // Add GetClientConfig latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + features = map[string]types.FeatureMap{ + featureflags.CompatibilityTestsPlugin: map[string]string{ + featureflags.CompatibilityTestsPluginKey: "true", + featureflags.CompatibilityTestsPluginKey0: "false", + featureflags.CompatibilityTestsPluginKey1: "true", + }, + } + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithFeatureFlags(features))) + + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + + // Add DeleteFeature latest Command + testCase.Add(featureflags.DefaultDeleteFeatureCommand(core.VersionLatest)) + + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + + // Add GetClientConfig latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + features = map[string]types.FeatureMap{ + featureflags.CompatibilityTestsPlugin: map[string]string{ + featureflags.CompatibilityTestsPluginKey0: "false", + featureflags.CompatibilityTestsPluginKey1: "true", + }, + } + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithFeatureFlags(features))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithFeatureFlags(features))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithFeatureFlags(features))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithFeatureFlags(features))) @@ -214,7 +656,7 @@ var _ = ginkgo.Describe("Cross-version Feature Flags APIs compatibility tests", } testCase.Add(legacyclientconfig.DefaultStoreClientConfigCommand(core.Version0280, legacyclientconfig.WithFeatureFlags(features))) - // Add GetClientConfig latest, v0.28.0, v0.25.4, v0.11.6 Commands + // Add GetClientConfig latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands features = map[string]types.FeatureMap{ featureflags.CompatibilityTestsPlugin: map[string]string{ featureflags.CompatibilityTestsPluginKey: "true", @@ -223,16 +665,19 @@ var _ = ginkgo.Describe("Cross-version Feature Flags APIs compatibility tests", }, } testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithFeatureFlags(features))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithFeatureFlags(features))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithFeatureFlags(features))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithFeatureFlags(features))) - // Add IsFeatureEnabled latest, v0.28.0, v0.25.4, v0.11.6 Commands + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithStrictValidationStrategy())) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithStrictValidationStrategy())) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithStrictValidationStrategy())) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithStrictValidationStrategy())) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) @@ -240,17 +685,92 @@ var _ = ginkgo.Describe("Cross-version Feature Flags APIs compatibility tests", // Add DeleteFeature latest Command testCase.Add(featureflags.DefaultDeleteFeatureCommand(core.VersionLatest)) - // Add IsFeatureEnabled latest, v0.28.0, v0.25.4, v0.11.6 Commands + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + + // Add GetClientConfig latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + features = map[string]types.FeatureMap{ + featureflags.CompatibilityTestsPlugin: map[string]string{ + featureflags.CompatibilityTestsPluginKey0: "false", + featureflags.CompatibilityTestsPluginKey1: "true", + }, + } + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithFeatureFlags(features))) + + // Run all the commands + executer.Execute(testCase) + }) + ginkgo.It("Run SetFeature v0.28.0 then IsFeatureEnabled v0.11.6, v0.25.4, v0.28.0, latest then DeleteFeature v0.90.0 then IsFeatureEnabled v0.11.6, v0.25.4, v0.28.0, latest", func() { + // Build test case with commands + + // Add SetFeature Commands of Runtime v0.28.0 + testCase := core.NewTestCase() + testCase.Add(featureflags.DefaultSetFeatureCommand(core.Version0280)) + testCase.Add(featureflags.DefaultSetFeatureCommand(core.Version0280, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"))) + + // Add StoreClientConfig v0.28.0 Commands + features := map[string]types.FeatureMap{ + featureflags.CompatibilityTestsPlugin: map[string]string{ + featureflags.CompatibilityTestsPluginKey1: "true", + }, + } + testCase.Add(legacyclientconfig.DefaultStoreClientConfigCommand(core.Version0280, legacyclientconfig.WithFeatureFlags(features))) + + // Add GetClientConfig latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + features = map[string]types.FeatureMap{ + featureflags.CompatibilityTestsPlugin: map[string]string{ + featureflags.CompatibilityTestsPluginKey: "true", + featureflags.CompatibilityTestsPluginKey0: "false", + featureflags.CompatibilityTestsPluginKey1: "true", + }, + } + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithFeatureFlags(features))) + + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + + // Add DeleteFeature v0.90.0 Command + testCase.Add(featureflags.DefaultDeleteFeatureCommand(core.Version090)) + + // Add IsFeatureEnabled latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithError(common.ErrNotFound))) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithError(common.ErrNotFound))) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithError(common.ErrNotFound))) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithError(common.ErrNotFound))) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithError(common.ErrNotFound))) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.VersionLatest, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) + testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version090, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0280, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0254, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) testCase.Add(featureflags.DefaultIsFeatureEnabledCommand(core.Version0116, featureflags.WithKey(featureflags.CompatibilityTestsPluginKey0), featureflags.WithValue("false"), featureflags.WithStrictValidationStrategy())) - // Add GetClientConfig latest, v0.28.0, v0.25.4, v0.11.6 Commands + // Add GetClientConfig latest, v0.90.0, v0.28.0, v0.25.4, v0.11.6 Commands features = map[string]types.FeatureMap{ featureflags.CompatibilityTestsPlugin: map[string]string{ featureflags.CompatibilityTestsPluginKey0: "false", @@ -258,6 +778,7 @@ var _ = ginkgo.Describe("Cross-version Feature Flags APIs compatibility tests", }, } testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithFeatureFlags(features))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithFeatureFlags(features))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithFeatureFlags(features))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithFeatureFlags(features))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithFeatureFlags(features))) @@ -265,6 +786,7 @@ var _ = ginkgo.Describe("Cross-version Feature Flags APIs compatibility tests", // Run all the commands executer.Execute(testCase) }) + }) }) diff --git a/test/compatibility/framework/compatibilitytests/legacyclientconfig/legacyclientconfig_test.go b/test/compatibility/framework/compatibilitytests/legacyclientconfig/legacyclientconfig_test.go index 5efbebf18..3e8dc2306 100644 --- a/test/compatibility/framework/compatibilitytests/legacyclientconfig/legacyclientconfig_test.go +++ b/test/compatibility/framework/compatibilitytests/legacyclientconfig/legacyclientconfig_test.go @@ -36,15 +36,22 @@ var _ = ginkgo.Describe("Cross-version Legacy Client Config APIs compatibility t testCase.Add(legacyclientconfig.DefaultStoreClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultContextAndServer(core.Version0280))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest) + testCase.Add(contextTestHelper.GetContextCmdForRuntime090) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0280) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime090) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0280) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) // Add RemoveCurrentContext v0.28.0 Command testCase.Add(contextTestHelper.RemoveCurrentContextCmdForRuntime0280) @@ -52,11 +59,155 @@ var _ = ginkgo.Describe("Cross-version Legacy Client Config APIs compatibility t // Add DeleteContext v0.28.0 Command testCase.Add(contextTestHelper.DeleteContextCmdForRuntime0280) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextCmdForRuntime0280WithError).Add(contextTestHelper.GetContextCmdForRuntime0254WithError) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime090WithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0280WithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0254WithError) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254WithError) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime090WithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0254WithError) + + // Run all the commands + executer.Execute(testCase) + }) + + ginkgo.It("Run StoreClientConfig latest then GetContext, GetCurrentContext v0.25.4, v0.28.0, latest then DeleteContext, RemoveCurrentContext v0.90.0 then GetContext, GetCurrentContext v0.25.4, v0.28.0, latest", func() { + // Add SetContext and SetCurrentContext Commands for Runtime latest + testCase := core.NewTestCase() + + testCase.Add(legacyclientconfig.DefaultStoreClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultContextAndServer(core.Version0280))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest) + testCase.Add(contextTestHelper.GetContextCmdForRuntime090) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0280) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime090) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0280) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + + // Add RemoveCurrentContext v0.90.0 Command + testCase.Add(contextTestHelper.RemoveCurrentContextCmdForRuntime090) + + // Add DeleteContext v0.90.0 Command + testCase.Add(contextTestHelper.DeleteContextCmdForRuntime090) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime090WithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0280WithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0254WithError) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime090WithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0254WithError) + + // Run all the commands + executer.Execute(testCase) + }) + + ginkgo.It("Run StoreClientConfig v0.90.0 then GetContext, GetCurrentContext v0.25.4, v0.28.0, latest then DeleteContext, RemoveCurrentContext latest then GetContext, GetCurrentContext v0.25.4, v0.28.0, latest", func() { + // Add SetContext and SetCurrentContext Commands for Runtime latest + testCase := core.NewTestCase() + + testCase.Add(legacyclientconfig.DefaultStoreClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.Version090))) + + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultContextAndServer(core.Version0280))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest) + testCase.Add(contextTestHelper.GetContextCmdForRuntime090) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0280) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime090) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0280) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + + // Add RemoveCurrentContext latest Command + testCase.Add(contextTestHelper.RemoveCurrentContextCmdForRuntimeLatest) + + // Add DeleteContext latest Command + testCase.Add(contextTestHelper.DeleteContextCmdForRuntimeLatest) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime090WithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0280WithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0254WithError) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime090WithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0254WithError) + + // Run all the commands + executer.Execute(testCase) + }) + + ginkgo.It("Run StoreClientConfig v0.90.0 then GetContext, GetCurrentContext v0.25.4, v0.28.0, latest then DeleteContext, RemoveCurrentContext v0.28.0 then GetContext, GetCurrentContext v0.25.4, v0.28.0, latest", func() { + // Add SetContext and SetCurrentContext Commands for Runtime latest + testCase := core.NewTestCase() + + testCase.Add(legacyclientconfig.DefaultStoreClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.Version090))) + + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultContextAndServer(core.Version0280))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest) + testCase.Add(contextTestHelper.GetContextCmdForRuntime090) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0280) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime090) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0280) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + + // Add RemoveCurrentContext v0.28.0 Command + testCase.Add(contextTestHelper.RemoveCurrentContextCmdForRuntime0280) + + // Add DeleteContext v0.28.0 Command + testCase.Add(contextTestHelper.DeleteContextCmdForRuntime0280) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime090WithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0280WithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0254WithError) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime090WithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0254WithError) // Run all the commands executer.Execute(testCase) @@ -69,24 +220,37 @@ var _ = ginkgo.Describe("Cross-version Legacy Client Config APIs compatibility t testCase.Add(legacyclientconfig.DefaultStoreClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultContextAndServer(core.Version0280))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.VersionLatest, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version090, legacyclientconfig.WithDefaultContextAndServer(core.VersionLatest))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0280, legacyclientconfig.WithDefaultContextAndServer(core.Version0280))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest) + testCase.Add(contextTestHelper.GetContextCmdForRuntime090) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0280) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime090) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0280) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) // Add DeleteContext v0.25.4 Command testCase.Add(contextTestHelper.DeleteContextCmdForRuntime0254) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest).Add(contextTestHelper.GetContextCmdForRuntime0280).Add(contextTestHelper.GetContextCmdForRuntime0254WithError) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatest) + testCase.Add(contextTestHelper.GetContextCmdForRuntime090) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0280) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0254WithError) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254WithError) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatest) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime090) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0280) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0254WithError) // Run all the commands executer.Execute(testCase) @@ -101,23 +265,78 @@ var _ = ginkgo.Describe("Cross-version Legacy Client Config APIs compatibility t testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextCmdForRuntime0280WithError).Add(contextTestHelper.GetContextCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime090WithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0280WithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime090WithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) - // Add RemoveCurrentContext latestCommand + // Add RemoveCurrentContext latest Command testCase.Add(contextTestHelper.RemoveCurrentContextCmdForRuntimeLatestWithError) // Add DeleteContext latest Command testCase.Add(contextTestHelper.DeleteContextCmdForRuntimeLatestWithError) - // Add GetContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetContextCmdForRuntime0280WithError).Add(contextTestHelper.GetContextCmdForRuntime0254) + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime090WithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0280WithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime090WithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + + // Run all the commands + executer.Execute(testCase) + }) + + ginkgo.It("Run StoreClientConfig v0.25.4 then GetContext, GetCurrentContext v0.25.4, v0.28.0, latest then DeleteContext, RemoveCurrentContext v0.90.0 then GetContext, GetCurrentContext v0.25.4, v0.28.0, latest", func() { + // Add SetContext and SetCurrentContext Commands + testCase := core.NewTestCase() + + testCase.Add(legacyclientconfig.DefaultStoreClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) + + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0254, legacyclientconfig.WithDefaultContextAndServer(core.Version0254))) + testCase.Add(legacyclientconfig.DefaultGetClientConfigCommand(core.Version0116, legacyclientconfig.WithDefaultContextAndServer(core.Version0116))) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime090WithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0280WithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime090WithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) - // Add GetCurrentContext latest, v0.28.0, v0.25.4 Commands - testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError).Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) + // Add RemoveCurrentContext latest Command + testCase.Add(contextTestHelper.RemoveCurrentContextCmdForRuntime090WithError) + + // Add DeleteContext latest Command + testCase.Add(contextTestHelper.DeleteContextCmdForRuntime090WithError) + + // Add GetContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetContextCmdForRuntimeLatestWithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime090WithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0280WithError) + testCase.Add(contextTestHelper.GetContextCmdForRuntime0254) + + // Add GetCurrentContext latest, v0.90.0, v0.28.0, v0.25.4 Commands + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntimeLatestWithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime090WithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0280WithError) + testCase.Add(contextTestHelper.GetCurrentContextCmdForRuntime0254) // Run all the commands executer.Execute(testCase) diff --git a/test/compatibility/framework/compatibilitytests/metadata/metadata_suite_test.go b/test/compatibility/framework/compatibilitytests/metadata/metadata_suite_test.go index c2d90f832..d3746fbe9 100644 --- a/test/compatibility/framework/compatibilitytests/metadata/metadata_suite_test.go +++ b/test/compatibility/framework/compatibilitytests/metadata/metadata_suite_test.go @@ -12,5 +12,5 @@ import ( func TestConfigMetadata(t *testing.T) { RegisterFailHandler(Fail) - RunSpecs(t, "Cross-version API Compatibility Test Suite for Config Metadata APIs for version latest, v0.28.0") + RunSpecs(t, "Cross-version API Compatibility Test Suite for Config Metadata APIs for version latest, v0.90.0, v0.28.0") } diff --git a/test/compatibility/framework/compatibilitytests/metadata/metadata_test.go b/test/compatibility/framework/compatibilitytests/metadata/metadata_test.go index 5a730d5b9..4190e9085 100644 --- a/test/compatibility/framework/compatibilitytests/metadata/metadata_test.go +++ b/test/compatibility/framework/compatibilitytests/metadata/metadata_test.go @@ -35,31 +35,294 @@ var _ = ginkgo.Describe("Cross-version ConfigMetadata Flags APIs compatibility t testCase.Add(metadata.DefaultSetConfigMetadataPatchStrategyCommand(core.VersionLatest)) testCase.Add(metadata.DefaultSetConfigMetadataSettingCommand(core.VersionLatest)) - // Add GetConfigMetadata latest, v0.28.0 Commands - testCase.Add(metadata.DefaultGetMetadataCommand(core.VersionLatest)).Add(metadata.DefaultGetMetadataCommand(core.Version0280)) - testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.VersionLatest)).Add(metadata.DefaultGetConfigMetadataCommand(core.Version0280)) - testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.VersionLatest)).Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version0280)) - testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.VersionLatest)).Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version0280)) - testCase.Add(metadata.DefaultGetConfigMetadataSettingsCommand(core.VersionLatest)).Add(metadata.DefaultGetConfigMetadataSettingsCommand(core.Version0280)) - testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.VersionLatest)).Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version0280)) - testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.VersionLatest)).Add(metadata.DefaultUseUnifiedConfigCommand(core.Version0280)) + // Add GetConfigMetadata latest, v0.90.0, v0.28.0 Commands + testCase.Add(metadata.DefaultGetMetadataCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetMetadataCommand(core.Version090)) + testCase.Add(metadata.DefaultGetMetadataCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataSettingsCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataSettingsCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataSettingsCommand(core.Version0280)) + + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version090)) + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version0280)) + + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.Version090)) + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.Version0280)) // Add DeleteConfigMetadata v0.28.0 Command testCase.Add(metadata.DefaultDeleteConfigMetadataSettingCommand(core.Version0280)) - // Add GetConfigMetadata latest, v0.28.0 Commands + // Add GetConfigMetadata latest, v0.90.0, v0.28.0 Commands + metadataOpts := &types.MetadataOpts{ + ConfigMetadata: &types.ConfigMetadataOpts{ + Settings: map[string]string{}, + }, + } + + testCase.Add(metadata.DefaultGetMetadataCommand(core.VersionLatest, metadata.WithMetadataOpts(metadataOpts))) + testCase.Add(metadata.DefaultGetMetadataCommand(core.Version090, metadata.WithMetadataOpts(metadataOpts))) + testCase.Add(metadata.DefaultGetMetadataCommand(core.Version0280, metadata.WithMetadataOpts(metadataOpts))) + + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.VersionLatest, metadata.WithConfigMetadataOpts(metadataOpts.ConfigMetadata))) + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.Version090, metadata.WithConfigMetadataOpts(metadataOpts.ConfigMetadata))) + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.Version0280, metadata.WithConfigMetadataOpts(metadataOpts.ConfigMetadata))) + + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.VersionLatest, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version090, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version0280, metadata.WithError(common.ErrNotFound))) + + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.VersionLatest, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version090, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version0280, metadata.WithError(common.ErrNotFound))) + + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.VersionLatest, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.Version090, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.Version0280, metadata.WithError(common.ErrNotFound))) + + // Run all the commands + executer.Execute(testCase) + }) + ginkgo.It("Run SetConfigMetadataPatchStrategy, SetConfigMetadataSetting latest then Getters for v0.28.0, latest then DeleteConfigMetadataSetting v0.90.0 then Getters for v0.28.0, latest", func() { + // Build test case with commands + + // Add SetConfigMetadata Commands of Runtime Latest + testCase := core.NewTestCase() + + testCase.Add(metadata.DefaultSetConfigMetadataPatchStrategyCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultSetConfigMetadataSettingCommand(core.VersionLatest)) + + // Add GetConfigMetadata latest, v0.90.0, v0.28.0 Commands + testCase.Add(metadata.DefaultGetMetadataCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetMetadataCommand(core.Version090)) + testCase.Add(metadata.DefaultGetMetadataCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataSettingsCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataSettingsCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataSettingsCommand(core.Version0280)) + + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version090)) + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version0280)) + + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.Version090)) + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.Version0280)) + + // Add DeleteConfigMetadata v0.90.0 Command + testCase.Add(metadata.DefaultDeleteConfigMetadataSettingCommand(core.Version090)) + + // Add GetConfigMetadata latest, v0.90.0, v0.28.0 Commands + metadataOpts := &types.MetadataOpts{ + ConfigMetadata: &types.ConfigMetadataOpts{ + Settings: map[string]string{}, + }, + } + + testCase.Add(metadata.DefaultGetMetadataCommand(core.VersionLatest, metadata.WithMetadataOpts(metadataOpts))) + testCase.Add(metadata.DefaultGetMetadataCommand(core.Version090, metadata.WithMetadataOpts(metadataOpts))) + testCase.Add(metadata.DefaultGetMetadataCommand(core.Version0280, metadata.WithMetadataOpts(metadataOpts))) + + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.VersionLatest, metadata.WithConfigMetadataOpts(metadataOpts.ConfigMetadata))) + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.Version090, metadata.WithConfigMetadataOpts(metadataOpts.ConfigMetadata))) + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.Version0280, metadata.WithConfigMetadataOpts(metadataOpts.ConfigMetadata))) + + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.VersionLatest, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version090, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version0280, metadata.WithError(common.ErrNotFound))) + + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.VersionLatest, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version090, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version0280, metadata.WithError(common.ErrNotFound))) + + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.VersionLatest, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.Version090, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.Version0280, metadata.WithError(common.ErrNotFound))) + + // Run all the commands + executer.Execute(testCase) + }) + + ginkgo.It("Run SetConfigMetadataPatchStrategy, SetConfigMetadataSetting v0.90.0 then Getters for v0.28.0, latest then DeleteConfigMetadataSetting v0.28.0 then Getters for v0.28.0, latest", func() { + // Build test case with commands + + // Add SetConfigMetadata Commands of Runtime Latest + testCase := core.NewTestCase() + + testCase.Add(metadata.DefaultSetConfigMetadataPatchStrategyCommand(core.Version090)) + testCase.Add(metadata.DefaultSetConfigMetadataSettingCommand(core.Version090)) + + // Add GetConfigMetadata latest, v0.90.0, v0.28.0 Commands + testCase.Add(metadata.DefaultGetMetadataCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetMetadataCommand(core.Version090)) + testCase.Add(metadata.DefaultGetMetadataCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataSettingsCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataSettingsCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataSettingsCommand(core.Version0280)) + + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version090)) + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version0280)) + + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.Version090)) + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.Version0280)) + + // Add DeleteConfigMetadata v0.28.0 Command + testCase.Add(metadata.DefaultDeleteConfigMetadataSettingCommand(core.Version0280)) + + // Add GetConfigMetadata latest, v0.90.0, v0.28.0 Commands + metadataOpts := &types.MetadataOpts{ + ConfigMetadata: &types.ConfigMetadataOpts{ + Settings: map[string]string{}, + }, + } + + testCase.Add(metadata.DefaultGetMetadataCommand(core.VersionLatest, metadata.WithMetadataOpts(metadataOpts))) + testCase.Add(metadata.DefaultGetMetadataCommand(core.Version090, metadata.WithMetadataOpts(metadataOpts))) + testCase.Add(metadata.DefaultGetMetadataCommand(core.Version0280, metadata.WithMetadataOpts(metadataOpts))) + + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.VersionLatest, metadata.WithConfigMetadataOpts(metadataOpts.ConfigMetadata))) + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.Version090, metadata.WithConfigMetadataOpts(metadataOpts.ConfigMetadata))) + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.Version0280, metadata.WithConfigMetadataOpts(metadataOpts.ConfigMetadata))) + + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.VersionLatest, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version090, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version0280, metadata.WithError(common.ErrNotFound))) + + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.VersionLatest, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version090, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version0280, metadata.WithError(common.ErrNotFound))) + + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.VersionLatest, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.Version090, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.Version0280, metadata.WithError(common.ErrNotFound))) + + // Run all the commands + executer.Execute(testCase) + }) + ginkgo.It("Run SetConfigMetadataPatchStrategy, SetConfigMetadataSetting v0.90.0 then Getters for v0.28.0, latest then DeleteConfigMetadataSetting latest then Getters for v0.28.0, latest", func() { + // Build test case with commands + + // Add SetConfigMetadata Commands of Runtime Latest + testCase := core.NewTestCase() + + testCase.Add(metadata.DefaultSetConfigMetadataPatchStrategyCommand(core.Version090)) + testCase.Add(metadata.DefaultSetConfigMetadataSettingCommand(core.Version090)) + + // Add GetConfigMetadata latest, v0.90.0, v0.28.0 Commands + testCase.Add(metadata.DefaultGetMetadataCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetMetadataCommand(core.Version090)) + testCase.Add(metadata.DefaultGetMetadataCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataSettingsCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataSettingsCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataSettingsCommand(core.Version0280)) + + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version090)) + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version0280)) + + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.Version090)) + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.Version0280)) + + // Add DeleteConfigMetadata latest Command + testCase.Add(metadata.DefaultDeleteConfigMetadataSettingCommand(core.VersionLatest)) + + // Add GetConfigMetadata latest, v0.90.0, v0.28.0 Commands metadataOpts := &types.MetadataOpts{ ConfigMetadata: &types.ConfigMetadataOpts{ Settings: map[string]string{}, }, } - testCase.Add(metadata.DefaultGetMetadataCommand(core.VersionLatest, metadata.WithMetadataOpts(metadataOpts))).Add(metadata.DefaultGetMetadataCommand(core.Version0280, metadata.WithMetadataOpts(metadataOpts))) - testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.VersionLatest, metadata.WithConfigMetadataOpts(metadataOpts.ConfigMetadata))).Add(metadata.DefaultGetConfigMetadataCommand(core.Version0280, metadata.WithConfigMetadataOpts(metadataOpts.ConfigMetadata))) - testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.VersionLatest)).Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version0280)) - testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.VersionLatest, metadata.WithError(common.ErrNotFound))).Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version0280, metadata.WithError(common.ErrNotFound))) - testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.VersionLatest, metadata.WithError(common.ErrNotFound))).Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version0280, metadata.WithError(common.ErrNotFound))) - testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.VersionLatest, metadata.WithError(common.ErrNotFound))).Add(metadata.DefaultUseUnifiedConfigCommand(core.Version0280, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultGetMetadataCommand(core.VersionLatest, metadata.WithMetadataOpts(metadataOpts))) + testCase.Add(metadata.DefaultGetMetadataCommand(core.Version090, metadata.WithMetadataOpts(metadataOpts))) + testCase.Add(metadata.DefaultGetMetadataCommand(core.Version0280, metadata.WithMetadataOpts(metadataOpts))) + + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.VersionLatest, metadata.WithConfigMetadataOpts(metadataOpts.ConfigMetadata))) + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.Version090, metadata.WithConfigMetadataOpts(metadataOpts.ConfigMetadata))) + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.Version0280, metadata.WithConfigMetadataOpts(metadataOpts.ConfigMetadata))) + + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.VersionLatest, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version090, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version0280, metadata.WithError(common.ErrNotFound))) + + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.VersionLatest, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version090, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version0280, metadata.WithError(common.ErrNotFound))) + + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.VersionLatest, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.Version090, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.Version0280, metadata.WithError(common.ErrNotFound))) // Run all the commands executer.Execute(testCase) @@ -73,35 +336,147 @@ var _ = ginkgo.Describe("Cross-version ConfigMetadata Flags APIs compatibility t testCase.Add(metadata.DefaultSetConfigMetadataPatchStrategyCommand(core.Version0280)) testCase.Add(metadata.DefaultSetConfigMetadataSettingCommand(core.Version0280)) - // Add GetConfigMetadata latest, v0.28.0 Commands - testCase.Add(metadata.DefaultGetMetadataCommand(core.VersionLatest)).Add(metadata.DefaultGetMetadataCommand(core.Version0280)) - testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.VersionLatest)).Add(metadata.DefaultGetConfigMetadataCommand(core.Version0280)) - testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.VersionLatest)).Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version0280)) - testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.VersionLatest)).Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version0280)) - testCase.Add(metadata.DefaultGetConfigMetadataSettingsCommand(core.VersionLatest)).Add(metadata.DefaultGetConfigMetadataSettingsCommand(core.Version0280)) - testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.VersionLatest)).Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version0280)) - testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.VersionLatest)).Add(metadata.DefaultUseUnifiedConfigCommand(core.Version0280)) + // Add GetConfigMetadata latest, v0.90.0, v0.28.0 Commands + testCase.Add(metadata.DefaultGetMetadataCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetMetadataCommand(core.Version090)) + testCase.Add(metadata.DefaultGetMetadataCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataSettingsCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataSettingsCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataSettingsCommand(core.Version0280)) + + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version090)) + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version0280)) + + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.Version090)) + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.Version0280)) // Add DeleteConfigMetadataSetting latest Command testCase.Add(metadata.DefaultDeleteConfigMetadataSettingCommand(core.VersionLatest)) - // Add GetConfigMetadata latest, v0.28.0 Commands + // Add GetConfigMetadata latest, v0.90.0, v0.28.0 Commands metadataOpts := &types.MetadataOpts{ ConfigMetadata: &types.ConfigMetadataOpts{ Settings: map[string]string{}, }, } - testCase.Add(metadata.DefaultGetMetadataCommand(core.VersionLatest, metadata.WithMetadataOpts(metadataOpts))).Add(metadata.DefaultGetMetadataCommand(core.Version0280, metadata.WithMetadataOpts(metadataOpts))) - testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.VersionLatest, metadata.WithConfigMetadataOpts(metadataOpts.ConfigMetadata))).Add(metadata.DefaultGetConfigMetadataCommand(core.Version0280, metadata.WithConfigMetadataOpts(metadataOpts.ConfigMetadata))) - testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.VersionLatest)).Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version0280)) - testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.VersionLatest, metadata.WithError(common.ErrNotFound))).Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version0280, metadata.WithError(common.ErrNotFound))) - testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.VersionLatest, metadata.WithError(common.ErrNotFound))).Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version0280, metadata.WithError(common.ErrNotFound))) - testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.VersionLatest, metadata.WithError(common.ErrNotFound))).Add(metadata.DefaultUseUnifiedConfigCommand(core.Version0280, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultGetMetadataCommand(core.VersionLatest, metadata.WithMetadataOpts(metadataOpts))) + testCase.Add(metadata.DefaultGetMetadataCommand(core.Version090, metadata.WithMetadataOpts(metadataOpts))) + testCase.Add(metadata.DefaultGetMetadataCommand(core.Version0280, metadata.WithMetadataOpts(metadataOpts))) + + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.VersionLatest, metadata.WithConfigMetadataOpts(metadataOpts.ConfigMetadata))) + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.Version090, metadata.WithConfigMetadataOpts(metadataOpts.ConfigMetadata))) + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.Version0280, metadata.WithConfigMetadataOpts(metadataOpts.ConfigMetadata))) + + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.VersionLatest, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version090, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version0280, metadata.WithError(common.ErrNotFound))) + + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.VersionLatest, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version090, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version0280, metadata.WithError(common.ErrNotFound))) + + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.VersionLatest, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.Version090, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.Version0280, metadata.WithError(common.ErrNotFound))) + + // Run all the commands + executer.Execute(testCase) + }) + ginkgo.It("Run SetConfigMetadataPatchStrategy, SetConfigMetadataSetting v0.28.0 then Getters for v0.28.0, latest then DeleteConfigMetadataSetting v0.90.0 then Getters for v0.28.0, latest", func() { + // Build test case with commands + testCase := core.NewTestCase() + + // Add SetConfigMetadata Commands of Runtime v0.28.0 + testCase.Add(metadata.DefaultSetConfigMetadataPatchStrategyCommand(core.Version0280)) + testCase.Add(metadata.DefaultSetConfigMetadataSettingCommand(core.Version0280)) + + // Add GetConfigMetadata latest, v0.90.0, v0.28.0 Commands + testCase.Add(metadata.DefaultGetMetadataCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetMetadataCommand(core.Version090)) + testCase.Add(metadata.DefaultGetMetadataCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataSettingsCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataSettingsCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataSettingsCommand(core.Version0280)) + + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version090)) + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version0280)) + + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.Version090)) + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.Version0280)) + + // Add DeleteConfigMetadataSetting v0.90.0 Command + testCase.Add(metadata.DefaultDeleteConfigMetadataSettingCommand(core.Version090)) + + // Add GetConfigMetadata latest, v0.90.0, v0.28.0 Commands + metadataOpts := &types.MetadataOpts{ + ConfigMetadata: &types.ConfigMetadataOpts{ + Settings: map[string]string{}, + }, + } + + testCase.Add(metadata.DefaultGetMetadataCommand(core.VersionLatest, metadata.WithMetadataOpts(metadataOpts))) + testCase.Add(metadata.DefaultGetMetadataCommand(core.Version090, metadata.WithMetadataOpts(metadataOpts))) + testCase.Add(metadata.DefaultGetMetadataCommand(core.Version0280, metadata.WithMetadataOpts(metadataOpts))) + + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.VersionLatest, metadata.WithConfigMetadataOpts(metadataOpts.ConfigMetadata))) + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.Version090, metadata.WithConfigMetadataOpts(metadataOpts.ConfigMetadata))) + testCase.Add(metadata.DefaultGetConfigMetadataCommand(core.Version0280, metadata.WithConfigMetadataOpts(metadataOpts.ConfigMetadata))) + + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.VersionLatest)) + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version090)) + testCase.Add(metadata.DefaultGetConfigMetadataPatchStrategyCommand(core.Version0280)) + + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.VersionLatest, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version090, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultGetConfigMetadataSettingCommand(core.Version0280, metadata.WithError(common.ErrNotFound))) + + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.VersionLatest, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version090, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultIsConfigMetadataSettingsEnabledCommand(core.Version0280, metadata.WithError(common.ErrNotFound))) + + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.VersionLatest, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.Version090, metadata.WithError(common.ErrNotFound))) + testCase.Add(metadata.DefaultUseUnifiedConfigCommand(core.Version0280, metadata.WithError(common.ErrNotFound))) // Run all the commands executer.Execute(testCase) }) + }) }) diff --git a/test/compatibility/framework/compatibilitytests/server/server_test.go b/test/compatibility/framework/compatibilitytests/server/server_test.go index 3fec6618e..b3fab22a0 100644 --- a/test/compatibility/framework/compatibilitytests/server/server_test.go +++ b/test/compatibility/framework/compatibilitytests/server/server_test.go @@ -36,10 +36,18 @@ var _ = ginkgo.Describe("Cross-version Server APIs Compatibility Tests for suppo testCase := core.NewTestCase().Add(serverTestHelper.SetServerCmdForRuntimeLatest).Add(serverTestHelper.SetCurrentServerCmdForRuntimeLatest) // Add GetServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254).Add(serverTestHelper.GetServerCmdForRuntime0116) + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest) + testCase.Add(serverTestHelper.GetServerCmdForRuntime090) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0280) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0116) // Add GetCurrentServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254).Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime090) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0280) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) // Add RemoveCurrentServer v0.28.0 Command testCase.Add(serverTestHelper.RemoveCurrentServerCmdForRuntime0280) @@ -48,10 +56,17 @@ var _ = ginkgo.Describe("Cross-version Server APIs Compatibility Tests for suppo testCase.Add(serverTestHelper.DeleteServerCmdForRuntime0280) // Add GetServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatestWithError).Add(serverTestHelper.GetServerCmdForRuntime0280WithError).Add(serverTestHelper.GetServerCmdForRuntime0254WithError).Add(serverTestHelper.GetServerCmdForRuntime0116WithError) + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatestWithError) + testCase.Add(serverTestHelper.GetServerCmdForRuntime090WithError) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0280WithError) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0254WithError) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0116WithError) // Add GetCurrentServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatestWithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280WithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254WithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime0116WithError) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime090WithError) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0280WithError) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0254WithError) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0116WithError) // Run all the commands executer.Execute(testCase) @@ -62,19 +77,35 @@ var _ = ginkgo.Describe("Cross-version Server APIs Compatibility Tests for suppo testCase := core.NewTestCase().Add(serverTestHelper.SetServerCmdForRuntimeLatest).Add(serverTestHelper.SetCurrentServerCmdForRuntimeLatest) // Add GetServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254).Add(serverTestHelper.GetServerCmdForRuntime0116) + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest) + testCase.Add(serverTestHelper.GetServerCmdForRuntime090) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0280) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0116) // Add GetCurrentServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254).Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime090) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0280) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) // Add DeleteServer v0.11.6 Command testCase.Add(serverTestHelper.DeleteServerCmdForRuntime0116) // Add GetServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatestWithError).Add(serverTestHelper.GetServerCmdForRuntime0280WithError).Add(serverTestHelper.GetServerCmdForRuntime0254WithError).Add(serverTestHelper.GetServerCmdForRuntime0116WithError) + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatestWithError) + testCase.Add(serverTestHelper.GetServerCmdForRuntime090WithError) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0280WithError) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0254WithError) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0116WithError) // Add GetCurrentServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatestWithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280WithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254WithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime0116WithError) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatestWithError) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime090WithError) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0280WithError) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0254WithError) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0116WithError) // Run all the commands executer.Execute(testCase) @@ -85,19 +116,35 @@ var _ = ginkgo.Describe("Cross-version Server APIs Compatibility Tests for suppo testCase := core.NewTestCase().Add(serverTestHelper.SetServerCmdForRuntime0280).Add(serverTestHelper.SetCurrentServerCmdForRuntime0280) // Add GetServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254).Add(serverTestHelper.GetServerCmdForRuntime0116) + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest) + testCase.Add(serverTestHelper.GetServerCmdForRuntime090) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0280) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0116) // Add GetCurrentServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254).Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime090) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0280) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) // Add DeleteServer v0.25.4 Command testCase.Add(serverTestHelper.DeleteServerCmdForRuntime0254) // Add GetServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatestWithError).Add(serverTestHelper.GetServerCmdForRuntime0280WithError).Add(serverTestHelper.GetServerCmdForRuntime0254WithError).Add(serverTestHelper.GetServerCmdForRuntime0116WithError) + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatestWithError) + testCase.Add(serverTestHelper.GetServerCmdForRuntime090WithError) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0280WithError) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0254WithError) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0116WithError) // Add GetCurrentServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatestWithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280WithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254WithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime0116WithError) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatestWithError) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime090WithError) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0280WithError) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0254WithError) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0116WithError) // Run all the commands executer.Execute(testCase) @@ -108,10 +155,18 @@ var _ = ginkgo.Describe("Cross-version Server APIs Compatibility Tests for suppo testCase := core.NewTestCase().Add(serverTestHelper.SetServerCmdForRuntime0254).Add(serverTestHelper.SetCurrentServerCmdForRuntime0254) // Add GetServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254).Add(serverTestHelper.GetServerCmdForRuntime0116) + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest) + testCase.Add(serverTestHelper.GetServerCmdForRuntime090) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0280) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0116) // Add GetCurrentServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254).Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime090) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0280) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) // Add RemoveCurrentServer v0.28.0 Command testCase.Add(serverTestHelper.RemoveCurrentServerCmdForRuntime0280WithError) @@ -120,10 +175,16 @@ var _ = ginkgo.Describe("Cross-version Server APIs Compatibility Tests for suppo testCase.Add(serverTestHelper.DeleteServerCmdForRuntime0280WithError) // Add GetServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest) + testCase.Add(serverTestHelper.GetServerCmdForRuntime090) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0280) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0254) // Add GetCurrentServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime090) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0280) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) // Run all the commands executer.Execute(testCase) @@ -134,19 +195,35 @@ var _ = ginkgo.Describe("Cross-version Server APIs Compatibility Tests for suppo testCase := core.NewTestCase().Add(serverTestHelper.SetServerCmdForRuntime0116).Add(serverTestHelper.SetCurrentServerCmdForRuntime0116) // Add GetServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254).Add(serverTestHelper.GetServerCmdForRuntime0116) + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest) + testCase.Add(serverTestHelper.GetServerCmdForRuntime090) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0280) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0116) // Add GetCurrentServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254).Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime090) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0280) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) // Add DeleteServer v0.25.4 Command testCase.Add(serverTestHelper.DeleteServerCmdForRuntime0254) // Add GetServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatestWithError).Add(serverTestHelper.GetServerCmdForRuntime0280WithError).Add(serverTestHelper.GetServerCmdForRuntime0254WithError).Add(serverTestHelper.GetServerCmdForRuntime0116WithError) + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatestWithError) + testCase.Add(serverTestHelper.GetServerCmdForRuntime090WithError) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0280WithError) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0254WithError) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0116WithError) // Add GetCurrentServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatestWithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280WithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254WithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime0116WithError) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatestWithError) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime090WithError) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0280WithError) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0254WithError) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0116WithError) // Run all the commands executer.Execute(testCase) @@ -157,19 +234,35 @@ var _ = ginkgo.Describe("Cross-version Server APIs Compatibility Tests for suppo testCase := core.NewTestCase().Add(serverTestHelper.SetServerCmdForRuntime0116).Add(serverTestHelper.SetCurrentServerCmdForRuntime0116) // Add GetServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254).Add(serverTestHelper.GetServerCmdForRuntime0116) + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest) + testCase.Add(serverTestHelper.GetServerCmdForRuntime090) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0280) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0116) // Add GetCurrentServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254).Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime090) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0280) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) // Add DeleteServer latest Command testCase.Add(serverTestHelper.DeleteServerCmdForRuntimeLatestWithError) // Add GetServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254).Add(serverTestHelper.GetServerCmdForRuntime0116) + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest) + testCase.Add(serverTestHelper.GetServerCmdForRuntime090) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0280) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0116) // Add GetCurrentServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254).Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime090) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0280) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) // Run all the commands executer.Execute(testCase) @@ -186,11 +279,24 @@ var _ = ginkgo.Describe("Cross-version Server APIs Compatibility Tests for suppo testCase.Add(serverTestHelper.SetCurrentServerCmdForRuntimeLatest) // Add GetServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254).Add(serverTestHelper.GetServerCmdForRuntime0116) - testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254).Add(serverTestHelper.GetServerTwoCmdForRuntime0116) + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest) + testCase.Add(serverTestHelper.GetServerCmdForRuntime090) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0280) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0116) + + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntime090) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntime0280) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntime0116) // Add GetCurrentServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254).Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime090) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0280) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) // Add RemoveCurrentServer v0.28.0 Command testCase.Add(serverTestHelper.RemoveCurrentServerCmdForRuntime0280) @@ -199,11 +305,23 @@ var _ = ginkgo.Describe("Cross-version Server APIs Compatibility Tests for suppo testCase.Add(serverTestHelper.DeleteServerCmdForRuntime0280) // Add GetServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatestWithError).Add(serverTestHelper.GetServerCmdForRuntime0280WithError).Add(serverTestHelper.GetServerCmdForRuntime0254WithError).Add(serverTestHelper.GetServerCmdForRuntime0116WithError) - testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254).Add(serverTestHelper.GetServerTwoCmdForRuntime0116) + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatestWithError) + testCase.Add(serverTestHelper.GetServerCmdForRuntime090WithError) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0280WithError) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0254WithError) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0116WithError) + + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntime090) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntime0280) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntime0116) // Add GetCurrentServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatestWithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280WithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254WithError) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatestWithError) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime090WithError) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0280WithError) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0254WithError) // Run all the commands executer.Execute(testCase) @@ -217,11 +335,24 @@ var _ = ginkgo.Describe("Cross-version Server APIs Compatibility Tests for suppo testCase.Add(serverTestHelper.SetCurrentServerCmdForRuntime0254) // Add GetServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254).Add(serverTestHelper.GetServerCmdForRuntime0116) - testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254).Add(serverTestHelper.GetServerTwoCmdForRuntime0116) + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest) + testCase.Add(serverTestHelper.GetServerCmdForRuntime090) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0280) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0116) + + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntime090) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntime0280) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntime0116) // Add GetCurrentServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254).Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime090) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0280) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) // Add RemoveCurrentServer v0.28.0 Command testCase.Add(serverTestHelper.RemoveCurrentServerCmdForRuntime0280WithError) @@ -230,11 +361,24 @@ var _ = ginkgo.Describe("Cross-version Server APIs Compatibility Tests for suppo testCase.Add(serverTestHelper.DeleteServerCmdForRuntime0280WithError) // Add GetServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254).Add(serverTestHelper.GetServerCmdForRuntime0116) - testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254).Add(serverTestHelper.GetServerTwoCmdForRuntime0116) + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest) + testCase.Add(serverTestHelper.GetServerCmdForRuntime090) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0280) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerCmdForRuntime0116) + + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntime090) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntime0280) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntime0254) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntime0116) // Add GetCurrentServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254).Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime090) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0280) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0254) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) // Run all the commands executer.Execute(testCase) @@ -249,21 +393,21 @@ var _ = ginkgo.Describe("Cross-version Server APIs Compatibility Tests for suppo testCase.Add(serverTestHelper.SetCurrentServerCmdForRuntime0280) // Add GetServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254).Add(serverTestHelper.GetServerCmdForRuntime0116) - testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254).Add(serverTestHelper.GetServerTwoCmdForRuntime0116) + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254).Add(serverTestHelper.GetServerCmdForRuntime0116) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime090).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254).Add(serverTestHelper.GetServerTwoCmdForRuntime0116) // Add GetCurrentServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254).Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254).Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) // Add DeleteServer v0.25.4 Command testCase.Add(serverTestHelper.DeleteServerCmdForRuntime0254) // Add GetServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatestWithError).Add(serverTestHelper.GetServerCmdForRuntime0280WithError).Add(serverTestHelper.GetServerCmdForRuntime0254WithError).Add(serverTestHelper.GetServerCmdForRuntime0116WithError) - testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254).Add(serverTestHelper.GetServerTwoCmdForRuntime0116) + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatestWithError).Add(serverTestHelper.GetServerCmdForRuntime090WithError).Add(serverTestHelper.GetServerCmdForRuntime0280WithError).Add(serverTestHelper.GetServerCmdForRuntime0254WithError).Add(serverTestHelper.GetServerCmdForRuntime0116WithError) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime090).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254).Add(serverTestHelper.GetServerTwoCmdForRuntime0116) // Add GetCurrentServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatestWithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280WithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254WithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime0116WithError) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatestWithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime090WithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280WithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254WithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime0116WithError) // Run all the commands executer.Execute(testCase) @@ -277,21 +421,21 @@ var _ = ginkgo.Describe("Cross-version Server APIs Compatibility Tests for suppo testCase.Add(serverTestHelper.SetCurrentServerCmdForRuntime0116) // Add GetServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254).Add(serverTestHelper.GetServerCmdForRuntime0116) - testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254).Add(serverTestHelper.GetServerTwoCmdForRuntime0116) + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254).Add(serverTestHelper.GetServerCmdForRuntime0116) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime090).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254).Add(serverTestHelper.GetServerTwoCmdForRuntime0116) // Add GetCurrentServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254).Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254).Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) // Add DeleteServer latest Command testCase.Add(serverTestHelper.DeleteServerCmdForRuntimeLatestWithError) // Add GetServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254).Add(serverTestHelper.GetServerCmdForRuntime0116) - testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254).Add(serverTestHelper.GetServerTwoCmdForRuntime0116) + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254).Add(serverTestHelper.GetServerCmdForRuntime0116) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime090).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254).Add(serverTestHelper.GetServerTwoCmdForRuntime0116) // Add GetCurrentServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254).Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254).Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) // Run all the commands executer.Execute(testCase) @@ -305,21 +449,21 @@ var _ = ginkgo.Describe("Cross-version Server APIs Compatibility Tests for suppo testCase.Add(serverTestHelper.SetCurrentServerCmdForRuntime0116) // Add GetServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254).Add(serverTestHelper.GetServerCmdForRuntime0116) - testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254).Add(serverTestHelper.GetServerTwoCmdForRuntime0116) + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatest).Add(serverTestHelper.GetServerCmdForRuntime090).Add(serverTestHelper.GetServerCmdForRuntime0280).Add(serverTestHelper.GetServerCmdForRuntime0254).Add(serverTestHelper.GetServerCmdForRuntime0116) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime090).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254).Add(serverTestHelper.GetServerTwoCmdForRuntime0116) // Add GetCurrentServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254).Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatest).Add(serverTestHelper.GetCurrentServerCmdForRuntime090).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254).Add(serverTestHelper.GetCurrentServerCmdForRuntime0116) // Add DeleteServer v0.25.4 Command testCase.Add(serverTestHelper.DeleteServerCmdForRuntime0254) // Add GetServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatestWithError).Add(serverTestHelper.GetServerCmdForRuntime0280WithError).Add(serverTestHelper.GetServerCmdForRuntime0254WithError).Add(serverTestHelper.GetServerCmdForRuntime0116WithError) - testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254).Add(serverTestHelper.GetServerTwoCmdForRuntime0116) + testCase.Add(serverTestHelper.GetServerCmdForRuntimeLatestWithError).Add(serverTestHelper.GetServerCmdForRuntime090WithError).Add(serverTestHelper.GetServerCmdForRuntime0280WithError).Add(serverTestHelper.GetServerCmdForRuntime0254WithError).Add(serverTestHelper.GetServerCmdForRuntime0116WithError) + testCase.Add(serverTestHelper.GetServerTwoCmdForRuntimeLatest).Add(serverTestHelper.GetServerTwoCmdForRuntime090).Add(serverTestHelper.GetServerTwoCmdForRuntime0280).Add(serverTestHelper.GetServerTwoCmdForRuntime0254).Add(serverTestHelper.GetServerTwoCmdForRuntime0116) // Add GetCurrentServer Commands on all supported Runtime library versions - testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatestWithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280WithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254WithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime0116WithError) + testCase.Add(serverTestHelper.GetCurrentServerCmdForRuntimeLatestWithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime090WithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime0280WithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime0254WithError).Add(serverTestHelper.GetCurrentServerCmdForRuntime0116WithError) // Run all the commands executer.Execute(testCase) diff --git a/test/compatibility/framework/compatibilitytests/server/server_test_helpers.go b/test/compatibility/framework/compatibilitytests/server/server_test_helpers.go index dafc0df5a..c126ece9e 100644 --- a/test/compatibility/framework/compatibilitytests/server/server_test_helpers.go +++ b/test/compatibility/framework/compatibilitytests/server/server_test_helpers.go @@ -25,25 +25,30 @@ type Helper struct { SetServerInputOptionsForRuntime0254 *server.SetServerInputOptions SetServerInputOptionsForRuntime0280 *server.SetServerInputOptions SetServerInputOptionsForRuntimeLatest *server.SetServerInputOptions + SetServerInputOptionsForRuntime090 *server.SetServerInputOptions SetServerTwoInputOptionsForRuntime0116 *server.SetServerInputOptions SetServerTwoInputOptionsForRuntime0254 *server.SetServerInputOptions SetServerTwoInputOptionsForRuntime0280 *server.SetServerInputOptions SetServerTwoInputOptionsForRuntimeLatest *server.SetServerInputOptions + SetServerTwoInputOptionsForRuntime090 *server.SetServerInputOptions // SetCurrentServer Input Options SetCurrentServerInputOptionsForRuntime0116 *server.SetCurrentServerInputOptions SetCurrentServerInputOptionsForRuntime0254 *server.SetCurrentServerInputOptions SetCurrentServerInputOptionsForRuntime0280 *server.SetCurrentServerInputOptions SetCurrentServerInputOptionsForRuntimeLatest *server.SetCurrentServerInputOptions + SetCurrentServerInputOptionsForRuntime090 *server.SetCurrentServerInputOptions // GetServer Input Options GetServerInputOptionsForRuntimeLatest *server.GetServerInputOptions + GetServerInputOptionsForRuntime090 *server.GetServerInputOptions GetServerInputOptionsForRuntime0280 *server.GetServerInputOptions GetServerInputOptionsForRuntime0254 *server.GetServerInputOptions GetServerInputOptionsForRuntime0116 *server.GetServerInputOptions GetServerTwoInputOptionsForRuntimeLatest *server.GetServerInputOptions + GetServerTwoInputOptionsForRuntime090 *server.GetServerInputOptions GetServerTwoInputOptionsForRuntime0280 *server.GetServerInputOptions GetServerTwoInputOptionsForRuntime0254 *server.GetServerInputOptions GetServerTwoInputOptionsForRuntime0116 *server.GetServerInputOptions @@ -53,19 +58,23 @@ type Helper struct { GetServerOutputOptionsForRuntime0254 *server.GetServerOutputOptions GetServerOutputOptionsForRuntime0280 *server.GetServerOutputOptions GetServerOutputOptionsForRuntimeLatest *server.GetServerOutputOptions + GetServerOutputOptionsForRuntime090 *server.GetServerOutputOptions GetServerTwoOutputOptionsForRuntime0116 *server.GetServerOutputOptions GetServerTwoOutputOptionsForRuntime0254 *server.GetServerOutputOptions GetServerTwoOutputOptionsForRuntime0280 *server.GetServerOutputOptions GetServerTwoOutputOptionsForRuntimeLatest *server.GetServerOutputOptions + GetServerTwoOutputOptionsForRuntime090 *server.GetServerOutputOptions // GetServer Output Options with expected error GetServerOutputOptionsForRuntimeLatestWithError *server.GetServerOutputOptions + GetServerOutputOptionsForRuntime090WithError *server.GetServerOutputOptions GetServerOutputOptionsForRuntime0280WithError *server.GetServerOutputOptions GetServerOutputOptionsForRuntime0254WithError *server.GetServerOutputOptions GetServerOutputOptionsForRuntime0116WithError *server.GetServerOutputOptions GetServerTwoOutputOptionsForRuntimeLatestWithError *server.GetServerOutputOptions + GetServerTwoOutputOptionsForRuntime090WithError *server.GetServerOutputOptions GetServerTwoOutputOptionsForRuntime0280WithError *server.GetServerOutputOptions // GetCurrentServer Input Options @@ -73,15 +82,18 @@ type Helper struct { GetCurrentServerInputOptionsForRuntime0254 *server.GetCurrentServerInputOptions GetCurrentServerInputOptionsForRuntime0280 *server.GetCurrentServerInputOptions GetCurrentServerInputOptionsForRuntimeLatest *server.GetCurrentServerInputOptions + GetCurrentServerInputOptionsForRuntime090 *server.GetCurrentServerInputOptions // GetCurrentServer Output Options GetCurrentServerOutputOptionsForRuntime0116 *server.GetCurrentServerOutputOptions GetCurrentServerOutputOptionsForRuntime0254 *server.GetCurrentServerOutputOptions GetCurrentServerOutputOptionsForRuntime0280 *server.GetCurrentServerOutputOptions + GetCurrentServerOutputOptionsForRuntime090 *server.GetCurrentServerOutputOptions GetCurrentServerOutputOptionsForRuntimeLatest *server.GetCurrentServerOutputOptions // GetCurrentServer Output Options with expected error GetCurrentServerOutputOptionsForRuntimeLatestWithError *server.GetCurrentServerOutputOptions + GetCurrentServerOutputOptionsForRuntime090WithError *server.GetCurrentServerOutputOptions GetCurrentServerOutputOptionsForRuntime0280WithError *server.GetCurrentServerOutputOptions GetCurrentServerOutputOptionsForRuntime0254WithError *server.GetCurrentServerOutputOptions GetCurrentServerOutputOptionsForRuntime0116WithError *server.GetCurrentServerOutputOptions @@ -89,29 +101,35 @@ type Helper struct { // DeleteServer Input Options DeleteServerInputOptionsForRuntime0254 *server.DeleteServerInputOptions DeleteServerInputOptionsForRuntime0280 *server.DeleteServerInputOptions + DeleteServerInputOptionsForRuntime090 *server.DeleteServerInputOptions DeleteServerInputOptionsForRuntimeLatest *server.DeleteServerInputOptions DeleteServerInputOptionsForRuntime0116 *server.DeleteServerInputOptions // DeleteServer Output Options with expected error DeleteServerOutputOptionsForRuntime0280WithError *server.DeleteServerOutputOptions DeleteServerOutputOptionsForRuntimeLatestWithError *server.DeleteServerOutputOptions + DeleteServerOutputOptionsForRuntime090WithError *server.DeleteServerOutputOptions // RemoveCurrentServer Input Options RemoveCurrentServerInputOptionsForRuntime0280 *server.RemoveCurrentServerInputOptions RemoveCurrentServerInputOptionsForRuntimeLatest *server.RemoveCurrentServerInputOptions + RemoveCurrentServerInputOptionsForRuntime090 *server.RemoveCurrentServerInputOptions // RemoveCurrentServer Output Options with expected error RemoveCurrentServerOutputOptionsForRuntimeLatestWithError *server.RemoveCurrentServerOutputOptions + RemoveCurrentServerOutputOptionsForRuntime090WithError *server.RemoveCurrentServerOutputOptions RemoveCurrentServerOutputOptionsForRuntime0280WithError *server.RemoveCurrentServerOutputOptions // Server API Commands // SetServer API Commands SetServerCmdForRuntimeLatest *core.Command + SetServerCmdForRuntime090 *core.Command SetServerCmdForRuntime0280 *core.Command SetServerCmdForRuntime0254 *core.Command SetServerCmdForRuntime0116 *core.Command SetServerTwoCmdForRuntimeLatest *core.Command + SetServerTwoCmdForRuntime090 *core.Command SetServerTwoCmdForRuntime0280 *core.Command SetServerTwoCmdForRuntime0254 *core.Command SetServerTwoCmdForRuntime0116 *core.Command @@ -120,34 +138,41 @@ type Helper struct { SetCurrentServerCmdForRuntime0116 *core.Command SetCurrentServerCmdForRuntime0254 *core.Command SetCurrentServerCmdForRuntime0280 *core.Command + SetCurrentServerCmdForRuntime090 *core.Command SetCurrentServerCmdForRuntimeLatest *core.Command // GetServer API Commands GetServerCmdForRuntimeLatest *core.Command + GetServerCmdForRuntime090 *core.Command GetServerCmdForRuntime0280 *core.Command GetServerCmdForRuntime0254 *core.Command GetServerCmdForRuntime0116 *core.Command GetServerTwoCmdForRuntimeLatest *core.Command + GetServerTwoCmdForRuntime090 *core.Command GetServerTwoCmdForRuntime0280 *core.Command GetServerTwoCmdForRuntime0254 *core.Command GetServerTwoCmdForRuntime0116 *core.Command GetServerCmdForRuntimeLatestWithError *core.Command + GetServerCmdForRuntime090WithError *core.Command GetServerCmdForRuntime0280WithError *core.Command GetServerCmdForRuntime0254WithError *core.Command GetServerCmdForRuntime0116WithError *core.Command GetServerTwoCmdForRuntimeLatestWithError *core.Command + GetServerTwoCmdForRuntime090WithError *core.Command GetServerTwoCmdForRuntime0280WithError *core.Command // GetCurrentServer API Commands GetCurrentServerCmdForRuntimeLatest *core.Command + GetCurrentServerCmdForRuntime090 *core.Command GetCurrentServerCmdForRuntime0280 *core.Command GetCurrentServerCmdForRuntime0254 *core.Command GetCurrentServerCmdForRuntime0116 *core.Command GetCurrentServerCmdForRuntimeLatestWithError *core.Command + GetCurrentServerCmdForRuntime090WithError *core.Command GetCurrentServerCmdForRuntime0280WithError *core.Command GetCurrentServerCmdForRuntime0254WithError *core.Command GetCurrentServerCmdForRuntime0116WithError *core.Command @@ -156,16 +181,20 @@ type Helper struct { DeleteServerCmdForRuntime0116 *core.Command DeleteServerCmdForRuntime0280 *core.Command DeleteServerCmdForRuntime0254 *core.Command + DeleteServerCmdForRuntime090 *core.Command DeleteServerCmdForRuntimeLatest *core.Command DeleteServerCmdForRuntime0280WithError *core.Command + DeleteServerCmdForRuntime090WithError *core.Command DeleteServerCmdForRuntimeLatestWithError *core.Command // RemoveCurrentServer API Commands RemoveCurrentServerCmdForRuntime0280 *core.Command + RemoveCurrentServerCmdForRuntime090 *core.Command RemoveCurrentServerCmdForRuntimeLatest *core.Command RemoveCurrentServerCmdForRuntimeLatestWithError *core.Command + RemoveCurrentServerCmdForRuntime090WithError *core.Command RemoveCurrentServerCmdForRuntime0280WithError *core.Command } @@ -198,7 +227,9 @@ func (b *Helper) SetupRemoveCurrentServerTestInputAndOutputOptions() { b.RemoveCurrentServerInputOptionsForRuntime0280 = DefaultRemoveCurrentServerInputOptions(core.Version0280) b.RemoveCurrentServerInputOptionsForRuntimeLatest = DefaultRemoveCurrentServerInputOptions(core.VersionLatest) + b.RemoveCurrentServerInputOptionsForRuntime090 = DefaultRemoveCurrentServerInputOptions(core.Version090) + b.RemoveCurrentServerOutputOptionsForRuntime090WithError = DefaultRemoveCurrentServerOutputOptionsWithError(core.Version090, common.CompatibilityTestOne) b.RemoveCurrentServerOutputOptionsForRuntimeLatestWithError = DefaultRemoveCurrentServerOutputOptionsWithError(core.VersionLatest, common.CompatibilityTestOne) b.RemoveCurrentServerOutputOptionsForRuntime0280WithError = DefaultRemoveCurrentServerOutputOptionsWithError(core.Version0280, common.CompatibilityTestOne) } @@ -216,10 +247,18 @@ func (b *Helper) CreateRemoveCurrentServerAPICommands() { gomega.Expect(err).To(gomega.BeNil()) b.RemoveCurrentServerCmdForRuntimeLatest = removeCurrentServerCmdForRuntimeLatest + removeCurrentServerCmdForRuntime090, err := server.NewRemoveCurrentServerCommand(b.RemoveCurrentServerInputOptionsForRuntime090, nil) + gomega.Expect(err).To(gomega.BeNil()) + b.RemoveCurrentServerCmdForRuntime090 = removeCurrentServerCmdForRuntime090 + removeCurrentServerCmdForRuntimeLatestWithError, err := server.NewRemoveCurrentServerCommand(b.RemoveCurrentServerInputOptionsForRuntimeLatest, b.RemoveCurrentServerOutputOptionsForRuntimeLatestWithError) gomega.Expect(err).To(gomega.BeNil()) b.RemoveCurrentServerCmdForRuntimeLatestWithError = removeCurrentServerCmdForRuntimeLatestWithError + removeCurrentServerCmdForRuntime090WithError, err := server.NewRemoveCurrentServerCommand(b.RemoveCurrentServerInputOptionsForRuntime090, b.RemoveCurrentServerOutputOptionsForRuntime090WithError) + gomega.Expect(err).To(gomega.BeNil()) + b.RemoveCurrentServerCmdForRuntime090WithError = removeCurrentServerCmdForRuntime090WithError + removeCurrentServerCmdForRuntime0280WithError, err := server.NewRemoveCurrentServerCommand(b.RemoveCurrentServerInputOptionsForRuntime0280, b.RemoveCurrentServerOutputOptionsForRuntime0280WithError) gomega.Expect(err).To(gomega.BeNil()) b.RemoveCurrentServerCmdForRuntime0280WithError = removeCurrentServerCmdForRuntime0280WithError @@ -233,10 +272,12 @@ func (b *Helper) SetupDeleteServerTestInputAndOutputOptions() { b.DeleteServerInputOptionsForRuntime0116 = DefaultDeleteServerInputOptions(core.Version0116, common.CompatibilityTestOne) b.DeleteServerInputOptionsForRuntime0280 = DefaultDeleteServerInputOptions(core.Version0280, common.CompatibilityTestOne) b.DeleteServerInputOptionsForRuntime0254 = DefaultDeleteServerInputOptions(core.Version0254, common.CompatibilityTestOne) + b.DeleteServerInputOptionsForRuntime090 = DefaultDeleteServerInputOptions(core.Version090, common.CompatibilityTestOne) b.DeleteServerInputOptionsForRuntimeLatest = DefaultDeleteServerInputOptions(core.VersionLatest, common.CompatibilityTestOne) b.DeleteServerOutputOptionsForRuntime0280WithError = DefaultDeleteServerOutputOptionsWithError(core.Version0280, common.CompatibilityTestOne) b.DeleteServerOutputOptionsForRuntimeLatestWithError = DefaultDeleteServerOutputOptionsWithError(core.VersionLatest, common.CompatibilityTestOne) + b.DeleteServerOutputOptionsForRuntime090WithError = DefaultDeleteServerOutputOptionsWithError(core.Version090, common.CompatibilityTestOne) } // CreateDeleteServerAPICommands sets api commands for DeleteServer API @@ -248,6 +289,10 @@ func (b *Helper) CreateDeleteServerAPICommands() { gomega.Expect(err).To(gomega.BeNil()) b.DeleteServerCmdForRuntimeLatest = deleteServerCmdForRuntimeLatest + deleteServerCmdForRuntime090, err := server.NewDeleteServerCommand(b.DeleteServerInputOptionsForRuntime090, nil) + gomega.Expect(err).To(gomega.BeNil()) + b.DeleteServerCmdForRuntime090 = deleteServerCmdForRuntime090 + deleteServerCmdForRuntime0280, err := server.NewDeleteServerCommand(b.DeleteServerInputOptionsForRuntime0280, nil) gomega.Expect(err).To(gomega.BeNil()) b.DeleteServerCmdForRuntime0280 = deleteServerCmdForRuntime0280 @@ -267,6 +312,10 @@ func (b *Helper) CreateDeleteServerAPICommands() { deleteServerCmdForRuntimeLatestWithError, err := server.NewDeleteServerCommand(b.DeleteServerInputOptionsForRuntimeLatest, b.DeleteServerOutputOptionsForRuntimeLatestWithError) gomega.Expect(err).To(gomega.BeNil()) b.DeleteServerCmdForRuntimeLatestWithError = deleteServerCmdForRuntimeLatestWithError + + deleteServerCmdForRuntime090WithError, err := server.NewDeleteServerCommand(b.DeleteServerInputOptionsForRuntime090, b.DeleteServerOutputOptionsForRuntime090WithError) + gomega.Expect(err).To(gomega.BeNil()) + b.DeleteServerCmdForRuntime090WithError = deleteServerCmdForRuntime090WithError } // SetupGetServerTestInputAndOutputOptions sets input and output options for GetServer API @@ -275,11 +324,15 @@ func (b *Helper) SetupGetServerTestInputAndOutputOptions() { ginkgo.By("Setup Input and Output Options for GetServer") b.GetServerInputOptionsForRuntimeLatest = DefaultGetServerInputOptions(core.VersionLatest, common.CompatibilityTestOne) + b.GetServerInputOptionsForRuntime090 = DefaultGetServerInputOptions(core.Version090, common.CompatibilityTestOne) + b.GetServerInputOptionsForRuntime0280 = DefaultGetServerInputOptions(core.Version0280, common.CompatibilityTestOne) b.GetServerInputOptionsForRuntime0254 = DefaultGetServerInputOptions(core.Version0254, common.CompatibilityTestOne) b.GetServerInputOptionsForRuntime0116 = DefaultGetServerInputOptions(core.Version0116, common.CompatibilityTestOne) b.GetServerTwoInputOptionsForRuntimeLatest = DefaultGetServerInputOptions(core.VersionLatest, common.CompatibilityTestTwo) + b.GetServerTwoInputOptionsForRuntime090 = DefaultGetServerInputOptions(core.Version090, common.CompatibilityTestTwo) + b.GetServerTwoInputOptionsForRuntime0280 = DefaultGetServerInputOptions(core.Version0280, common.CompatibilityTestTwo) b.GetServerTwoInputOptionsForRuntime0254 = DefaultGetServerInputOptions(core.Version0254, common.CompatibilityTestTwo) b.GetServerTwoInputOptionsForRuntime0116 = DefaultGetServerInputOptions(core.Version0116, common.CompatibilityTestTwo) @@ -287,23 +340,33 @@ func (b *Helper) SetupGetServerTestInputAndOutputOptions() { b.GetServerOutputOptionsForRuntime0280 = DefaultGetServerOutputOptions(core.Version0280, common.CompatibilityTestOne) b.GetServerOutputOptionsForRuntime0254 = DefaultGetServerOutputOptions(core.Version0254, common.CompatibilityTestOne) b.GetServerOutputOptionsForRuntimeLatest = DefaultGetServerOutputOptions(core.VersionLatest, common.CompatibilityTestOne) + b.GetServerOutputOptionsForRuntime090 = DefaultGetServerOutputOptions(core.Version090, common.CompatibilityTestOne) + b.GetServerOutputOptionsForRuntime0116 = DefaultGetServerOutputOptions(core.Version0116, common.CompatibilityTestOne) b.GetServerTwoOutputOptionsForRuntimeLatest = DefaultGetServerOutputOptions(core.VersionLatest, common.CompatibilityTestTwo) + b.GetServerTwoOutputOptionsForRuntime090 = DefaultGetServerOutputOptions(core.Version090, common.CompatibilityTestTwo) + b.GetServerTwoOutputOptionsForRuntime0280 = DefaultGetServerOutputOptions(core.Version0280, common.CompatibilityTestTwo) b.GetServerTwoOutputOptionsForRuntime0254 = DefaultGetServerOutputOptions(core.Version0254, common.CompatibilityTestTwo) b.GetServerTwoOutputOptionsForRuntime0116 = DefaultGetServerOutputOptions(core.Version0116, common.CompatibilityTestTwo) b.GetServerOutputOptionsForRuntimeLatestWithError = DefaultGetServerOutputOptionsWithError(core.VersionLatest, common.CompatibilityTestOne) + b.GetServerOutputOptionsForRuntime090WithError = DefaultGetServerOutputOptionsWithError(core.Version090, common.CompatibilityTestOne) + b.GetServerOutputOptionsForRuntime0280WithError = DefaultGetServerOutputOptionsWithError(core.Version0280, common.CompatibilityTestOne) b.GetServerOutputOptionsForRuntime0254WithError = DefaultGetServerOutputOptionsWithError(core.Version0254, common.CompatibilityTestOne) b.GetServerOutputOptionsForRuntime0116WithError = DefaultGetServerOutputOptionsWithError(core.Version0116, common.CompatibilityTestOne) b.GetServerTwoOutputOptionsForRuntimeLatestWithError = DefaultGetServerOutputOptionsWithError(core.VersionLatest, common.CompatibilityTestTwo) + b.GetServerTwoOutputOptionsForRuntime090WithError = DefaultGetServerOutputOptionsWithError(core.Version090, common.CompatibilityTestTwo) + b.GetServerTwoOutputOptionsForRuntime0280WithError = DefaultGetServerOutputOptionsWithError(core.Version0280, common.CompatibilityTestTwo) } // CreateGetServerAPICommands sets api commands for GetServer API +// +//nolint:funlen func (b *Helper) CreateGetServerAPICommands() { // Create GetServer Commands with input and output options ginkgo.By("Create GetServer API Commands") @@ -312,6 +375,10 @@ func (b *Helper) CreateGetServerAPICommands() { gomega.Expect(err).To(gomega.BeNil()) b.GetServerCmdForRuntimeLatest = getServerCmdForRuntimeLatest + getServerCmdForRuntime090, err := server.NewGetServerCommand(b.GetServerInputOptionsForRuntime090, b.GetServerOutputOptionsForRuntime090) + gomega.Expect(err).To(gomega.BeNil()) + b.GetServerCmdForRuntime090 = getServerCmdForRuntime090 + getServerCmdForRuntime0280, err := server.NewGetServerCommand(b.GetServerInputOptionsForRuntime0280, b.GetServerOutputOptionsForRuntime0280) gomega.Expect(err).To(gomega.BeNil()) b.GetServerCmdForRuntime0280 = getServerCmdForRuntime0280 @@ -328,6 +395,10 @@ func (b *Helper) CreateGetServerAPICommands() { gomega.Expect(err).To(gomega.BeNil()) b.GetServerTwoCmdForRuntimeLatest = getServerTwoCmdForRuntimeLatest + getServerTwoCmdForRuntime090, err := server.NewGetServerCommand(b.GetServerTwoInputOptionsForRuntime090, b.GetServerTwoOutputOptionsForRuntime090) + gomega.Expect(err).To(gomega.BeNil()) + b.GetServerTwoCmdForRuntime090 = getServerTwoCmdForRuntime090 + getServerTwoCmdForRuntime0280, err := server.NewGetServerCommand(b.GetServerTwoInputOptionsForRuntime0280, b.GetServerTwoOutputOptionsForRuntime0280) gomega.Expect(err).To(gomega.BeNil()) b.GetServerTwoCmdForRuntime0280 = getServerTwoCmdForRuntime0280 @@ -344,6 +415,10 @@ func (b *Helper) CreateGetServerAPICommands() { gomega.Expect(err).To(gomega.BeNil()) b.GetServerCmdForRuntimeLatestWithError = getServerCmdForRuntimeLatestWithError + getServerCmdForRuntime090WithError, err := server.NewGetServerCommand(b.GetServerInputOptionsForRuntime090, b.GetServerOutputOptionsForRuntime090WithError) + gomega.Expect(err).To(gomega.BeNil()) + b.GetServerCmdForRuntime090WithError = getServerCmdForRuntime090WithError + getServerCmdForRuntime0280WithError, err := server.NewGetServerCommand(b.GetServerInputOptionsForRuntime0280, b.GetServerOutputOptionsForRuntime0280WithError) gomega.Expect(err).To(gomega.BeNil()) b.GetServerCmdForRuntime0280WithError = getServerCmdForRuntime0280WithError @@ -360,6 +435,10 @@ func (b *Helper) CreateGetServerAPICommands() { gomega.Expect(err).To(gomega.BeNil()) b.GetServerTwoCmdForRuntimeLatestWithError = getServerTwoCmdForRuntimeLatestWithError + getServerTwoCmdForRuntime090WithError, err := server.NewGetServerCommand(b.GetServerTwoInputOptionsForRuntime090, b.GetServerTwoOutputOptionsForRuntime090WithError) + gomega.Expect(err).To(gomega.BeNil()) + b.GetServerTwoCmdForRuntime090WithError = getServerTwoCmdForRuntime090WithError + getServerTwoCmdForRuntime0280WithError, err := server.NewGetServerCommand(b.GetServerTwoInputOptionsForRuntime0280, b.GetServerTwoOutputOptionsForRuntime0280WithError) gomega.Expect(err).To(gomega.BeNil()) b.GetServerTwoCmdForRuntime0280WithError = getServerTwoCmdForRuntime0280WithError @@ -371,6 +450,9 @@ func (b *Helper) SetupGetCurrentServerTestInputAndOutputOptions() { ginkgo.By("Setup Input and Output Options for GetCurrentServer") b.GetCurrentServerInputOptionsForRuntimeLatest = DefaultGetCurrentServerInputOptions(core.VersionLatest) + + b.GetCurrentServerInputOptionsForRuntime090 = DefaultGetCurrentServerInputOptions(core.Version090) + b.GetCurrentServerInputOptionsForRuntime0280 = DefaultGetCurrentServerInputOptions(core.Version0280) b.GetCurrentServerInputOptionsForRuntime0254 = DefaultGetCurrentServerInputOptions(core.Version0254) b.GetCurrentServerInputOptionsForRuntime0116 = DefaultGetCurrentServerInputOptions(core.Version0116) @@ -378,9 +460,13 @@ func (b *Helper) SetupGetCurrentServerTestInputAndOutputOptions() { b.GetCurrentServerOutputOptionsForRuntime0280 = DefaultGetCurrentServerOutputOptions(core.Version0280, common.CompatibilityTestOne) b.GetCurrentServerOutputOptionsForRuntime0254 = DefaultGetCurrentServerOutputOptions(core.Version0254, common.CompatibilityTestOne) b.GetCurrentServerOutputOptionsForRuntimeLatest = DefaultGetCurrentServerOutputOptions(core.VersionLatest, common.CompatibilityTestOne) + b.GetCurrentServerOutputOptionsForRuntime090 = DefaultGetCurrentServerOutputOptions(core.Version090, common.CompatibilityTestOne) + b.GetCurrentServerOutputOptionsForRuntime0116 = DefaultGetCurrentServerOutputOptions(core.Version0116, common.CompatibilityTestOne) b.GetCurrentServerOutputOptionsForRuntimeLatestWithError = DefaultGetCurrentServerOutputOptionsWithError(core.VersionLatest) + b.GetCurrentServerOutputOptionsForRuntime090WithError = DefaultGetCurrentServerOutputOptionsWithError(core.Version090) + b.GetCurrentServerOutputOptionsForRuntime0280WithError = DefaultGetCurrentServerOutputOptionsWithError(core.Version0280) b.GetCurrentServerOutputOptionsForRuntime0254WithError = DefaultGetCurrentServerOutputOptionsWithError(core.Version0254) b.GetCurrentServerOutputOptionsForRuntime0116WithError = DefaultGetCurrentServerOutputOptionsWithError(core.Version0116) @@ -395,6 +481,10 @@ func (b *Helper) CreateGetCurrentServerAPICommands() { gomega.Expect(err).To(gomega.BeNil()) b.GetCurrentServerCmdForRuntimeLatest = getCurrentServerCmdForRuntimeLatest + getCurrentServerCmdForRuntime090, err := server.NewGetCurrentServerCommand(b.GetCurrentServerInputOptionsForRuntime090, b.GetCurrentServerOutputOptionsForRuntime090) + gomega.Expect(err).To(gomega.BeNil()) + b.GetCurrentServerCmdForRuntime090 = getCurrentServerCmdForRuntime090 + getCurrentServerCmdForRuntime0280, err := server.NewGetCurrentServerCommand(b.GetCurrentServerInputOptionsForRuntime0280, b.GetCurrentServerOutputOptionsForRuntime0280) gomega.Expect(err).To(gomega.BeNil()) b.GetCurrentServerCmdForRuntime0280 = getCurrentServerCmdForRuntime0280 @@ -411,6 +501,10 @@ func (b *Helper) CreateGetCurrentServerAPICommands() { gomega.Expect(err).To(gomega.BeNil()) b.GetCurrentServerCmdForRuntimeLatestWithError = getCurrentServerCmdForRuntimeLatestWithError + getCurrentServerCmdForRuntime090WithError, err := server.NewGetCurrentServerCommand(b.GetCurrentServerInputOptionsForRuntime090, b.GetCurrentServerOutputOptionsForRuntime090WithError) + gomega.Expect(err).To(gomega.BeNil()) + b.GetCurrentServerCmdForRuntime090WithError = getCurrentServerCmdForRuntime090WithError + getCurrentServerCmdForRuntime0280WithError, err := server.NewGetCurrentServerCommand(b.GetCurrentServerInputOptionsForRuntime0280, b.GetCurrentServerOutputOptionsForRuntime0280WithError) gomega.Expect(err).To(gomega.BeNil()) b.GetCurrentServerCmdForRuntime0280WithError = getCurrentServerCmdForRuntime0280WithError @@ -430,6 +524,8 @@ func (b *Helper) SetupSetCurrentServerTestInputAndOutputOptions() { ginkgo.By("Setup Input and Output Options for SetCurrentServer") b.SetCurrentServerInputOptionsForRuntimeLatest = DefaultSetCurrentServerInputOptions(core.VersionLatest, common.CompatibilityTestOne) + b.SetCurrentServerInputOptionsForRuntime090 = DefaultSetCurrentServerInputOptions(core.Version090, common.CompatibilityTestOne) + b.SetCurrentServerInputOptionsForRuntime0280 = DefaultSetCurrentServerInputOptions(core.Version0280, common.CompatibilityTestOne) b.SetCurrentServerInputOptionsForRuntime0254 = DefaultSetCurrentServerInputOptions(core.Version0254, common.CompatibilityTestOne) b.SetCurrentServerInputOptionsForRuntime0116 = DefaultSetCurrentServerInputOptions(core.Version0116, common.CompatibilityTestOne) @@ -444,6 +540,10 @@ func (b *Helper) CreateSetCurrentServerAPICommands() { gomega.Expect(err).To(gomega.BeNil()) b.SetCurrentServerCmdForRuntimeLatest = setCurrentServerCmdForRuntimeLatest + setCurrentServerCmdForRuntime090, err := server.NewSetCurrentServerCommand(b.SetCurrentServerInputOptionsForRuntime090, nil) + gomega.Expect(err).To(gomega.BeNil()) + b.SetCurrentServerCmdForRuntime090 = setCurrentServerCmdForRuntime090 + setCurrentServerCmdForRuntime0280, err := server.NewSetCurrentServerCommand(b.SetCurrentServerInputOptionsForRuntime0280, nil) gomega.Expect(err).To(gomega.BeNil()) b.SetCurrentServerCmdForRuntime0280 = setCurrentServerCmdForRuntime0280 @@ -463,22 +563,33 @@ func (b *Helper) SetupSetServerTestInputAndOutputOptions() { ginkgo.By("Setup Input and Output Options for SetServer") b.SetServerInputOptionsForRuntimeLatest = DefaultSetServerInputOptions(core.VersionLatest, common.CompatibilityTestOne) + + b.SetServerInputOptionsForRuntime090 = DefaultSetServerInputOptions(core.Version090, common.CompatibilityTestOne) + b.SetServerInputOptionsForRuntime0280 = DefaultSetServerInputOptions(core.Version0280, common.CompatibilityTestOne) b.SetServerInputOptionsForRuntime0254 = DefaultSetServerInputOptions(core.Version0254, common.CompatibilityTestOne) b.SetServerInputOptionsForRuntime0116 = DefaultSetServerInputOptions(core.Version0116, common.CompatibilityTestOne) b.SetServerTwoInputOptionsForRuntimeLatest = DefaultSetServerInputOptions(core.VersionLatest, common.CompatibilityTestTwo) + + b.SetServerTwoInputOptionsForRuntime090 = DefaultSetServerInputOptions(core.Version090, common.CompatibilityTestTwo) + b.SetServerTwoInputOptionsForRuntime0280 = DefaultSetServerInputOptions(core.Version0280, common.CompatibilityTestTwo) b.SetServerTwoInputOptionsForRuntime0254 = DefaultSetServerInputOptions(core.Version0254, common.CompatibilityTestTwo) b.SetServerTwoInputOptionsForRuntime0116 = DefaultSetServerInputOptions(core.Version0116, common.CompatibilityTestTwo) // Input and Output Parameters for SetServer b.SetServerInputOptionsForRuntimeLatest = DefaultSetServerInputOptions(core.VersionLatest, common.CompatibilityTestOne) + + b.SetServerInputOptionsForRuntime090 = DefaultSetServerInputOptions(core.Version090, common.CompatibilityTestOne) + b.SetServerInputOptionsForRuntime0280 = DefaultSetServerInputOptions(core.Version0280, common.CompatibilityTestOne) b.SetServerInputOptionsForRuntime0254 = DefaultSetServerInputOptions(core.Version0254, common.CompatibilityTestOne) b.SetServerInputOptionsForRuntime0116 = DefaultSetServerInputOptions(core.Version0116, common.CompatibilityTestOne) b.SetServerTwoInputOptionsForRuntimeLatest = DefaultSetServerInputOptions(core.VersionLatest, common.CompatibilityTestTwo) + b.SetServerTwoInputOptionsForRuntime090 = DefaultSetServerInputOptions(core.Version090, common.CompatibilityTestTwo) + b.SetServerTwoInputOptionsForRuntime0280 = DefaultSetServerInputOptions(core.Version0280, common.CompatibilityTestTwo) b.SetServerTwoInputOptionsForRuntime0254 = DefaultSetServerInputOptions(core.Version0254, common.CompatibilityTestTwo) b.SetServerTwoInputOptionsForRuntime0116 = DefaultSetServerInputOptions(core.Version0116, common.CompatibilityTestTwo) @@ -495,6 +606,10 @@ func (b *Helper) CreateSetServerAPICommands() { gomega.Expect(err).To(gomega.BeNil()) b.SetServerCmdForRuntimeLatest = setServerCmdForRuntimeLatest + setServerCmdForRuntime090, err := server.NewSetServerCommand(b.SetServerInputOptionsForRuntime090, nil) + gomega.Expect(err).To(gomega.BeNil()) + b.SetServerCmdForRuntime090 = setServerCmdForRuntime090 + setServerCmdForRuntime0254, err := server.NewSetServerCommand(b.SetServerInputOptionsForRuntime0254, nil) gomega.Expect(err).To(gomega.BeNil()) b.SetServerCmdForRuntime0254 = setServerCmdForRuntime0254 @@ -511,6 +626,10 @@ func (b *Helper) CreateSetServerAPICommands() { gomega.Expect(err).To(gomega.BeNil()) b.SetServerTwoCmdForRuntimeLatest = setServerTwoCmdForRuntimeLatest + setServerTwoCmdForRuntime090, err := server.NewSetServerCommand(b.SetServerTwoInputOptionsForRuntime090, nil) + gomega.Expect(err).To(gomega.BeNil()) + b.SetServerTwoCmdForRuntime090 = setServerTwoCmdForRuntime090 + setServerTwoCmdForRuntime0254, err := server.NewSetServerCommand(b.SetServerTwoInputOptionsForRuntime0254, nil) gomega.Expect(err).To(gomega.BeNil()) b.SetServerTwoCmdForRuntime0254 = setServerTwoCmdForRuntime0254 @@ -527,7 +646,7 @@ func (b *Helper) CreateSetServerAPICommands() { // DefaultSetServerInputOptions helper method to construct SetServer API input options func DefaultSetServerInputOptions(version core.RuntimeVersion, serverName string) *server.SetServerInputOptions { switch version { - case core.VersionLatest, core.Version0280, core.Version0254, core.Version0116: + case core.VersionLatest, core.Version090, core.Version0280, core.Version0254, core.Version0116: return &server.SetServerInputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ RuntimeVersion: version, @@ -558,7 +677,7 @@ func DefaultGetServerInputOptions(version core.RuntimeVersion, serverName string // DefaultGetServerOutputOptions helper method to construct GetServer API output options func DefaultGetServerOutputOptions(version core.RuntimeVersion, serverName string) *server.GetServerOutputOptions { switch version { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: return &server.GetServerOutputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ RuntimeVersion: version, @@ -592,7 +711,7 @@ func DefaultGetServerOutputOptions(version core.RuntimeVersion, serverName strin // DefaultGetServerOutputOptionsWithError helper method to construct GetServer API output options with error func DefaultGetServerOutputOptionsWithError(version core.RuntimeVersion, serverName string) *server.GetServerOutputOptions { switch version { - case core.VersionLatest, core.Version0280, core.Version0254, core.Version0116: + case core.VersionLatest, core.Version090, core.Version0280, core.Version0254, core.Version0116: return &server.GetServerOutputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ RuntimeVersion: core.VersionLatest, @@ -616,7 +735,7 @@ func DefaultSetCurrentServerInputOptions(version core.RuntimeVersion, serverName // DefaultGetCurrentServerInputOptions helper method to construct GetCurrentServer API input options func DefaultGetCurrentServerInputOptions(version core.RuntimeVersion) *server.GetCurrentServerInputOptions { switch version { - case core.VersionLatest, core.Version0280, core.Version0254, core.Version0116: + case core.VersionLatest, core.Version090, core.Version0280, core.Version0254, core.Version0116: return &server.GetCurrentServerInputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ RuntimeVersion: core.VersionLatest, @@ -629,7 +748,7 @@ func DefaultGetCurrentServerInputOptions(version core.RuntimeVersion) *server.Ge // DefaultGetCurrentServerOutputOptions helper method to construct GetCurrentServer API output options func DefaultGetCurrentServerOutputOptions(version core.RuntimeVersion, serverName string) *server.GetCurrentServerOutputOptions { switch version { - case core.VersionLatest, core.Version0254, core.Version0116: + case core.VersionLatest, core.Version090, core.Version0254, core.Version0116: return &server.GetCurrentServerOutputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ RuntimeVersion: version, @@ -664,7 +783,7 @@ func DefaultGetCurrentServerOutputOptions(version core.RuntimeVersion, serverNam // DefaultGetCurrentServerOutputOptionsWithError helper method to construct GetCurrentServer API output options with error func DefaultGetCurrentServerOutputOptionsWithError(version core.RuntimeVersion) *server.GetCurrentServerOutputOptions { switch version { - case core.VersionLatest, core.Version0280, core.Version0254, core.Version0116: + case core.VersionLatest, core.Version090, core.Version0280, core.Version0254, core.Version0116: return &server.GetCurrentServerOutputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ RuntimeVersion: version, @@ -678,7 +797,7 @@ func DefaultGetCurrentServerOutputOptionsWithError(version core.RuntimeVersion) // DefaultRemoveCurrentServerInputOptions helper method to construct RemoveCurrentServer API input options func DefaultRemoveCurrentServerInputOptions(version core.RuntimeVersion) *server.RemoveCurrentServerInputOptions { switch version { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: return &server.RemoveCurrentServerInputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ RuntimeVersion: version, @@ -692,7 +811,7 @@ func DefaultRemoveCurrentServerInputOptions(version core.RuntimeVersion) *server // DefaultRemoveCurrentServerOutputOptionsWithError helper method to construct RemoveCurrentServer API output option func DefaultRemoveCurrentServerOutputOptionsWithError(version core.RuntimeVersion, serverName string) *server.RemoveCurrentServerOutputOptions { switch version { - case core.VersionLatest, core.Version0280, core.Version0254, core.Version0116: + case core.VersionLatest, core.Version090, core.Version0280, core.Version0254, core.Version0116: return &server.RemoveCurrentServerOutputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ RuntimeVersion: version, @@ -716,7 +835,7 @@ func DefaultDeleteServerInputOptions(version core.RuntimeVersion, serverName str // DefaultDeleteServerOutputOptionsWithError helper method to construct DeleteServer API output options func DefaultDeleteServerOutputOptionsWithError(version core.RuntimeVersion, serverName string) *server.DeleteServerOutputOptions { switch version { - case core.VersionLatest, core.Version0280, core.Version0254, core.Version0116: + case core.VersionLatest, core.Version090, core.Version0280, core.Version0254, core.Version0116: return &server.DeleteServerOutputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ RuntimeVersion: version, diff --git a/test/compatibility/framework/context/context_commands_test.go b/test/compatibility/framework/context/context_commands_test.go index 16b522f6f..3f2c92ced 100644 --- a/test/compatibility/framework/context/context_commands_test.go +++ b/test/compatibility/framework/context/context_commands_test.go @@ -20,6 +20,41 @@ func TestNewSetContextCommand(t *testing.T) { cmd *core.Command err string }{ + { + &SetContextInputOptions{ + RuntimeAPIVersion: &core.RuntimeAPIVersion{ + RuntimeVersion: core.Version090, + }, + ContextOpts: &types.ContextOpts{ + Name: "compatibility-one", + Target: types.TargetK8s, + GlobalOpts: &types.GlobalServerOpts{ + Endpoint: "default-compatibility-test-endpoint", + }, + }, + }, nil, + &core.Command{ + APIs: []*core.API{ + { + Name: core.SetContextAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + "context": `name: compatibility-one +target: kubernetes +globalOpts: + endpoint: default-compatibility-test-endpoint +`, + "setCurrent": false, + }, + Output: &core.Output{ + ValidationStrategy: "", + Result: core.Success, + Content: "", + }, + }, + }, + }, "", + }, { &SetContextInputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ @@ -74,6 +109,45 @@ func TestNewGetContextCommand(t *testing.T) { cmd *core.Command err string }{ + { + &GetContextInputOptions{ + RuntimeAPIVersion: &core.RuntimeAPIVersion{ + RuntimeVersion: core.Version090, + }, + ContextName: "compatibility-one", + }, &GetContextOutputOptions{ + RuntimeAPIVersion: &core.RuntimeAPIVersion{ + RuntimeVersion: core.Version0280, + }, + ContextOpts: &types.ContextOpts{ + Name: "compatibility-one", + Target: types.TargetK8s, + GlobalOpts: &types.GlobalServerOpts{ + Endpoint: "default-compatibility-test-endpoint", + }, + }, + }, + &core.Command{ + APIs: []*core.API{ + { + Name: core.GetContextAPIName, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + "contextName": "compatibility-one", + }, + Output: &core.Output{ + ValidationStrategy: "", + Result: core.Success, + Content: `name: compatibility-one +target: kubernetes +globalOpts: + endpoint: default-compatibility-test-endpoint +`, + }, + }, + }, + }, "", + }, { &GetContextInputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ @@ -132,6 +206,30 @@ func TestNewDeleteContextCommand(t *testing.T) { cmd *core.Command err string }{ + { + &DeleteContextInputOptions{ + RuntimeAPIVersion: &core.RuntimeAPIVersion{ + RuntimeVersion: core.Version090, + }, + ContextName: "compatibility-one", + }, nil, + &core.Command{ + APIs: []*core.API{ + { + Name: core.DeleteContextAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + "contextName": "compatibility-one", + }, + Output: &core.Output{ + ValidationStrategy: "", + Result: core.Success, + Content: "", + }, + }, + }, + }, "", + }, { &DeleteContextInputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ @@ -175,6 +273,30 @@ func TestNewSetCurrentContextCommand(t *testing.T) { cmd *core.Command err string }{ + { + &SetCurrentContextInputOptions{ + RuntimeAPIVersion: &core.RuntimeAPIVersion{ + RuntimeVersion: core.Version090, + }, + ContextName: "compatibility-one", + }, nil, + &core.Command{ + APIs: []*core.API{ + { + Name: core.SetCurrentContextAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + "contextName": "compatibility-one", + }, + Output: &core.Output{ + ValidationStrategy: "", + Result: core.Success, + Content: "", + }, + }, + }, + }, "", + }, { &SetCurrentContextInputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ @@ -218,6 +340,45 @@ func TestNewGetCurrentContextCommand(t *testing.T) { cmd *core.Command err string }{ + { + &GetCurrentContextInputOptions{ + RuntimeAPIVersion: &core.RuntimeAPIVersion{ + RuntimeVersion: core.Version090, + }, + Target: types.TargetK8s, + }, &GetCurrentContextOutputOptions{ + RuntimeAPIVersion: &core.RuntimeAPIVersion{ + RuntimeVersion: core.Version0280, + }, + ContextOpts: &types.ContextOpts{ + Name: "compatibility-one", + Target: types.TargetK8s, + GlobalOpts: &types.GlobalServerOpts{ + Endpoint: "default-compatibility-test-endpoint", + }, + }, + }, + &core.Command{ + APIs: []*core.API{ + { + Name: core.GetCurrentContextAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Target: types.TargetK8s, + }, + Output: &core.Output{ + ValidationStrategy: "", + Result: core.Success, + Content: `name: compatibility-one +target: kubernetes +globalOpts: + endpoint: default-compatibility-test-endpoint +`, + }, + }, + }, + }, "", + }, { &GetCurrentContextInputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ @@ -276,6 +437,30 @@ func TestNewRemoveCurrentContextCommand(t *testing.T) { cmd *core.Command err string }{ + { + &RemoveCurrentContextInputOptions{ + RuntimeAPIVersion: &core.RuntimeAPIVersion{ + RuntimeVersion: core.Version090, + }, + Target: types.TargetK8s, + }, nil, + &core.Command{ + APIs: []*core.API{ + { + Name: core.RemoveCurrentContextAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Target: types.TargetK8s, + }, + Output: &core.Output{ + ValidationStrategy: "", + Result: core.Success, + Content: "", + }, + }, + }, + }, "", + }, { &RemoveCurrentContextInputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ diff --git a/test/compatibility/framework/context/context_validators.go b/test/compatibility/framework/context/context_validators.go index 0a24522e0..89bb03f5e 100644 --- a/test/compatibility/framework/context/context_validators.go +++ b/test/compatibility/framework/context/context_validators.go @@ -32,7 +32,7 @@ func (opts *SetContextInputOptions) Validate() (bool, error) { } switch opts.RuntimeVersion { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: if !opts.ValidName() { return false, fmt.Errorf("invalid 'name' for set context input options for the specified runtime version %v", opts.RuntimeVersion) } @@ -80,7 +80,7 @@ func (opts *GetContextOutputOptions) Validate() (bool, error) { } switch opts.RuntimeVersion { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: if !opts.ShouldNotIncludeContextType() { return false, fmt.Errorf("invalid get context output options for the specified runtime version contextType is not supported %v", opts.RuntimeVersion) } @@ -115,7 +115,7 @@ func (opts *GetCurrentContextInputOptions) Validate() (bool, error) { } switch opts.RuntimeVersion { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: if !opts.ShouldNotIncludeContextType() { return false, fmt.Errorf("invalid get current context input options for the specified runtime version contextType is not supported %v", opts.RuntimeVersion) } @@ -154,7 +154,7 @@ func (opts *GetCurrentContextOutputOptions) Validate() (bool, error) { var valid bool switch opts.RuntimeVersion { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: valid = opts.ContextOpts.ShouldNotIncludeContextType() if valid { return valid, nil diff --git a/test/compatibility/framework/envflags/env_validators.go b/test/compatibility/framework/envflags/env_validators.go index f422c101d..25252d393 100644 --- a/test/compatibility/framework/envflags/env_validators.go +++ b/test/compatibility/framework/envflags/env_validators.go @@ -18,7 +18,7 @@ func (opts *SetEnvInputOptions) Validate() (bool, error) { } switch opts.RuntimeVersion { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: if opts.Key == "" { return false, fmt.Errorf("invalid 'key' for SetEnvInputOptions for the specified runtime version %v", opts.RuntimeVersion) } @@ -39,7 +39,7 @@ func (opts *GetEnvInputOptions) Validate() (bool, error) { } switch opts.RuntimeVersion { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: if opts.Key == "" { return false, fmt.Errorf("invalid 'key' for GetEnvInputOptions for the specified runtime version %v", opts.RuntimeVersion) } @@ -57,7 +57,7 @@ func (opts *GetEnvConfigurationsOutputOptions) Validate() (bool, error) { } switch opts.RuntimeVersion { - case core.VersionLatest, core.Version0280, core.Version0254, core.Version0116: + case core.VersionLatest, core.Version090, core.Version0280, core.Version0254, core.Version0116: if opts.Envs == nil { return false, fmt.Errorf("invalid 'envs' for GetEnvConfigurationsOutputOptions for the specified runtime version %v", opts.RuntimeVersion) } @@ -74,7 +74,7 @@ func (opts *DeleteEnvInputOptions) Validate() (bool, error) { return false, err } switch opts.RuntimeVersion { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: if opts.Key == "" { return false, fmt.Errorf("invalid 'key' for DeleteEnvInputOptions for the specified runtime version %v", opts.RuntimeVersion) } diff --git a/test/compatibility/framework/featureflags/feature_validators.go b/test/compatibility/framework/featureflags/feature_validators.go index 94617a789..255b6a6fc 100644 --- a/test/compatibility/framework/featureflags/feature_validators.go +++ b/test/compatibility/framework/featureflags/feature_validators.go @@ -18,7 +18,7 @@ func (opts *SetFeatureInputOptions) Validate() (bool, error) { } switch opts.RuntimeVersion { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: if opts.Plugin == "" { return false, fmt.Errorf("invalid 'plugin' for set context input options for the specified runtime version %v", opts.RuntimeVersion) } @@ -42,7 +42,7 @@ func (opts *IsFeatureEnabledInputOptions) Validate() (bool, error) { } switch opts.RuntimeVersion { - case core.VersionLatest, core.Version0280, core.Version0254, core.Version0116: + case core.VersionLatest, core.Version090, core.Version0280, core.Version0254, core.Version0116: if opts.Plugin == "" { return false, fmt.Errorf("invalid 'plugin' for set context input options for the specified runtime version %v", opts.RuntimeVersion) } @@ -62,7 +62,7 @@ func (opts *DeleteFeatureInputOptions) Validate() (bool, error) { return false, err } switch opts.RuntimeVersion { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: if opts.Plugin == "" { return false, fmt.Errorf("invalid 'plugin' for set context input options for the specified runtime version %v", opts.RuntimeVersion) } diff --git a/test/compatibility/framework/legacyclientconfig/legacyclientconfig_options.go b/test/compatibility/framework/legacyclientconfig/legacyclientconfig_options.go index 9f5e1bda0..0441ba8d6 100644 --- a/test/compatibility/framework/legacyclientconfig/legacyclientconfig_options.go +++ b/test/compatibility/framework/legacyclientconfig/legacyclientconfig_options.go @@ -51,7 +51,7 @@ type CfgClientConfigArgsOption func(*CfgClientConfigArgs) func WithCLIDiscoverySources(version core.RuntimeVersion, sources []types.PluginDiscoveryOpts) CfgClientConfigArgsOption { return func(c *CfgClientConfigArgs) { switch version { - case core.VersionLatest: + case core.VersionLatest, core.Version090: c.ClientConfigOpts = &types.ClientConfigOpts{ CoreCliOptions: &types.CoreCliOptionsOpts{ DiscoverySources: sources, @@ -74,7 +74,7 @@ func WithDefaultCLIDiscoverySource(version core.RuntimeVersion) CfgClientConfigA defaultPluginDiscoverySource := clidiscoverysources.DefaultCLIDiscoverySourcePerVersion(version) return func(c *CfgClientConfigArgs) { switch version { - case core.VersionLatest: + case core.VersionLatest, core.Version090: c.ClientConfigOpts = &types.ClientConfigOpts{ CoreCliOptions: &types.CoreCliOptionsOpts{ DiscoverySources: []types.PluginDiscoveryOpts{ @@ -100,7 +100,7 @@ func WithDefaultCLIDiscoverySource(version core.RuntimeVersion) CfgClientConfigA func WithDefaultServer(version core.RuntimeVersion) CfgClientConfigArgsOption { return func(c *CfgClientConfigArgs) { switch version { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: c.ClientConfigOpts = &types.ClientConfigOpts{ KnownServers: []*types.ServerOpts{ { @@ -135,7 +135,7 @@ func WithDefaultServer(version core.RuntimeVersion) CfgClientConfigArgsOption { func WithDefaultContextAndServer(version core.RuntimeVersion) CfgClientConfigArgsOption { return func(c *CfgClientConfigArgs) { switch version { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: c.ClientConfigOpts = &types.ClientConfigOpts{ KnownServers: []*types.ServerOpts{ { diff --git a/test/compatibility/framework/metadata/metadata_validators.go b/test/compatibility/framework/metadata/metadata_validators.go index b9f673a6f..a4790d96d 100644 --- a/test/compatibility/framework/metadata/metadata_validators.go +++ b/test/compatibility/framework/metadata/metadata_validators.go @@ -18,7 +18,7 @@ func (opts *SetConfigMetadataPatchStrategyInputOptions) Validate() (bool, error) } switch opts.RuntimeVersion { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: if opts.Key == "" { return false, fmt.Errorf("invalid 'key' for SetConfigMetadataPatchStrategyInputOptions for the specified runtime version %v", opts.RuntimeVersion) } @@ -40,7 +40,7 @@ func (opts *SetConfigMetadataSettingInputOptions) Validate() (bool, error) { } switch opts.RuntimeVersion { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: if opts.Key == "" { return false, fmt.Errorf("invalid 'key' for SetConfigMetadataSettingInputOptions for the specified runtime version %v", opts.RuntimeVersion) } @@ -61,7 +61,7 @@ func (opts *GetMetadataOutputOptions) Validate() (bool, error) { } switch opts.RuntimeVersion { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: if opts.MetadataOpts != nil && opts.MetadataOpts.ConfigMetadata == nil && opts.MetadataOpts.ConfigMetadata.Settings == nil && opts.MetadataOpts.ConfigMetadata.PatchStrategy == nil { return false, fmt.Errorf("invalid 'key' for GetMetadataOutputOptions for the specified runtime version %v", opts.RuntimeVersion) } @@ -79,7 +79,7 @@ func (opts *GetConfigMetadataOutputOptions) Validate() (bool, error) { } switch opts.RuntimeVersion { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: if opts.ConfigMetadataOpts != nil && opts.ConfigMetadataOpts.Settings == nil && opts.ConfigMetadataOpts.PatchStrategy == nil { return false, fmt.Errorf("invalid 'key' for GetConfigMetadataOutputOptions for the specified runtime version %v", opts.RuntimeVersion) } @@ -97,7 +97,7 @@ func (opts *GetConfigMetadataPatchStrategyOutputOptions) Validate() (bool, error } switch opts.RuntimeVersion { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: if opts.PatchStrategy == nil { return false, fmt.Errorf("invalid 'key' for GetConfigMetadataPatchStrategyOutputOptions for the specified runtime version %v", opts.RuntimeVersion) } @@ -115,7 +115,7 @@ func (opts *GetConfigMetadataSettingsOutputOptions) Validate() (bool, error) { } switch opts.RuntimeVersion { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: if opts.MetadataSettings == nil { return false, fmt.Errorf("invalid 'key' for GetConfigMetadataSettingsOutputOptions for the specified runtime version %v", opts.RuntimeVersion) } @@ -133,7 +133,7 @@ func (opts *GetConfigMetadataSettingInputOptions) Validate() (bool, error) { } switch opts.RuntimeVersion { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: if opts.Key == "" { return false, fmt.Errorf("invalid 'key' for GetConfigMetadataSettingInputOptions for the specified runtime version %v", opts.RuntimeVersion) } @@ -151,7 +151,7 @@ func (opts *GetConfigMetadataSettingOutputOptions) Validate() (bool, error) { } switch opts.RuntimeVersion { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: if opts.Value == "" { return false, fmt.Errorf("invalid 'key' for GetConfigMetadataSettingOutputOptions for the specified runtime version %v", opts.RuntimeVersion) } @@ -169,7 +169,7 @@ func (opts *IsConfigMetadataSettingsEnabledInputOptions) Validate() (bool, error } switch opts.RuntimeVersion { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: if opts.Key == "" { return false, fmt.Errorf("invalid 'key' for IsConfigMetadataSettingsEnabledInputOptions for the specified runtime version %v", opts.RuntimeVersion) } @@ -186,7 +186,7 @@ func (opts *DeleteConfigMetadataSettingInputOptions) Validate() (bool, error) { return false, err } switch opts.RuntimeVersion { - case core.VersionLatest, core.Version0280: + case core.VersionLatest, core.Version090, core.Version0280: if opts.Key == "" { return false, fmt.Errorf("invalid 'key' for DeleteConfigMetadataSettingInputOptions for the specified runtime version %v", opts.RuntimeVersion) } diff --git a/test/compatibility/framework/server/server_commands_test.go b/test/compatibility/framework/server/server_commands_test.go index e192fa747..dda817d3e 100644 --- a/test/compatibility/framework/server/server_commands_test.go +++ b/test/compatibility/framework/server/server_commands_test.go @@ -20,6 +20,41 @@ func TestNewSetServerCommand(t *testing.T) { cmd *core.Command err string }{ + { + &SetServerInputOptions{ + RuntimeAPIVersion: &core.RuntimeAPIVersion{ + RuntimeVersion: core.Version090, + }, + ServerOpts: &types.ServerOpts{ + Name: "compatibility-one", + Type: types.ManagementClusterServerType, + GlobalOpts: &types.GlobalServerOpts{ + Endpoint: "default-compatibility-test-endpoint", + }, + }, + }, nil, + &core.Command{ + APIs: []*core.API{ + { + Name: core.SetServerAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Server: `name: compatibility-one +type: managementcluster +globalOpts: + endpoint: default-compatibility-test-endpoint +`, + "setCurrent": false, + }, + Output: &core.Output{ + ValidationStrategy: "", + Result: core.Success, + Content: "", + }, + }, + }, + }, "", + }, { &SetServerInputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ @@ -74,6 +109,45 @@ func TestNewGetServerCommand(t *testing.T) { cmd *core.Command err string }{ + { + &GetServerInputOptions{ + RuntimeAPIVersion: &core.RuntimeAPIVersion{ + RuntimeVersion: core.Version090, + }, + ServerName: "compatibility-one", + }, &GetServerOutputOptions{ + RuntimeAPIVersion: &core.RuntimeAPIVersion{ + RuntimeVersion: core.Version0280, + }, + ServerOpts: &types.ServerOpts{ + Name: "compatibility-one", + Type: types.ManagementClusterServerType, + GlobalOpts: &types.GlobalServerOpts{ + Endpoint: "default-compatibility-test-endpoint", + }, + }, + }, + &core.Command{ + APIs: []*core.API{ + { + Name: core.GetServerAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.ServerName: "compatibility-one", + }, + Output: &core.Output{ + ValidationStrategy: "", + Result: core.Success, + Content: `name: compatibility-one +type: managementcluster +globalOpts: + endpoint: default-compatibility-test-endpoint +`, + }, + }, + }, + }, "", + }, { &GetServerInputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ @@ -132,6 +206,30 @@ func TestNewDeleteServerCommand(t *testing.T) { cmd *core.Command err string }{ + { + &DeleteServerInputOptions{ + RuntimeAPIVersion: &core.RuntimeAPIVersion{ + RuntimeVersion: core.Version090, + }, + ServerName: "compatibility-one", + }, nil, + &core.Command{ + APIs: []*core.API{ + { + Name: core.DeleteServerAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.ServerName: "compatibility-one", + }, + Output: &core.Output{ + ValidationStrategy: "", + Result: core.Success, + Content: "", + }, + }, + }, + }, "", + }, { &DeleteServerInputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ @@ -175,6 +273,30 @@ func TestNewSetCurrentServerCommand(t *testing.T) { cmd *core.Command err string }{ + { + &SetCurrentServerInputOptions{ + RuntimeAPIVersion: &core.RuntimeAPIVersion{ + RuntimeVersion: core.Version090, + }, + ServerName: "compatibility-one", + }, nil, + &core.Command{ + APIs: []*core.API{ + { + Name: core.SetCurrentServerAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.ServerName: "compatibility-one", + }, + Output: &core.Output{ + ValidationStrategy: "", + Result: core.Success, + Content: "", + }, + }, + }, + }, "", + }, { &SetCurrentServerInputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ @@ -218,6 +340,42 @@ func TestNewGetCurrentServerCommand(t *testing.T) { cmd *core.Command err string }{ + { + &GetCurrentServerInputOptions{ + RuntimeAPIVersion: &core.RuntimeAPIVersion{ + RuntimeVersion: core.Version090, + }, + }, &GetCurrentServerOutputOptions{ + RuntimeAPIVersion: &core.RuntimeAPIVersion{ + RuntimeVersion: core.Version0280, + }, + ServerOpts: &types.ServerOpts{ + Name: "compatibility-one", + Type: types.ManagementClusterServerType, + GlobalOpts: &types.GlobalServerOpts{ + Endpoint: "default-compatibility-test-endpoint", + }, + }, + }, + &core.Command{ + APIs: []*core.API{ + { + Name: core.GetCurrentServerAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{}, + Output: &core.Output{ + ValidationStrategy: "", + Result: core.Success, + Content: `name: compatibility-one +type: managementcluster +globalOpts: + endpoint: default-compatibility-test-endpoint +`, + }, + }, + }, + }, "", + }, { &GetCurrentServerInputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ @@ -272,7 +430,30 @@ func TestNewRemoveCurrentServerCommand(t *testing.T) { outputOpts *RemoveCurrentServerOutputOptions cmd *core.Command err string - }{ + }{{ + &RemoveCurrentServerInputOptions{ + RuntimeAPIVersion: &core.RuntimeAPIVersion{ + RuntimeVersion: core.Version090, + }, + ServerName: "compatibility-one", + }, nil, + &core.Command{ + APIs: []*core.API{ + { + Name: core.RemoveCurrentServerAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.ServerName: "compatibility-one", + }, + Output: &core.Output{ + ValidationStrategy: "", + Result: core.Success, + Content: "", + }, + }, + }, + }, "", + }, { &RemoveCurrentServerInputOptions{ RuntimeAPIVersion: &core.RuntimeAPIVersion{ diff --git a/test/compatibility/framework/server/server_validators.go b/test/compatibility/framework/server/server_validators.go index dd91503ca..8a5f22996 100644 --- a/test/compatibility/framework/server/server_validators.go +++ b/test/compatibility/framework/server/server_validators.go @@ -20,7 +20,7 @@ func (opts *SetServerInputOptions) Validate() (bool, error) { } switch opts.RuntimeVersion { - case core.VersionLatest, core.Version0280, core.Version0254, core.Version0116: + case core.VersionLatest, core.Version090, core.Version0280, core.Version0254, core.Version0116: if !opts.ValidName() { return false, fmt.Errorf("invalid 'name' for set server input options for the specified runtime version %v", opts.RuntimeVersion) } diff --git a/test/compatibility/testplugins/runtime-test-plugin-v0_11_6/go.work.sum b/test/compatibility/testplugins/runtime-test-plugin-v0_11_6/go.work.sum new file mode 100644 index 000000000..6422b65ef --- /dev/null +++ b/test/compatibility/testplugins/runtime-test-plugin-v0_11_6/go.work.sum @@ -0,0 +1,2 @@ +github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= +github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= diff --git a/test/compatibility/testplugins/runtime-test-plugin-v0_25_4/go.work.sum b/test/compatibility/testplugins/runtime-test-plugin-v0_25_4/go.work.sum index d6cae600e..6422b65ef 100644 --- a/test/compatibility/testplugins/runtime-test-plugin-v0_25_4/go.work.sum +++ b/test/compatibility/testplugins/runtime-test-plugin-v0_25_4/go.work.sum @@ -1,1713 +1,2 @@ -bazil.org/fuse v0.0.0-20160811212531-371fbbdaa898/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8= -cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= -cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= -cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= -cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= -cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= -cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= -cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= -cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= -cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= -cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= -cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= -cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= -cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= -cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= -cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= -cloud.google.com/go v0.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg= -cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8= -cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0= -cloud.google.com/go v0.83.0/go.mod h1:Z7MJUsANfY0pYPdw0lbnivPx4/vhy/e2FEkSkF7vAVY= -cloud.google.com/go v0.84.0/go.mod h1:RazrYuxIK6Kb7YrzzhPoLmCVzl7Sup4NrbKPg8KHSUM= -cloud.google.com/go v0.87.0/go.mod h1:TpDYlFy7vuLzZMMZ+B6iRiELaY7z/gJPaqbMx6mlWcY= -cloud.google.com/go v0.90.0/go.mod h1:kRX0mNRHe0e2rC6oNakvwQqzyDmg57xJ+SZU1eT2aDQ= -cloud.google.com/go v0.93.3/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+YI= -cloud.google.com/go v0.94.1/go.mod h1:qAlAugsXlC+JWO+Bke5vCtc9ONxjQT3drlTTnAplMW4= -cloud.google.com/go v0.97.0/go.mod h1:GF7l59pYBVlXQIBLx3a761cZ41F9bBH3JUlihCt2Udc= -cloud.google.com/go v0.99.0/go.mod h1:w0Xx2nLzqWJPuozYQX+hFfCSI8WioryfRDzkoI/Y2ZA= -cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= -cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= -cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= -cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= -cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= -cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= -cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= -cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= -cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk= -cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= -cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= -cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= -cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= -cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= -cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= -cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= -cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= -cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= -cloud.google.com/go/storage v1.18.2/go.mod h1:AiIj7BWXyhO5gGVmYJ+S8tbkCx3yb0IMjua8Aw4naVM= -dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -github.com/Azure/azure-sdk-for-go v16.2.1+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-sdk-for-go v66.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= -github.com/Azure/go-ansiterm v0.0.0-20210608223527-2377c96fe795/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= -github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= -github.com/Azure/go-autorest v10.8.1+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= -github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= -github.com/Azure/go-autorest/autorest v0.11.1/go.mod h1:JFgpikqFJ/MleTTxwepExTKnFUKKszPS8UavbQYUMuw= -github.com/Azure/go-autorest/autorest v0.11.18/go.mod h1:dSiJPy22c3u0OtOKDNttNgqpNFY/GeWa7GH/Pz56QRA= -github.com/Azure/go-autorest/autorest v0.11.19/go.mod h1:dSiJPy22c3u0OtOKDNttNgqpNFY/GeWa7GH/Pz56QRA= -github.com/Azure/go-autorest/autorest v0.11.23/go.mod h1:BAWYUWGPEtKPzjVkp0Q6an0MJcJDsoh5Z1BFAEFs4Xs= -github.com/Azure/go-autorest/autorest/adal v0.9.0/go.mod h1:/c022QCutn2P7uY+/oQWWNcK9YU+MH96NgK+jErpbcg= -github.com/Azure/go-autorest/autorest/adal v0.9.5/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A= -github.com/Azure/go-autorest/autorest/adal v0.9.13/go.mod h1:W/MM4U6nLxnIskrw4UwWzlHfGjwUS50aOsc/I3yuU8M= -github.com/Azure/go-autorest/autorest/adal v0.9.14/go.mod h1:W/MM4U6nLxnIskrw4UwWzlHfGjwUS50aOsc/I3yuU8M= -github.com/Azure/go-autorest/autorest/adal v0.9.18/go.mod h1:XVVeme+LZwABT8K5Lc3hA4nAe8LDBVle26gTrguhhPQ= -github.com/Azure/go-autorest/autorest/azure/auth v0.5.10/go.mod h1:zQXYYNX9kXzRMrJNVXWUfNy38oPMF5/2TeZ4Wylc9fE= -github.com/Azure/go-autorest/autorest/azure/cli v0.4.2/go.mod h1:7qkJkT+j6b+hIpzMOwPChJhTqS8VbsqqgULzMNRugoM= -github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74= -github.com/Azure/go-autorest/autorest/mocks v0.4.0/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= -github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= -github.com/Azure/go-autorest/autorest/to v0.4.0/go.mod h1:fE8iZBn7LQR7zH/9XU2NcPR4o9jEImooCeWJcYV/zLE= -github.com/Azure/go-autorest/autorest/validation v0.3.1/go.mod h1:yhLgjC0Wda5DYXl6JAsWyUe4KVNffhoDhG0zVzUMo3E= -github.com/Azure/go-autorest/logger v0.2.0/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= -github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= -github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= -github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd/go.mod h1:64YHyfSL2R96J44Nlwm39UHepQbyR5q10x7iYa1ks2E= -github.com/MakeNowJust/heredoc v1.0.0/go.mod h1:mG5amYoWBHf8vpLOuehzbGGw0EHxpZZ6lCpQ4fNJ8LE= -github.com/Masterminds/goutils v1.1.1/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= -github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= -github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= -github.com/Masterminds/sprig/v3 v3.2.2/go.mod h1:UoaO7Yp8KlPnJIYWTFkMaqPUYKTfGFPhxNuwnnxkKlk= -github.com/Microsoft/go-winio v0.4.11/go.mod h1:VhR8bwka0BXejwEJY73c50VrPtXAaKcyvVC4A4RozmA= -github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA= -github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw= -github.com/Microsoft/go-winio v0.4.16-0.20201130162521-d1ffc52c7331/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0= -github.com/Microsoft/go-winio v0.4.16/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0= -github.com/Microsoft/go-winio v0.4.17-0.20210211115548-6eac466e5fa3/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= -github.com/Microsoft/go-winio v0.4.17-0.20210324224401-5516f17a5958/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= -github.com/Microsoft/go-winio v0.4.17/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= -github.com/Microsoft/go-winio v0.5.1/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= -github.com/Microsoft/hcsshim v0.8.6/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg= -github.com/Microsoft/hcsshim v0.8.7-0.20190325164909-8abdbb8205e4/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg= -github.com/Microsoft/hcsshim v0.8.7/go.mod h1:OHd7sQqRFrYd3RmSgbgji+ctCwkbq2wbEYNSzOYtcBQ= -github.com/Microsoft/hcsshim v0.8.9/go.mod h1:5692vkUqntj1idxauYlpoINNKeqCiG6Sg38RRsjT5y8= -github.com/Microsoft/hcsshim v0.8.14/go.mod h1:NtVKoYxQuTLx6gEq0L96c9Ju4JbRJ4nY2ow3VK6a9Lg= -github.com/Microsoft/hcsshim v0.8.15/go.mod h1:x38A4YbHbdxJtc0sF6oIz+RG0npwSCAvn69iY6URG00= -github.com/Microsoft/hcsshim v0.8.16/go.mod h1:o5/SZqmR7x9JNKsW3pu+nqHm0MF8vbA+VxGOoXdC600= -github.com/Microsoft/hcsshim v0.8.21/go.mod h1:+w2gRZ5ReXQhFOrvSQeNfhrYB/dg3oDwTOcER2fw4I4= -github.com/Microsoft/hcsshim/test v0.0.0-20201218223536-d3e5debf77da/go.mod h1:5hlzMzRKMLyo42nCZ9oml8AdTlq/0cvIaBv6tK1RehU= -github.com/Microsoft/hcsshim/test v0.0.0-20210227013316-43a75bb4edd3/go.mod h1:mw7qgWloBUl75W/gVH3cQszUg1+gUITj7D6NY7ywVnY= -github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= -github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= -github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= -github.com/PuerkitoBio/purell v1.1.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= -github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= -github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= -github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= -github.com/Shopify/logrus-bugsnag v0.0.0-20171204204709-577dee27f20d/go.mod h1:HI8ITrYtUY+O+ZhtlqUnD8+KwNPOyugEhfP9fdUIaEQ= -github.com/a8m/tree v0.0.0-20210115125333-10a5fd5b637d/go.mod h1:FSdwKX97koS5efgm8WevNf7XS3PqtyFkKDDXrz778cg= -github.com/adrg/xdg v0.2.1/go.mod h1:ZuOshBmzV4Ta+s23hdfFZnBsdzmoR3US0d7ErpqSbTQ= -github.com/agnivade/levenshtein v1.0.1/go.mod h1:CURSv5d9Uaml+FovSIICkLbAUZ9S4RqaHDIsdSBg7lM= -github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= -github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= -github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= -github.com/alexflint/go-filemutex v0.0.0-20171022225611-72bdc8eae2ae/go.mod h1:CgnQgUtFrFz9mxFNtED3jI5tLDjKlOM+oUF/sTk6ps0= -github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8= -github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= -github.com/antlr/antlr4/runtime/Go/antlr v0.0.0-20210826220005-b48c857c3a0e/go.mod h1:F7bn7fEU90QkQ3tnmaTx3LTKLEDqnwWODIYppRQ5hnY= -github.com/antlr/antlr4/runtime/Go/antlr v0.0.0-20220209173558-ad29539cd2e9/go.mod h1:F7bn7fEU90QkQ3tnmaTx3LTKLEDqnwWODIYppRQ5hnY= -github.com/apparentlymart/go-cidr v1.1.0/go.mod h1:EBcsNrHc3zQeuaeCeCtQruQm+n9/YjEn/vI25Lg7Gwc= -github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= -github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= -github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= -github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= -github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= -github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= -github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw= -github.com/aunum/log v0.0.0-20200821225356-38d2e2c8b489/go.mod h1:ze/JIQHfGKwpM8U2b39e8OH0KHt1ovEcjwPV3yfU+/c= -github.com/aws/aws-sdk-go v1.15.11/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZoCYDt7FT0= -github.com/aws/aws-sdk-go v1.34.28/go.mod h1:H7NKnBqNVzoTJpGfLrQkkD+ytBA93eiDYi/+8rV9s48= -github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM= -github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= -github.com/beorn7/perks v0.0.0-20160804104726-4c0e84591b9a/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= -github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= -github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= -github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= -github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= -github.com/bitly/go-simplejson v0.5.0/go.mod h1:cXHtHw4XUPsvGaxgjIAn8PhEWG9NfngEKAMDJEczWVA= -github.com/bits-and-blooms/bitset v1.2.0/go.mod h1:gIdJ4wp64HaoK2YrL1Q5/N7Y16edYb8uY+O0FJTyyDA= -github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84= -github.com/bketelsen/crypt v0.0.4/go.mod h1:aI6NrJ0pMGgvZKL1iVgXLnfIFJtfV+bKCoqOes/6LfM= -github.com/blang/semver v3.1.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= -github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= -github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4= -github.com/bshuster-repo/logrus-logstash-hook v0.4.1/go.mod h1:zsTqEiSzDgAa/8GZR7E1qaXrhYNDKBYy5/dWPTIflbk= -github.com/buger/jsonparser v0.0.0-20180808090653-f4dd9f5a6b44/go.mod h1:bbYlZJ7hK1yFx9hf58LP0zeX7UjIGs20ufpu3evjr+s= -github.com/bugsnag/bugsnag-go v0.0.0-20141110184014-b1d153021fcd/go.mod h1:2oa8nejYd4cQ/b0hMIopN0lCRxU0bueqREvZLWFrtK8= -github.com/bugsnag/osext v0.0.0-20130617224835-0dd3f918b21b/go.mod h1:obH5gd0BsqsP2LwDJ9aOkm/6J86V6lyAXCoQWGw3K50= -github.com/bugsnag/panicwrap v0.0.0-20151223152923-e2c28503fcd0/go.mod h1:D/8v3kj0zr8ZAKg1AQ6crr+5VwKN5eIywRkfhyM/+dE= -github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/certifi/gocertifi v0.0.0-20191021191039-0944d244cd40/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= -github.com/certifi/gocertifi v0.0.0-20200922220541-2c3bb06c6054/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= -github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= -github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/chai2010/gettext-go v0.0.0-20160711120539-c6fed771bfd5/go.mod h1:/iP1qXHoty45bqomnu2LM+VVyAEdWN+vtSHGlQgyxbw= -github.com/checkpoint-restore/go-criu/v4 v4.1.0/go.mod h1:xUQBLp4RLc5zJtWY++yjOoMoB5lihDt7fai+75m+rGw= -github.com/checkpoint-restore/go-criu/v5 v5.0.0/go.mod h1:cfwC0EG7HMUenopBsUf9d89JlCLQIfgVcNsNN0t6T2M= -github.com/cheggaaa/pb v1.0.29/go.mod h1:W40334L7FMC5JKWldsTWbdGjLo0RxUKK73K+TuPxX30= -github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= -github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= -github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= -github.com/cilium/ebpf v0.0.0-20200110133405-4032b1d8aae3/go.mod h1:MA5e5Lr8slmEg9bt0VpxxWqJlO4iwu3FBdHUzV7wQVg= -github.com/cilium/ebpf v0.0.0-20200702112145-1c8d4c9ef775/go.mod h1:7cR51M8ViRLIdUjrmSXlK9pkrsDlLHbO8jiB8X8JnOc= -github.com/cilium/ebpf v0.2.0/go.mod h1:To2CFviqOWL/M0gIMsvSMlqe7em/l1ALkX1PyjrX2Qs= -github.com/cilium/ebpf v0.4.0/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJXRs= -github.com/cilium/ebpf v0.6.2/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJXRs= -github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= -github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= -github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20211130200136-a8f946100490/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= -github.com/cockroachdb/datadriven v0.0.0-20200714090401-bf6692d28da5/go.mod h1:h6jFvWxBdQXxjopDMZyH2UVceIRfR84bdzbkoKrsWNo= -github.com/cockroachdb/errors v1.2.4/go.mod h1:rQD95gz6FARkaKkQXUksEje/d9a6wBJoCr5oaCLELYA= -github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f/go.mod h1:i/u985jwjWRlyHXQbwatDASoW0RMlZ/3i9yJHE2xLkI= -github.com/containerd/aufs v0.0.0-20200908144142-dab0cbea06f4/go.mod h1:nukgQABAEopAHvB6j7cnP5zJ+/3aVcE7hCYqvIwAHyE= -github.com/containerd/aufs v0.0.0-20201003224125-76a6863f2989/go.mod h1:AkGGQs9NM2vtYHaUen+NljV0/baGCAPELGm2q9ZXpWU= -github.com/containerd/aufs v0.0.0-20210316121734-20793ff83c97/go.mod h1:kL5kd6KM5TzQjR79jljyi4olc1Vrx6XBlcyj3gNv2PU= -github.com/containerd/aufs v1.0.0/go.mod h1:kL5kd6KM5TzQjR79jljyi4olc1Vrx6XBlcyj3gNv2PU= -github.com/containerd/btrfs v0.0.0-20201111183144-404b9149801e/go.mod h1:jg2QkJcsabfHugurUvvPhS3E08Oxiuh5W/g1ybB4e0E= -github.com/containerd/btrfs v0.0.0-20210316141732-918d888fb676/go.mod h1:zMcX3qkXTAi9GI50+0HOeuV8LU2ryCE/V2vG/ZBiTss= -github.com/containerd/btrfs v1.0.0/go.mod h1:zMcX3qkXTAi9GI50+0HOeuV8LU2ryCE/V2vG/ZBiTss= -github.com/containerd/cgroups v0.0.0-20190717030353-c4b9ac5c7601/go.mod h1:X9rLEHIqSf/wfK8NsPqxJmeZgW4pcfzdXITDrUSJ6uI= -github.com/containerd/cgroups v0.0.0-20190919134610-bf292b21730f/go.mod h1:OApqhQ4XNSNC13gXIwDjhOQxjWa/NxkwZXJ1EvqT0ko= -github.com/containerd/cgroups v0.0.0-20200531161412-0dbf7f05ba59/go.mod h1:pA0z1pT8KYB3TCXK/ocprsh7MAkoW8bZVzPdih9snmM= -github.com/containerd/cgroups v0.0.0-20200710171044-318312a37340/go.mod h1:s5q4SojHctfxANBDvMeIaIovkq29IP48TKAxnhYRxvo= -github.com/containerd/cgroups v0.0.0-20200824123100-0b889c03f102/go.mod h1:s5q4SojHctfxANBDvMeIaIovkq29IP48TKAxnhYRxvo= -github.com/containerd/cgroups v0.0.0-20210114181951-8a68de567b68/go.mod h1:ZJeTFisyysqgcCdecO57Dj79RfL0LNeGiFUqLYQRYLE= -github.com/containerd/cgroups v1.0.1/go.mod h1:0SJrPIenamHDcZhEcJMNBB85rHcUsw4f25ZfBiPYRkU= -github.com/containerd/console v0.0.0-20180822173158-c12b1e7919c1/go.mod h1:Tj/on1eG8kiEhd0+fhSDzsPAFESxzBBvdyEgyryXffw= -github.com/containerd/console v0.0.0-20181022165439-0650fd9eeb50/go.mod h1:Tj/on1eG8kiEhd0+fhSDzsPAFESxzBBvdyEgyryXffw= -github.com/containerd/console v0.0.0-20191206165004-02ecf6a7291e/go.mod h1:8Pf4gM6VEbTNRIT26AyyU7hxdQU3MvAvxVI0sc00XBE= -github.com/containerd/console v1.0.1/go.mod h1:XUsP6YE/mKtz6bxc+I8UiKKTP04qjQL4qcS3XoQ5xkw= -github.com/containerd/console v1.0.2/go.mod h1:ytZPjGgY2oeTkAONYafi2kSj0aYggsf8acV1PGKCbzQ= -github.com/containerd/containerd v1.2.10/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.3.0-beta.2.0.20190828155532-0293cbd26c69/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.3.0/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.3.2/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.4.0-beta.2.0.20200729163537-40b22ef07410/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.4.1/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.4.3/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.5.0-beta.1/go.mod h1:5HfvG1V2FsKesEGQ17k5/T7V960Tmcumvqn8Mc+pCYQ= -github.com/containerd/containerd v1.5.0-beta.3/go.mod h1:/wr9AVtEM7x9c+n0+stptlo/uBBoBORwEx6ardVcmKU= -github.com/containerd/containerd v1.5.0-beta.4/go.mod h1:GmdgZd2zA2GYIBZ0w09ZvgqEq8EfBp/m3lcVZIvPHhI= -github.com/containerd/containerd v1.5.0-rc.0/go.mod h1:V/IXoMqNGgBlabz3tHD2TWDoTJseu1FGOKuoA4nNb2s= -github.com/containerd/containerd v1.5.1/go.mod h1:0DOxVqwDy2iZvrZp2JUx/E+hS0UNTVn7dJnIOwtYR4g= -github.com/containerd/containerd v1.5.7/go.mod h1:gyvv6+ugqY25TiXxcZC3L5yOeYgEw0QMhscqVp1AR9c= -github.com/containerd/continuity v0.0.0-20190426062206-aaeac12a7ffc/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= -github.com/containerd/continuity v0.0.0-20190815185530-f2a389ac0a02/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= -github.com/containerd/continuity v0.0.0-20191127005431-f65d91d395eb/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= -github.com/containerd/continuity v0.0.0-20200710164510-efbc4488d8fe/go.mod h1:cECdGN1O8G9bgKTlLhuPJimka6Xb/Gg7vYzCTNVxhvo= -github.com/containerd/continuity v0.0.0-20201208142359-180525291bb7/go.mod h1:kR3BEg7bDFaEddKm54WSmrol1fKWDU1nKYkgrcgZT7Y= -github.com/containerd/continuity v0.0.0-20210208174643-50096c924a4e/go.mod h1:EXlVlkqNba9rJe3j7w3Xa924itAMLgZH4UD/Q4PExuQ= -github.com/containerd/continuity v0.1.0/go.mod h1:ICJu0PwR54nI0yPEnJ6jcS+J7CZAUXrLh8lPo2knzsM= -github.com/containerd/fifo v0.0.0-20180307165137-3d5202aec260/go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI= -github.com/containerd/fifo v0.0.0-20190226154929-a9fb20d87448/go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI= -github.com/containerd/fifo v0.0.0-20200410184934-f15a3290365b/go.mod h1:jPQ2IAeZRCYxpS/Cm1495vGFww6ecHmMk1YJH2Q5ln0= -github.com/containerd/fifo v0.0.0-20201026212402-0724c46b320c/go.mod h1:jPQ2IAeZRCYxpS/Cm1495vGFww6ecHmMk1YJH2Q5ln0= -github.com/containerd/fifo v0.0.0-20210316144830-115abcc95a1d/go.mod h1:ocF/ME1SX5b1AOlWi9r677YJmCPSwwWnQ9O123vzpE4= -github.com/containerd/fifo v1.0.0/go.mod h1:ocF/ME1SX5b1AOlWi9r677YJmCPSwwWnQ9O123vzpE4= -github.com/containerd/go-cni v1.0.1/go.mod h1:+vUpYxKvAF72G9i1WoDOiPGRtQpqsNW/ZHtSlv++smU= -github.com/containerd/go-cni v1.0.2/go.mod h1:nrNABBHzu0ZwCug9Ije8hL2xBCYh/pjfMb1aZGrrohk= -github.com/containerd/go-runc v0.0.0-20180907222934-5a6d9f37cfa3/go.mod h1:IV7qH3hrUgRmyYrtgEeGWJfWbgcHL9CSRruz2Vqcph0= -github.com/containerd/go-runc v0.0.0-20190911050354-e029b79d8cda/go.mod h1:IV7qH3hrUgRmyYrtgEeGWJfWbgcHL9CSRruz2Vqcph0= -github.com/containerd/go-runc v0.0.0-20200220073739-7016d3ce2328/go.mod h1:PpyHrqVs8FTi9vpyHwPwiNEGaACDxT/N/pLcvMSRA9g= -github.com/containerd/go-runc v0.0.0-20201020171139-16b287bc67d0/go.mod h1:cNU0ZbCgCQVZK4lgG3P+9tn9/PaJNmoDXPpoJhDR+Ok= -github.com/containerd/go-runc v1.0.0/go.mod h1:cNU0ZbCgCQVZK4lgG3P+9tn9/PaJNmoDXPpoJhDR+Ok= -github.com/containerd/imgcrypt v1.0.1/go.mod h1:mdd8cEPW7TPgNG4FpuP3sGBiQ7Yi/zak9TYCG3juvb0= -github.com/containerd/imgcrypt v1.0.4-0.20210301171431-0ae5c75f59ba/go.mod h1:6TNsg0ctmizkrOgXRNQjAPFWpMYRWuiB6dSF4Pfa5SA= -github.com/containerd/imgcrypt v1.1.1-0.20210312161619-7ed62a527887/go.mod h1:5AZJNI6sLHJljKuI9IHnw1pWqo/F0nGDOuR9zgTs7ow= -github.com/containerd/imgcrypt v1.1.1/go.mod h1:xpLnwiQmEUJPvQoAapeb2SNCxz7Xr6PJrXQb0Dpc4ms= -github.com/containerd/nri v0.0.0-20201007170849-eb1350a75164/go.mod h1:+2wGSDGFYfE5+So4M5syatU0N0f0LbWpuqyMi4/BE8c= -github.com/containerd/nri v0.0.0-20210316161719-dbaa18c31c14/go.mod h1:lmxnXF6oMkbqs39FiCt1s0R2HSMhcLel9vNL3m4AaeY= -github.com/containerd/nri v0.1.0/go.mod h1:lmxnXF6oMkbqs39FiCt1s0R2HSMhcLel9vNL3m4AaeY= -github.com/containerd/stargz-snapshotter/estargz v0.4.1/go.mod h1:x7Q9dg9QYb4+ELgxmo4gBUeJB0tl5dqH1Sdz0nJU1QM= -github.com/containerd/stargz-snapshotter/estargz v0.10.0/go.mod h1:aE5PCyhFMwR8sbrErO5eM2GcvkyXTTJremG883D4qF0= -github.com/containerd/ttrpc v0.0.0-20190828154514-0e0f228740de/go.mod h1:PvCDdDGpgqzQIzDW1TphrGLssLDZp2GuS+X5DkEJB8o= -github.com/containerd/ttrpc v0.0.0-20190828172938-92c8520ef9f8/go.mod h1:PvCDdDGpgqzQIzDW1TphrGLssLDZp2GuS+X5DkEJB8o= -github.com/containerd/ttrpc v0.0.0-20191028202541-4f1b8fe65a5c/go.mod h1:LPm1u0xBw8r8NOKoOdNMeVHSawSsltak+Ihv+etqsE8= -github.com/containerd/ttrpc v1.0.1/go.mod h1:UAxOpgT9ziI0gJrmKvgcZivgxOp8iFPSk8httJEt98Y= -github.com/containerd/ttrpc v1.0.2/go.mod h1:UAxOpgT9ziI0gJrmKvgcZivgxOp8iFPSk8httJEt98Y= -github.com/containerd/typeurl v0.0.0-20180627222232-a93fcdb778cd/go.mod h1:Cm3kwCdlkCfMSHURc+r6fwoGH6/F1hH3S4sg0rLFWPc= -github.com/containerd/typeurl v0.0.0-20190911142611-5eb25027c9fd/go.mod h1:GeKYzf2pQcqv7tJ0AoCuuhtnqhva5LNU3U+OyKxxJpk= -github.com/containerd/typeurl v1.0.1/go.mod h1:TB1hUtrpaiO88KEK56ijojHS1+NeF0izUACaJW2mdXg= -github.com/containerd/typeurl v1.0.2/go.mod h1:9trJWW2sRlGub4wZJRTW83VtbOLS6hwcDZXTn6oPz9s= -github.com/containerd/zfs v0.0.0-20200918131355-0a33824f23a2/go.mod h1:8IgZOBdv8fAgXddBT4dBXJPtxyRsejFIpXoklgxgEjw= -github.com/containerd/zfs v0.0.0-20210301145711-11e8f1707f62/go.mod h1:A9zfAbMlQwE+/is6hi0Xw8ktpL+6glmqZYtevJgaB8Y= -github.com/containerd/zfs v0.0.0-20210315114300-dde8f0fda960/go.mod h1:m+m51S1DvAP6r3FcmYCp54bQ34pyOwTieQDNRIRHsFY= -github.com/containerd/zfs v0.0.0-20210324211415-d5c4544f0433/go.mod h1:m+m51S1DvAP6r3FcmYCp54bQ34pyOwTieQDNRIRHsFY= -github.com/containerd/zfs v1.0.0/go.mod h1:m+m51S1DvAP6r3FcmYCp54bQ34pyOwTieQDNRIRHsFY= -github.com/containernetworking/cni v0.7.1/go.mod h1:LGwApLUm2FpoOfxTDEeq8T9ipbpZ61X79hmU3w8FmsY= -github.com/containernetworking/cni v0.8.0/go.mod h1:LGwApLUm2FpoOfxTDEeq8T9ipbpZ61X79hmU3w8FmsY= -github.com/containernetworking/cni v0.8.1/go.mod h1:LGwApLUm2FpoOfxTDEeq8T9ipbpZ61X79hmU3w8FmsY= -github.com/containernetworking/plugins v0.8.6/go.mod h1:qnw5mN19D8fIwkqW7oHHYDHVlzhJpcY6TQxn/fUyDDM= -github.com/containernetworking/plugins v0.9.1/go.mod h1:xP/idU2ldlzN6m4p5LmGiwRDjeJr6FLK6vuiUwoH7P8= -github.com/containers/ocicrypt v1.0.1/go.mod h1:MeJDzk1RJHv89LjsH0Sp5KTY3ZYkjXO/C+bKAeWFIrc= -github.com/containers/ocicrypt v1.1.0/go.mod h1:b8AOe0YR67uU8OqfVNcznfFpAzu3rdgUV4GP9qXPfu4= -github.com/containers/ocicrypt v1.1.1/go.mod h1:Dm55fwWm1YZAjYRaJ94z2mfZikIyIN4B0oB3dj3jFxY= -github.com/coredns/caddy v1.1.0/go.mod h1:A6ntJQlAWuQfFlsd9hvigKbo2WS0VUs2l1e2F+BawD4= -github.com/coredns/caddy v1.1.1/go.mod h1:A6ntJQlAWuQfFlsd9hvigKbo2WS0VUs2l1e2F+BawD4= -github.com/coredns/corefile-migration v1.0.17/go.mod h1:XnhgULOEouimnzgn0t4WPuFDN2/PJQcTxdWKC5eXNGE= -github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= -github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= -github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= -github.com/coreos/go-iptables v0.4.5/go.mod h1:/mVI274lEDI2ns62jHCDnCyBF9Iwsmekav8Dbxlm1MU= -github.com/coreos/go-iptables v0.5.0/go.mod h1:/mVI274lEDI2ns62jHCDnCyBF9Iwsmekav8Dbxlm1MU= -github.com/coreos/go-oidc v2.1.0+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHoZ1nMCKZlZ9V6mm3/LKc= -github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-systemd v0.0.0-20161114122254-48702e0da86b/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/go-systemd/v22 v22.0.0/go.mod h1:xO0FLkIi5MaZafQlIrOotqXZ90ih+1atmu1JpKERPPk= -github.com/coreos/go-systemd/v22 v22.1.0/go.mod h1:xO0FLkIi5MaZafQlIrOotqXZ90ih+1atmu1JpKERPPk= -github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= -github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/cppforlife/cobrautil v0.0.0-20200514214827-bb86e6965d72/go.mod h1:2w+qxVu2KSGW78Ex/XaIqfh/OvBgjEsmN53S4T8vEyA= -github.com/cppforlife/cobrautil v0.0.0-20220411122935-c28a9f274a4e/go.mod h1:2w+qxVu2KSGW78Ex/XaIqfh/OvBgjEsmN53S4T8vEyA= -github.com/cppforlife/color v1.9.1-0.20200716202919-6706ac40b835/go.mod h1:dYeVsKp1vvK8XjdTPR1gF+uk+9doxKeO3hqQTOCr7T4= -github.com/cppforlife/go-cli-ui v0.0.0-20200506005011-4268990983cc/go.mod h1:I0qrzCmuPWYI6kAOvkllYjaW2aovclWbJ96+v+YyHb0= -github.com/cppforlife/go-cli-ui v0.0.0-20200716203538-1e47f820817f/go.mod h1:L18TqO77ci8i+hFtlMC4zSFz/D3O8lf84TyVU+zFF8E= -github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= -github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= -github.com/cpuguy83/go-md2man/v2 v2.0.1/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= -github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= -github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= -github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/cyphar/filepath-securejoin v0.2.2/go.mod h1:FpkQEhXnPnOthhzymB7CGsFk2G9VLXONKD9G7QGMM+4= -github.com/d2g/dhcp4 v0.0.0-20170904100407-a1d1b6c41b1c/go.mod h1:Ct2BUK8SB0YC1SMSibvLzxjeJLnrYEVLULFNiHY9YfQ= -github.com/d2g/dhcp4client v1.0.0/go.mod h1:j0hNfjhrt2SxUOw55nL0ATM/z4Yt3t2Kd1mW34z5W5s= -github.com/d2g/dhcp4server v0.0.0-20181031114812-7d4a0a7f59a5/go.mod h1:Eo87+Kg/IX2hfWJfwxMzLyuSZyxSoAug2nGa1G2QAi8= -github.com/d2g/hardwareaddr v0.0.0-20190221164911-e7d9fbe030e4/go.mod h1:bMl4RjIciD2oAxI7DmWRx6gbeqrkoLqv3MV0vzNad+I= -github.com/danieljoos/wincred v1.1.0/go.mod h1:XYlo+eRTsVA9aHGp7NGjFkPla4m+DCL7hqDjlFjiygg= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-xdr v0.0.0-20161123171359-e6a2ba005892/go.mod h1:CTDl0pzVzE5DEzZhPfvhY/9sPFMQIxaJ9VAMs9AagrE= -github.com/daviddengcn/go-colortext v0.0.0-20160507010035-511bcaf42ccd/go.mod h1:dv4zxwHi5C/8AeI+4gX4dCWOIvNi7I6JCSX0HvlKPgE= -github.com/denverdino/aliyungo v0.0.0-20190125010748-a747050bb1ba/go.mod h1:dV8lFg6daOBZbT6/BDGIz6Y3WFGn8juu6G+CQ6LHtl0= -github.com/dgrijalva/jwt-go v0.0.0-20170104182250-a601269ab70c/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= -github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= -github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= -github.com/dimchansky/utfbom v1.1.0/go.mod h1:rO41eb7gLfo8SF1jd9F8HplJm1Fewwi4mQvIirEdv+8= -github.com/dimchansky/utfbom v1.1.1/go.mod h1:SxdoEBH5qIqFocHMyGOXVAybYJdr71b1Q/j0mACtrfE= -github.com/dnaeon/go-vcr v1.0.1/go.mod h1:aBB1+wY4s93YsC3HHjMBMrwTj2R9FHDzUr9KyGc8n1E= -github.com/docker/cli v0.0.0-20191017083524-a8ff7f821017/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= -github.com/docker/cli v20.10.10+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= -github.com/docker/cli v20.10.11+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= -github.com/docker/distribution v0.0.0-20190905152932-14b96e55d84c/go.mod h1:0+TTO4EOBfRPhZXAeF1Vu+W3hHZ8eLp8PgKVZlcvtFY= -github.com/docker/distribution v2.7.1-0.20190205005809-0d3efadf0154+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= -github.com/docker/distribution v2.7.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= -github.com/docker/distribution v2.8.2+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= -github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/docker v20.10.10+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/docker v20.10.24+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/docker-credential-helpers v0.6.3/go.mod h1:WRaJzqw3CTB9bk10avuGsjVBZsD05qeibJ1/TYlvc0Y= -github.com/docker/docker-credential-helpers v0.6.4/go.mod h1:ofX3UI0Gz1TteYBjtgs07O36Pyasyp66D2uKT7H8W1c= -github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec= -github.com/docker/go-events v0.0.0-20170721190031-9461782956ad/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA= -github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA= -github.com/docker/go-metrics v0.0.0-20180209012529-399ea8c73916/go.mod h1:/u0gXw0Gay3ceNrsHubL3BtdOL2fHf93USgMTe0W5dI= -github.com/docker/go-metrics v0.0.1/go.mod h1:cG1hvH2utMXtqgqqYE9plW6lDxS3/5ayHzueweSI3Vw= -github.com/docker/go-units v0.3.3/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= -github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= -github.com/docker/libtrust v0.0.0-20150114040149-fa567046d9b1/go.mod h1:cyGadeNEkKy96OOhEzfZl+yxihPEzKnqJwvfuSUqbZE= -github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= -github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= -github.com/drone/envsubst/v2 v2.0.0-20210730161058-179042472c46/go.mod h1:esf2rsHFNlZlxsqsZDojNBcnNs5REqIvRrWRHqX0vEU= -github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= -github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= -github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= -github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= -github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= -github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= -github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= -github.com/envoyproxy/go-control-plane v0.10.1/go.mod h1:AY7fTTXNdv/aJ2O5jwpxAPOWUZ7hQAEvzN5Pf27BkQQ= -github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/envoyproxy/protoc-gen-validate v0.6.2/go.mod h1:2t7qjJNvHPx8IjnBOzl9E9/baC+qXE/TeeyBRzgJDws= -github.com/evanphx/json-patch v0.5.2/go.mod h1:ZWS5hhDbVDyob71nXKNL0+PWn6ToqBHMikGIFbs31qQ= -github.com/evanphx/json-patch v4.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/evanphx/json-patch v4.11.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/evanphx/json-patch v4.12.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/evanphx/json-patch v5.6.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/evanphx/json-patch/v5 v5.6.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4= -github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d/go.mod h1:ZZMPRZwes7CROmyNKgQzC3XPs6L/G2EJLHddWejkmf4= -github.com/fatih/camelcase v1.0.0/go.mod h1:yN2Sb0lFhZJUdVvtELVWefmrXpuZESvPmqwoZc+/fpc= -github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= -github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= -github.com/fatih/color v1.10.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= -github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= -github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= -github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= -github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= -github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= -github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k= -github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= -github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= -github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU= -github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa/go.mod h1:KnogPXtdwXqoenmZCw6S+25EAm2MkxbG0deNDu4cbSA= -github.com/fvbommel/sortorder v1.0.1/go.mod h1:uk88iVf1ovNn1iLfgUVU2F9o5eO30ui720w+kxuqRs0= -github.com/garyburd/redigo v0.0.0-20150301180006-535138d7bcd7/go.mod h1:NR3MbYisc3/PwhQ00EMzDiPmrwpPxAn5GI05/YaO1SY= -github.com/getkin/kin-openapi v0.76.0/go.mod h1:660oXbgy5JFMKreazJaQTw7o+X00qeSyhcnluiMv+Xg= -github.com/getsentry/raven-go v0.2.0/go.mod h1:KungGk8q33+aIAZUIVWZDr2OfAEBsO49PX4NzFV5kcQ= -github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/globalsign/mgo v0.0.0-20180905125535-1ca0a4f7cbcb/go.mod h1:xkRDCp4j0OGD1HRkm4kmhM+pmpv3AKq5SU7GMg4oO/Q= -github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8/go.mod h1:xkRDCp4j0OGD1HRkm4kmhM+pmpv3AKq5SU7GMg4oO/Q= -github.com/go-errors/errors v1.0.1/go.mod h1:f4zRHt4oKfwPJE5k8C9vpYG+aDHdBFUsgrm6/TyX73Q= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-ini/ini v1.25.4/go.mod h1:ByCAeIL28uOIIG0E3PJtZPDL8WnHpFKFOtgjp+3Ies8= -github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= -github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= -github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= -github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= -github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= -github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= -github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/zapr v1.2.0/go.mod h1:Qa4Bsj2Vb+FAVeAKsLD8RLQ+YRJB8YDmOAKxaBQf7Ro= -github.com/go-openapi/analysis v0.0.0-20180825180245-b006789cd277/go.mod h1:k70tL6pCuVxPJOHXQ+wIac1FUrvNkHolPie/cLEU6hI= -github.com/go-openapi/analysis v0.17.0/go.mod h1:IowGgpVeD0vNm45So8nr+IcQ3pxVtpRoBWb8PVZO0ik= -github.com/go-openapi/analysis v0.18.0/go.mod h1:IowGgpVeD0vNm45So8nr+IcQ3pxVtpRoBWb8PVZO0ik= -github.com/go-openapi/analysis v0.19.2/go.mod h1:3P1osvZa9jKjb8ed2TPng3f0i/UY9snX6gxi44djMjk= -github.com/go-openapi/analysis v0.19.5/go.mod h1:hkEAkxagaIvIP7VTn8ygJNkd4kAYON2rCu0v0ObL0AU= -github.com/go-openapi/errors v0.17.0/go.mod h1:LcZQpmvG4wyF5j4IhA73wkLFQg+QJXOQHVjmcZxhka0= -github.com/go-openapi/errors v0.18.0/go.mod h1:LcZQpmvG4wyF5j4IhA73wkLFQg+QJXOQHVjmcZxhka0= -github.com/go-openapi/errors v0.19.2/go.mod h1:qX0BLWsyaKfvhluLejVpVNwNRdXZhEbTA4kxxpKBC94= -github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1/go.mod h1:+35s3my2LFTysnkMfxsJBAMHj/DoqoB9knIWoYG/Vk0= -github.com/go-openapi/jsonpointer v0.17.0/go.mod h1:cOnomiV+CVVwFLk0A/MExoFMjwdsUdVpsRhURCKh+3M= -github.com/go-openapi/jsonpointer v0.18.0/go.mod h1:cOnomiV+CVVwFLk0A/MExoFMjwdsUdVpsRhURCKh+3M= -github.com/go-openapi/jsonpointer v0.19.2/go.mod h1:3akKfEdA7DF1sugOqz1dVQHBcuDBPKZGEoHC/NkiQRg= -github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= -github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= -github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9/go.mod h1:W3Z9FmVs9qj+KR4zFKmDPGiLdk1D9Rlm7cyMvf57TTg= -github.com/go-openapi/jsonreference v0.17.0/go.mod h1:g4xxGn04lDIRh0GJb5QlpE3HfopLOL6uZrK/VgnsK9I= -github.com/go-openapi/jsonreference v0.18.0/go.mod h1:g4xxGn04lDIRh0GJb5QlpE3HfopLOL6uZrK/VgnsK9I= -github.com/go-openapi/jsonreference v0.19.2/go.mod h1:jMjeRr2HHw6nAVajTXJ4eiUwohSTlpa0o73RUL1owJc= -github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8= -github.com/go-openapi/jsonreference v0.19.5/go.mod h1:RdybgQwPxbL4UEjuAruzK1x3nE69AqPYEJeo/TWfEeg= -github.com/go-openapi/jsonreference v0.19.6/go.mod h1:diGHMEHg2IqXZGKxqyvWdfWU/aim5Dprw5bqpKkTvns= -github.com/go-openapi/loads v0.17.0/go.mod h1:72tmFy5wsWx89uEVddd0RjRWPZm92WRLhf7AC+0+OOU= -github.com/go-openapi/loads v0.18.0/go.mod h1:72tmFy5wsWx89uEVddd0RjRWPZm92WRLhf7AC+0+OOU= -github.com/go-openapi/loads v0.19.0/go.mod h1:72tmFy5wsWx89uEVddd0RjRWPZm92WRLhf7AC+0+OOU= -github.com/go-openapi/loads v0.19.2/go.mod h1:QAskZPMX5V0C2gvfkGZzJlINuP7Hx/4+ix5jWFxsNPs= -github.com/go-openapi/loads v0.19.4/go.mod h1:zZVHonKd8DXyxyw4yfnVjPzBjIQcLt0CCsn0N0ZrQsk= -github.com/go-openapi/runtime v0.0.0-20180920151709-4f900dc2ade9/go.mod h1:6v9a6LTXWQCdL8k1AO3cvqx5OtZY/Y9wKTgaoP6YRfA= -github.com/go-openapi/runtime v0.19.0/go.mod h1:OwNfisksmmaZse4+gpV3Ne9AyMOlP1lt4sK4FXt0O64= -github.com/go-openapi/runtime v0.19.4/go.mod h1:X277bwSUBxVlCYR3r7xgZZGKVvBd/29gLDlFGtJ8NL4= -github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501/go.mod h1:J8+jY1nAiCcj+friV/PDoE1/3eeccG9LYBs0tYvLOWc= -github.com/go-openapi/spec v0.17.0/go.mod h1:XkF/MOi14NmjsfZ8VtAKf8pIlbZzyoTvZsdfssdxcBI= -github.com/go-openapi/spec v0.18.0/go.mod h1:XkF/MOi14NmjsfZ8VtAKf8pIlbZzyoTvZsdfssdxcBI= -github.com/go-openapi/spec v0.19.2/go.mod h1:sCxk3jxKgioEJikev4fgkNmwS+3kuYdJtcsZsD5zxMY= -github.com/go-openapi/spec v0.19.3/go.mod h1:FpwSN1ksY1eteniUU7X0N/BgJ7a4WvBFVA8Lj9mJglo= -github.com/go-openapi/spec v0.19.5/go.mod h1:Hm2Jr4jv8G1ciIAo+frC/Ft+rR2kQDh8JHKHb3gWUSk= -github.com/go-openapi/strfmt v0.17.0/go.mod h1:P82hnJI0CXkErkXi8IKjPbNBM6lV6+5pLP5l494TcyU= -github.com/go-openapi/strfmt v0.18.0/go.mod h1:P82hnJI0CXkErkXi8IKjPbNBM6lV6+5pLP5l494TcyU= -github.com/go-openapi/strfmt v0.19.0/go.mod h1:+uW+93UVvGGq2qGaZxdDeJqSAqBqBdl+ZPMF/cC8nDY= -github.com/go-openapi/strfmt v0.19.3/go.mod h1:0yX7dbo8mKIvc3XSKp7MNfxw4JytCfCD6+bY1AVL9LU= -github.com/go-openapi/strfmt v0.19.5/go.mod h1:eftuHTlB/dI8Uq8JJOyRlieZf+WkkxUuk0dgdHXr2Qk= -github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod h1:DXUve3Dpr1UfpPtxFw+EFuQ41HhCWZfha5jSVRG7C7I= -github.com/go-openapi/swag v0.17.0/go.mod h1:AByQ+nYG6gQg71GINrmuDXCPWdL640yX49/kXLo40Tg= -github.com/go-openapi/swag v0.18.0/go.mod h1:AByQ+nYG6gQg71GINrmuDXCPWdL640yX49/kXLo40Tg= -github.com/go-openapi/swag v0.19.2/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= -github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= -github.com/go-openapi/swag v0.19.14/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= -github.com/go-openapi/swag v0.21.1/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= -github.com/go-openapi/validate v0.18.0/go.mod h1:Uh4HdOzKt19xGIGm1qHf/ofbX1YQ4Y+MYsct2VUrAJ4= -github.com/go-openapi/validate v0.19.2/go.mod h1:1tRCw7m3jtI8eNWEEliiAqUIcBztB2KDnRCRMUi7GTA= -github.com/go-openapi/validate v0.19.8/go.mod h1:8DJv2CVJQ6kGNpFW6eV9N3JviE1C85nY1c2z52x1Gk4= -github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= -github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/gobuffalo/attrs v0.0.0-20190224210810-a9411de4debd/go.mod h1:4duuawTqi2wkkpB4ePgWMaai6/Kc6WEz83bhFwpHzj0= -github.com/gobuffalo/depgen v0.0.0-20190329151759-d478694a28d3/go.mod h1:3STtPUQYuzV0gBVOY3vy6CfMm/ljR4pABfrTeHNLHUY= -github.com/gobuffalo/depgen v0.1.0/go.mod h1:+ifsuy7fhi15RWncXQQKjWS9JPkdah5sZvtHc2RXGlg= -github.com/gobuffalo/envy v1.6.15/go.mod h1:n7DRkBerg/aorDM8kbduw5dN3oXGswK5liaSCx4T5NI= -github.com/gobuffalo/envy v1.7.0/go.mod h1:n7DRkBerg/aorDM8kbduw5dN3oXGswK5liaSCx4T5NI= -github.com/gobuffalo/flect v0.1.0/go.mod h1:d2ehjJqGOH/Kjqcoz+F7jHTBbmDb38yXA598Hb50EGs= -github.com/gobuffalo/flect v0.1.1/go.mod h1:8JCgGVbRjJhVgD6399mQr4fx5rRfGKVzFjbj6RE/9UI= -github.com/gobuffalo/flect v0.1.3/go.mod h1:8JCgGVbRjJhVgD6399mQr4fx5rRfGKVzFjbj6RE/9UI= -github.com/gobuffalo/flect v0.2.4/go.mod h1:1ZyCLIbg0YD7sDkzvFdPoOydPtD8y9JQnrOROolUcM8= -github.com/gobuffalo/genny v0.0.0-20190329151137-27723ad26ef9/go.mod h1:rWs4Z12d1Zbf19rlsn0nurr75KqhYp52EAGGxTbBhNk= -github.com/gobuffalo/genny v0.0.0-20190403191548-3ca520ef0d9e/go.mod h1:80lIj3kVJWwOrXWWMRzzdhW3DsrdjILVil/SFKBzF28= -github.com/gobuffalo/genny v0.1.0/go.mod h1:XidbUqzak3lHdS//TPu2OgiFB+51Ur5f7CSnXZ/JDvo= -github.com/gobuffalo/genny v0.1.1/go.mod h1:5TExbEyY48pfunL4QSXxlDOmdsD44RRq4mVZ0Ex28Xk= -github.com/gobuffalo/gitgen v0.0.0-20190315122116-cc086187d211/go.mod h1:vEHJk/E9DmhejeLeNt7UVvlSGv3ziL+djtTr3yyzcOw= -github.com/gobuffalo/gogen v0.0.0-20190315121717-8f38393713f5/go.mod h1:V9QVDIxsgKNZs6L2IYiGR8datgMhB577vzTDqypH360= -github.com/gobuffalo/gogen v0.1.0/go.mod h1:8NTelM5qd8RZ15VjQTFkAW6qOMx5wBbW4dSCS3BY8gg= -github.com/gobuffalo/gogen v0.1.1/go.mod h1:y8iBtmHmGc4qa3urIyo1shvOD8JftTtfcKi+71xfDNE= -github.com/gobuffalo/logger v0.0.0-20190315122211-86e12af44bc2/go.mod h1:QdxcLw541hSGtBnhUc4gaNIXRjiDppFGaDqzbrBd3v8= -github.com/gobuffalo/mapi v1.0.1/go.mod h1:4VAGh89y6rVOvm5A8fKFxYG+wIW6LO1FMTG9hnKStFc= -github.com/gobuffalo/mapi v1.0.2/go.mod h1:4VAGh89y6rVOvm5A8fKFxYG+wIW6LO1FMTG9hnKStFc= -github.com/gobuffalo/packd v0.0.0-20190315124812-a385830c7fc0/go.mod h1:M2Juc+hhDXf/PnmBANFCqx4DM3wRbgDvnVWeG2RIxq4= -github.com/gobuffalo/packd v0.1.0/go.mod h1:M2Juc+hhDXf/PnmBANFCqx4DM3wRbgDvnVWeG2RIxq4= -github.com/gobuffalo/packr/v2 v2.0.9/go.mod h1:emmyGweYTm6Kdper+iywB6YK5YzuKchGtJQZ0Odn4pQ= -github.com/gobuffalo/packr/v2 v2.2.0/go.mod h1:CaAwI0GPIAv+5wKLtv8Afwl+Cm78K/I/VCm/3ptBN+0= -github.com/gobuffalo/syncx v0.0.0-20190224160051-33c29581e754/go.mod h1:HhnNqWY95UYwwW3uSASeV7vtgYkT2t16hJgV3AEPUpw= -github.com/godbus/dbus v0.0.0-20151105175453-c7fdd8b5cd55/go.mod h1:/YcGZj5zSblfDWMMoOzV4fas9FZnQYTkDnsGvmh2Grw= -github.com/godbus/dbus v0.0.0-20180201030542-885f9cc04c9c/go.mod h1:/YcGZj5zSblfDWMMoOzV4fas9FZnQYTkDnsGvmh2Grw= -github.com/godbus/dbus v0.0.0-20190422162347-ade71ed3457e/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4= -github.com/godbus/dbus/v5 v5.0.3/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= -github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= -github.com/gogo/googleapis v1.2.0/go.mod h1:Njal3psf3qN6dwBtQfUmBZh2ybovJ0tlu3o/AC7HYjU= -github.com/gogo/googleapis v1.4.0/go.mod h1:5YRNX2z1oM5gXdAkurHa942MDgEJyk02w4OecKY87+c= -github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= -github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= -github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= -github.com/gogo/protobuf v1.3.0/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= -github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= -github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= -github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= -github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= -github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8= -github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= -github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= -github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= -github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= -github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= -github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= -github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM= -github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golangplus/testing v0.0.0-20180327235837-af21d9c3145e/go.mod h1:0AA//k/eakGydO4jKRoRL2j92ZKSzTgj9tclaCrvXHk= -github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= -github.com/google/cel-go v0.9.0/go.mod h1:U7ayypeSkw23szu4GaQTPJGx66c20mx8JklMSxrmI1w= -github.com/google/cel-go v0.10.0/go.mod h1:U7ayypeSkw23szu4GaQTPJGx66c20mx8JklMSxrmI1w= -github.com/google/cel-spec v0.6.0/go.mod h1:Nwjgxy5CbjlPrtCWjeDjUyKMl8w41YBYGjsyDdqk0xA= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= -github.com/google/go-containerregistry v0.5.1/go.mod h1:Ct15B4yir3PLOP5jsy0GNeYVaIZs/MK/Jz5any1wFW0= -github.com/google/go-containerregistry v0.7.0/go.mod h1:2zaoelrL0d08gGbpdP3LqyUuBmhWbpD6IOe2s9nLS2k= -github.com/google/go-github/v33 v33.0.0/go.mod h1:GMdDnVZY/2TsWgp/lkYnpSAh6TrzhANBBwm6k6TTEXg= -github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= -github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU= -github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= -github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -github.com/google/martian/v3 v3.2.1/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk= -github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ= -github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= -github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= -github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0= -github.com/googleapis/gax-go/v2 v2.1.1/go.mod h1:hddJymUZASv3XPyGkUpKj8pPO47Rmb0eJc8R6ouapiM= -github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg= -github.com/googleapis/gnostic v0.5.1/go.mod h1:6U4PtQXGIEt/Z3h5MAT7FNofLnw9vXk2cUuW7uA/OeU= -github.com/googleapis/gnostic v0.5.5/go.mod h1:7+EbHbldMins07ALC74bsA81Ovc97DwqyJO1AENw9kA= -github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= -github.com/gorilla/handlers v0.0.0-20150720190736-60c7bfde3e33/go.mod h1:Qkdc/uu4tH4g6mTK6auzZ766c4CA0Ng8+o/OAirnOIQ= -github.com/gorilla/mux v1.7.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= -github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= -github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= -github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= -github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= -github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= -github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= -github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= -github.com/grpc-ecosystem/go-grpc-middleware v1.3.0/go.mod h1:z0ButlSOZa5vEBq9m2m2hlwIgKw+rp3sdCBRoJY+30Y= -github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= -github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= -github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= -github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= -github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= -github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= -github.com/hashicorp/errwrap v0.0.0-20141028054710-7554cd9344ce/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= -github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= -github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= -github.com/hashicorp/go-multierror v0.0.0-20161216184304-ed905158d874/go.mod h1:JMRHfdO9jKNzS/+BTlxCjKNQHg/jZAft8U7LloJvN7I= -github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= -github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= -github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= -github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= -github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= -github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= -github.com/hashicorp/go-version v1.4.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= -github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= -github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= -github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= -github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= -github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= -github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= -github.com/hpcloud/tail v1.0.1-0.20180514194441-a1dbeea552b7/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= -github.com/huandu/xstrings v1.3.1/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= -github.com/huandu/xstrings v1.3.2/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= -github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= -github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= -github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= -github.com/imdario/mergo v0.3.10/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= -github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= -github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= -github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= -github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= -github.com/j-keck/arping v0.0.0-20160618110441-2cf9dc699c56/go.mod h1:ymszkNOg6tORTn+6F6j+Jc8TOr5osrynvN6ivFWZ2GA= -github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= -github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= -github.com/jmespath/go-jmespath v0.0.0-20160803190731-bd40a432e4c7/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= -github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= -github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= -github.com/joefitzgerald/rainbow-reporter v0.1.0/go.mod h1:481CNgqmVHQZzdIbN52CupLJyoVwB10FQ/IQlF1pdL8= -github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg= -github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= -github.com/jonboulle/clockwork v0.2.2/go.mod h1:Pkfl5aHPm1nk2H9h0bjmnJD/BcgbGXUBGnn1kMkgxc8= -github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= -github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= -github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= -github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= -github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= -github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= -github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= -github.com/juju/fslock v0.0.0-20160525022230-4d5c94c67b4b/go.mod h1:HMcgvsgd0Fjj4XXDkbjdmlbI505rUPBs6WBMYg2pXks= -github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= -github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= -github.com/k14s/imgpkg v0.17.0/go.mod h1:xYZ7gQxYP3O35vGIXcYchDEHq0xA81FOheCp8Vlq5ko= -github.com/k14s/kbld v0.32.0/go.mod h1:N7Ij72ZhJ2B7kTUxavGTBT1YymIfmAeO6JKyNbtja1g= -github.com/k14s/semver/v4 v4.0.1-0.20210701191048-266d47ac6115/go.mod h1:mGrnmO5qnhJIaSiwMo05cvRL6Ww9ccYbTgNFcm6RHZQ= -github.com/k14s/starlark-go v0.0.0-20200720175618-3a5c849cc368/go.mod h1:lKGj1op99m4GtQISxoD2t+K+WO/q2NzEPKvfXFQfbCA= -github.com/karrick/godirwalk v1.8.0/go.mod h1:H5KPZjojv4lE+QYImBI8xVtrBRgYrIVsaRPx4tDPEn4= -github.com/karrick/godirwalk v1.10.3/go.mod h1:RoGL9dQei4vP9ilrpETWE8CLOZ1kiN0LhBygSwrAsHA= -github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= -github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= -github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= -github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/klauspost/compress v1.9.5/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= -github.com/klauspost/compress v1.11.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= -github.com/klauspost/compress v1.11.13/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= -github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= -github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= -github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA= -github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de/go.mod h1:zAbeS9B/r2mtpb6U+EI2rYA5OAXxsYw6wTamcNW+zcE= -github.com/lithammer/dedent v1.1.0/go.mod h1:jrXYCQtgg0nJiN+StA2KgR7w6CiQNv9Fd/Z9BP0jIOc= -github.com/lyft/protoc-gen-star v0.5.3/go.mod h1:V0xaHgaf5oCCqmcxYcWiDfTiKsZsRc87/1qhoTACD8w= -github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= -github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.0.0-20190312143242-1de009706dbe/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.7.0/go.mod h1:KAzv3t3aY1NaHWoQz1+4F1ccyAH66Jk7yos7ldAVICs= -github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= -github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= -github.com/markbates/oncer v0.0.0-20181203154359-bf2de49a0be2/go.mod h1:Ld9puTsIW75CHf65OeIOkyKbteujpZVXDpWK6YGZbxE= -github.com/markbates/safe v1.0.1/go.mod h1:nAqgmRi7cY2nqMc92/bSEeQA+R4OheNU2T1kNSCBdG0= -github.com/marstr/guid v1.1.0/go.mod h1:74gB1z2wpxxInTG6yaqA7KrtM0NZ+RbrcqDvYHefzho= -github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= -github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= -github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= -github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= -github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= -github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= -github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= -github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= -github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= -github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= -github.com/mattn/go-isatty v0.0.13/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= -github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= -github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= -github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= -github.com/mattn/go-runewidth v0.0.7/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= -github.com/mattn/go-runewidth v0.0.12/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk= -github.com/mattn/go-runewidth v0.0.13/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= -github.com/mattn/go-shellwords v1.0.3/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o= -github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= -github.com/maxbrunsfeld/counterfeiter/v6 v6.2.2/go.mod h1:eD9eIE7cdwcMi9rYluz88Jz2VyhSmden33/aXg4oVIY= -github.com/maxbrunsfeld/counterfeiter/v6 v6.4.1/go.mod h1:DK1Cjkc0E49ShgRVs5jy5ASrM15svSnem3K/hiSGD8o= -github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= -github.com/miekg/pkcs11 v1.0.3/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs= -github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible/go.mod h1:8AuVvqP/mXw1px98n46wfvcGfQ4ci2FwoAjKYxuo3Z4= -github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= -github.com/mitchellh/copystructure v1.0.0/go.mod h1:SNtv71yrdKgLRyLFxmLdkAbkKEFWgYaq1OVrnRcwhnw= -github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s= -github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= -github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= -github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= -github.com/mitchellh/go-wordwrap v1.0.0/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= -github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= -github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= -github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= -github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= -github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/mitchellh/mapstructure v1.4.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/mitchellh/osext v0.0.0-20151018003038-5e2d6d41470f/go.mod h1:OkQIRizQZAeMln+1tSwduZz7+Af5oFlKirV/MSYes2A= -github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= -github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= -github.com/moby/locker v1.0.1/go.mod h1:S7SDdo5zpBK84bzzVlKr2V0hz+7x9hWbYC/kq7oQppc= -github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c= -github.com/moby/sys/mountinfo v0.4.0/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A= -github.com/moby/sys/mountinfo v0.4.1/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A= -github.com/moby/sys/symlink v0.1.0/go.mod h1:GGDODQmbFOjFsXvfLVn3+ZRxkch54RkSiGqsZeMYowQ= -github.com/moby/term v0.0.0-20200312100748-672ec06f55cd/go.mod h1:DdlQx2hp0Ss5/fLikoLlEeIYiATotOjgB//nb973jeo= -github.com/moby/term v0.0.0-20210610120745-9d4ed1856297/go.mod h1:vgPCkQMyxTZ7IDy8SXRufE172gr8+K/JE/7hHFxHW3A= -github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= -github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00/go.mod h1:Pm3mSP3c5uWn86xMLZ5Sa7JB9GsEZySvHYXCTK4E9q4= -github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc= -github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= -github.com/mrunalp/fileutils v0.5.0/go.mod h1:M1WthSahJixYnrXQl/DFQuteStB1weuxD2QJNHXfbSQ= -github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= -github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= -github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= -github.com/ncw/swift v1.0.47/go.mod h1:23YIA4yWVnGwv2dQlN4bB7egfYX6YLn0Yo/S6zZO/ZM= -github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= -github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= -github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= -github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= -github.com/olekukonko/tablewriter v0.0.4/go.mod h1:zq6QwlOf5SlnkVbMSr5EoBv3636FWnp+qbPhuoO21uA= -github.com/onsi/ginkgo v0.0.0-20151202141238-7f8ab55aaf3b/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.8.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.10.1/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.10.3/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.11.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.12.0/go.mod h1:oUhWkIvk5aDxtKvDDuw8gItl8pKl42LzjC9KZE0HfGg= -github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= -github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= -github.com/onsi/gomega v0.0.0-20151007035656-2152b45fa28a/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= -github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= -github.com/onsi/gomega v1.4.1/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= -github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= -github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= -github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= -github.com/onsi/gomega v1.9.0/go.mod h1:Ho0h+IUsWyvy1OpqCwxlQ/21gkhVunqlU8fDGcoTdcA= -github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= -github.com/onsi/gomega v1.10.3/go.mod h1:V9xEwhxec5O8UDM77eCW8vLymOMltsqPVYWrpDsH8xc= -github.com/onsi/gomega v1.11.0/go.mod h1:azGKhqFUon9Vuj0YmTfLSmx0FUwqXYSTl5re8lQLTUg= -github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro= -github.com/opencontainers/go-digest v0.0.0-20170106003457-a6d0ee40d420/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= -github.com/opencontainers/go-digest v0.0.0-20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= -github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= -github.com/opencontainers/go-digest v1.0.0-rc1.0.20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= -github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= -github.com/opencontainers/image-spec v1.0.0/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= -github.com/opencontainers/image-spec v1.0.1/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= -github.com/opencontainers/image-spec v1.0.2-0.20210730191737-8e42a01fb1b7/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= -github.com/opencontainers/image-spec v1.0.2/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= -github.com/opencontainers/runc v0.0.0-20190115041553-12f6a991201f/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= -github.com/opencontainers/runc v0.1.1/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= -github.com/opencontainers/runc v1.0.0-rc8.0.20190926000215-3e425f80a8c9/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= -github.com/opencontainers/runc v1.0.0-rc9/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= -github.com/opencontainers/runc v1.0.0-rc93/go.mod h1:3NOsor4w32B2tC0Zbl8Knk4Wg84SM2ImC1fxBuqJ/H0= -github.com/opencontainers/runc v1.0.2/go.mod h1:aTaHFFwQXuA71CiyxOdFFIorAoemI04suvGRQFzWTD0= -github.com/opencontainers/runtime-spec v0.1.2-0.20190507144316-5b71a03e2700/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= -github.com/opencontainers/runtime-spec v1.0.1/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= -github.com/opencontainers/runtime-spec v1.0.2-0.20190207185410-29686dbc5559/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= -github.com/opencontainers/runtime-spec v1.0.2/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= -github.com/opencontainers/runtime-spec v1.0.3-0.20200929063507-e6143ca7d51d/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= -github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= -github.com/opencontainers/runtime-tools v0.0.0-20181011054405-1d69bd0f9c39/go.mod h1:r3f7wjNzSs2extwzU3Y+6pKfobzPh+kKFJ3ofN+3nfs= -github.com/opencontainers/selinux v1.6.0/go.mod h1:VVGKuOLlE7v4PJyT6h7mNWvq1rzqiriPsEqVhc+svHE= -github.com/opencontainers/selinux v1.8.0/go.mod h1:RScLhm78qiWa2gbVCcGkC7tCGdgk3ogry1nUQF8Evvo= -github.com/opencontainers/selinux v1.8.2/go.mod h1:MUIHuUEvKB1wtJjQdOyYRgOnLD2xAPP8dBsCoU0KuF8= -github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= -github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= -github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= -github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= -github.com/pelletier/go-toml v1.7.0/go.mod h1:vwGMzjaWMwyfHwgIBhI2YUM4fB6nL6lVAvS1LBMMhTE= -github.com/pelletier/go-toml v1.8.1/go.mod h1:T2/BmBdy8dvIRq1a/8aqjN41wvWlN4lrapLU/GW4pbc= -github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= -github.com/pelletier/go-toml v1.9.4/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= -github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= -github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.8.1-0.20171018195549-f15c970de5b7/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= -github.com/pquerna/cachecontrol v0.0.0-20171018203845-0dec1b30a021/go.mod h1:prYjPmNq4d1NPVmpShWobRqXY3q7Vp+80DqgxxUrUIA= -github.com/prometheus/client_golang v0.0.0-20180209125602-c332b6f63c06/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= -github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= -github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= -github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= -github.com/prometheus/client_golang v1.1.0/go.mod h1:I1FGZT9+L76gKKOs5djB6ezCbFQP1xR9D75/vuwEF3g= -github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= -github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= -github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= -github.com/prometheus/client_model v0.0.0-20171117100541-99fa1f4be8e5/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= -github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= -github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/common v0.0.0-20180110214958-89604d197083/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= -github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= -github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.6.0/go.mod h1:eBmuwkDJBwy6iBfxCBob6t6dR6ENT/y+J+Zk0j9GMYc= -github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= -github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= -github.com/prometheus/common v0.28.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= -github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= -github.com/prometheus/procfs v0.0.0-20180125133057-cb4147076ac7/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/procfs v0.0.0-20190522114515-bc1a522cf7b1/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/procfs v0.0.3/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ= -github.com/prometheus/procfs v0.0.5/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ= -github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= -github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= -github.com/prometheus/procfs v0.2.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= -github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= -github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= -github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= -github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= -github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= -github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= -github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rogpeppe/go-internal v1.2.2/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= -github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= -github.com/safchain/ethtool v0.0.0-20190326074333-42ed695e3de8/go.mod h1:Z0q5wiBQGYcxhMZ6gUqHn6pYNLypFAvaL3UvgZLR0U4= -github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= -github.com/sclevine/spec v1.2.0/go.mod h1:W4J29eT/Kzv7/b9IWLB055Z+qvVC9vt0Arko24q7p+U= -github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM= -github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= -github.com/seccomp/libseccomp-golang v0.9.1/go.mod h1:GbW5+tmTXfcxTToHLXlScSlAvWlF4P2Ca7zGrPiEpWo= -github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= -github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= -github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= -github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= -github.com/sirupsen/logrus v1.0.4-0.20170822132746-89742aefa4b2/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc= -github.com/sirupsen/logrus v1.0.6/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc= -github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= -github.com/sirupsen/logrus v1.4.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= -github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= -github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= -github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= -github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= -github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= -github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= -github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= -github.com/soheilhy/cmux v0.1.5/go.mod h1:T7TcVDs9LWfQgPlPsdngu6I6QIoyIFZDDC6sNE1GqG0= -github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= -github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= -github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= -github.com/spf13/afero v1.3.3/go.mod h1:5KUK8ByomD5Ti5Artl0RtHeI5pTF7MIDuXL3yY520V4= -github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I= -github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cobra v0.0.2-0.20171109065643-2da4a54c5cee/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= -github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= -github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= -github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo= -github.com/spf13/cobra v1.2.1/go.mod h1:ExllRjgxM/piMAM+3tAZvg8fsklGAf3tPfi+i8t68Nk= -github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= -github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= -github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= -github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= -github.com/spf13/pflag v1.0.1-0.20171106142849-4c012f6dcd95/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= -github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= -github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= -github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= -github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= -github.com/spf13/viper v1.8.1/go.mod h1:o0Pch8wJ9BVSWGQMbra6iw0oQ5oktSIBaujf1rJH9Ns= -github.com/spf13/viper v1.10.1/go.mod h1:IGlFPqhNAPKRxohIzWpI5QEy4kuI7tcl5WvR+8qy1rU= -github.com/stefanberger/go-pkcs11uri v0.0.0-20201008174630-78d3cae3a980/go.mod h1:AO3tvPzVZ/ayst6UlUKUv6rcPQInYe3IknH3jYhAKu8= -github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= -github.com/stretchr/objx v0.0.0-20180129172003-8a3f7159479f/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= -github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= -github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= -github.com/stretchr/testify v0.0.0-20180303142811-b89eecf5ca5d/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= -github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= -github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= -github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= -github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= -github.com/tchap/go-patricia v2.2.6+incompatible/go.mod h1:bmLyhP68RS6kStMGxByiQ23RP/odRBOTVjwp2cDyi6I= -github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= -github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= -github.com/urfave/cli v0.0.0-20171014202726-7bc6a0acffa5/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= -github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= -github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= -github.com/urfave/cli v1.22.2/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= -github.com/urfave/cli v1.22.4/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= -github.com/valyala/fastjson v1.6.3/go.mod h1:CLCAqky6SMuOcxStkYQvblddUtoRxhYMGLrsQns1aXY= -github.com/vbatts/tar-split v0.11.2/go.mod h1:vV3ZuO2yWSVsz+pfFzDG/upWH1JhjOiEaWq6kXyQ3VI= -github.com/vektah/gqlparser v1.1.2/go.mod h1:1ycwN7Ij5njmMkPPAOaRFY4rET2Enx7IkVv3vaXspKw= -github.com/vishvananda/netlink v0.0.0-20181108222139-023a6dafdcdf/go.mod h1:+SR5DhBJrl6ZM7CoCKvpw5BKroDKQ+PJqOg65H/2ktk= -github.com/vishvananda/netlink v1.1.0/go.mod h1:cTgwzPIzzgDAYoQrMm0EdrjRUBkTqKYppBueQtXaqoE= -github.com/vishvananda/netlink v1.1.1-0.20201029203352-d40f9887b852/go.mod h1:twkDnbuQxJYemMlGd4JFIcuhgX83tXhKS2B/PRMpOho= -github.com/vishvananda/netns v0.0.0-20180720170159-13995c7128cc/go.mod h1:ZjcWmFBXmLKZu9Nxj3WKYEafiSqer2rnvPr0en9UNpI= -github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df/go.mod h1:JP3t17pCcGlemwknint6hfoeCVQrEMVwxRLRjXpq+BU= -github.com/vishvananda/netns v0.0.0-20200728191858-db3c7e526aae/go.mod h1:DD4vA1DwXk04H54A1oHXtwZmA0grkVMdPxx/VGLCah0= -github.com/vito/go-interact v0.0.0-20171111012221-fa338ed9e9ec/go.mod h1:wPlfmglZmRWMYv/qJy3P+fK/UnoQB5ISk4txfNd9tDo= -github.com/vmware-tanzu/carvel-imgpkg v0.23.1/go.mod h1:2XNe+P0MDgya0FPEMOVZLAXku05VZhccVdDcXChhvy8= -github.com/vmware-tanzu/carvel-kapp-controller v0.35.0/go.mod h1:Hldrv7kPAD3THS1yUYZPFIaHmPE0ENO0ljzbJrpftiE= -github.com/vmware-tanzu/carvel-vendir v0.26.0/go.mod h1:JcuNNVONFbZTbm/GjtGiWUfFrt17YBQzeGT9+gY1+yY= -github.com/vmware-tanzu/carvel-ytt v0.40.0/go.mod h1:crDcKbS1GM4Q34puoVxdrajWOXrxjOxvUCwtsNV5Etc= -github.com/vmware-tanzu/tanzu-framework v0.25.4/go.mod h1:3INRQX9FJnKXEocG/Li5wOa415eILLaLLSL1SnetEWA= -github.com/vmware/govmomi v0.27.1/go.mod h1:daTuJEcQosNMXYJOeku0qdBJP9SOLLWB3Mqz8THtv6o= -github.com/vmware/vmw-guestinfo v0.0.0-20170707015358-25eff159a728/go.mod h1:x9oS4Wk2s2u4tS29nEaDLdzvuHdB19CvSGJjPgkZJNk= -github.com/willf/bitset v1.1.11-0.20200630133818-d5bec3311243/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4= -github.com/willf/bitset v1.1.11/go.mod h1:83CECat5yLh5zVOf4P1ErAgKA5UDvKtgyUABdr3+MjI= -github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI= -github.com/xdg-go/scram v1.0.2/go.mod h1:1WAq6h33pAW+iRreB34OORO2Nf7qel3VV3fjBj+hCSs= -github.com/xdg-go/stringprep v1.0.2/go.mod h1:8F9zXuvzgwmyT5DUm4GUfZGDdT3W+LCvS6+da4O5kxM= -github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= -github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:GwrjFmJcFw6At/Gs6z4yjiIwzuJ1/+UwLxMQDVQXShQ= -github.com/xeipuuv/gojsonschema v0.0.0-20180618132009-1d523034197f/go.mod h1:5yf86TLmAcydyeJq5YvxkGPE2fm/u4myDekKRoLuqhs= -github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= -github.com/xlab/treeprint v0.0.0-20181112141820-a009c3971eca/go.mod h1:ce1O1j6UtZfjr22oyGxGLbauSBp2YVXpARAosm7dHBg= -github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= -github.com/yalp/jsonpath v0.0.0-20180802001716-5cc68e5049a0/go.mod h1:/LWChgwKmvncFJFHJ7Gvn9wZArjbV5/FppcK2fKk/tI= -github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d/go.mod h1:rHwXgn7JulP+udvsHwJoVG1YGAP6VLg4y9I5dyZdqmA= -github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -github.com/yuin/goldmark v1.4.0/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -github.com/yvasiyarov/go-metrics v0.0.0-20140926110328-57bccd1ccd43/go.mod h1:aX5oPXxHm3bOH+xeAttToC8pqch2ScQN/JoXYupl6xs= -github.com/yvasiyarov/gorelic v0.0.0-20141212073537-a9bba5b9ab50/go.mod h1:NUSPSUX/bi6SeDMUh6brw0nXpxHnc96TguQh0+r/ssA= -github.com/yvasiyarov/newrelic_platform_go v0.0.0-20140908184405-b21fdbd4370f/go.mod h1:GlGEuHIJweS1mbCqG+7vt2nvWLzLLnRHbXz5JKd/Qbg= -go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= -go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= -go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= -go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4= -go.etcd.io/etcd v0.5.0-alpha.5.0.20200910180754-dd1b699fc489/go.mod h1:yVHk9ub3CSBatqGNg7GRmsnfLWtoW60w4eDYfh7vHDg= -go.etcd.io/etcd/api/v3 v3.5.0/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs= -go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= -go.etcd.io/etcd/client/v2 v2.305.0/go.mod h1:h9puh54ZTgAKtEbut2oe9P4L/oqKCVB6xsXlzd7alYQ= -go.etcd.io/etcd/client/v3 v3.5.0/go.mod h1:AIKXXVX/DQXtfTEqBryiLTUXwON+GuvO6Z7lLS/oTh0= -go.etcd.io/etcd/pkg/v3 v3.5.0/go.mod h1:UzJGatBQ1lXChBkQF0AuAtkRQMYnHubxAEYIrC3MSsE= -go.etcd.io/etcd/raft/v3 v3.5.0/go.mod h1:UFOHSIvO/nKwd4lhkwabrTD3cqW5yVyYYf/KlD00Szc= -go.etcd.io/etcd/server/v3 v3.5.0/go.mod h1:3Ah5ruV+M+7RZr0+Y/5mNLwC+eQlni+mQmOVdCRJoS4= -go.mongodb.org/mongo-driver v1.0.3/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM= -go.mongodb.org/mongo-driver v1.1.1/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM= -go.mongodb.org/mongo-driver v1.1.2/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM= -go.mongodb.org/mongo-driver v1.5.1/go.mod h1:gRXCHX4Jo7J0IJ1oDQyUxF7jfy19UfxniMS4xxMmUqw= -go.mozilla.org/pkcs7 v0.0.0-20200128120323-432b2356ecb1/go.mod h1:SNgMg+EgDFwmvSmLRTNKC5fegJjB7v23qTQ0XLGUNHk= -go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= -go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= -go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= -go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= -go.opentelemetry.io/contrib v0.20.0/go.mod h1:G/EtFaa6qaN7+LxqfIAT3GiZa7Wv5DTBUzl5H4LY0Kc= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0/go.mod h1:oVGt1LRbBOBq1A5BQLlUg9UaU/54aiHw8cgjV3aWZ/E= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0/go.mod h1:2AboqHi0CiIZU0qwhtUfCYD1GeUzvvIXWNkhDt7ZMG4= -go.opentelemetry.io/otel v0.20.0/go.mod h1:Y3ugLH2oa81t5QO+Lty+zXf8zC9L26ax4Nzoxm/dooo= -go.opentelemetry.io/otel/exporters/otlp v0.20.0/go.mod h1:YIieizyaN77rtLJra0buKiNBOm9XQfkPEKBeuhoMwAM= -go.opentelemetry.io/otel/metric v0.20.0/go.mod h1:598I5tYlH1vzBjn+BTuhzTCSb/9debfNp6R3s7Pr1eU= -go.opentelemetry.io/otel/oteltest v0.20.0/go.mod h1:L7bgKf9ZB7qCwT9Up7i9/pn0PWIa9FqQ2IQ8LoxiGnw= -go.opentelemetry.io/otel/sdk v0.20.0/go.mod h1:g/IcepuwNsoiX5Byy2nNV0ySUF1em498m7hBWC279Yc= -go.opentelemetry.io/otel/sdk/export/metric v0.20.0/go.mod h1:h7RBNMsDJ5pmI1zExLi+bJK+Dr8NQCh0qGhm1KDnNlE= -go.opentelemetry.io/otel/sdk/metric v0.20.0/go.mod h1:knxiS8Xd4E/N+ZqKmUPf3gTTZ4/0TjTXukfxjzSTpHE= -go.opentelemetry.io/otel/trace v0.20.0/go.mod h1:6GjCW8zgDjwGHGa6GkyeB8+/5vjT16gUEi0Nf1iBdgw= -go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= -go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5/go.mod h1:nmDLcffg48OtT/PSW0Hg7FvpRQsQh5OSqIylirxKC7o= -go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= -go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= -go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= -go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= -go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= -go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= -go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= -go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= -go.uber.org/zap v1.19.0/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI= -golang.org/x/crypto v0.0.0-20171113213409-9f005a07e0d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20180723164146-c126467f60eb/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20181009213950-7c1a557ab941/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190320223903-b7391e95e576/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190422162423-af44ce270edf/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= -golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190617133340-57b3e21c3d56/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20200302210943-78000ba7a073/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20200414173820-0848c9571904/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= -golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= -golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= -golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= -golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= -golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= -golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= -golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= -golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= -golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= -golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= -golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= -golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= -golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.5.0/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180730214132-a0f8a16cb08c/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181005035420-146acd28ed58/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181011144130-49bb7cea24b1/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190320064053-1272bf9dcd53/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= -golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= -golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190619014844-b5b0513f8c1b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191004110552-13f9640d40b9/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20201006153459-a7d1128ccaa0/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc= -golang.org/x/net v0.0.0-20210331212208-0fccb6fa2b5c/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= -golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= -golang.org/x/net v0.0.0-20210421230115-4e50805a0758/go.mod h1:72T/g9IO56b78aLF+1Kcs5dz7/ng1VjMUvfKvpfy+jM= -golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210825183410-e898025ed96a/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20211111160137-58aab5ef257a/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20211209124913-491a49abca63/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210402161424-2e8d93401602/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20211005180243-6b3c2da341f1/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20220309155454-6242fa91716a/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190412183630-56d357773e84/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190321052220-f7bb7a8bee54/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190419153524-e8e3143a4f4a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190514135907-3a4b5fb9f71f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190522044717-8097e1b27ff5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190531175056-4c3a928424d2/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190602015325-4c4f7f33c9ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190606203320-7fc4e5ec1444/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190801041406-cbf593c0f2f3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190812073006-9eafafc0a87e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191002063906-3421d5a6bb1c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191022100944-742c48ecaeb7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191115151921-52ab43148777/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191210023423-ac6580df4449/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200120151820-655fe14d7479/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200124204421-9fbb57f87de9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200217220822-9197077df867/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200622214017-ed371f2e16b4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200728102440-3e129f6d46b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200817155316-9781c653f443/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200831180312-196b9ba8737a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200909081042-eff7692f9009/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200916030750-2334cc1a136f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200922070232-aee5d888a860/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200923182605-d9f96fdee20d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201112073958-5cba982894dd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201117170446-d9b008d0a637/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201202213521-69691e467435/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210324051608-47abb6519492/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210420072515-93ed5bcd2bfe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210426230700-d19ff857e887/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210603125802-9665404d3644/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210831042530-f4d43177bf5e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210917161153-d61c044b1678/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211110154304-99a53858aa08/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= -golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20220224211638-0e9765cccd65/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20181011042414-1f849cf54d09/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190125232054-d66bd3c5d5a6/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190329151228-23e29df326fe/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190416151739-9c9e1878f421/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190420181800-aa740d480789/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190531172133-b3315ee88b7d/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190617190820-da514acc4774/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190624222133-a101b041ded4/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190706070813-72ffa07ba3db/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI= -golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= -golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200505023115-26f46d2f7ef8/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200616133436-c1934b75d054/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= -golang.org/x/tools v0.0.0-20200916195026-c9a70fc28ce3/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU= -golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= -golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.6-0.20210820212750-d4cc65f0b2ff/go.mod h1:YD9qOF0M9xpSpdWTBbzEl5e/RnCefISl8E5Noe10jFM= -golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -gomodules.xyz/jsonpatch/v2 v2.2.0/go.mod h1:WXp+iVDkoLQqPudfQ9GBlwB2eZ5DKOnjQZCYdOS8GPY= -google.golang.org/api v0.0.0-20160322025152-9bf6e6e569ff/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= -google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= -google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= -google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= -google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= -google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= -google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= -google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= -google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU= -google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94= -google.golang.org/api v0.44.0/go.mod h1:EBOGZqzyhtvMDoxwS97ctnh0zUmYY6CxqXsc1AvkYD8= -google.golang.org/api v0.47.0/go.mod h1:Wbvgpq1HddcWVtzsVLyfLp8lDg6AA241LmgIL59tHXo= -google.golang.org/api v0.48.0/go.mod h1:71Pr1vy+TAZRPkPs/xlCf5SsU8WjuAWv1Pfjbtukyy4= -google.golang.org/api v0.50.0/go.mod h1:4bNT5pAuq5ji4SRZm+5QIkjny9JAyVD/3gaSihNefaw= -google.golang.org/api v0.51.0/go.mod h1:t4HdrdoNgyN5cbEfm7Lum0lcLDLiise1F8qDKX00sOU= -google.golang.org/api v0.54.0/go.mod h1:7C4bFFOvVDGXjfDTAsgGwDgAxRDeQ4X8NvUedIt6z3k= -google.golang.org/api v0.55.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= -google.golang.org/api v0.56.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= -google.golang.org/api v0.57.0/go.mod h1:dVPlbZyBo2/OjBpmvNdpn2GRm6rPy75jyU7bmhdrMgI= -google.golang.org/api v0.58.0/go.mod h1:cAbP2FsxoGVNwtgNAmmn3y5G1TWAiVYRmg4yku3lv+E= -google.golang.org/api v0.61.0/go.mod h1:xQRti5UdCmoCEqFxcz93fTl338AVqDgyaDRuOZ3hg9I= -google.golang.org/api v0.63.0/go.mod h1:gs4ij2ffTRXwuzzgJl/56BdwJaA194ijkfn++9tDuPo= -google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= -google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/cloud v0.0.0-20151119220103-975617b05ea8/go.mod h1:0H1ncTHf11KCFhTc/+EFRbzSCOZx+VUbRMk55Yv5MYk= -google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190522204451-c2c4e71fbf69/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= -google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= -google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200117163144-32f20d992d24/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= -google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200423170343-7949de9c1215/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= -google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= -google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= -google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201019141844-1ed22bb0c154/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201102152239-715cce707fb0/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201110150050-8816d57aaa9a/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= -google.golang.org/genproto v0.0.0-20210513213006-bf773b8c8384/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A= -google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= -google.golang.org/genproto v0.0.0-20210604141403-392c879c8b08/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= -google.golang.org/genproto v0.0.0-20210608205507-b6d2f5bf0d7d/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= -google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84/go.mod h1:SzzZ/N+nwJDaO1kznhnlzqS8ocJICar6hYhVyhi++24= -google.golang.org/genproto v0.0.0-20210713002101-d411969a0d9a/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= -google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= -google.golang.org/genproto v0.0.0-20210728212813-7823e685a01f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= -google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= -google.golang.org/genproto v0.0.0-20210813162853-db860fec028c/go.mod h1:cFeNkxwySK631ADgubI+/XFU/xp8FD5KIVV4rj8UC5w= -google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20210828152312-66f60bf46e71/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20210903162649-d08c68adba83/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20210917145530-b395a37504d4/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211016002631-37fc39342514/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211111162719-482062a4217b/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211206160659-862468c7d6e0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20220308174144-ae0e22291548/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= -google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= -google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= -google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= -google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.23.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.24.0/go.mod h1:XDChyiUovWa60DnaeDeZmSW86xtLtjtZbwvSiRnRtcA= -google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= -google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= -google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= -google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= -google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= -google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= -google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= -google.golang.org/grpc v1.37.1/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= -google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= -google.golang.org/grpc v1.39.0/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= -google.golang.org/grpc v1.39.1/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= -google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= -google.golang.org/grpc v1.40.1/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= -google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= -google.golang.org/grpc v1.44.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= -google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= -google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= -google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= -google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= -google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= -google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= -google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= -google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U= -gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20141024133853-64131543e789/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= -gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= -gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= -gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= -gopkg.in/fsnotify/fsnotify.v1 v1.4.7/go.mod h1:Fyux9zXlo4rWoMSIzpn9fDAYjalPqJ/K1qJ27s+7ltE= -gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2/go.mod h1:Xk6kEKp8OKb+X14hQBKWaSkCsqBpgog8nAV2xsGOxlo= -gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= -gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/ini.v1 v1.62.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/ini.v1 v1.66.2/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k= -gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= -gopkg.in/square/go-jose.v2 v2.2.2/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= -gopkg.in/square/go-jose.v2 v2.3.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= -gopkg.in/square/go-jose.v2 v2.5.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= -gopkg.in/tomb.v1 v1.0.0-20140529071818-c131134a1947/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= -gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= -gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= -gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.7/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= -gotest.tools/v3 v3.0.2/go.mod h1:3SzNCllyD9/Y+b5r9JIKQ474KzkZyqLqEfYqMsX94Bk= -gotest.tools/v3 v3.0.3/go.mod h1:Z7Lb0S5l+klDB31fvDQX8ss/FlKDxtlFlw3Oa8Ymbl8= -honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= -honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -k8s.io/api v0.20.1/go.mod h1:KqwcCVogGxQY3nBlRpwt+wpAMF/KjaCc7RpywacvqUo= -k8s.io/api v0.20.4/go.mod h1:++lNL1AJMkDymriNniQsWRkMDzRaX2Y/POTUi8yvqYQ= -k8s.io/api v0.20.6/go.mod h1:X9e8Qag6JV/bL5G6bU8sdVRltWKmdHsFUGS3eVndqE8= -k8s.io/api v0.23.4/go.mod h1:i77F4JfyNNrhOjZF7OwwNJS5Y1S9dpwvb9iYRYRczfI= -k8s.io/api v0.23.5/go.mod h1:Na4XuKng8PXJ2JsploYYrivXrINeTaycCGcYgF91Xm8= -k8s.io/apiextensions-apiserver v0.23.5/go.mod h1:ntcPWNXS8ZPKN+zTXuzYMeg731CP0heCTl6gYBxLcuQ= -k8s.io/apimachinery v0.20.1/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU= -k8s.io/apimachinery v0.20.4/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU= -k8s.io/apimachinery v0.20.6/go.mod h1:ejZXtW1Ra6V1O5H8xPBGz+T3+4gfkTCeExAHKU57MAc= -k8s.io/apimachinery v0.23.4/go.mod h1:BEuFMMBaIbcOqVIJqNZJXGFTP4W6AycEpb5+m/97hrM= -k8s.io/apimachinery v0.23.5/go.mod h1:BEuFMMBaIbcOqVIJqNZJXGFTP4W6AycEpb5+m/97hrM= -k8s.io/apiserver v0.20.1/go.mod h1:ro5QHeQkgMS7ZGpvf4tSMx6bBOgPfE+f52KwvXfScaU= -k8s.io/apiserver v0.20.4/go.mod h1:Mc80thBKOyy7tbvFtB4kJv1kbdD0eIH8k8vianJcbFM= -k8s.io/apiserver v0.20.6/go.mod h1:QIJXNt6i6JB+0YQRNcS0hdRHJlMhflFmsBDeSgT1r8Q= -k8s.io/apiserver v0.23.5/go.mod h1:7wvMtGJ42VRxzgVI7jkbKvMbuCbVbgsWFT7RyXiRNTw= -k8s.io/cli-runtime v0.23.4/go.mod h1:7KywUNTUibmHPqmpDFuRO1kc9RhsufHv2lkjCm2YZyM= -k8s.io/client-go v0.20.1/go.mod h1:/zcHdt1TeWSd5HoUe6elJmHSQ6uLLgp4bIJHVEuy+/Y= -k8s.io/client-go v0.20.4/go.mod h1:LiMv25ND1gLUdBeYxBIwKpkSC5IsozMMmOOeSJboP+k= -k8s.io/client-go v0.20.6/go.mod h1:nNQMnOvEUEsOzRRFIIkdmYOjAZrC8bgq0ExboWSU1I0= -k8s.io/client-go v0.23.4/go.mod h1:PKnIL4pqLuvYUK1WU7RLTMYKPiIh7MYShLshtRY9cj0= -k8s.io/client-go v0.23.5/go.mod h1:flkeinTO1CirYgzMPRWxUCnV0G4Fbu2vLhYCObnt/r4= -k8s.io/cluster-bootstrap v0.23.4/go.mod h1:H5UZ3a4ZvjyUIgTgW8VdnN1rm3DsRqhotqK9oDMHU1o= -k8s.io/code-generator v0.19.7/go.mod h1:lwEq3YnLYb/7uVXLorOJfxg+cUu2oihFhHZ0n9NIla0= -k8s.io/code-generator v0.23.4/go.mod h1:S0Q1JVA+kSzTI1oUvbKAxZY/DYbA/ZUb4Uknog12ETk= -k8s.io/code-generator v0.23.5/go.mod h1:S0Q1JVA+kSzTI1oUvbKAxZY/DYbA/ZUb4Uknog12ETk= -k8s.io/component-base v0.20.1/go.mod h1:guxkoJnNoh8LNrbtiQOlyp2Y2XFCZQmrcg2n/DeYNLk= -k8s.io/component-base v0.20.4/go.mod h1:t4p9EdiagbVCJKrQ1RsA5/V4rFQNDfRlevJajlGwgjI= -k8s.io/component-base v0.20.6/go.mod h1:6f1MPBAeI+mvuts3sIdtpjljHWBQ2cIy38oBIWMYnrM= -k8s.io/component-base v0.23.4/go.mod h1:8o3Gg8i2vnUXGPOwciiYlkSaZT+p+7gA9Scoz8y4W4E= -k8s.io/component-base v0.23.5/go.mod h1:c5Nq44KZyt1aLl0IpHX82fhsn84Sb0jjzwjpcA42bY0= -k8s.io/component-helpers v0.23.4/go.mod h1:1Pl7L4zukZ054ElzRbvmZ1FJIU8roBXFOeRFu8zipa4= -k8s.io/cri-api v0.17.3/go.mod h1:X1sbHmuXhwaHs9xxYffLqJogVsnI+f6cPRcgPel7ywM= -k8s.io/cri-api v0.20.1/go.mod h1:2JRbKt+BFLTjtrILYVqQK5jqhI+XNdF6UiGMgczeBCI= -k8s.io/cri-api v0.20.4/go.mod h1:2JRbKt+BFLTjtrILYVqQK5jqhI+XNdF6UiGMgczeBCI= -k8s.io/cri-api v0.20.6/go.mod h1:ew44AjNXwyn1s0U4xCKGodU7J1HzBeZ1MpGrpa5r8Yc= -k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= -k8s.io/gengo v0.0.0-20200428234225-8167cfdcfc14/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= -k8s.io/gengo v0.0.0-20201113003025-83324d819ded/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= -k8s.io/gengo v0.0.0-20210813121822-485abfe95c7c/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= -k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= -k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= -k8s.io/klog/v2 v2.4.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= -k8s.io/klog/v2 v2.30.0/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= -k8s.io/klog/v2 v2.40.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= -k8s.io/kube-openapi v0.0.0-20200805222855-6aeccd4b50c6/go.mod h1:UuqjUnNftUyPE5H64/qeyjQoUZhGpeFDVdxjTeEVN2o= -k8s.io/kube-openapi v0.0.0-20201113171705-d219536bb9fd/go.mod h1:WOJ3KddDSol4tAGcJo0Tvi+dK12EcqSLqcWsryKMpfM= -k8s.io/kube-openapi v0.0.0-20210421082810-95288971da7e/go.mod h1:vHXdDvt9+2spS2Rx9ql3I8tycm3H9FDfdUoIuKCefvw= -k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65/go.mod h1:sX9MT8g7NVZM5lVL/j8QyCCJe8YSMW30QvGZWaCIDIk= -k8s.io/kube-openapi v0.0.0-20220124234850-424119656bbf/go.mod h1:sX9MT8g7NVZM5lVL/j8QyCCJe8YSMW30QvGZWaCIDIk= -k8s.io/kubectl v0.23.4/go.mod h1:Dgb0Rvx/8JKS/C2EuvsNiQc6RZnX0SbHJVG3XUzH6ok= -k8s.io/kubernetes v1.13.0/go.mod h1:ocZa8+6APFNC2tX1DZASIbocyYT5jHzqFVsY5aoB7Jk= -k8s.io/metrics v0.23.4/go.mod h1:cl6sY9BdVT3DubbpqnkPIKi6mn/F2ltkU4yH1tEJ3Bo= -k8s.io/utils v0.0.0-20201110183641-67b214c5f920/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -k8s.io/utils v0.0.0-20211116205334-6203023598ed/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= -rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= -rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= -sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.14/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= -sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.15/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= -sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.30/go.mod h1:fEO7lRTdivWO2qYVCVG7dEADOMo/MLDCVr8So2g88Uw= -sigs.k8s.io/cluster-api v1.1.5/go.mod h1:WBPgw1yJdvybx/U3Ib49T9Q4JurairgnA/s0afxuE/w= -sigs.k8s.io/cluster-api-provider-aws v1.1.0/go.mod h1:GtzEj1B+kQoxoxrAs3oMRs7FP8UiIZ9NDDT4mZgEttA= -sigs.k8s.io/cluster-api-provider-azure v1.4.5/go.mod h1:x9zoZ6PtCIcZlE4z7rdq/u5mNDuop2I78+y5Cvc+efc= -sigs.k8s.io/cluster-api-provider-vsphere v1.3.5/go.mod h1:mHkTK4y0OBJZJQWiaUZ7RA08hkpow3wN2608rGRQHiU= -sigs.k8s.io/cluster-api/test v1.1.5/go.mod h1:NXFioUFKruk/PgpUt4QrprV9bN1rVUcm7OWao9dfesg= -sigs.k8s.io/controller-runtime v0.11.2/go.mod h1:P6QCzrEjLaZGqHsfd+os7JQ+WFZhvB8MRFsn4dWF7O4= -sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6/go.mod h1:p4QtZmO4uMYipTQNzagwnNoseA6OxSUutVw05NhYDRs= -sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2/go.mod h1:B+TnT182UBxE84DiCz4CVE26eOSDAeYCpfDnC2kdKMY= -sigs.k8s.io/kustomize/api v0.10.1/go.mod h1:2FigT1QN6xKdcnGS2Ppp1uIWrtWN28Ms8A3OZUZhwr8= -sigs.k8s.io/kustomize/cmd/config v0.10.2/go.mod h1:K2aW7nXJ0AaT+VA/eO0/dzFLxmpFcTzudmAgDwPY1HQ= -sigs.k8s.io/kustomize/kustomize/v4 v4.4.1/go.mod h1:qOKJMMz2mBP+vcS7vK+mNz4HBLjaQSWRY22EF6Tb7Io= -sigs.k8s.io/kustomize/kyaml v0.13.0/go.mod h1:FTJxEZ86ScK184NpGSAQcfEqee0nul8oLCK30D47m4E= -sigs.k8s.io/structured-merge-diff/v4 v4.0.1/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= -sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= -sigs.k8s.io/structured-merge-diff/v4 v4.0.3/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= -sigs.k8s.io/structured-merge-diff/v4 v4.2.1/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= -sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= -sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= -sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= diff --git a/test/compatibility/testplugins/runtime-test-plugin-v0_90/LICENSE b/test/compatibility/testplugins/runtime-test-plugin-v0_90/LICENSE new file mode 100644 index 000000000..e69de29bb diff --git a/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/parser.go b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/parser.go new file mode 100644 index 000000000..fe34af938 --- /dev/null +++ b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/parser.go @@ -0,0 +1,50 @@ +// Copyright 2023 VMware, Inc. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +package cmd + +import ( + configtypes "github.com/vmware-tanzu/tanzu-plugin-runtime/config/types" + + "gopkg.in/yaml.v3" +) + +// parseContext unmarshalls string to Context struct +func parseContext(context string) (*configtypes.Context, error) { + var ctx configtypes.Context + err := yaml.Unmarshal([]byte(context), &ctx) + if err != nil { + return nil, err + } + return &ctx, nil +} + +// parseServer unmarshalls string to Server struct +func parseServer(server string) (*configtypes.Server, error) { //nolint:staticcheck // Deprecated + var s configtypes.Server //nolint:staticcheck // Deprecated + err := yaml.Unmarshal([]byte(server), &s) + if err != nil { + return nil, err + } + return &s, nil +} + +// parseCLIDiscoverySource unmarshalls string to PluginDiscovery struct +func parseCLIDiscoverySource(source string) (*configtypes.PluginDiscovery, error) { + var pluginDiscovery configtypes.PluginDiscovery + err := yaml.Unmarshal([]byte(source), &pluginDiscovery) + if err != nil { + return nil, err + } + return &pluginDiscovery, nil +} + +// parseClientConfig unmarshalls string to ClientConfig struct +func parseClientConfig(cfgStr string) (*configtypes.ClientConfig, error) { + var cfg configtypes.ClientConfig + err := yaml.Unmarshal([]byte(cfgStr), &cfg) + if err != nil { + return nil, err + } + return &cfg, nil +} diff --git a/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/parser_test.go b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/parser_test.go new file mode 100644 index 000000000..d7d623381 --- /dev/null +++ b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/parser_test.go @@ -0,0 +1,94 @@ +// Copyright 2023 VMware, Inc. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +package cmd + +import ( + "testing" + + "github.com/stretchr/testify/assert" + + configtypes "github.com/vmware-tanzu/tanzu-plugin-runtime/config/types" +) + +func TestParseContext(t *testing.T) { + tests := []struct { + name string + ctxStr string + err string + expectedContext *configtypes.Context + }{ + { + name: "Parse valid context str", + ctxStr: `name: context-one +target: kubernetes +globalOpts: + endpoint: test-endpoint +`, + expectedContext: &configtypes.Context{ + Name: "context-one", + Target: "kubernetes", + GlobalOpts: &configtypes.GlobalServer{ + Endpoint: "test-endpoint", + }, + }, + }, + { + name: "Failed to parse invalid string", + ctxStr: `name`, + err: "yaml: unmarshal errors:\n line 1: cannot unmarshal !!str `name` into types.Context", + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + actual, err := parseContext(tt.ctxStr) + if tt.err != "" || err != nil { + assert.Equal(t, tt.err, err.Error()) + } else { + assert.Equal(t, tt.expectedContext, actual) + } + }) + } +} + +func TestParseServer(t *testing.T) { + tests := []struct { + name string + serverStr string + err string + expectedServer *configtypes.Server + }{ + { + name: "Parse valid context str", + serverStr: `name: compatibility-test-one +type: managementcluster +globalOpts: + endpoint: default-compatibility-test-endpoint +`, + expectedServer: &configtypes.Server{ + Name: "compatibility-test-one", + Type: configtypes.ManagementClusterServerType, + GlobalOpts: &configtypes.GlobalServer{ + Endpoint: "default-compatibility-test-endpoint", + }, + }, + }, + { + name: "Failed to parse invalid string", + serverStr: `name`, + err: "yaml: unmarshal errors:\n line 1: cannot unmarshal !!str `name` into types.Server", + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + actual, err := parseServer(tt.serverStr) + if tt.err != "" || err != nil { + assert.Equal(t, tt.err, err.Error()) + } else { + assert.Equal(t, tt.expectedServer, actual) + } + }) + } +} diff --git a/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/root.go b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/root.go new file mode 100644 index 000000000..a69dae6cb --- /dev/null +++ b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/root.go @@ -0,0 +1,27 @@ +// Copyright 2023 VMware, Inc. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +// Package cmd contains root and test command to trigger apis +package cmd + +import ( + "os" + + "github.com/spf13/cobra" +) + +// rootCmd represents the base command when called without any subcommands +var rootCmd = &cobra.Command{ + Use: "runtime-test-plugin-v0_90", + Short: "runtime cross-version api compatibility test plugin", + Long: `A test plugin with runtime lib v0.90 used for cross-version api compatibility testing of runtime config apis`, +} + +// Execute adds all child commands to the root command and sets flags appropriately. +// This is called by main.main(). It only needs to happen once to the rootCmd. +func Execute() { + err := rootCmd.Execute() + if err != nil { + os.Exit(1) + } +} diff --git a/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/test.go b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/test.go new file mode 100644 index 000000000..0e87d2e5b --- /dev/null +++ b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/test.go @@ -0,0 +1,50 @@ +// Copyright 2023 VMware, Inc. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +package cmd + +import ( + "fmt" + + "github.com/spf13/cobra" + "gopkg.in/yaml.v3" + + compatibilitytestingcore "github.com/vmware-tanzu/tanzu-plugin-runtime/test/compatibility/core" +) + +// testCmd represents the test command +var ( + filepath string + testCmd = &cobra.Command{ + Use: "test", + Short: "A test command that parse the file and trigger the runtime apis", + Run: func(cmd *cobra.Command, args []string) { + // Parse the file into array of apis struct + apis, err := compatibilitytestingcore.ParseRuntimeAPIsFromFile(filepath) + if err != nil { + fmt.Println(err) + } + // Trigger Runtime APIs + runAPIs(apis) + }, + } +) + +func init() { + rootCmd.AddCommand(testCmd) + testCmd.Flags().StringVarP(&filepath, "file", "f", "", "test file path") +} + +// runAPIs loop through the apis and trigger the runtime api methods and print logs to stdout +func runAPIs(apis []compatibilitytestingcore.API) { + // Trigger apis and return logs to be printed + logs := triggerAPIs(apis) + + // Log the output to stdout + bytes, err := yaml.Marshal(logs) + if err != nil { + fmt.Println("runAPIs", err) + } + + fmt.Println(string(bytes)) +} diff --git a/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_apis.go b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_apis.go new file mode 100644 index 000000000..d5556869f --- /dev/null +++ b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_apis.go @@ -0,0 +1,98 @@ +// Copyright 2023 VMware, Inc. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +package cmd + +import ( + "fmt" + + "github.com/vmware-tanzu/tanzu-plugin-runtime/test/compatibility/core" +) + +// Route to runtime API method call based on passed command value +var apiHandlers = map[core.RuntimeAPIName]func(*core.API) *core.APIResponse{ + // Context APIs + core.SetContextAPI: triggerSetContextAPI, + core.GetContextAPIName: triggerGetContextAPI, + core.RemoveContextAPI: triggerDeleteContextAPI, + core.DeleteContextAPI: triggerDeleteContextAPI, + core.SetCurrentContextAPI: triggerSetCurrentContextAPI, + core.GetCurrentContextAPI: triggerGetCurrentContextAPI, + core.RemoveCurrentContextAPI: triggerRemoveCurrentContextAPI, + + // Server APIs + core.SetServerAPI: triggerSetServerAPI, + core.AddServerAPI: triggerSetServerAPI, + core.PutServerAPI: triggerSetServerAPI, + core.GetServerAPI: triggerGetServerAPI, + core.RemoveServerAPI: triggerRemoveServerAPI, + core.DeleteServerAPI: triggerRemoveServerAPI, + core.SetCurrentServerAPI: triggerSetCurrentServerAPI, + core.GetCurrentServerAPI: triggerGetCurrentServerAPI, + core.RemoveCurrentServerAPI: triggerRemoveCurrentServerAPI, + + // Feature APIs + core.SetFeatureAPI: triggerSetFeatureAPI, + core.IsFeatureEnabledAPI: triggerIsFeatureEnabledAPI, + core.DeleteFeatureAPI: triggerDeleteFeatureAPI, + + // Env APIs + core.SetEnvAPI: triggerSetEnvAPI, + core.GetEnvAPI: triggerGetEnvAPI, + core.GetEnvConfigurationsAPI: triggerGetEnvConfigurationsAPI, + core.DeleteEnvAPI: triggerDeleteEnvAPI, + + // CLI Discovery Source APIs + core.SetCLIDiscoverySourceAPI: triggerSetCLIDiscoverySourceAPI, + core.GetCLIDiscoverySourceAPI: triggerGetCLIDiscoverySourceAPI, + core.DeleteCLIDiscoverySourceAPI: triggerDeleteCLIDiscoverySourceAPI, + + // Metadata APIs + core.SetConfigMetadataSettingAPI: triggerSetConfigMetadataSettingAPI, + core.SetConfigMetadataPatchStrategyAPI: triggerSetConfigMetadataPatchStrategyAPI, + core.DeleteConfigMetadataSettingAPI: triggerDeleteConfigMetadataSettingAPI, + core.GetMetadataAPI: triggerGetMetadataAPI, + core.GetConfigMetadataAPI: triggerGetConfigMetadataAPI, + core.GetConfigMetadataPatchStrategyAPI: triggerGetConfigMetadataPatchStrategyAPI, + core.GetConfigMetadataSettingsAPI: triggerGetConfigMetadataSettingsAPI, + core.GetConfigMetadataSettingAPI: triggerGetConfigMetadataSettingAPI, + core.IsConfigMetadataSettingsEnabledAPI: triggerIsConfigMetadataSettingsEnabledAPI, + core.UseUnifiedConfigAPI: triggerUseUnifiedConfigAPI, + + // Global APIs + core.GetClientConfigAPI: triggerGetClientConfigAPI, + core.StoreClientConfigAPI: triggerStoreClientConfigAPI, +} + +// triggerAPIs trigger runtime apis and construct logs +func triggerAPIs(apis []core.API) map[core.RuntimeAPIName][]core.APILog { + // Variable used to store all the logging related to runtime api responses + logs := make(map[core.RuntimeAPIName][]core.APILog) + + // Loop through array of commands + for index := range apis { + api := &apis[index] + handler, ok := apiHandlers[api.Name] + if !ok { + log := core.APILog{ + APIResponse: &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("command %v not found", api.Name), + }, + } + logs[api.Name] = append(logs[api.Name], log) + continue + } + + // Trigger the API handler + apiResponse := handler(api) + + // Construct the logs + log := core.APILog{ + APIResponse: apiResponse, + } + logs[api.Name] = append(logs[api.Name], log) + } + + return logs +} diff --git a/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_cli_discovery_source_apis_test.go b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_cli_discovery_source_apis_test.go new file mode 100644 index 000000000..6ec6752c8 --- /dev/null +++ b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_cli_discovery_source_apis_test.go @@ -0,0 +1,212 @@ +// Copyright 2023 VMware, Inc. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +package cmd + +import ( + "testing" + + "github.com/stretchr/testify/assert" + + configtypes "github.com/vmware-tanzu/tanzu-plugin-runtime/config/types" + "github.com/vmware-tanzu/tanzu-plugin-runtime/test/compatibility/core" +) + +const sourceOne string = "compatibility-tests-source-one" +const sourceImage string = "compatibility-tests-source-image" + +func TestTriggerCLIDiscoverySourceAPIs(t *testing.T) { + _, cleanup := core.SetupTempCfgFiles() + defer func() { + cleanup() + }() + source := ` +oci: + name: compatibility-tests-source-one + image: compatibility-tests-source-image +` + var tests = []struct { + name string + apiName core.RuntimeAPIName + apis []core.API + expectedLogs map[core.RuntimeAPIName][]core.APILog + }{ + { + name: "Trigger SetCLIDiscoverySourceAPI", + apiName: core.SetCLIDiscoverySourceAPI, + apis: []core.API{ + { + Name: core.SetCLIDiscoverySourceAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.DiscoverySource: source, + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + { + Name: core.SetCLIDiscoverySourceAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.DiscoverySource: source, + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.SetCLIDiscoverySourceAPI: { + { + APIResponse: &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + }, + }, + { + APIResponse: &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + }, + }, + }, + }, + }, + + { + name: "Trigger GetCLIDiscoverySourceAPI", + apiName: core.GetCLIDiscoverySourceAPI, + apis: []core.API{ + { + Name: core.SetCLIDiscoverySourceAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.DiscoverySource: source, + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + { + Name: core.GetCLIDiscoverySourceAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Name: sourceOne, + }, + Output: &core.Output{ + Result: "success", + Content: source, + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.GetCLIDiscoverySourceAPI: { + { + APIResponse: &core.APIResponse{ + ResponseBody: &configtypes.PluginDiscovery{ + OCI: &configtypes.OCIDiscovery{ + Name: sourceOne, + Image: sourceImage, + }, + }, + ResponseType: core.MapResponse, + }, + }, + }, + }, + }, + + { + name: "Trigger DeleteCLIDiscoverySourceAPI", + apiName: core.DeleteCLIDiscoverySourceAPI, + apis: []core.API{ + { + Name: core.SetCLIDiscoverySourceAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.DiscoverySource: source, + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + { + Name: core.DeleteCLIDiscoverySourceAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Name: sourceOne, + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.DeleteCLIDiscoverySourceAPI: { + { + APIResponse: &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + }, + }, + }, + }, + }, + + { + name: "Trigger DeleteCLIDiscoverySourceAPI", + apiName: core.DeleteCLIDiscoverySourceAPI, + apis: []core.API{ + { + Name: core.SetCLIDiscoverySourceAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.DiscoverySource: source, + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + { + Name: core.DeleteCLIDiscoverySourceAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Name: sourceOne, + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.DeleteCLIDiscoverySourceAPI: { + { + APIResponse: &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + }, + }, + }, + }, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + actualLogs := triggerAPIs(tt.apis) + assert.Equal(t, tt.expectedLogs[tt.apiName], actualLogs[tt.apiName]) + }) + } +} diff --git a/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_cli_disocvery_source_apis.go b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_cli_disocvery_source_apis.go new file mode 100644 index 000000000..bb50a003c --- /dev/null +++ b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_cli_disocvery_source_apis.go @@ -0,0 +1,105 @@ +// Copyright 2023 VMware, Inc. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +package cmd + +import ( + "fmt" + + "github.com/pkg/errors" + + configlib "github.com/vmware-tanzu/tanzu-plugin-runtime/config" + configtypes "github.com/vmware-tanzu/tanzu-plugin-runtime/config/types" + "github.com/vmware-tanzu/tanzu-plugin-runtime/test/compatibility/core" +) + +// triggerGetCLIDiscoverySourceAPI trigger get cli discovery source name runtime api +func triggerGetCLIDiscoverySourceAPI(api *core.API) *core.APIResponse { + // Parse arguments needed to trigger the runtime api + name, err := core.ParseStr(api.Arguments[core.Name]) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("failed to parse string from argument %v with error %v ", core.Name, err.Error()), + } + } + return getCLIDiscoverySource(name) +} + +// triggerSetCLIDiscoverySourceAPI trigger add server runtime api +func triggerSetCLIDiscoverySourceAPI(api *core.API) *core.APIResponse { + // Parse arguments needed to trigger the runtime api + source, err := parseCLIDiscoverySource(api.Arguments[core.DiscoverySource].(string)) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("failed to parse discovery source from argument %v with error %v ", core.DiscoverySource, err.Error()), + } + } + return setCLIDiscoverySource(source) +} + +// triggerDeleteCLIDiscoverySourceAPI trigger remove context runtime api +func triggerDeleteCLIDiscoverySourceAPI(api *core.API) *core.APIResponse { + // Parse arguments needed to trigger the runtime api + name, err := core.ParseStr(api.Arguments[core.Name]) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("failed to parse string from argument %v with error %v ", core.Name, err.Error()), + } + } + return deleteCLIDiscoverySource(name) +} + +func getCLIDiscoverySource(name string) *core.APIResponse { + // Call runtime GetCLIDiscoverySource API + source, err := configlib.GetCLIDiscoverySource(name) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + if source == nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("source %v not found", source), + } + } + return &core.APIResponse{ + ResponseType: core.MapResponse, + ResponseBody: source, + } +} + +func setCLIDiscoverySource(source *configtypes.PluginDiscovery) *core.APIResponse { + // Call runtime SetCLIDiscoverySource API + err := configlib.SetCLIDiscoverySource(*source) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: errors.Wrap(err, "failed"), + } + } + return &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + } +} + +func deleteCLIDiscoverySource(name string) *core.APIResponse { + // Call runtime RemoveCLIDiscoverySource API + err := configlib.DeleteCLIDiscoverySource(name) + + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + return &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + } +} diff --git a/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_context_apis.go b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_context_apis.go new file mode 100644 index 000000000..e8fe2d49b --- /dev/null +++ b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_context_apis.go @@ -0,0 +1,193 @@ +// Copyright 2023 VMware, Inc. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +package cmd + +import ( + "fmt" + + configlib "github.com/vmware-tanzu/tanzu-plugin-runtime/config" + configtypes "github.com/vmware-tanzu/tanzu-plugin-runtime/config/types" + "github.com/vmware-tanzu/tanzu-plugin-runtime/test/compatibility/core" +) + +// triggerGetContextAPI trigger Runtime GetContext API +func triggerGetContextAPI(api *core.API) *core.APIResponse { + // Parse arguments needed to trigger the Runtime GetContext API + ctxName, err := core.ParseStr(api.Arguments[core.ContextName]) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("failed to parse string from argument %v with error %v", core.ContextName, err), + } + } + // Trigger GetContext API + return getContext(ctxName) +} + +// triggerSetContextAPI trigger Runtime SetContext API +func triggerSetContextAPI(api *core.API) *core.APIResponse { + // Parse arguments needed to trigger the Runtime SetContext API + ctx, err := parseContext(api.Arguments[core.Context].(string)) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("failed to parse context from argument %v with error %v ", core.Context, err.Error()), + } + } + setCurrent := api.Arguments[core.SetCurrent].(bool) + // Trigger SetContext API + return setContext(ctx, setCurrent) +} + +// triggerDeleteContextAPI trigger Runtime DeleteContext API +func triggerDeleteContextAPI(api *core.API) *core.APIResponse { + // Parse arguments needed to trigger the Runtime DeleteContext API + ctxName, err := core.ParseStr(api.Arguments[core.ContextName]) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("failed to parse string from argument %v with error %v ", core.ContextName, err.Error()), + } + } + // Trigger DeleteContext API + return deleteContext(ctxName) +} + +// triggerSetCurrentContextAPI trigger Runtime SetCurrentContext API +func triggerSetCurrentContextAPI(api *core.API) *core.APIResponse { + // Parse arguments needed to trigger the Runtime SetCurrentContext API + ctxName, err := core.ParseStr(api.Arguments[core.ContextName]) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("failed to parse string from argument %v with error %v ", core.ContextName, err.Error()), + } + } + // Trigger SetCurrentContext API + return setCurrentContext(ctxName) +} + +// triggerGetCurrentContextAPI trigger Runtime GetCurrentContext API +func triggerGetCurrentContextAPI(api *core.API) *core.APIResponse { + // Parse arguments needed to trigger the Runtime GetCurrentContext API + target, err := core.ParseStr(api.Arguments[core.Target]) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("failed to parse string from argument %v with error %v ", core.Target, err.Error()), + } + } + // Trigger GetCurrentContext API + return getCurrentContext(configtypes.Target(target)) +} + +// triggerRemoveCurrentContextAPI trigger Runtime RemoveCurrentContext API +func triggerRemoveCurrentContextAPI(api *core.API) *core.APIResponse { + // Parse arguments needed to trigger the Runtime RemoveCurrentContext API + target, err := core.ParseStr(api.Arguments[core.Target]) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("failed to parse string from argument %v with error %v ", core.Target, err.Error()), + } + } + // Trigger RemoveCurrentContext + return removeCurrentContext(configtypes.Target(target)) +} + +func getContext(ctxName string) *core.APIResponse { + ctx, err := configlib.GetContext(ctxName) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + if ctx == nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("context %s not found", ctxName), + } + } + return &core.APIResponse{ + ResponseType: core.MapResponse, + ResponseBody: ctx, + } +} + +func setContext(context *configtypes.Context, setCurrent bool) *core.APIResponse { + err := configlib.SetContext(context, setCurrent) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + return &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + } +} + +func deleteContext(contextName string) *core.APIResponse { + err := configlib.DeleteContext(contextName) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + return &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + } +} + +func setCurrentContext(contextName string) *core.APIResponse { + err := configlib.SetCurrentContext(contextName) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + return &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + } +} + +func getCurrentContext(target configtypes.Target) *core.APIResponse { + ctx, err := configlib.GetCurrentContext(target) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + if ctx == nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("context %s not found", target), + } + } + return &core.APIResponse{ + ResponseType: core.MapResponse, + ResponseBody: ctx, + } +} + +func removeCurrentContext(target configtypes.Target) *core.APIResponse { + err := configlib.RemoveCurrentContext(target) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + return &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + } +} diff --git a/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_context_apis_test.go b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_context_apis_test.go new file mode 100644 index 000000000..a9b75987e --- /dev/null +++ b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_context_apis_test.go @@ -0,0 +1,348 @@ +// Copyright 2023 VMware, Inc. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +package cmd + +import ( + "testing" + + "github.com/stretchr/testify/assert" + + configtypes "github.com/vmware-tanzu/tanzu-plugin-runtime/config/types" + "github.com/vmware-tanzu/tanzu-plugin-runtime/test/compatibility/core" +) + +func TestTriggerContextAPIs(t *testing.T) { + _, cleanup := core.SetupTempCfgFiles() + defer func() { + cleanup() + }() + ctx := `name: context-one +target: kubernetes +globalOpts: + endpoint: test-endpoint +` + var tests = []struct { + name string + apiName core.RuntimeAPIName + apis []core.API + expectedLogs map[core.RuntimeAPIName][]core.APILog + }{ + { + name: "Trigger SetContext API", + apiName: core.SetContextAPI, + apis: []core.API{ + { + Name: core.SetContextAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Context: ctx, + core.SetCurrent: false, + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.SetContextAPI: { + { + APIResponse: &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + }, + }, + }, + }, + }, + + { + name: "Trigger GetContext API", + apiName: core.GetContextAPIName, + apis: []core.API{ + { + Name: core.SetContextAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Context: ctx, + core.SetCurrent: false, + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + { + Name: core.GetContextAPIName, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.ContextName: "context-one", + }, + Output: &core.Output{ + Result: "success", + Content: ctx, + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.GetContextAPIName: { + { + APIResponse: &core.APIResponse{ + ResponseBody: &configtypes.Context{ + Name: "context-one", + Target: "kubernetes", + GlobalOpts: &configtypes.GlobalServer{ + Endpoint: "test-endpoint", + }, + }, + ResponseType: core.MapResponse, + }, + }, + }, + }, + }, + + { + name: "Trigger RemoveContext API", + apiName: core.RemoveContextAPI, + apis: []core.API{ + { + Name: core.SetContextAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Context: ctx, + core.SetCurrent: false, + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + { + Name: core.RemoveContextAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.ContextName: "context-one", + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.RemoveContextAPI: { + { + APIResponse: &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + }, + }, + }, + }, + }, + + { + name: "Trigger DeleteContext API", + apiName: core.DeleteContextAPI, + apis: []core.API{ + { + Name: core.SetContextAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Context: ctx, + core.SetCurrent: false, + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + { + Name: core.DeleteContextAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.ContextName: "context-one", + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.DeleteContextAPI: { + { + APIResponse: &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + }, + }, + }, + }, + }, + + { + name: "Trigger SetCurrentContext API", + apiName: core.SetCurrentContextAPI, + apis: []core.API{ + { + Name: core.SetContextAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Context: ctx, + core.SetCurrent: false, + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + { + Name: core.SetCurrentContextAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.ContextName: "context-one", + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.SetCurrentContextAPI: { + { + APIResponse: &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + }, + }, + }, + }, + }, + + { + name: "Trigger GetCurrentContext API", + apiName: core.GetCurrentContextAPI, + apis: []core.API{ + { + Name: core.SetContextAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Context: ctx, + core.SetCurrent: false, + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + { + Name: core.SetCurrentContextAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.ContextName: "context-one", + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + { + Name: core.GetCurrentContextAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Target: "kubernetes", + }, + Output: &core.Output{ + Result: "success", + Content: ctx, + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.GetCurrentContextAPI: { + { + APIResponse: &core.APIResponse{ + ResponseBody: &configtypes.Context{ + Name: "context-one", + Target: "kubernetes", + GlobalOpts: &configtypes.GlobalServer{ + Endpoint: "test-endpoint", + }, + }, + ResponseType: core.MapResponse, + }, + }, + }, + }, + }, + + { + name: "Trigger RemoveCurrentContext API", + apiName: core.RemoveCurrentContextAPI, + apis: []core.API{ + { + Name: core.SetContextAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Context: ctx, + core.SetCurrent: false, + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + { + Name: core.SetCurrentContextAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.ContextName: "context-one", + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + { + Name: core.RemoveCurrentContextAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Target: "kubernetes", + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.RemoveCurrentContextAPI: { + { + APIResponse: &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + }, + }, + }, + }, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + actualLogs := triggerAPIs(tt.apis) + assert.Equal(t, tt.expectedLogs[tt.apiName], actualLogs[tt.apiName]) + }) + } +} diff --git a/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_env_apis.go b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_env_apis.go new file mode 100644 index 000000000..627eb0c08 --- /dev/null +++ b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_env_apis.go @@ -0,0 +1,130 @@ +// Copyright 2023 VMware, Inc. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +package cmd + +import ( + "fmt" + + configlib "github.com/vmware-tanzu/tanzu-plugin-runtime/config" + "github.com/vmware-tanzu/tanzu-plugin-runtime/test/compatibility/core" +) + +// triggerGetEnvConfigurationsAPI trigger Runtime GetEnvConfigurations API +func triggerGetEnvConfigurationsAPI(_ *core.API) *core.APIResponse { + // Trigger GetEnvConfigurations API + return getEnvConfigurations() +} + +// triggerGetEnvAPI trigger Runtime GetEnv API +func triggerGetEnvAPI(api *core.API) *core.APIResponse { + keyName, err := parseEnvArguments(api) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err, + } + } + + // Trigger GetEnv API + return getEnv(keyName) +} + +// triggerSetEnvAPI trigger Runtime SetEnv API +func triggerSetEnvAPI(api *core.API) *core.APIResponse { + // Parse arguments needed to trigger the Runtime SetEnv API + keyName, err := core.ParseStr(api.Arguments[core.Key]) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("failed to parse string from argument %v with error %v", core.Key, err), + } + } + + valueName, err := core.ParseStr(api.Arguments[core.Value]) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("failed to parse string from argument %v with error %v", core.Value, err), + } + } + // Trigger SetEnv API + return setEnv(keyName, valueName) +} + +// triggerDeleteEnvAPI trigger Runtime DeleteEnv API +func triggerDeleteEnvAPI(api *core.API) *core.APIResponse { + keyName, err := parseEnvArguments(api) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err, + } + } + + // Trigger DeleteEnv API + return deleteEnv(keyName) +} + +func getEnvConfigurations() *core.APIResponse { + envs := configlib.GetEnvConfigurations() + + return &core.APIResponse{ + ResponseType: core.MapResponse, + ResponseBody: envs, + } +} + +func getEnv(keyName string) *core.APIResponse { + enabled, err := configlib.GetEnv(keyName) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + + return &core.APIResponse{ + ResponseType: core.StringResponse, + ResponseBody: enabled, + } +} + +func setEnv(keyName, valueName string) *core.APIResponse { + err := configlib.SetEnv(keyName, valueName) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + return &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + } +} + +func deleteEnv(keyName string) *core.APIResponse { + err := configlib.DeleteEnv(keyName) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + return &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + } +} + +func parseEnvArguments(api *core.API) (string, error) { + // Parse arguments needed to trigger the Runtime GetEnv API + keyName, err := core.ParseStr(api.Arguments[core.Key]) + if err != nil { + return "", + fmt.Errorf("failed to parse string from argument %v with error %v", core.Key, err) + } + + return keyName, nil +} diff --git a/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_env_apis_test.go b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_env_apis_test.go new file mode 100644 index 000000000..e3594f6ca --- /dev/null +++ b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_env_apis_test.go @@ -0,0 +1,161 @@ +// Copyright 2023 VMware, Inc. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +package cmd + +import ( + "testing" + + "github.com/stretchr/testify/assert" + + "github.com/vmware-tanzu/tanzu-plugin-runtime/test/compatibility/core" +) + +func TestTriggerEnvAPIs(t *testing.T) { + _, cleanup := core.SetupTempCfgFiles() + defer func() { + cleanup() + }() + + var tests = []struct { + name string + apiName core.RuntimeAPIName + apis []core.API + expectedLogs map[core.RuntimeAPIName][]core.APILog + }{ + { + name: "Trigger SetEnv API", + apiName: core.SetEnvAPI, + apis: []core.API{ + { + Name: core.SetEnvAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Key: "compatibility-tests", + core.Value: "default-env-val", + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.SetEnvAPI: { + { + APIResponse: &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + }, + }, + }, + }, + }, + + { + name: "Trigger GenEnv API", + apiName: core.GetEnvAPI, + apis: []core.API{ + { + Name: core.GetEnvAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Key: "compatibility-tests", + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.GetEnvAPI: { + { + APIResponse: &core.APIResponse{ + ResponseType: core.StringResponse, + ResponseBody: "default-env-val", + }, + }, + }, + }, + }, + + { + name: "Trigger GenEnvConfigurations API", + apiName: core.GetEnvConfigurationsAPI, + apis: []core.API{ + { + Name: core.GetEnvConfigurationsAPI, + Version: core.Version090, + Output: &core.Output{ + Result: "success", + Content: `compatibility-tests: default-env-val`, + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.GetEnvConfigurationsAPI: { + { + APIResponse: &core.APIResponse{ + ResponseType: core.MapResponse, + ResponseBody: map[string]string{ + "compatibility-tests": "default-env-val", + }, + }, + }, + }, + }, + }, + + { + name: "Trigger DeleteEnv API", + apiName: core.DeleteEnvAPI, + apis: []core.API{ + { + Name: core.SetEnvAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Key: "compatibility-tests", + core.Value: "default-env-val", + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + { + Name: core.DeleteEnvAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Key: "compatibility-tests", + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.DeleteEnvAPI: { + { + APIResponse: &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + }, + }, + }, + }, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + actualLogs := triggerAPIs(tt.apis) + assert.Equal(t, tt.expectedLogs[tt.apiName], actualLogs[tt.apiName]) + }) + } +} diff --git a/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_feature_apis.go b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_feature_apis.go new file mode 100644 index 000000000..c80fc66ff --- /dev/null +++ b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_feature_apis.go @@ -0,0 +1,129 @@ +// Copyright 2023 VMware, Inc. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +package cmd + +import ( + "fmt" + + configlib "github.com/vmware-tanzu/tanzu-plugin-runtime/config" + "github.com/vmware-tanzu/tanzu-plugin-runtime/test/compatibility/core" +) + +// triggerIsFeatureEnabledAPI trigger Runtime IsFeatureEnabled API +func triggerIsFeatureEnabledAPI(api *core.API) *core.APIResponse { + pluginName, keyName, err := parseFeatureArguments(api) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err, + } + } + + // Trigger IsFeatureEnabled API + return isFeatureEnabled(pluginName, keyName) +} + +// triggerSetFeatureAPI trigger Runtime SetFeature API +func triggerSetFeatureAPI(api *core.API) *core.APIResponse { + // Parse arguments needed to trigger the Runtime SetFeature API + pluginName, err := core.ParseStr(api.Arguments[core.Plugin]) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("failed to parse string from argument %v with error %v", core.Plugin, err), + } + } + + keyName, err := core.ParseStr(api.Arguments[core.Key]) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("failed to parse string from argument %v with error %v", core.Key, err), + } + } + + valueName, err := core.ParseStr(api.Arguments[core.Value]) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("failed to parse string from argument %v with error %v", core.Key, err), + } + } + // Trigger SetFeature API + return setFeature(pluginName, keyName, valueName) +} + +// triggerDeleteFeatureAPI trigger Runtime DeleteFeature API +func triggerDeleteFeatureAPI(api *core.API) *core.APIResponse { + pluginName, keyName, err := parseFeatureArguments(api) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err, + } + } + + // Trigger DeleteFeature API + return deleteFeature(pluginName, keyName) +} + +func isFeatureEnabled(pluginName, keyName string) *core.APIResponse { + enabled, err := configlib.IsFeatureEnabled(pluginName, keyName) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + + return &core.APIResponse{ + ResponseType: core.BooleanResponse, + ResponseBody: enabled, + } +} + +func setFeature(pluginName, keyName, valueName string) *core.APIResponse { + err := configlib.SetFeature(pluginName, keyName, valueName) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + return &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + } +} + +func deleteFeature(pluginName, keyName string) *core.APIResponse { + err := configlib.DeleteFeature(pluginName, keyName) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + return &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + } +} + +func parseFeatureArguments(api *core.API) (string, string, error) { + // Parse arguments needed to trigger the Runtime IsFeatureEnabled API + pluginName, err := core.ParseStr(api.Arguments[core.Plugin]) + if err != nil { + return "", "", + fmt.Errorf("failed to parse string from argument %v with error %v", core.Plugin, err) + } + + keyName, err := core.ParseStr(api.Arguments[core.Key]) + if err != nil { + return "", "", + fmt.Errorf("failed to parse string from argument %v with error %v", core.Key, err) + } + + return pluginName, keyName, nil +} diff --git a/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_feature_apis_test.go b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_feature_apis_test.go new file mode 100644 index 000000000..9d124de3f --- /dev/null +++ b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_feature_apis_test.go @@ -0,0 +1,137 @@ +// Copyright 2023 VMware, Inc. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +package cmd + +import ( + "testing" + + "github.com/stretchr/testify/assert" + + "github.com/vmware-tanzu/tanzu-plugin-runtime/test/compatibility/core" +) + +func TestTriggerFeatureAPIs(t *testing.T) { + _, cleanup := core.SetupTempCfgFiles() + defer func() { + cleanup() + }() + + var tests = []struct { + name string + apiName core.RuntimeAPIName + apis []core.API + expectedLogs map[core.RuntimeAPIName][]core.APILog + }{ + { + name: "Trigger SetFeature API", + apiName: core.SetFeatureAPI, + apis: []core.API{ + { + Name: core.SetFeatureAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Plugin: "test-plugin", + core.Key: "compatibility-tests", + core.Value: "true", + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.SetFeatureAPI: { + { + APIResponse: &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + }, + }, + }, + }, + }, + + { + name: "Trigger IsFeatureEnabled API", + apiName: core.IsFeatureEnabledAPI, + apis: []core.API{ + { + Name: core.IsFeatureEnabledAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Plugin: "test-plugin", + core.Key: "compatibility-tests", + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.IsFeatureEnabledAPI: { + { + APIResponse: &core.APIResponse{ + ResponseType: core.BooleanResponse, + ResponseBody: true, + }, + }, + }, + }, + }, + + { + name: "Trigger DeleteFeature API", + apiName: core.DeleteFeatureAPI, + apis: []core.API{ + { + Name: core.SetFeatureAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Plugin: "test-plugin", + core.Key: "compatibility-tests", + core.Value: "true", + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + { + Name: core.DeleteFeatureAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Plugin: "test-plugin", + core.Key: "compatibility-tests", + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.DeleteFeatureAPI: { + { + APIResponse: &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + }, + }, + }, + }, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + actualLogs := triggerAPIs(tt.apis) + assert.Equal(t, tt.expectedLogs[tt.apiName], actualLogs[tt.apiName]) + }) + } +} diff --git a/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_legacyclientconfig_apis.go b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_legacyclientconfig_apis.go new file mode 100644 index 000000000..96fb1c16b --- /dev/null +++ b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_legacyclientconfig_apis.go @@ -0,0 +1,67 @@ +// Copyright 2023 VMware, Inc. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +package cmd + +import ( + "fmt" + + configlib "github.com/vmware-tanzu/tanzu-plugin-runtime/config" + configtypes "github.com/vmware-tanzu/tanzu-plugin-runtime/config/types" + + "github.com/vmware-tanzu/tanzu-plugin-runtime/test/compatibility/core" +) + +// triggerGetClientConfigAPI trigger Runtime GetClientConfig API +func triggerGetClientConfigAPI(_ *core.API) *core.APIResponse { + // Trigger GetClientConfig API + return getClientConfig() +} + +// triggerStoreClientConfigAPI trigger Runtime StoreClientConfig API +func triggerStoreClientConfigAPI(api *core.API) *core.APIResponse { + // Parse arguments needed to trigger the Runtime AddContext API + cfg, err := parseClientConfig(api.Arguments[core.ClientConfig].(string)) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("failed to parse string from argument %v with error %v", core.ClientConfig, err), + } + } + // Trigger AddContext API + return storeClientConfig(cfg) +} + +func getClientConfig() *core.APIResponse { + cfg, err := configlib.GetClientConfig() + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + if cfg == nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("clientconfig %v not found", cfg), + } + } + return &core.APIResponse{ + ResponseType: core.MapResponse, + ResponseBody: cfg, + } +} + +func storeClientConfig(cfg *configtypes.ClientConfig) *core.APIResponse { + err := configlib.StoreClientConfig(cfg) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + return &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + } +} diff --git a/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_metadata_apis.go b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_metadata_apis.go new file mode 100644 index 000000000..64dac6dcc --- /dev/null +++ b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_metadata_apis.go @@ -0,0 +1,289 @@ +// Copyright 2023 VMware, Inc. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +package cmd + +import ( + "fmt" + + configlib "github.com/vmware-tanzu/tanzu-plugin-runtime/config" + "github.com/vmware-tanzu/tanzu-plugin-runtime/test/compatibility/core" +) + +// triggerGetMetadataAPI trigger Runtime GetMetadata API +func triggerGetMetadataAPI(_ *core.API) *core.APIResponse { + // Trigger GetMetadata API + return getMetadata() +} + +// triggerGetConfigMetadataAPI trigger Runtime GetConfigMetadata API +func triggerGetConfigMetadataAPI(_ *core.API) *core.APIResponse { + // Trigger GetConfigMetadata API + return getConfigMetadata() +} + +// triggerGetConfigMetadataPatchStrategyAPI trigger Runtime GetConfigMetadataPatchStrategy API +func triggerGetConfigMetadataPatchStrategyAPI(_ *core.API) *core.APIResponse { + // Trigger GetConfigMetadataPatchStrategy API + return getConfigMetadataPatchStrategy() +} + +// triggerGetConfigMetadataSettingsAPI trigger Runtime GetConfigMetadataSettings API +func triggerGetConfigMetadataSettingsAPI(_ *core.API) *core.APIResponse { + // Trigger GetConfigMetadataSettings API + return getConfigMetadataSettings() +} + +// triggerGetConfigMetadataSettingAPI trigger Runtime GetConfigMetadataSetting API +func triggerGetConfigMetadataSettingAPI(api *core.API) *core.APIResponse { + // Parse arguments needed to trigger the Runtime GetConfigMetadataSetting API + key, err := core.ParseStr(api.Arguments[core.Key]) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("failed to parse string from argument %v with error %v", core.Key, err), + } + } + // Trigger GetConfigMetadataSetting API + return getConfigMetadataSetting(key) +} + +// triggerIsConfigMetadataSettingsEnabledAPI trigger Runtime IsConfigMetadataSettingsEnabled API +func triggerIsConfigMetadataSettingsEnabledAPI(api *core.API) *core.APIResponse { + // Parse arguments needed to trigger the Runtime IsConfigMetadataSettingsEnabled API + key, err := core.ParseStr(api.Arguments[core.Key]) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("failed to parse string from argument %v with error %v", core.Key, err), + } + } + // Trigger IsConfigMetadataSettingsEnabled API + return isConfigMetadataSettingsEnabled(key) +} + +// triggerUseUnifiedConfigAPI trigger Runtime UseUnifiedConfig API +func triggerUseUnifiedConfigAPI(_ *core.API) *core.APIResponse { + // Trigger UseUnifiedConfig API + return useUnifiedConfig() +} + +// triggerSetConfigMetadataSettingAPI trigger Runtime SetConfigMetadataSetting API +func triggerSetConfigMetadataSettingAPI(api *core.API) *core.APIResponse { + keyName, valueName, response, done := parseMetadataArguments(api) + if done { + return response + } + // Trigger SetConfigMetadataSetting API + return setConfigMetadataSetting(keyName, valueName) +} + +// triggerSetConfigMetadataPatchStrategyAPI trigger Runtime SetConfigMetadataPatchStrategy API +func triggerSetConfigMetadataPatchStrategyAPI(api *core.API) *core.APIResponse { + keyName, valueName, response, done := parseMetadataArguments(api) + if done { + return response + } + // Trigger SetConfigMetadataPatchStrategy API + return setConfigMetadataPatchStrategy(keyName, valueName) +} + +// triggerDeleteConfigMetadataSettingAPI trigger Runtime DeleteConfigMetadataSetting API +func triggerDeleteConfigMetadataSettingAPI(api *core.API) *core.APIResponse { + // Parse arguments needed to trigger the Runtime DeleteConfigMetadataSetting API + key, err := core.ParseStr(api.Arguments[core.Key]) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("failed to parse string from argument %v with error %v ", core.Key, err.Error()), + } + } + // Trigger DeleteConfigMetadataSetting API + return deleteConfigMetadataSetting(key) +} + +func getMetadata() *core.APIResponse { + metadata, err := configlib.GetMetadata() + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + if metadata == nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("metadata %v not found", metadata), + } + } + return &core.APIResponse{ + ResponseType: core.MapResponse, + ResponseBody: metadata, + } +} + +func getConfigMetadata() *core.APIResponse { + cfgMetadata, err := configlib.GetConfigMetadata() + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + if cfgMetadata == nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("config metadata %s not found", cfgMetadata), + } + } + return &core.APIResponse{ + ResponseType: core.MapResponse, + ResponseBody: cfgMetadata, + } +} + +func getConfigMetadataPatchStrategy() *core.APIResponse { + patchStrategy, err := configlib.GetConfigMetadataPatchStrategy() + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + if len(patchStrategy) == 0 { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("config metadata patch strategy %s not found", patchStrategy), + } + } + return &core.APIResponse{ + ResponseType: core.MapResponse, + ResponseBody: patchStrategy, + } +} + +func getConfigMetadataSettings() *core.APIResponse { + settings, err := configlib.GetConfigMetadataSettings() + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + if len(settings) == 0 { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("metadata settings not found"), + } + } + return &core.APIResponse{ + ResponseType: core.MapResponse, + ResponseBody: settings, + } +} + +func getConfigMetadataSetting(key string) *core.APIResponse { + val, err := configlib.GetConfigMetadataSetting(key) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + + return &core.APIResponse{ + ResponseType: core.StringResponse, + ResponseBody: val, + } +} + +func isConfigMetadataSettingsEnabled(key string) *core.APIResponse { + enabled, err := configlib.IsConfigMetadataSettingsEnabled(key) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + + return &core.APIResponse{ + ResponseType: core.BooleanResponse, + ResponseBody: enabled, + } +} + +func useUnifiedConfig() *core.APIResponse { + enabled, err := configlib.UseUnifiedConfig() + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + + return &core.APIResponse{ + ResponseType: core.BooleanResponse, + ResponseBody: enabled, + } +} + +func setConfigMetadataSetting(key, value string) *core.APIResponse { + err := configlib.SetConfigMetadataSetting(key, value) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + return &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + } +} + +func setConfigMetadataPatchStrategy(key, value string) *core.APIResponse { + err := configlib.SetConfigMetadataPatchStrategy(key, value) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + return &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + } +} + +func deleteConfigMetadataSetting(key string) *core.APIResponse { + err := configlib.DeleteConfigMetadataSetting(key) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + return &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + } +} + +func parseMetadataArguments(api *core.API) (string, string, *core.APIResponse, bool) { + keyName, err := core.ParseStr(api.Arguments[core.Key]) + if err != nil { + return "", "", &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("failed to parse string from argument %v with error %v", core.Key, err), + }, true + } + + valueName, err := core.ParseStr(api.Arguments[core.Value]) + if err != nil { + return "", "", &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("failed to parse string from argument %v with error %v", core.Value, err), + }, true + } + return keyName, valueName, nil, false +} diff --git a/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_metadata_apis_test.go b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_metadata_apis_test.go new file mode 100644 index 000000000..793a74b00 --- /dev/null +++ b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_metadata_apis_test.go @@ -0,0 +1,314 @@ +// Copyright 2023 VMware, Inc. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +package cmd + +import ( + "testing" + + "github.com/stretchr/testify/assert" + + "github.com/vmware-tanzu/tanzu-plugin-runtime/config/types" + "github.com/vmware-tanzu/tanzu-plugin-runtime/test/compatibility/core" +) + +const ( + CompatibilityTestsMetadataPatchStrategyKey = "compatibility-tests.contexts.name" + CompatibilityTestsMetadataPatchStrategyValue = "replace" + CompatibilityTestsMetadataSettingsKey = "useUnifiedConfig" + CompatibilityTestsMetadataSettingsValue = "true" +) + +func TestTriggerMetadataAPIs(t *testing.T) { + _, cleanup := core.SetupTempCfgFiles() + defer func() { + cleanup() + }() + + var tests = []struct { + name string + apiName core.RuntimeAPIName + apis []core.API + expectedLogs map[core.RuntimeAPIName][]core.APILog + }{ + { + name: "Trigger SetConfigMetadataSetting API", + apiName: core.SetConfigMetadataSettingAPI, + apis: []core.API{ + { + Name: core.SetConfigMetadataSettingAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Key: CompatibilityTestsMetadataSettingsKey, + core.Value: CompatibilityTestsMetadataSettingsValue, + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.SetConfigMetadataSettingAPI: { + { + APIResponse: &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + }, + }, + }, + }, + }, + + { + name: "Trigger SetConfigMetadataPatchStrategy API", + apiName: core.SetConfigMetadataPatchStrategyAPI, + apis: []core.API{ + { + Name: core.SetConfigMetadataPatchStrategyAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Key: CompatibilityTestsMetadataPatchStrategyKey, + core.Value: CompatibilityTestsMetadataPatchStrategyValue, + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.SetConfigMetadataPatchStrategyAPI: { + { + APIResponse: &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + }, + }, + }, + }, + }, + + { + name: "Trigger GetMetadata API", + apiName: core.GetMetadataAPI, + apis: []core.API{ + { + Name: core.GetMetadataAPI, + Version: core.Version090, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.GetMetadataAPI: { + { + APIResponse: &core.APIResponse{ + ResponseType: core.MapResponse, + ResponseBody: &types.Metadata{ + ConfigMetadata: &types.ConfigMetadata{ + PatchStrategy: map[string]string{CompatibilityTestsMetadataPatchStrategyKey: CompatibilityTestsMetadataPatchStrategyValue}, + Settings: map[string]string{CompatibilityTestsMetadataSettingsKey: CompatibilityTestsMetadataSettingsValue}, + }, + }, + }, + }, + }, + }, + }, + + { + name: "Trigger GetConfigMetadata API", + apiName: core.GetConfigMetadataAPI, + apis: []core.API{ + { + Name: core.GetConfigMetadataAPI, + Version: core.Version090, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.GetConfigMetadataAPI: { + { + APIResponse: &core.APIResponse{ + ResponseType: core.MapResponse, + ResponseBody: &types.ConfigMetadata{ + PatchStrategy: map[string]string{CompatibilityTestsMetadataPatchStrategyKey: CompatibilityTestsMetadataPatchStrategyValue}, + Settings: map[string]string{CompatibilityTestsMetadataSettingsKey: CompatibilityTestsMetadataSettingsValue}, + }, + }, + }, + }, + }, + }, + + { + name: "Trigger GetConfigMetadataPatchStrategy API", + apiName: core.GetConfigMetadataPatchStrategyAPI, + apis: []core.API{ + { + Name: core.GetConfigMetadataPatchStrategyAPI, + Version: core.Version090, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.GetConfigMetadataPatchStrategyAPI: { + { + APIResponse: &core.APIResponse{ + ResponseType: core.MapResponse, + ResponseBody: map[string]string{CompatibilityTestsMetadataPatchStrategyKey: CompatibilityTestsMetadataPatchStrategyValue}, + }, + }, + }, + }, + }, + + { + name: "Trigger GetConfigMetadataSettings API", + apiName: core.GetConfigMetadataSettingsAPI, + apis: []core.API{ + { + Name: core.GetConfigMetadataSettingsAPI, + Version: core.Version090, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.GetConfigMetadataSettingsAPI: { + { + APIResponse: &core.APIResponse{ + ResponseType: core.MapResponse, + ResponseBody: map[string]string{CompatibilityTestsMetadataSettingsKey: CompatibilityTestsMetadataSettingsValue}, + }, + }, + }, + }, + }, + + { + name: "Trigger GetConfigMetadataSetting API", + apiName: core.GetConfigMetadataSettingAPI, + apis: []core.API{ + { + Name: core.GetConfigMetadataSettingAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Key: CompatibilityTestsMetadataSettingsKey, + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.GetConfigMetadataSettingAPI: { + { + APIResponse: &core.APIResponse{ + ResponseType: core.StringResponse, + ResponseBody: "true", + }, + }, + }, + }, + }, + + { + name: "Trigger IsConfigMetadataSettingsEnabledAPI API", + apiName: core.IsConfigMetadataSettingsEnabledAPI, + apis: []core.API{ + { + Name: core.IsConfigMetadataSettingsEnabledAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Key: CompatibilityTestsMetadataSettingsKey, + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.IsConfigMetadataSettingsEnabledAPI: { + { + APIResponse: &core.APIResponse{ + ResponseType: core.BooleanResponse, + ResponseBody: true, + }, + }, + }, + }, + }, + + { + name: "Trigger UseUnifiedConfigAPI API", + apiName: core.UseUnifiedConfigAPI, + apis: []core.API{ + { + Name: core.UseUnifiedConfigAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Key: CompatibilityTestsMetadataSettingsKey, + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.UseUnifiedConfigAPI: { + { + APIResponse: &core.APIResponse{ + ResponseType: core.BooleanResponse, + ResponseBody: true, + }, + }, + }, + }, + }, + + { + name: "Trigger DeleteConfigMetadataSettingAPI API", + apiName: core.DeleteConfigMetadataSettingAPI, + apis: []core.API{ + { + Name: core.DeleteConfigMetadataSettingAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Key: CompatibilityTestsMetadataSettingsKey, + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.DeleteConfigMetadataSettingAPI: { + { + APIResponse: &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + }, + }, + }, + }, + }, + + { + name: "Trigger UseUnifiedConfigAPI API", + apiName: core.UseUnifiedConfigAPI, + apis: []core.API{ + { + Name: core.UseUnifiedConfigAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Key: CompatibilityTestsMetadataSettingsKey, + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.UseUnifiedConfigAPI: { + { + APIResponse: &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: "not found", + }, + }, + }, + }, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + actualLogs := triggerAPIs(tt.apis) + assert.Equal(t, tt.expectedLogs[tt.apiName], actualLogs[tt.apiName]) + }) + } +} diff --git a/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_server_apis.go b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_server_apis.go new file mode 100644 index 000000000..96b3c3fb4 --- /dev/null +++ b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_server_apis.go @@ -0,0 +1,186 @@ +// Copyright 2023 VMware, Inc. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +package cmd + +import ( + "fmt" + + "github.com/pkg/errors" + + configlib "github.com/vmware-tanzu/tanzu-plugin-runtime/config" + configtypes "github.com/vmware-tanzu/tanzu-plugin-runtime/config/types" + "github.com/vmware-tanzu/tanzu-plugin-runtime/test/compatibility/core" +) + +// triggerGetServerAPI trigger get server runtime api +func triggerGetServerAPI(api *core.API) *core.APIResponse { + // Parse arguments needed to trigger the runtime api + serverName, err := core.ParseStr(api.Arguments[core.ServerName]) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("failed to parse string from argument %v with error %v ", core.ServerName, err.Error()), + } + } + return getServer(serverName) +} + +// triggerSetServerAPI trigger add server runtime api +func triggerSetServerAPI(api *core.API) *core.APIResponse { + // Parse arguments needed to trigger the runtime api + server, err := parseServer(api.Arguments[core.Server].(string)) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("failed to parse server from argument %v with error %v ", core.Server, err.Error()), + } + } + setCurrent := api.Arguments[core.SetCurrent].(bool) + return setServer(server, setCurrent) +} + +// triggerRemoveServerAPI trigger remove context runtime api +func triggerRemoveServerAPI(api *core.API) *core.APIResponse { + // Parse arguments needed to trigger the runtime api + serverName, err := core.ParseStr(api.Arguments[core.ServerName]) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("failed to parse string from argument %v with error %v ", core.ServerName, err.Error()), + } + } + return removeServer(serverName) +} + +// triggerSetCurrentServerAPI trigger remove context runtime api +func triggerSetCurrentServerAPI(api *core.API) *core.APIResponse { + // Parse arguments needed to trigger the runtime api + serverName, err := core.ParseStr(api.Arguments[core.ServerName]) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("failed to parse string from argument %v with error %v ", core.ServerName, err.Error()), + } + } + return setCurrentServer(serverName) +} + +// triggerGetCurrentServerAPI trigger remove context runtime api +func triggerGetCurrentServerAPI(*core.API) *core.APIResponse { + return getCurrentServer() +} + +// triggerRemoveCurrentServerAPI trigger remove server runtime api +func triggerRemoveCurrentServerAPI(api *core.API) *core.APIResponse { + // Parse arguments needed to trigger the runtime api + serverName, err := core.ParseStr(api.Arguments[core.ServerName]) + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("failed to parse string from argument %v with error %v ", core.Target, err.Error()), + } + } + return removeCurrentServer(serverName) +} + +func getServer(serverName string) *core.APIResponse { + // Call runtime GetServer API + server, err := configlib.GetServer(serverName) //nolint:staticcheck // Deprecated + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + if server == nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("server %v not found", server), + } + } + return &core.APIResponse{ + ResponseType: core.MapResponse, + ResponseBody: server, + } +} + +func setServer(server *configtypes.Server, setCurrent bool) *core.APIResponse { //nolint:staticcheck // Deprecated + // Call runtime SetServer API + err := configlib.AddServer(server, setCurrent) //nolint:staticcheck // Deprecated + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: errors.Wrap(err, "failed"), + } + } + return &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + } +} + +func removeServer(serverName string) *core.APIResponse { + // Call runtime RemoveServer API + err := configlib.RemoveServer(serverName) //nolint:staticcheck // Deprecated + + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + return &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + } +} + +func setCurrentServer(serverName string) *core.APIResponse { + // Call runtime SetCurrentServer API + err := configlib.SetCurrentServer(serverName) //nolint:staticcheck // Deprecated + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + return &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + } +} + +func getCurrentServer() *core.APIResponse { + server, err := configlib.GetCurrentServer() //nolint:staticcheck // Deprecated + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + if server == nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: fmt.Errorf("server not found"), + } + } + return &core.APIResponse{ + ResponseType: core.MapResponse, + ResponseBody: server, + } +} + +func removeCurrentServer(serverName string) *core.APIResponse { + err := configlib.RemoveCurrentServer(serverName) //nolint:staticcheck // Deprecated + if err != nil { + return &core.APIResponse{ + ResponseType: core.ErrorResponse, + ResponseBody: err.Error(), + } + } + return &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + } +} diff --git a/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_server_apis_test.go b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_server_apis_test.go new file mode 100644 index 000000000..2942249a5 --- /dev/null +++ b/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd/trigger_server_apis_test.go @@ -0,0 +1,366 @@ +// Copyright 2023 VMware, Inc. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +package cmd + +import ( + "testing" + + "github.com/stretchr/testify/assert" + + configtypes "github.com/vmware-tanzu/tanzu-plugin-runtime/config/types" + "github.com/vmware-tanzu/tanzu-plugin-runtime/test/compatibility/core" +) + +func TestTriggerServerAPIs(t *testing.T) { + _, cleanup := core.SetupTempCfgFiles() + defer func() { + cleanup() + }() + server := `name: compatibility-test-one +type: managementcluster +globalOpts: + endpoint: test-endpoint +` + var tests = []struct { + name string + apiName core.RuntimeAPIName + apis []core.API + expectedLogs map[core.RuntimeAPIName][]core.APILog + }{ + { + name: "Trigger SetServerAPI", + apiName: core.SetServerAPI, + apis: []core.API{ + { + Name: core.SetServerAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Server: server, + core.SetCurrent: false, + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + { + Name: core.SetServerAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Server: server, + core.SetCurrent: false, + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.SetServerAPI: { + { + APIResponse: &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + }, + }, + { + APIResponse: &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + }, + }, + }, + }, + }, + + { + name: "Trigger GetServerAPI", + apiName: core.GetServerAPI, + apis: []core.API{ + { + Name: core.SetServerAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Server: server, + core.SetCurrent: false, + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + { + Name: core.GetServerAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.ServerName: "compatibility-test-one", + }, + Output: &core.Output{ + Result: "success", + Content: server, + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.GetServerAPI: { + { + APIResponse: &core.APIResponse{ + ResponseBody: &configtypes.Server{ + Name: "compatibility-test-one", + Type: configtypes.ManagementClusterServerType, + GlobalOpts: &configtypes.GlobalServer{ + Endpoint: "test-endpoint", + }, + }, + ResponseType: core.MapResponse, + }, + }, + }, + }, + }, + + { + name: "Trigger RemoveServerAPI", + apiName: core.RemoveServerAPI, + apis: []core.API{ + { + Name: core.SetServerAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Server: server, + core.SetCurrent: false, + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + { + Name: core.RemoveServerAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.ServerName: "compatibility-test-one", + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.RemoveServerAPI: { + { + APIResponse: &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + }, + }, + }, + }, + }, + + { + name: "Trigger DeleteServerAPI", + apiName: core.DeleteServerAPI, + apis: []core.API{ + { + Name: core.SetServerAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Server: server, + core.SetCurrent: false, + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + { + Name: core.DeleteServerAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.ServerName: "compatibility-test-one", + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.DeleteServerAPI: { + { + APIResponse: &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + }, + }, + }, + }, + }, + + { + name: "Trigger SetCurrentServerAPI", + apiName: core.SetCurrentServerAPI, + apis: []core.API{ + { + Name: core.SetServerAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Server: server, + core.SetCurrent: false, + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + { + Name: core.SetCurrentServerAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.ServerName: "compatibility-test-one", + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.SetCurrentServerAPI: { + { + APIResponse: &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + }, + }, + }, + }, + }, + + { + name: "Trigger GetCurrentServerAPI", + apiName: core.GetCurrentServerAPI, + apis: []core.API{ + { + Name: core.SetServerAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Server: server, + core.SetCurrent: false, + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + { + Name: core.SetCurrentServerAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.ServerName: "compatibility-test-one", + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + { + Name: core.GetCurrentServerAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Target: "kubernetes", + }, + Output: &core.Output{ + Result: "success", + Content: server, + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.GetCurrentServerAPI: { + { + APIResponse: &core.APIResponse{ + ResponseBody: &configtypes.Server{ + Name: "compatibility-test-one", + Type: configtypes.ManagementClusterServerType, + GlobalOpts: &configtypes.GlobalServer{ + Endpoint: "test-endpoint", + }, + }, + ResponseType: core.MapResponse, + }, + }, + }, + }, + }, + + { + name: "Trigger RemoveCurrentServerAPI", + apiName: core.RemoveCurrentServerAPI, + apis: []core.API{ + { + Name: core.SetServerAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.Server: server, + core.SetCurrent: false, + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + { + Name: core.SetCurrentServerAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.ServerName: "compatibility-test-one", + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + { + Name: core.RemoveCurrentServerAPI, + Version: core.Version090, + Arguments: map[core.APIArgumentType]interface{}{ + core.ServerName: "compatibility-test-one", + }, + Output: &core.Output{ + Result: "success", + Content: "", + }, + }, + }, + + expectedLogs: map[core.RuntimeAPIName][]core.APILog{ + core.RemoveCurrentServerAPI: { + { + APIResponse: &core.APIResponse{ + ResponseBody: "", + ResponseType: core.StringResponse, + }, + }, + }, + }, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + actualLogs := triggerAPIs(tt.apis) + assert.Equal(t, tt.expectedLogs[tt.apiName], actualLogs[tt.apiName]) + }) + } +} diff --git a/test/compatibility/testplugins/runtime-test-plugin-v0_90/go.mod b/test/compatibility/testplugins/runtime-test-plugin-v0_90/go.mod new file mode 100644 index 000000000..952c28790 --- /dev/null +++ b/test/compatibility/testplugins/runtime-test-plugin-v0_90/go.mod @@ -0,0 +1,26 @@ +module github.com/vmware-tanzu/tanzu-plugin-runtime/test/compatibility/testplugins/runtime-test-plugin-v0_90 + +go 1.18 + +replace github.com/vmware-tanzu/tanzu-plugin-runtime/test/compatibility/core => ../../core + +require ( + github.com/spf13/cobra v1.7.0 + // Needs to be replaced by latest release tags + github.com/vmware-tanzu/tanzu-plugin-runtime v0.90.0 + github.com/vmware-tanzu/tanzu-plugin-runtime/test/compatibility/core v0.90.0 + gopkg.in/yaml.v3 v3.0.1 +) + +require ( + github.com/pkg/errors v0.9.1 + github.com/stretchr/testify v1.8.1 +) + +require ( + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/inconshreveable/mousetrap v1.1.0 // indirect + github.com/juju/fslock v0.0.0-20160525022230-4d5c94c67b4b // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect + github.com/spf13/pflag v1.0.5 // indirect +) diff --git a/test/compatibility/testplugins/runtime-test-plugin-v0_90/go.sum b/test/compatibility/testplugins/runtime-test-plugin-v0_90/go.sum new file mode 100644 index 000000000..9510a1fdd --- /dev/null +++ b/test/compatibility/testplugins/runtime-test-plugin-v0_90/go.sum @@ -0,0 +1,37 @@ +github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= +github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= +github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= +github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= +github.com/juju/fslock v0.0.0-20160525022230-4d5c94c67b4b h1:FQ7+9fxhyp82ks9vAuyPzG0/vVbWwMwLJ+P6yJI5FN8= +github.com/juju/fslock v0.0.0-20160525022230-4d5c94c67b4b/go.mod h1:HMcgvsgd0Fjj4XXDkbjdmlbI505rUPBs6WBMYg2pXks= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= +github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= +github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= +github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= +github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= +github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= +github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= +github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= +github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/tj/assert v0.0.3 h1:Df/BlaZ20mq6kuai7f5z2TvPFiwC3xaWJSDQNiIS3Rk= +github.com/vmware-tanzu/tanzu-plugin-runtime v0.90.0 h1:MbnTxvqCBOLR8gHpnzwxlcbP16vF71LyV8Tx2ANC57o= +github.com/vmware-tanzu/tanzu-plugin-runtime v0.90.0/go.mod h1:wMK/qpJjU7hytDAGt3FX5/iGdlUK8TsJLu36pCr+Zvk= +golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/test/compatibility/testplugins/runtime-test-plugin-v0_90/go.work b/test/compatibility/testplugins/runtime-test-plugin-v0_90/go.work new file mode 100644 index 000000000..9a21ec734 --- /dev/null +++ b/test/compatibility/testplugins/runtime-test-plugin-v0_90/go.work @@ -0,0 +1,5 @@ +go 1.18 + +use ( + . +) diff --git a/test/compatibility/testplugins/runtime-test-plugin-v0_90/go.work.sum b/test/compatibility/testplugins/runtime-test-plugin-v0_90/go.work.sum new file mode 100644 index 000000000..fd6f68d61 --- /dev/null +++ b/test/compatibility/testplugins/runtime-test-plugin-v0_90/go.work.sum @@ -0,0 +1,21 @@ +github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= +github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= +github.com/juju/fslock v0.0.0-20160525022230-4d5c94c67b4b/go.mod h1:HMcgvsgd0Fjj4XXDkbjdmlbI505rUPBs6WBMYg2pXks= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= +github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= +github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= +github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= +github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= +github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/test/compatibility/testplugins/runtime-test-plugin-v0_90/main.go b/test/compatibility/testplugins/runtime-test-plugin-v0_90/main.go new file mode 100644 index 000000000..c4ee8a995 --- /dev/null +++ b/test/compatibility/testplugins/runtime-test-plugin-v0_90/main.go @@ -0,0 +1,13 @@ +// Copyright 2023 VMware, Inc. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +// Package main contains test cli plugin to trigger various runtime APIs +package main + +import ( + "github.com/vmware-tanzu/tanzu-plugin-runtime/test/compatibility/testplugins/runtime-test-plugin-v0_90/cmd" +) + +func main() { + cmd.Execute() +}