diff --git a/cmd/scw/testdata/test-all-usage-k8s-cluster-create-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-k8s-cluster-create-usage.stderr.golden index a587ae5c9f..3c6a07d146 100644 --- a/cmd/scw/testdata/test-all-usage-k8s-cluster-create-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-k8s-cluster-create-usage.stderr.golden @@ -42,7 +42,7 @@ ARGS: [feature-gates.{index}] List of feature gates to enable [admission-plugins.{index}] List of admission plugins to enable [organization-id] Organization ID to use. If none is passed will use default organization ID from the config - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) + [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams) FLAGS: -h, --help help for create diff --git a/cmd/scw/testdata/test-all-usage-k8s-cluster-delete-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-k8s-cluster-delete-usage.stderr.golden index 1ff808c7e8..d99b65bf81 100644 --- a/cmd/scw/testdata/test-all-usage-k8s-cluster-delete-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-k8s-cluster-delete-usage.stderr.golden @@ -10,7 +10,7 @@ EXAMPLES: ARGS: cluster-id The ID of the cluster to delete [with-additional-resources] Set true if you want to delete all volumes (including retain volume type) and loadbalancers whose name start with cluster ID - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) + [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams) FLAGS: -h, --help help for delete diff --git a/cmd/scw/testdata/test-all-usage-k8s-cluster-get-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-k8s-cluster-get-usage.stderr.golden index e1076bbcc8..0750c126e2 100644 --- a/cmd/scw/testdata/test-all-usage-k8s-cluster-get-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-k8s-cluster-get-usage.stderr.golden @@ -9,7 +9,7 @@ EXAMPLES: ARGS: cluster-id The ID of the requested cluster - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) + [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams) FLAGS: -h, --help help for get diff --git a/cmd/scw/testdata/test-all-usage-k8s-cluster-list-available-versions-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-k8s-cluster-list-available-versions-usage.stderr.golden index 38b407a9c1..76ef7b82f1 100644 --- a/cmd/scw/testdata/test-all-usage-k8s-cluster-list-available-versions-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-k8s-cluster-list-available-versions-usage.stderr.golden @@ -9,7 +9,7 @@ EXAMPLES: ARGS: cluster-id The ID of the cluster which the available Kuberentes versions will be listed from - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) + [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams) FLAGS: -h, --help help for list-available-versions diff --git a/cmd/scw/testdata/test-all-usage-k8s-cluster-list-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-k8s-cluster-list-usage.stderr.golden index 257e5fb265..76b97f2c42 100644 --- a/cmd/scw/testdata/test-all-usage-k8s-cluster-list-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-k8s-cluster-list-usage.stderr.golden @@ -18,7 +18,7 @@ ARGS: [name] The name on which to filter the returned clusters [status] The status on which to filter the returned clusters (unknown | creating | ready | deleting | deleted | updating | locked | pool_required) [organization-id] The organization ID on which to filter the returned clusters - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) + [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams) FLAGS: -h, --help help for list diff --git a/cmd/scw/testdata/test-all-usage-k8s-cluster-reset-admin-token-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-k8s-cluster-reset-admin-token-usage.stderr.golden index 09f5627127..1b33d68bec 100644 --- a/cmd/scw/testdata/test-all-usage-k8s-cluster-reset-admin-token-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-k8s-cluster-reset-admin-token-usage.stderr.golden @@ -9,7 +9,7 @@ EXAMPLES: ARGS: cluster-id The ID of the cluster of which the admin token will be renewed - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) + [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams) FLAGS: -h, --help help for reset-admin-token diff --git a/cmd/scw/testdata/test-all-usage-k8s-cluster-update-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-k8s-cluster-update-usage.stderr.golden index 29581e545f..556a20b27a 100644 --- a/cmd/scw/testdata/test-all-usage-k8s-cluster-update-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-k8s-cluster-update-usage.stderr.golden @@ -30,7 +30,7 @@ ARGS: [auto-upgrade.maintenance-window.day] The day of the week for the maintenance window (any | monday | tuesday | wednesday | thursday | friday | saturday | sunday) [feature-gates.{index}] List of feature gates to enable [admission-plugins.{index}] List of admission plugins to enable - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) + [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams) FLAGS: -h, --help help for update diff --git a/cmd/scw/testdata/test-all-usage-k8s-cluster-upgrade-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-k8s-cluster-upgrade-usage.stderr.golden index 8db7664ac8..7e0997ac20 100644 --- a/cmd/scw/testdata/test-all-usage-k8s-cluster-upgrade-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-k8s-cluster-upgrade-usage.stderr.golden @@ -14,7 +14,7 @@ ARGS: cluster-id The ID of the cluster to upgrade version The new Kubernetes version of the cluster [upgrade-pools] The enablement of the pools upgrade - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) + [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams) FLAGS: -h, --help help for upgrade diff --git a/cmd/scw/testdata/test-all-usage-k8s-node-get-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-k8s-node-get-usage.stderr.golden index f92c703338..9c3fbd063d 100644 --- a/cmd/scw/testdata/test-all-usage-k8s-node-get-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-k8s-node-get-usage.stderr.golden @@ -9,7 +9,7 @@ EXAMPLES: ARGS: node-id The ID of the requested node - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) + [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams) FLAGS: -h, --help help for get diff --git a/cmd/scw/testdata/test-all-usage-k8s-node-list-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-k8s-node-list-usage.stderr.golden index 743e8c1ebd..04237b3200 100644 --- a/cmd/scw/testdata/test-all-usage-k8s-node-list-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-k8s-node-list-usage.stderr.golden @@ -19,7 +19,7 @@ ARGS: [order-by] The sort order of the returned nodes (created_at_asc | created_at_desc) [name] The name on which to filter the returned nodes [status] The status on which to filter the returned nodes (unknown | creating | not_ready | ready | deleting | deleted | locked | rebooting | creation_error) - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) + [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams) FLAGS: -h, --help help for list diff --git a/cmd/scw/testdata/test-all-usage-k8s-node-reboot-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-k8s-node-reboot-usage.stderr.golden index d29d4be153..4599bae363 100644 --- a/cmd/scw/testdata/test-all-usage-k8s-node-reboot-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-k8s-node-reboot-usage.stderr.golden @@ -9,7 +9,7 @@ EXAMPLES: ARGS: node-id The ID of the node to reboot - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) + [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams) FLAGS: -h, --help help for reboot diff --git a/cmd/scw/testdata/test-all-usage-k8s-node-replace-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-k8s-node-replace-usage.stderr.golden index a37f8d0d6b..17be83cb3a 100644 --- a/cmd/scw/testdata/test-all-usage-k8s-node-replace-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-k8s-node-replace-usage.stderr.golden @@ -9,7 +9,7 @@ EXAMPLES: ARGS: node-id The ID of the node to replace - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) + [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams) FLAGS: -h, --help help for replace diff --git a/cmd/scw/testdata/test-all-usage-k8s-pool-create-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-k8s-pool-create-usage.stderr.golden index c3bafa7fe5..97bd9c4fa6 100644 --- a/cmd/scw/testdata/test-all-usage-k8s-pool-create-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-k8s-pool-create-usage.stderr.golden @@ -25,7 +25,7 @@ ARGS: [container-runtime] The container runtime for the nodes of the pool (unknown_runtime | docker | containerd | crio) [autohealing] The enablement of the autohealing feature for the pool [tags.{index}] The tags associated with the pool - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) + [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams) FLAGS: -h, --help help for create diff --git a/cmd/scw/testdata/test-all-usage-k8s-pool-delete-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-k8s-pool-delete-usage.stderr.golden index 19a6836488..88d88a3fc0 100644 --- a/cmd/scw/testdata/test-all-usage-k8s-pool-delete-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-k8s-pool-delete-usage.stderr.golden @@ -9,7 +9,7 @@ EXAMPLES: ARGS: pool-id The ID of the pool to delete - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) + [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams) FLAGS: -h, --help help for delete diff --git a/cmd/scw/testdata/test-all-usage-k8s-pool-get-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-k8s-pool-get-usage.stderr.golden index 2e35450cee..4d56db3613 100644 --- a/cmd/scw/testdata/test-all-usage-k8s-pool-get-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-k8s-pool-get-usage.stderr.golden @@ -9,7 +9,7 @@ EXAMPLES: ARGS: pool-id The ID of the requested pool - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) + [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams) FLAGS: -h, --help help for get diff --git a/cmd/scw/testdata/test-all-usage-k8s-pool-list-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-k8s-pool-list-usage.stderr.golden index 748727cd17..e1222633f8 100644 --- a/cmd/scw/testdata/test-all-usage-k8s-pool-list-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-k8s-pool-list-usage.stderr.golden @@ -21,7 +21,7 @@ ARGS: [order-by] The sort order of the returned pools (created_at_asc | created_at_desc | updated_at_asc | updated_at_desc | name_asc | name_desc | status_asc | status_desc | version_asc | version_desc) [name] The name on which to filter the returned pools [status] The status on which to filter the returned pools (unknown | ready | deleting | deleted | scaling | warning | locked | upgrading) - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) + [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams) FLAGS: -h, --help help for list diff --git a/cmd/scw/testdata/test-all-usage-k8s-pool-update-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-k8s-pool-update-usage.stderr.golden index 9b0cfc6311..e7bd6f695c 100644 --- a/cmd/scw/testdata/test-all-usage-k8s-pool-update-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-k8s-pool-update-usage.stderr.golden @@ -21,7 +21,7 @@ ARGS: [max-size] The new maximum size for the pool [autohealing] The new value for the enablement of autohealing for the pool [tags.{index}] The new tags associated with the pool - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) + [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams) FLAGS: -h, --help help for update diff --git a/cmd/scw/testdata/test-all-usage-k8s-pool-upgrade-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-k8s-pool-upgrade-usage.stderr.golden index dbf60d9355..3b99813512 100644 --- a/cmd/scw/testdata/test-all-usage-k8s-pool-upgrade-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-k8s-pool-upgrade-usage.stderr.golden @@ -10,7 +10,7 @@ EXAMPLES: ARGS: pool-id The ID of the pool to upgrade version The new Kubernetes version for the pool - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) + [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams) FLAGS: -h, --help help for upgrade diff --git a/cmd/scw/testdata/test-all-usage-k8s-version-get-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-k8s-version-get-usage.stderr.golden index a213c4acf8..7d2d5fef3e 100644 --- a/cmd/scw/testdata/test-all-usage-k8s-version-get-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-k8s-version-get-usage.stderr.golden @@ -9,7 +9,7 @@ EXAMPLES: ARGS: version-name The requested version name - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) + [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams) FLAGS: -h, --help help for get diff --git a/cmd/scw/testdata/test-all-usage-k8s-version-list-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-k8s-version-list-usage.stderr.golden index ac33b4c60e..a249823562 100644 --- a/cmd/scw/testdata/test-all-usage-k8s-version-list-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-k8s-version-list-usage.stderr.golden @@ -8,7 +8,7 @@ EXAMPLES: scw k8s version list ARGS: - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) + [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams) FLAGS: -h, --help help for list diff --git a/internal/namespaces/k8s/v1/k8s_cli.go b/internal/namespaces/k8s/v1/k8s_cli.go index 836a700ba4..edf8ba0603 100644 --- a/internal/namespaces/k8s/v1/k8s_cli.go +++ b/internal/namespaces/k8s/v1/k8s_cli.go @@ -139,7 +139,7 @@ func k8sClusterList() *core.Command { Required: false, Positional: false, }, - core.RegionArgSpec(scw.RegionFrPar), + core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*k8s.ListClustersRequest) @@ -403,7 +403,7 @@ func k8sClusterCreate() *core.Command { Positional: false, }, core.OrganizationIDArgSpec(), - core.RegionArgSpec(scw.RegionFrPar), + core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*k8s.CreateClusterRequest) @@ -441,7 +441,7 @@ func k8sClusterGet() *core.Command { Required: true, Positional: true, }, - core.RegionArgSpec(scw.RegionFrPar), + core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*k8s.GetClusterRequest) @@ -587,7 +587,7 @@ func k8sClusterUpdate() *core.Command { Required: false, Positional: false, }, - core.RegionArgSpec(scw.RegionFrPar), + core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*k8s.UpdateClusterRequest) @@ -631,7 +631,7 @@ func k8sClusterDelete() *core.Command { Required: false, Positional: false, }, - core.RegionArgSpec(scw.RegionFrPar), + core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*k8s.DeleteClusterRequest) @@ -677,7 +677,7 @@ func k8sClusterUpgrade() *core.Command { Required: false, Positional: false, }, - core.RegionArgSpec(scw.RegionFrPar), + core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*k8s.UpgradeClusterRequest) @@ -715,7 +715,7 @@ func k8sClusterListAvailableVersions() *core.Command { Required: true, Positional: true, }, - core.RegionArgSpec(scw.RegionFrPar), + core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*k8s.ListClusterAvailableVersionsRequest) @@ -763,7 +763,7 @@ func k8sClusterResetAdminToken() *core.Command { Required: true, Positional: true, }, - core.RegionArgSpec(scw.RegionFrPar), + core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*k8s.ResetClusterAdminTokenRequest) @@ -823,7 +823,7 @@ func k8sPoolList() *core.Command { Positional: false, EnumValues: []string{"unknown", "ready", "deleting", "deleted", "scaling", "warning", "locked", "upgrading"}, }, - core.RegionArgSpec(scw.RegionFrPar), + core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*k8s.ListPoolsRequest) @@ -987,7 +987,7 @@ func k8sPoolCreate() *core.Command { Required: false, Positional: false, }, - core.RegionArgSpec(scw.RegionFrPar), + core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*k8s.CreatePoolRequest) @@ -1029,7 +1029,7 @@ func k8sPoolGet() *core.Command { Required: true, Positional: true, }, - core.RegionArgSpec(scw.RegionFrPar), + core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*k8s.GetPoolRequest) @@ -1069,7 +1069,7 @@ func k8sPoolUpgrade() *core.Command { Required: true, Positional: false, }, - core.RegionArgSpec(scw.RegionFrPar), + core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*k8s.UpgradePoolRequest) @@ -1139,7 +1139,7 @@ func k8sPoolUpdate() *core.Command { Required: false, Positional: false, }, - core.RegionArgSpec(scw.RegionFrPar), + core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*k8s.UpdatePoolRequest) @@ -1181,7 +1181,7 @@ func k8sPoolDelete() *core.Command { Required: true, Positional: true, }, - core.RegionArgSpec(scw.RegionFrPar), + core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*k8s.DeletePoolRequest) @@ -1241,7 +1241,7 @@ func k8sNodeList() *core.Command { Positional: false, EnumValues: []string{"unknown", "creating", "not_ready", "ready", "deleting", "deleted", "locked", "rebooting", "creation_error"}, }, - core.RegionArgSpec(scw.RegionFrPar), + core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*k8s.ListNodesRequest) @@ -1319,7 +1319,7 @@ func k8sNodeGet() *core.Command { Required: true, Positional: true, }, - core.RegionArgSpec(scw.RegionFrPar), + core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*k8s.GetNodeRequest) @@ -1353,7 +1353,7 @@ func k8sNodeReplace() *core.Command { Required: true, Positional: true, }, - core.RegionArgSpec(scw.RegionFrPar), + core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*k8s.ReplaceNodeRequest) @@ -1387,7 +1387,7 @@ func k8sNodeReboot() *core.Command { Required: true, Positional: true, }, - core.RegionArgSpec(scw.RegionFrPar), + core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*k8s.RebootNodeRequest) @@ -1415,7 +1415,7 @@ func k8sVersionList() *core.Command { Verb: "list", ArgsType: reflect.TypeOf(k8s.ListVersionsRequest{}), ArgSpecs: core.ArgSpecs{ - core.RegionArgSpec(scw.RegionFrPar), + core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*k8s.ListVersionsRequest) @@ -1469,7 +1469,7 @@ func k8sVersionGet() *core.Command { Required: true, Positional: true, }, - core.RegionArgSpec(scw.RegionFrPar), + core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*k8s.GetVersionRequest)