diff --git a/cmd/kube_ippool.go b/cmd/kube_ippool.go new file mode 100644 index 00000000..0da7a55b --- /dev/null +++ b/cmd/kube_ippool.go @@ -0,0 +1,20 @@ +package cmd + +import ( + "github.com/outscale/goutils/oks/clientset" + oksv1beta "github.com/outscale/goutils/oks/clientset/typed/oks.dev/v1beta" + "github.com/spf13/cobra" +) + +// oksCmd represents the kubecommand +var ippoolCmd = &cobra.Command{ + GroupID: "service", + Use: "ippool", + Short: "ippool commands", +} + +func init() { + buildKubeAPI("kubeclient_ippool", ippoolCmd, oksCmd, func(client *clientset.Clientset) oksv1beta.IPPoolInterface { + return client.OksV1beta().IPPools() + }) +} diff --git a/cmd/kube_kubeapi.go b/cmd/kube_kubeapi.go index 26f2a768..428c8a02 100644 --- a/cmd/kube_kubeapi.go +++ b/cmd/kube_kubeapi.go @@ -1,18 +1,47 @@ package cmd import ( + "reflect" + "slices" + "github.com/outscale/goutils/oks/clientset" - oksv1beta2 "github.com/outscale/goutils/oks/clientset/typed/oks.dev/v1beta2" + "github.com/outscale/octl/pkg/builder" "github.com/outscale/octl/pkg/config" + "github.com/outscale/octl/pkg/flags" "github.com/outscale/octl/pkg/messages" + "github.com/outscale/octl/pkg/preferences" "github.com/outscale/octl/pkg/runner" "github.com/outscale/osc-sdk-go/v3/pkg/oks" "github.com/outscale/osc-sdk-go/v3/pkg/osc" + "github.com/samber/lo" "github.com/spf13/cobra" "k8s.io/client-go/tools/clientcmd" ) -func kubeapi(provider string) func(cmd *cobra.Command, args []string) { +func buildKubeAPI[Client any](provider string, cmd, parent *cobra.Command, getclient func(client *clientset.Clientset) Client) { + parent.AddCommand(cmd) + b := builder.NewBuilder[Client](provider, "https://docs.outscale.com/api.html") + b.BuildAPI(cmd, func(m reflect.Method) bool { + return slices.Contains([]string{"List", "Get", "Create", "Update", "Delete"}, m.Name) + }, runKubeAPI(func(cmd *cobra.Command, args []string, client *clientset.Clientset) error { + return runner.Run[Client, *osc.ErrorResponse](cmd, args, getclient(client), config.For(provider)) + })) + apiCmd, _ := lo.Find(cmd.Commands(), func(c *cobra.Command) bool { return c.Name() == "api" }) + b.Build(parent, apiCmd) + for _, child := range cmd.Commands() { + if child.Name() == "api" { + child.PersistentFlags().String("cluster", "", "[REQUIRED] ID of cluster") + _ = child.MarkPersistentFlagRequired("cluster") + } else { + child.Flags().String("cluster", "", "[REQUIRED] Name or ID of cluster") + child.Flags().String("project", preferences.Preferences.Kube.DefaultProject, "Name or ID of project") + _ = child.MarkFlagRequired("cluster") + _ = flags.MarkAsNoForward(child.Flags(), "project") + } + } +} + +func runKubeAPI(fn func(cmd *cobra.Command, args []string, client *clientset.Clientset) error) func(cmd *cobra.Command, args []string) { return func(cmd *cobra.Command, args []string) { p := loadProfile(cmd) cl, err := oks.NewClient(p, sdkOptions(cmd)...) @@ -34,7 +63,7 @@ func kubeapi(provider string) func(cmd *cobra.Command, args []string) { messages.ExitErr(err) } - err = runner.Run[oksv1beta2.NodePoolInterface, *osc.ErrorResponse](cmd, args, client.OksV1beta2().NodePools(), config.For(provider)) + err = fn(cmd, args, client) if err != nil { messages.ExitErr(err) } diff --git a/cmd/kube_netpeering.go b/cmd/kube_netpeering.go new file mode 100644 index 00000000..de164ab9 --- /dev/null +++ b/cmd/kube_netpeering.go @@ -0,0 +1,20 @@ +package cmd + +import ( + "github.com/outscale/goutils/oks/clientset" + oksv1beta "github.com/outscale/goutils/oks/clientset/typed/oks.dev/v1beta" + "github.com/spf13/cobra" +) + +// oksCmd represents the kubecommand +var netpeeringCmd = &cobra.Command{ + GroupID: "service", + Use: "netpeering", + Short: "netpeering commands", +} + +func init() { + buildKubeAPI("kubeclient_netpeering", netpeeringCmd, oksCmd, func(client *clientset.Clientset) oksv1beta.NetPeeringInterface { + return client.OksV1beta().NetPeerings() + }) +} diff --git a/cmd/kube_netpeeringacceptance.go b/cmd/kube_netpeeringacceptance.go new file mode 100644 index 00000000..b81c3f4f --- /dev/null +++ b/cmd/kube_netpeeringacceptance.go @@ -0,0 +1,20 @@ +package cmd + +import ( + "github.com/outscale/goutils/oks/clientset" + oksv1beta "github.com/outscale/goutils/oks/clientset/typed/oks.dev/v1beta" + "github.com/spf13/cobra" +) + +// oksCmd represents the kubecommand +var netpeeringacceptanceCmd = &cobra.Command{ + GroupID: "service", + Use: "acceptance", + Short: "netpeering acceptance commands", +} + +func init() { + buildKubeAPI("kubeclient_netpeeringacceptances", netpeeringacceptanceCmd, netpeeringCmd, func(client *clientset.Clientset) oksv1beta.NetPeeringAcceptanceInterface { + return client.OksV1beta().NetPeeringAcceptances() + }) +} diff --git a/cmd/kube_netpeeringrequest.go b/cmd/kube_netpeeringrequest.go new file mode 100644 index 00000000..3e8bca0f --- /dev/null +++ b/cmd/kube_netpeeringrequest.go @@ -0,0 +1,20 @@ +package cmd + +import ( + "github.com/outscale/goutils/oks/clientset" + oksv1beta "github.com/outscale/goutils/oks/clientset/typed/oks.dev/v1beta" + "github.com/spf13/cobra" +) + +// oksCmd represents the kubecommand +var netpeeringrequestCmd = &cobra.Command{ + GroupID: "service", + Use: "request", + Short: "netpeering request commands", +} + +func init() { + buildKubeAPI("kubeclient_netpeeringrequests", netpeeringrequestCmd, netpeeringCmd, func(client *clientset.Clientset) oksv1beta.NetPeeringRequestInterface { + return client.OksV1beta().NetPeeringRequests() + }) +} diff --git a/cmd/kube_nodepool.go b/cmd/kube_nodepool.go index 343a76aa..bdea51e1 100644 --- a/cmd/kube_nodepool.go +++ b/cmd/kube_nodepool.go @@ -1,14 +1,8 @@ package cmd import ( - "reflect" - "slices" - + "github.com/outscale/goutils/oks/clientset" oksv1beta2 "github.com/outscale/goutils/oks/clientset/typed/oks.dev/v1beta2" - "github.com/outscale/octl/pkg/builder" - "github.com/outscale/octl/pkg/flags" - "github.com/outscale/octl/pkg/preferences" - "github.com/samber/lo" "github.com/spf13/cobra" ) @@ -21,22 +15,7 @@ var nodepoolCmd = &cobra.Command{ } func init() { - oksCmd.AddCommand(nodepoolCmd) - b := builder.NewBuilder[oksv1beta2.NodePoolInterface]("kubeclient_nodepool", "https://docs.outscale.com/api.html") - b.BuildAPI(nodepoolCmd, func(m reflect.Method) bool { - return slices.Contains([]string{"List", "Get", "Create", "Update", "Delete"}, m.Name) - }, kubeapi("kubeclient_nodepool")) - apiCmd, _ := lo.Find(nodepoolCmd.Commands(), func(c *cobra.Command) bool { return c.Name() == "api" }) - b.Build(oksCmd, apiCmd) - for _, cmd := range nodepoolCmd.Commands() { - if cmd.Name() == "api" { - cmd.PersistentFlags().String("cluster", "", "[REQUIRED] ID of cluster") - _ = cmd.MarkPersistentFlagRequired("cluster") - } else { - cmd.Flags().String("cluster", "", "[REQUIRED] Name or ID of cluster") - cmd.Flags().String("project", preferences.Preferences.Kube.DefaultProject, "Name or ID of project") - _ = cmd.MarkFlagRequired("cluster") - _ = flags.MarkAsNoForward(cmd.Flags(), "project") - } - } + buildKubeAPI("kubeclient_nodepool", nodepoolCmd, oksCmd, func(client *clientset.Clientset) oksv1beta2.NodePoolInterface { + return client.OksV1beta2().NodePools() + }) } diff --git a/cmd/kube_oosaccess.go b/cmd/kube_oosaccess.go new file mode 100644 index 00000000..1fc0f5f7 --- /dev/null +++ b/cmd/kube_oosaccess.go @@ -0,0 +1,20 @@ +package cmd + +import ( + "github.com/outscale/goutils/oks/clientset" + oksv1beta "github.com/outscale/goutils/oks/clientset/typed/oks.dev/v1beta" + "github.com/spf13/cobra" +) + +// oksCmd represents the kubecommand +var oosaccessCmd = &cobra.Command{ + GroupID: "service", + Use: "oosaccess", + Short: "oosaccess commands", +} + +func init() { + buildKubeAPI("kubeclient_oosaccess", oosaccessCmd, oksCmd, func(client *clientset.Clientset) oksv1beta.OOSAccessInterface { + return client.OksV1beta().OOSAccesses() + }) +} diff --git a/cmd/kube_vpnconnection.go b/cmd/kube_vpnconnection.go new file mode 100644 index 00000000..15e519a6 --- /dev/null +++ b/cmd/kube_vpnconnection.go @@ -0,0 +1,20 @@ +package cmd + +import ( + "github.com/outscale/goutils/oks/clientset" + oksv1beta "github.com/outscale/goutils/oks/clientset/typed/oks.dev/v1beta" + "github.com/spf13/cobra" +) + +// oksCmd represents the kubecommand +var vpnconnectionCmd = &cobra.Command{ + GroupID: "service", + Use: "vpnconnection", + Short: "vpnconnection commands", +} + +func init() { + buildKubeAPI("kubeclient_vpnconnection", vpnconnectionCmd, oksCmd, func(client *clientset.Clientset) oksv1beta.VpnConnectionInterface { + return client.OksV1beta().VpnConnections() + }) +} diff --git a/docs/reference/octl_kube.md b/docs/reference/octl_kube.md index 13102e01..fd460ee3 100644 --- a/docs/reference/octl_kube.md +++ b/docs/reference/octl_kube.md @@ -38,10 +38,14 @@ OUTSCALE Kubernetes as a Service (OKS) management * [octl](octl.md) - A modern CLI for Outscale services * [octl kube api](octl_kube_api.md) - kube api calls * [octl kube cluster](octl_kube_cluster.md) - cluster commands +* [octl kube ippool](octl_kube_ippool.md) - ippool commands * [octl kube kubectl](octl_kube_kubectl.md) - +* [octl kube netpeering](octl_kube_netpeering.md) - netpeering commands * [octl kube nodepool](octl_kube_nodepool.md) - nodepool commands +* [octl kube oosaccess](octl_kube_oosaccess.md) - oosaccess commands * [octl kube project](octl_kube_project.md) - project commands * [octl kube publicip](octl_kube_publicip.md) - publicip commands * [octl kube quota](octl_kube_quota.md) - quota commands * [octl kube secret](octl_kube_secret.md) - Create secret for CCM or CSI driver deployment +* [octl kube vpnconnection](octl_kube_vpnconnection.md) - vpnconnection commands diff --git a/docs/reference/octl_kube_ippool.md b/docs/reference/octl_kube_ippool.md new file mode 100644 index 00000000..c3bd0c64 --- /dev/null +++ b/docs/reference/octl_kube_ippool.md @@ -0,0 +1,44 @@ +## octl kube ippool + +ippool commands + +### Options + +``` + -h, --help help for ippool +``` + +### Options inherited from parent commands + +``` + -c, --columns string columns to display - [+]:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube](octl_kube.md) - OUTSCALE Kubernetes as a Service (OKS) management +* [octl kube ippool api](octl_kube_ippool_api.md) - ippool api calls +* [octl kube ippool create](octl_kube_ippool_create.md) - alias for request api Create +* [octl kube ippool delete](octl_kube_ippool_delete.md) - alias for api Delete id +* [octl kube ippool describe](octl_kube_ippool_describe.md) - alias for api Get +* [octl kube ippool list](octl_kube_ippool_list.md) - alias for api List + diff --git a/docs/reference/octl_kube_ippool_api.md b/docs/reference/octl_kube_ippool_api.md new file mode 100644 index 00000000..82027ce7 --- /dev/null +++ b/docs/reference/octl_kube_ippool_api.md @@ -0,0 +1,45 @@ +## octl kube ippool api + +ippool api calls + +### Options + +``` + --cluster string [REQUIRED] ID of cluster + -h, --help help for api +``` + +### Options inherited from parent commands + +``` + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube ippool](octl_kube_ippool.md) - ippool commands +* [octl kube ippool api Create](octl_kube_ippool_api_Create.md) - +* [octl kube ippool api Delete](octl_kube_ippool_api_Delete.md) - +* [octl kube ippool api Get](octl_kube_ippool_api_Get.md) - +* [octl kube ippool api List](octl_kube_ippool_api_List.md) - +* [octl kube ippool api Update](octl_kube_ippool_api_Update.md) - + diff --git a/docs/reference/octl_kube_ippool_api_Create.md b/docs/reference/octl_kube_ippool_api_Create.md new file mode 100644 index 00000000..91756215 --- /dev/null +++ b/docs/reference/octl_kube_ippool_api_Create.md @@ -0,0 +1,79 @@ +## octl kube ippool api Create + + + +``` +octl kube ippool api Create [flags] +``` + +### Options + +``` + --ObjectMeta.Annotations stringToString (default []) + --ObjectMeta.CreationTimestamp string + --ObjectMeta.DeletionGracePeriodSeconds int + --ObjectMeta.DeletionTimestamp string + --ObjectMeta.Finalizers strings + --ObjectMeta.GenerateName string + --ObjectMeta.Generation int + --ObjectMeta.Labels stringToString (default []) + --ObjectMeta.ManagedFields.0.APIVersion string + --ObjectMeta.ManagedFields.0.FieldsType string + --ObjectMeta.ManagedFields.0.FieldsV1 string + --ObjectMeta.ManagedFields.0.Manager string + --ObjectMeta.ManagedFields.0.Operation string + --ObjectMeta.ManagedFields.0.Subresource string + --ObjectMeta.ManagedFields.0.Time string + --ObjectMeta.Name string + --ObjectMeta.Namespace string + --ObjectMeta.OwnerReferences.0.APIVersion string + --ObjectMeta.OwnerReferences.0.BlockOwnerDeletion + --ObjectMeta.OwnerReferences.0.Controller + --ObjectMeta.OwnerReferences.0.Kind string + --ObjectMeta.OwnerReferences.0.Name string + --ObjectMeta.OwnerReferences.0.UID string + --ObjectMeta.ResourceVersion string + --ObjectMeta.SelfLink string + --ObjectMeta.UID string + --Spec.NumAddresses int + --Spec.Persistent + --Status.LastError.Message string + --Status.LastError.Posted string + --Status.Progress.AllocatedAddresses int + --Status.Progress.LinkedAddresses int + --Status.Progress.UnlinkedAddresses int + --TypeMeta.APIVersion string + --TypeMeta.Kind string + -h, --help help for Create +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube ippool api](octl_kube_ippool_api.md) - ippool api calls + diff --git a/docs/reference/octl_kube_ippool_api_Delete.md b/docs/reference/octl_kube_ippool_api_Delete.md new file mode 100644 index 00000000..a4b218a7 --- /dev/null +++ b/docs/reference/octl_kube_ippool_api_Delete.md @@ -0,0 +1,44 @@ +## octl kube ippool api Delete + + + +``` +octl kube ippool api Delete id [flags] +``` + +### Options + +``` + -h, --help help for Delete +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube ippool api](octl_kube_ippool_api.md) - ippool api calls + diff --git a/docs/reference/octl_kube_ippool_api_Get.md b/docs/reference/octl_kube_ippool_api_Get.md new file mode 100644 index 00000000..4b010d08 --- /dev/null +++ b/docs/reference/octl_kube_ippool_api_Get.md @@ -0,0 +1,44 @@ +## octl kube ippool api Get + + + +``` +octl kube ippool api Get id [flags] +``` + +### Options + +``` + -h, --help help for Get +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube ippool api](octl_kube_ippool_api.md) - ippool api calls + diff --git a/docs/reference/octl_kube_ippool_api_List.md b/docs/reference/octl_kube_ippool_api_List.md new file mode 100644 index 00000000..e74ef5cc --- /dev/null +++ b/docs/reference/octl_kube_ippool_api_List.md @@ -0,0 +1,44 @@ +## octl kube ippool api List + + + +``` +octl kube ippool api List [flags] +``` + +### Options + +``` + -h, --help help for List +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube ippool api](octl_kube_ippool_api.md) - ippool api calls + diff --git a/docs/reference/octl_kube_ippool_api_Update.md b/docs/reference/octl_kube_ippool_api_Update.md new file mode 100644 index 00000000..4018ee4e --- /dev/null +++ b/docs/reference/octl_kube_ippool_api_Update.md @@ -0,0 +1,79 @@ +## octl kube ippool api Update + + + +``` +octl kube ippool api Update [flags] +``` + +### Options + +``` + --ObjectMeta.Annotations stringToString (default []) + --ObjectMeta.CreationTimestamp string + --ObjectMeta.DeletionGracePeriodSeconds int + --ObjectMeta.DeletionTimestamp string + --ObjectMeta.Finalizers strings + --ObjectMeta.GenerateName string + --ObjectMeta.Generation int + --ObjectMeta.Labels stringToString (default []) + --ObjectMeta.ManagedFields.0.APIVersion string + --ObjectMeta.ManagedFields.0.FieldsType string + --ObjectMeta.ManagedFields.0.FieldsV1 string + --ObjectMeta.ManagedFields.0.Manager string + --ObjectMeta.ManagedFields.0.Operation string + --ObjectMeta.ManagedFields.0.Subresource string + --ObjectMeta.ManagedFields.0.Time string + --ObjectMeta.Name string + --ObjectMeta.Namespace string + --ObjectMeta.OwnerReferences.0.APIVersion string + --ObjectMeta.OwnerReferences.0.BlockOwnerDeletion + --ObjectMeta.OwnerReferences.0.Controller + --ObjectMeta.OwnerReferences.0.Kind string + --ObjectMeta.OwnerReferences.0.Name string + --ObjectMeta.OwnerReferences.0.UID string + --ObjectMeta.ResourceVersion string + --ObjectMeta.SelfLink string + --ObjectMeta.UID string + --Spec.NumAddresses int + --Spec.Persistent + --Status.LastError.Message string + --Status.LastError.Posted string + --Status.Progress.AllocatedAddresses int + --Status.Progress.LinkedAddresses int + --Status.Progress.UnlinkedAddresses int + --TypeMeta.APIVersion string + --TypeMeta.Kind string + -h, --help help for Update +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube ippool api](octl_kube_ippool_api.md) - ippool api calls + diff --git a/docs/reference/octl_kube_ippool_create.md b/docs/reference/octl_kube_ippool_create.md new file mode 100644 index 00000000..93b17abc --- /dev/null +++ b/docs/reference/octl_kube_ippool_create.md @@ -0,0 +1,53 @@ +## octl kube ippool create + +alias for request api Create + +### Synopsis + +> *alias for request api Create* + + + +``` +octl kube ippool create [flags] +``` + +### Options + +``` + --cluster string [REQUIRED] Name or ID of cluster + -h, --help help for create + --name string [REQUIRED] + --num-addresses int [REQUIRED] + --project string Name or ID of project +``` + +### Options inherited from parent commands + +``` + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube ippool](octl_kube_ippool.md) - ippool commands + diff --git a/docs/reference/octl_kube_ippool_delete.md b/docs/reference/octl_kube_ippool_delete.md new file mode 100644 index 00000000..0407f9df --- /dev/null +++ b/docs/reference/octl_kube_ippool_delete.md @@ -0,0 +1,51 @@ +## octl kube ippool delete + +alias for api Delete id + +### Synopsis + +> *alias for api Delete id* + + + +``` +octl kube ippool delete name [name]... [flags] +``` + +### Options + +``` + --cluster string [REQUIRED] Name or ID of cluster + -h, --help help for delete + --project string Name or ID of project +``` + +### Options inherited from parent commands + +``` + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube ippool](octl_kube_ippool.md) - ippool commands + diff --git a/docs/reference/octl_kube_ippool_describe.md b/docs/reference/octl_kube_ippool_describe.md new file mode 100644 index 00000000..15e078e0 --- /dev/null +++ b/docs/reference/octl_kube_ippool_describe.md @@ -0,0 +1,51 @@ +## octl kube ippool describe + +alias for api Get + +### Synopsis + +> *alias for api Get* + + + +``` +octl kube ippool describe name [flags] +``` + +### Options + +``` + --cluster string [REQUIRED] Name or ID of cluster + -h, --help help for describe + --project string Name or ID of project +``` + +### Options inherited from parent commands + +``` + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube ippool](octl_kube_ippool.md) - ippool commands + diff --git a/docs/reference/octl_kube_ippool_list.md b/docs/reference/octl_kube_ippool_list.md new file mode 100644 index 00000000..717e8900 --- /dev/null +++ b/docs/reference/octl_kube_ippool_list.md @@ -0,0 +1,51 @@ +## octl kube ippool list + +alias for api List + +### Synopsis + +> *alias for api List* + + + +``` +octl kube ippool list [flags] +``` + +### Options + +``` + --cluster string [REQUIRED] Name or ID of cluster + -h, --help help for list + --project string Name or ID of project +``` + +### Options inherited from parent commands + +``` + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube ippool](octl_kube_ippool.md) - ippool commands + diff --git a/docs/reference/octl_kube_netpeering.md b/docs/reference/octl_kube_netpeering.md new file mode 100644 index 00000000..940c1ac9 --- /dev/null +++ b/docs/reference/octl_kube_netpeering.md @@ -0,0 +1,47 @@ +## octl kube netpeering + +netpeering commands + +### Options + +``` + -h, --help help for netpeering +``` + +### Options inherited from parent commands + +``` + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube](octl_kube.md) - OUTSCALE Kubernetes as a Service (OKS) management +* [octl kube netpeering accept](octl_kube_netpeering_accept.md) - alias for acceptance api Create +* [octl kube netpeering acceptance](octl_kube_netpeering_acceptance.md) - netpeering acceptance commands +* [octl kube netpeering api](octl_kube_netpeering_api.md) - netpeering api calls +* [octl kube netpeering create](octl_kube_netpeering_create.md) - alias for request api Create +* [octl kube netpeering delete](octl_kube_netpeering_delete.md) - alias for api Delete id +* [octl kube netpeering describe](octl_kube_netpeering_describe.md) - alias for api Get id +* [octl kube netpeering list](octl_kube_netpeering_list.md) - alias for api List +* [octl kube netpeering request](octl_kube_netpeering_request.md) - netpeering request commands + diff --git a/docs/reference/octl_kube_netpeering_accept.md b/docs/reference/octl_kube_netpeering_accept.md new file mode 100644 index 00000000..80cd8b30 --- /dev/null +++ b/docs/reference/octl_kube_netpeering_accept.md @@ -0,0 +1,52 @@ +## octl kube netpeering accept + +alias for acceptance api Create + +### Synopsis + +> *alias for acceptance api Create* + + + +``` +octl kube netpeering accept id [flags] +``` + +### Options + +``` + --cluster string [REQUIRED] Name or ID of cluster + -h, --help help for accept + --name string (default "netpeering-acceptance") + --project string Name or ID of project +``` + +### Options inherited from parent commands + +``` + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube netpeering](octl_kube_netpeering.md) - netpeering commands + diff --git a/docs/reference/octl_kube_netpeering_acceptance.md b/docs/reference/octl_kube_netpeering_acceptance.md new file mode 100644 index 00000000..8639dbb7 --- /dev/null +++ b/docs/reference/octl_kube_netpeering_acceptance.md @@ -0,0 +1,40 @@ +## octl kube netpeering acceptance + +netpeering acceptance commands + +### Options + +``` + -h, --help help for acceptance +``` + +### Options inherited from parent commands + +``` + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube netpeering](octl_kube_netpeering.md) - netpeering commands +* [octl kube netpeering acceptance api](octl_kube_netpeering_acceptance_api.md) - acceptance api calls + diff --git a/docs/reference/octl_kube_netpeering_acceptance_api.md b/docs/reference/octl_kube_netpeering_acceptance_api.md new file mode 100644 index 00000000..52cf54a6 --- /dev/null +++ b/docs/reference/octl_kube_netpeering_acceptance_api.md @@ -0,0 +1,45 @@ +## octl kube netpeering acceptance api + +acceptance api calls + +### Options + +``` + --cluster string [REQUIRED] ID of cluster + -h, --help help for api +``` + +### Options inherited from parent commands + +``` + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube netpeering acceptance](octl_kube_netpeering_acceptance.md) - netpeering acceptance commands +* [octl kube netpeering acceptance api Create](octl_kube_netpeering_acceptance_api_Create.md) - +* [octl kube netpeering acceptance api Delete](octl_kube_netpeering_acceptance_api_Delete.md) - +* [octl kube netpeering acceptance api Get](octl_kube_netpeering_acceptance_api_Get.md) - +* [octl kube netpeering acceptance api List](octl_kube_netpeering_acceptance_api_List.md) - +* [octl kube netpeering acceptance api Update](octl_kube_netpeering_acceptance_api_Update.md) - + diff --git a/docs/reference/octl_kube_netpeering_acceptance_api_Create.md b/docs/reference/octl_kube_netpeering_acceptance_api_Create.md new file mode 100644 index 00000000..56cb9cd6 --- /dev/null +++ b/docs/reference/octl_kube_netpeering_acceptance_api_Create.md @@ -0,0 +1,82 @@ +## octl kube netpeering acceptance api Create + + + +``` +octl kube netpeering acceptance api Create [flags] +``` + +### Options + +``` + --ObjectMeta.Annotations stringToString (default []) + --ObjectMeta.CreationTimestamp string + --ObjectMeta.DeletionGracePeriodSeconds int + --ObjectMeta.DeletionTimestamp string + --ObjectMeta.Finalizers strings + --ObjectMeta.GenerateName string + --ObjectMeta.Generation int + --ObjectMeta.Labels stringToString (default []) + --ObjectMeta.ManagedFields.0.APIVersion string + --ObjectMeta.ManagedFields.0.FieldsType string + --ObjectMeta.ManagedFields.0.FieldsV1 string + --ObjectMeta.ManagedFields.0.Manager string + --ObjectMeta.ManagedFields.0.Operation string + --ObjectMeta.ManagedFields.0.Subresource string + --ObjectMeta.ManagedFields.0.Time string + --ObjectMeta.Name string + --ObjectMeta.Namespace string + --ObjectMeta.OwnerReferences.0.APIVersion string + --ObjectMeta.OwnerReferences.0.BlockOwnerDeletion + --ObjectMeta.OwnerReferences.0.Controller + --ObjectMeta.OwnerReferences.0.Kind string + --ObjectMeta.OwnerReferences.0.Name string + --ObjectMeta.OwnerReferences.0.UID string + --ObjectMeta.ResourceVersion string + --ObjectMeta.SelfLink string + --ObjectMeta.UID string + --Spec.NetPeeringId string + --Status.AccepterIpRange string + --Status.AccepterNetId string + --Status.AccepterOwnerId string + --Status.NetPeeringExpirationDate string + --Status.NetPeeringMessage string + --Status.NetPeeringState string + --Status.SourceIpRange string + --Status.SourceNetId string + --Status.SourceOwnerId string + --TypeMeta.APIVersion string + --TypeMeta.Kind string + -h, --help help for Create +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube netpeering acceptance api](octl_kube_netpeering_acceptance_api.md) - acceptance api calls + diff --git a/docs/reference/octl_kube_netpeering_acceptance_api_Delete.md b/docs/reference/octl_kube_netpeering_acceptance_api_Delete.md new file mode 100644 index 00000000..c38617ec --- /dev/null +++ b/docs/reference/octl_kube_netpeering_acceptance_api_Delete.md @@ -0,0 +1,44 @@ +## octl kube netpeering acceptance api Delete + + + +``` +octl kube netpeering acceptance api Delete id [flags] +``` + +### Options + +``` + -h, --help help for Delete +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube netpeering acceptance api](octl_kube_netpeering_acceptance_api.md) - acceptance api calls + diff --git a/docs/reference/octl_kube_netpeering_acceptance_api_Get.md b/docs/reference/octl_kube_netpeering_acceptance_api_Get.md new file mode 100644 index 00000000..8ad4e875 --- /dev/null +++ b/docs/reference/octl_kube_netpeering_acceptance_api_Get.md @@ -0,0 +1,44 @@ +## octl kube netpeering acceptance api Get + + + +``` +octl kube netpeering acceptance api Get id [flags] +``` + +### Options + +``` + -h, --help help for Get +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube netpeering acceptance api](octl_kube_netpeering_acceptance_api.md) - acceptance api calls + diff --git a/docs/reference/octl_kube_netpeering_acceptance_api_List.md b/docs/reference/octl_kube_netpeering_acceptance_api_List.md new file mode 100644 index 00000000..4ee9a342 --- /dev/null +++ b/docs/reference/octl_kube_netpeering_acceptance_api_List.md @@ -0,0 +1,44 @@ +## octl kube netpeering acceptance api List + + + +``` +octl kube netpeering acceptance api List [flags] +``` + +### Options + +``` + -h, --help help for List +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube netpeering acceptance api](octl_kube_netpeering_acceptance_api.md) - acceptance api calls + diff --git a/docs/reference/octl_kube_netpeering_acceptance_api_Update.md b/docs/reference/octl_kube_netpeering_acceptance_api_Update.md new file mode 100644 index 00000000..cd69cee8 --- /dev/null +++ b/docs/reference/octl_kube_netpeering_acceptance_api_Update.md @@ -0,0 +1,82 @@ +## octl kube netpeering acceptance api Update + + + +``` +octl kube netpeering acceptance api Update [flags] +``` + +### Options + +``` + --ObjectMeta.Annotations stringToString (default []) + --ObjectMeta.CreationTimestamp string + --ObjectMeta.DeletionGracePeriodSeconds int + --ObjectMeta.DeletionTimestamp string + --ObjectMeta.Finalizers strings + --ObjectMeta.GenerateName string + --ObjectMeta.Generation int + --ObjectMeta.Labels stringToString (default []) + --ObjectMeta.ManagedFields.0.APIVersion string + --ObjectMeta.ManagedFields.0.FieldsType string + --ObjectMeta.ManagedFields.0.FieldsV1 string + --ObjectMeta.ManagedFields.0.Manager string + --ObjectMeta.ManagedFields.0.Operation string + --ObjectMeta.ManagedFields.0.Subresource string + --ObjectMeta.ManagedFields.0.Time string + --ObjectMeta.Name string + --ObjectMeta.Namespace string + --ObjectMeta.OwnerReferences.0.APIVersion string + --ObjectMeta.OwnerReferences.0.BlockOwnerDeletion + --ObjectMeta.OwnerReferences.0.Controller + --ObjectMeta.OwnerReferences.0.Kind string + --ObjectMeta.OwnerReferences.0.Name string + --ObjectMeta.OwnerReferences.0.UID string + --ObjectMeta.ResourceVersion string + --ObjectMeta.SelfLink string + --ObjectMeta.UID string + --Spec.NetPeeringId string + --Status.AccepterIpRange string + --Status.AccepterNetId string + --Status.AccepterOwnerId string + --Status.NetPeeringExpirationDate string + --Status.NetPeeringMessage string + --Status.NetPeeringState string + --Status.SourceIpRange string + --Status.SourceNetId string + --Status.SourceOwnerId string + --TypeMeta.APIVersion string + --TypeMeta.Kind string + -h, --help help for Update +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube netpeering acceptance api](octl_kube_netpeering_acceptance_api.md) - acceptance api calls + diff --git a/docs/reference/octl_kube_netpeering_api.md b/docs/reference/octl_kube_netpeering_api.md new file mode 100644 index 00000000..26a91010 --- /dev/null +++ b/docs/reference/octl_kube_netpeering_api.md @@ -0,0 +1,45 @@ +## octl kube netpeering api + +netpeering api calls + +### Options + +``` + --cluster string [REQUIRED] ID of cluster + -h, --help help for api +``` + +### Options inherited from parent commands + +``` + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube netpeering](octl_kube_netpeering.md) - netpeering commands +* [octl kube netpeering api Create](octl_kube_netpeering_api_Create.md) - +* [octl kube netpeering api Delete](octl_kube_netpeering_api_Delete.md) - +* [octl kube netpeering api Get](octl_kube_netpeering_api_Get.md) - +* [octl kube netpeering api List](octl_kube_netpeering_api_List.md) - +* [octl kube netpeering api Update](octl_kube_netpeering_api_Update.md) - + diff --git a/docs/reference/octl_kube_netpeering_api_Create.md b/docs/reference/octl_kube_netpeering_api_Create.md new file mode 100644 index 00000000..c46a5326 --- /dev/null +++ b/docs/reference/octl_kube_netpeering_api_Create.md @@ -0,0 +1,82 @@ +## octl kube netpeering api Create + + + +``` +octl kube netpeering api Create [flags] +``` + +### Options + +``` + --ObjectMeta.Annotations stringToString (default []) + --ObjectMeta.CreationTimestamp string + --ObjectMeta.DeletionGracePeriodSeconds int + --ObjectMeta.DeletionTimestamp string + --ObjectMeta.Finalizers strings + --ObjectMeta.GenerateName string + --ObjectMeta.Generation int + --ObjectMeta.Labels stringToString (default []) + --ObjectMeta.ManagedFields.0.APIVersion string + --ObjectMeta.ManagedFields.0.FieldsType string + --ObjectMeta.ManagedFields.0.FieldsV1 string + --ObjectMeta.ManagedFields.0.Manager string + --ObjectMeta.ManagedFields.0.Operation string + --ObjectMeta.ManagedFields.0.Subresource string + --ObjectMeta.ManagedFields.0.Time string + --ObjectMeta.Name string + --ObjectMeta.Namespace string + --ObjectMeta.OwnerReferences.0.APIVersion string + --ObjectMeta.OwnerReferences.0.BlockOwnerDeletion + --ObjectMeta.OwnerReferences.0.Controller + --ObjectMeta.OwnerReferences.0.Kind string + --ObjectMeta.OwnerReferences.0.Name string + --ObjectMeta.OwnerReferences.0.UID string + --ObjectMeta.ResourceVersion string + --ObjectMeta.SelfLink string + --ObjectMeta.UID string + --Spec.NetPeeringId string + --Status.AccepterIpRange string + --Status.AccepterNetId string + --Status.AccepterOwnerId string + --Status.NetPeeringExpirationDate string + --Status.NetPeeringMessage string + --Status.NetPeeringState string + --Status.SourceIpRange string + --Status.SourceNetId string + --Status.SourceOwnerId string + --TypeMeta.APIVersion string + --TypeMeta.Kind string + -h, --help help for Create +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube netpeering api](octl_kube_netpeering_api.md) - netpeering api calls + diff --git a/docs/reference/octl_kube_netpeering_api_Delete.md b/docs/reference/octl_kube_netpeering_api_Delete.md new file mode 100644 index 00000000..ae6874b7 --- /dev/null +++ b/docs/reference/octl_kube_netpeering_api_Delete.md @@ -0,0 +1,44 @@ +## octl kube netpeering api Delete + + + +``` +octl kube netpeering api Delete id [flags] +``` + +### Options + +``` + -h, --help help for Delete +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube netpeering api](octl_kube_netpeering_api.md) - netpeering api calls + diff --git a/docs/reference/octl_kube_netpeering_api_Get.md b/docs/reference/octl_kube_netpeering_api_Get.md new file mode 100644 index 00000000..42864215 --- /dev/null +++ b/docs/reference/octl_kube_netpeering_api_Get.md @@ -0,0 +1,44 @@ +## octl kube netpeering api Get + + + +``` +octl kube netpeering api Get id [flags] +``` + +### Options + +``` + -h, --help help for Get +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube netpeering api](octl_kube_netpeering_api.md) - netpeering api calls + diff --git a/docs/reference/octl_kube_netpeering_api_List.md b/docs/reference/octl_kube_netpeering_api_List.md new file mode 100644 index 00000000..51604331 --- /dev/null +++ b/docs/reference/octl_kube_netpeering_api_List.md @@ -0,0 +1,44 @@ +## octl kube netpeering api List + + + +``` +octl kube netpeering api List [flags] +``` + +### Options + +``` + -h, --help help for List +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube netpeering api](octl_kube_netpeering_api.md) - netpeering api calls + diff --git a/docs/reference/octl_kube_netpeering_api_Update.md b/docs/reference/octl_kube_netpeering_api_Update.md new file mode 100644 index 00000000..8ad35158 --- /dev/null +++ b/docs/reference/octl_kube_netpeering_api_Update.md @@ -0,0 +1,82 @@ +## octl kube netpeering api Update + + + +``` +octl kube netpeering api Update [flags] +``` + +### Options + +``` + --ObjectMeta.Annotations stringToString (default []) + --ObjectMeta.CreationTimestamp string + --ObjectMeta.DeletionGracePeriodSeconds int + --ObjectMeta.DeletionTimestamp string + --ObjectMeta.Finalizers strings + --ObjectMeta.GenerateName string + --ObjectMeta.Generation int + --ObjectMeta.Labels stringToString (default []) + --ObjectMeta.ManagedFields.0.APIVersion string + --ObjectMeta.ManagedFields.0.FieldsType string + --ObjectMeta.ManagedFields.0.FieldsV1 string + --ObjectMeta.ManagedFields.0.Manager string + --ObjectMeta.ManagedFields.0.Operation string + --ObjectMeta.ManagedFields.0.Subresource string + --ObjectMeta.ManagedFields.0.Time string + --ObjectMeta.Name string + --ObjectMeta.Namespace string + --ObjectMeta.OwnerReferences.0.APIVersion string + --ObjectMeta.OwnerReferences.0.BlockOwnerDeletion + --ObjectMeta.OwnerReferences.0.Controller + --ObjectMeta.OwnerReferences.0.Kind string + --ObjectMeta.OwnerReferences.0.Name string + --ObjectMeta.OwnerReferences.0.UID string + --ObjectMeta.ResourceVersion string + --ObjectMeta.SelfLink string + --ObjectMeta.UID string + --Spec.NetPeeringId string + --Status.AccepterIpRange string + --Status.AccepterNetId string + --Status.AccepterOwnerId string + --Status.NetPeeringExpirationDate string + --Status.NetPeeringMessage string + --Status.NetPeeringState string + --Status.SourceIpRange string + --Status.SourceNetId string + --Status.SourceOwnerId string + --TypeMeta.APIVersion string + --TypeMeta.Kind string + -h, --help help for Update +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube netpeering api](octl_kube_netpeering_api.md) - netpeering api calls + diff --git a/docs/reference/octl_kube_netpeering_create.md b/docs/reference/octl_kube_netpeering_create.md new file mode 100644 index 00000000..6d6225af --- /dev/null +++ b/docs/reference/octl_kube_netpeering_create.md @@ -0,0 +1,52 @@ +## octl kube netpeering create + +alias for request api Create + +### Synopsis + +> *alias for request api Create* + + + +``` +octl kube netpeering create [flags] +``` + +### Options + +``` + --cluster string [REQUIRED] Name or ID of cluster + -h, --help help for create + --name string (default "netpeering-request") + --project string Name or ID of project +``` + +### Options inherited from parent commands + +``` + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube netpeering](octl_kube_netpeering.md) - netpeering commands + diff --git a/docs/reference/octl_kube_netpeering_delete.md b/docs/reference/octl_kube_netpeering_delete.md new file mode 100644 index 00000000..6230a024 --- /dev/null +++ b/docs/reference/octl_kube_netpeering_delete.md @@ -0,0 +1,51 @@ +## octl kube netpeering delete + +alias for api Delete id + +### Synopsis + +> *alias for api Delete id* + + + +``` +octl kube netpeering delete id [name]... [flags] +``` + +### Options + +``` + --cluster string [REQUIRED] Name or ID of cluster + -h, --help help for delete + --project string Name or ID of project +``` + +### Options inherited from parent commands + +``` + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube netpeering](octl_kube_netpeering.md) - netpeering commands + diff --git a/docs/reference/octl_kube_netpeering_describe.md b/docs/reference/octl_kube_netpeering_describe.md new file mode 100644 index 00000000..40aa65b9 --- /dev/null +++ b/docs/reference/octl_kube_netpeering_describe.md @@ -0,0 +1,51 @@ +## octl kube netpeering describe + +alias for api Get id + +### Synopsis + +> *alias for api Get id* + + + +``` +octl kube netpeering describe id [flags] +``` + +### Options + +``` + --cluster string [REQUIRED] Name or ID of cluster + -h, --help help for describe + --project string Name or ID of project +``` + +### Options inherited from parent commands + +``` + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube netpeering](octl_kube_netpeering.md) - netpeering commands + diff --git a/docs/reference/octl_kube_netpeering_list.md b/docs/reference/octl_kube_netpeering_list.md new file mode 100644 index 00000000..695fb18d --- /dev/null +++ b/docs/reference/octl_kube_netpeering_list.md @@ -0,0 +1,51 @@ +## octl kube netpeering list + +alias for api List + +### Synopsis + +> *alias for api List* + + + +``` +octl kube netpeering list [flags] +``` + +### Options + +``` + --cluster string [REQUIRED] Name or ID of cluster + -h, --help help for list + --project string Name or ID of project +``` + +### Options inherited from parent commands + +``` + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube netpeering](octl_kube_netpeering.md) - netpeering commands + diff --git a/docs/reference/octl_kube_netpeering_request.md b/docs/reference/octl_kube_netpeering_request.md new file mode 100644 index 00000000..432457bd --- /dev/null +++ b/docs/reference/octl_kube_netpeering_request.md @@ -0,0 +1,40 @@ +## octl kube netpeering request + +netpeering request commands + +### Options + +``` + -h, --help help for request +``` + +### Options inherited from parent commands + +``` + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube netpeering](octl_kube_netpeering.md) - netpeering commands +* [octl kube netpeering request api](octl_kube_netpeering_request_api.md) - request api calls + diff --git a/docs/reference/octl_kube_netpeering_request_api.md b/docs/reference/octl_kube_netpeering_request_api.md new file mode 100644 index 00000000..2968b151 --- /dev/null +++ b/docs/reference/octl_kube_netpeering_request_api.md @@ -0,0 +1,45 @@ +## octl kube netpeering request api + +request api calls + +### Options + +``` + --cluster string [REQUIRED] ID of cluster + -h, --help help for api +``` + +### Options inherited from parent commands + +``` + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube netpeering request](octl_kube_netpeering_request.md) - netpeering request commands +* [octl kube netpeering request api Create](octl_kube_netpeering_request_api_Create.md) - +* [octl kube netpeering request api Delete](octl_kube_netpeering_request_api_Delete.md) - +* [octl kube netpeering request api Get](octl_kube_netpeering_request_api_Get.md) - +* [octl kube netpeering request api List](octl_kube_netpeering_request_api_List.md) - +* [octl kube netpeering request api Update](octl_kube_netpeering_request_api_Update.md) - + diff --git a/docs/reference/octl_kube_netpeering_request_api_Create.md b/docs/reference/octl_kube_netpeering_request_api_Create.md new file mode 100644 index 00000000..14f73cde --- /dev/null +++ b/docs/reference/octl_kube_netpeering_request_api_Create.md @@ -0,0 +1,84 @@ +## octl kube netpeering request api Create + + + +``` +octl kube netpeering request api Create [flags] +``` + +### Options + +``` + --ObjectMeta.Annotations stringToString (default []) + --ObjectMeta.CreationTimestamp string + --ObjectMeta.DeletionGracePeriodSeconds int + --ObjectMeta.DeletionTimestamp string + --ObjectMeta.Finalizers strings + --ObjectMeta.GenerateName string + --ObjectMeta.Generation int + --ObjectMeta.Labels stringToString (default []) + --ObjectMeta.ManagedFields.0.APIVersion string + --ObjectMeta.ManagedFields.0.FieldsType string + --ObjectMeta.ManagedFields.0.FieldsV1 string + --ObjectMeta.ManagedFields.0.Manager string + --ObjectMeta.ManagedFields.0.Operation string + --ObjectMeta.ManagedFields.0.Subresource string + --ObjectMeta.ManagedFields.0.Time string + --ObjectMeta.Name string + --ObjectMeta.Namespace string + --ObjectMeta.OwnerReferences.0.APIVersion string + --ObjectMeta.OwnerReferences.0.BlockOwnerDeletion + --ObjectMeta.OwnerReferences.0.Controller + --ObjectMeta.OwnerReferences.0.Kind string + --ObjectMeta.OwnerReferences.0.Name string + --ObjectMeta.OwnerReferences.0.UID string + --ObjectMeta.ResourceVersion string + --ObjectMeta.SelfLink string + --ObjectMeta.UID string + --Spec.AccepterNetId string + --Spec.AccepterOwnerId string + --Spec.Persistent + --Status.AccepterIpRange string + --Status.AccepterNetId string + --Status.AccepterOwnerId string + --Status.NetPeeringExpirationDate string + --Status.NetPeeringMessage string + --Status.NetPeeringState string + --Status.SourceIpRange string + --Status.SourceNetId string + --Status.SourceOwnerId string + --TypeMeta.APIVersion string + --TypeMeta.Kind string + -h, --help help for Create +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube netpeering request api](octl_kube_netpeering_request_api.md) - request api calls + diff --git a/docs/reference/octl_kube_netpeering_request_api_Delete.md b/docs/reference/octl_kube_netpeering_request_api_Delete.md new file mode 100644 index 00000000..87b21f67 --- /dev/null +++ b/docs/reference/octl_kube_netpeering_request_api_Delete.md @@ -0,0 +1,44 @@ +## octl kube netpeering request api Delete + + + +``` +octl kube netpeering request api Delete id [flags] +``` + +### Options + +``` + -h, --help help for Delete +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube netpeering request api](octl_kube_netpeering_request_api.md) - request api calls + diff --git a/docs/reference/octl_kube_netpeering_request_api_Get.md b/docs/reference/octl_kube_netpeering_request_api_Get.md new file mode 100644 index 00000000..8b4a0218 --- /dev/null +++ b/docs/reference/octl_kube_netpeering_request_api_Get.md @@ -0,0 +1,44 @@ +## octl kube netpeering request api Get + + + +``` +octl kube netpeering request api Get id [flags] +``` + +### Options + +``` + -h, --help help for Get +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube netpeering request api](octl_kube_netpeering_request_api.md) - request api calls + diff --git a/docs/reference/octl_kube_netpeering_request_api_List.md b/docs/reference/octl_kube_netpeering_request_api_List.md new file mode 100644 index 00000000..9ffd3e95 --- /dev/null +++ b/docs/reference/octl_kube_netpeering_request_api_List.md @@ -0,0 +1,44 @@ +## octl kube netpeering request api List + + + +``` +octl kube netpeering request api List [flags] +``` + +### Options + +``` + -h, --help help for List +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube netpeering request api](octl_kube_netpeering_request_api.md) - request api calls + diff --git a/docs/reference/octl_kube_netpeering_request_api_Update.md b/docs/reference/octl_kube_netpeering_request_api_Update.md new file mode 100644 index 00000000..568beee5 --- /dev/null +++ b/docs/reference/octl_kube_netpeering_request_api_Update.md @@ -0,0 +1,84 @@ +## octl kube netpeering request api Update + + + +``` +octl kube netpeering request api Update [flags] +``` + +### Options + +``` + --ObjectMeta.Annotations stringToString (default []) + --ObjectMeta.CreationTimestamp string + --ObjectMeta.DeletionGracePeriodSeconds int + --ObjectMeta.DeletionTimestamp string + --ObjectMeta.Finalizers strings + --ObjectMeta.GenerateName string + --ObjectMeta.Generation int + --ObjectMeta.Labels stringToString (default []) + --ObjectMeta.ManagedFields.0.APIVersion string + --ObjectMeta.ManagedFields.0.FieldsType string + --ObjectMeta.ManagedFields.0.FieldsV1 string + --ObjectMeta.ManagedFields.0.Manager string + --ObjectMeta.ManagedFields.0.Operation string + --ObjectMeta.ManagedFields.0.Subresource string + --ObjectMeta.ManagedFields.0.Time string + --ObjectMeta.Name string + --ObjectMeta.Namespace string + --ObjectMeta.OwnerReferences.0.APIVersion string + --ObjectMeta.OwnerReferences.0.BlockOwnerDeletion + --ObjectMeta.OwnerReferences.0.Controller + --ObjectMeta.OwnerReferences.0.Kind string + --ObjectMeta.OwnerReferences.0.Name string + --ObjectMeta.OwnerReferences.0.UID string + --ObjectMeta.ResourceVersion string + --ObjectMeta.SelfLink string + --ObjectMeta.UID string + --Spec.AccepterNetId string + --Spec.AccepterOwnerId string + --Spec.Persistent + --Status.AccepterIpRange string + --Status.AccepterNetId string + --Status.AccepterOwnerId string + --Status.NetPeeringExpirationDate string + --Status.NetPeeringMessage string + --Status.NetPeeringState string + --Status.SourceIpRange string + --Status.SourceNetId string + --Status.SourceOwnerId string + --TypeMeta.APIVersion string + --TypeMeta.Kind string + -h, --help help for Update +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube netpeering request api](octl_kube_netpeering_request_api.md) - request api calls + diff --git a/docs/reference/octl_kube_oosaccess.md b/docs/reference/octl_kube_oosaccess.md new file mode 100644 index 00000000..f7ebfe65 --- /dev/null +++ b/docs/reference/octl_kube_oosaccess.md @@ -0,0 +1,42 @@ +## octl kube oosaccess + +oosaccess commands + +### Options + +``` + -h, --help help for oosaccess +``` + +### Options inherited from parent commands + +``` + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube](octl_kube.md) - OUTSCALE Kubernetes as a Service (OKS) management +* [octl kube oosaccess api](octl_kube_oosaccess_api.md) - oosaccess api calls +* [octl kube oosaccess describe](octl_kube_oosaccess_describe.md) - alias for api Get +* [octl kube oosaccess list](octl_kube_oosaccess_list.md) - alias for api List + diff --git a/docs/reference/octl_kube_oosaccess_api.md b/docs/reference/octl_kube_oosaccess_api.md new file mode 100644 index 00000000..1172a00b --- /dev/null +++ b/docs/reference/octl_kube_oosaccess_api.md @@ -0,0 +1,45 @@ +## octl kube oosaccess api + +oosaccess api calls + +### Options + +``` + --cluster string [REQUIRED] ID of cluster + -h, --help help for api +``` + +### Options inherited from parent commands + +``` + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube oosaccess](octl_kube_oosaccess.md) - oosaccess commands +* [octl kube oosaccess api Create](octl_kube_oosaccess_api_Create.md) - +* [octl kube oosaccess api Delete](octl_kube_oosaccess_api_Delete.md) - +* [octl kube oosaccess api Get](octl_kube_oosaccess_api_Get.md) - +* [octl kube oosaccess api List](octl_kube_oosaccess_api_List.md) - +* [octl kube oosaccess api Update](octl_kube_oosaccess_api_Update.md) - + diff --git a/docs/reference/octl_kube_oosaccess_api_Create.md b/docs/reference/octl_kube_oosaccess_api_Create.md new file mode 100644 index 00000000..a997d8b2 --- /dev/null +++ b/docs/reference/octl_kube_oosaccess_api_Create.md @@ -0,0 +1,79 @@ +## octl kube oosaccess api Create + + + +``` +octl kube oosaccess api Create [flags] +``` + +### Options + +``` + --ObjectMeta.Annotations stringToString (default []) + --ObjectMeta.CreationTimestamp string + --ObjectMeta.DeletionGracePeriodSeconds int + --ObjectMeta.DeletionTimestamp string + --ObjectMeta.Finalizers strings + --ObjectMeta.GenerateName string + --ObjectMeta.Generation int + --ObjectMeta.Labels stringToString (default []) + --ObjectMeta.ManagedFields.0.APIVersion string + --ObjectMeta.ManagedFields.0.FieldsType string + --ObjectMeta.ManagedFields.0.FieldsV1 string + --ObjectMeta.ManagedFields.0.Manager string + --ObjectMeta.ManagedFields.0.Operation string + --ObjectMeta.ManagedFields.0.Subresource string + --ObjectMeta.ManagedFields.0.Time string + --ObjectMeta.Name string + --ObjectMeta.Namespace string + --ObjectMeta.OwnerReferences.0.APIVersion string + --ObjectMeta.OwnerReferences.0.BlockOwnerDeletion + --ObjectMeta.OwnerReferences.0.Controller + --ObjectMeta.OwnerReferences.0.Kind string + --ObjectMeta.OwnerReferences.0.Name string + --ObjectMeta.OwnerReferences.0.UID string + --ObjectMeta.ResourceVersion string + --ObjectMeta.SelfLink string + --ObjectMeta.UID string + --Spec.Audit.Readers strings + --Spec.Iaas.Readers strings + --Status.AccessModes string + --Status.EndpointURL string + --Status.LastError.Message string + --Status.LastError.Posted string + --Status.ManagedRoles string + --TypeMeta.APIVersion string + --TypeMeta.Kind string + -h, --help help for Create +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube oosaccess api](octl_kube_oosaccess_api.md) - oosaccess api calls + diff --git a/docs/reference/octl_kube_oosaccess_api_Delete.md b/docs/reference/octl_kube_oosaccess_api_Delete.md new file mode 100644 index 00000000..80613376 --- /dev/null +++ b/docs/reference/octl_kube_oosaccess_api_Delete.md @@ -0,0 +1,44 @@ +## octl kube oosaccess api Delete + + + +``` +octl kube oosaccess api Delete id [flags] +``` + +### Options + +``` + -h, --help help for Delete +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube oosaccess api](octl_kube_oosaccess_api.md) - oosaccess api calls + diff --git a/docs/reference/octl_kube_oosaccess_api_Get.md b/docs/reference/octl_kube_oosaccess_api_Get.md new file mode 100644 index 00000000..46b9d91c --- /dev/null +++ b/docs/reference/octl_kube_oosaccess_api_Get.md @@ -0,0 +1,44 @@ +## octl kube oosaccess api Get + + + +``` +octl kube oosaccess api Get id [flags] +``` + +### Options + +``` + -h, --help help for Get +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube oosaccess api](octl_kube_oosaccess_api.md) - oosaccess api calls + diff --git a/docs/reference/octl_kube_oosaccess_api_List.md b/docs/reference/octl_kube_oosaccess_api_List.md new file mode 100644 index 00000000..f6733988 --- /dev/null +++ b/docs/reference/octl_kube_oosaccess_api_List.md @@ -0,0 +1,44 @@ +## octl kube oosaccess api List + + + +``` +octl kube oosaccess api List [flags] +``` + +### Options + +``` + -h, --help help for List +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube oosaccess api](octl_kube_oosaccess_api.md) - oosaccess api calls + diff --git a/docs/reference/octl_kube_oosaccess_api_Update.md b/docs/reference/octl_kube_oosaccess_api_Update.md new file mode 100644 index 00000000..eb4ec673 --- /dev/null +++ b/docs/reference/octl_kube_oosaccess_api_Update.md @@ -0,0 +1,79 @@ +## octl kube oosaccess api Update + + + +``` +octl kube oosaccess api Update [flags] +``` + +### Options + +``` + --ObjectMeta.Annotations stringToString (default []) + --ObjectMeta.CreationTimestamp string + --ObjectMeta.DeletionGracePeriodSeconds int + --ObjectMeta.DeletionTimestamp string + --ObjectMeta.Finalizers strings + --ObjectMeta.GenerateName string + --ObjectMeta.Generation int + --ObjectMeta.Labels stringToString (default []) + --ObjectMeta.ManagedFields.0.APIVersion string + --ObjectMeta.ManagedFields.0.FieldsType string + --ObjectMeta.ManagedFields.0.FieldsV1 string + --ObjectMeta.ManagedFields.0.Manager string + --ObjectMeta.ManagedFields.0.Operation string + --ObjectMeta.ManagedFields.0.Subresource string + --ObjectMeta.ManagedFields.0.Time string + --ObjectMeta.Name string + --ObjectMeta.Namespace string + --ObjectMeta.OwnerReferences.0.APIVersion string + --ObjectMeta.OwnerReferences.0.BlockOwnerDeletion + --ObjectMeta.OwnerReferences.0.Controller + --ObjectMeta.OwnerReferences.0.Kind string + --ObjectMeta.OwnerReferences.0.Name string + --ObjectMeta.OwnerReferences.0.UID string + --ObjectMeta.ResourceVersion string + --ObjectMeta.SelfLink string + --ObjectMeta.UID string + --Spec.Audit.Readers strings + --Spec.Iaas.Readers strings + --Status.AccessModes string + --Status.EndpointURL string + --Status.LastError.Message string + --Status.LastError.Posted string + --Status.ManagedRoles string + --TypeMeta.APIVersion string + --TypeMeta.Kind string + -h, --help help for Update +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube oosaccess api](octl_kube_oosaccess_api.md) - oosaccess api calls + diff --git a/docs/reference/octl_kube_oosaccess_describe.md b/docs/reference/octl_kube_oosaccess_describe.md new file mode 100644 index 00000000..daf86355 --- /dev/null +++ b/docs/reference/octl_kube_oosaccess_describe.md @@ -0,0 +1,51 @@ +## octl kube oosaccess describe + +alias for api Get + +### Synopsis + +> *alias for api Get* + + + +``` +octl kube oosaccess describe [flags] +``` + +### Options + +``` + --cluster string [REQUIRED] Name or ID of cluster + -h, --help help for describe + --project string Name or ID of project +``` + +### Options inherited from parent commands + +``` + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube oosaccess](octl_kube_oosaccess.md) - oosaccess commands + diff --git a/docs/reference/octl_kube_oosaccess_list.md b/docs/reference/octl_kube_oosaccess_list.md new file mode 100644 index 00000000..6fddf2ea --- /dev/null +++ b/docs/reference/octl_kube_oosaccess_list.md @@ -0,0 +1,51 @@ +## octl kube oosaccess list + +alias for api List + +### Synopsis + +> *alias for api List* + + + +``` +octl kube oosaccess list [flags] +``` + +### Options + +``` + --cluster string [REQUIRED] Name or ID of cluster + -h, --help help for list + --project string Name or ID of project +``` + +### Options inherited from parent commands + +``` + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube oosaccess](octl_kube_oosaccess.md) - oosaccess commands + diff --git a/docs/reference/octl_kube_vpnconnection.md b/docs/reference/octl_kube_vpnconnection.md new file mode 100644 index 00000000..7a9e0104 --- /dev/null +++ b/docs/reference/octl_kube_vpnconnection.md @@ -0,0 +1,40 @@ +## octl kube vpnconnection + +vpnconnection commands + +### Options + +``` + -h, --help help for vpnconnection +``` + +### Options inherited from parent commands + +``` + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube](octl_kube.md) - OUTSCALE Kubernetes as a Service (OKS) management +* [octl kube vpnconnection api](octl_kube_vpnconnection_api.md) - vpnconnection api calls + diff --git a/docs/reference/octl_kube_vpnconnection_api.md b/docs/reference/octl_kube_vpnconnection_api.md new file mode 100644 index 00000000..f8eee9e7 --- /dev/null +++ b/docs/reference/octl_kube_vpnconnection_api.md @@ -0,0 +1,45 @@ +## octl kube vpnconnection api + +vpnconnection api calls + +### Options + +``` + --cluster string [REQUIRED] ID of cluster + -h, --help help for api +``` + +### Options inherited from parent commands + +``` + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube vpnconnection](octl_kube_vpnconnection.md) - vpnconnection commands +* [octl kube vpnconnection api Create](octl_kube_vpnconnection_api_Create.md) - +* [octl kube vpnconnection api Delete](octl_kube_vpnconnection_api_Delete.md) - +* [octl kube vpnconnection api Get](octl_kube_vpnconnection_api_Get.md) - +* [octl kube vpnconnection api List](octl_kube_vpnconnection_api_List.md) - +* [octl kube vpnconnection api Update](octl_kube_vpnconnection_api_Update.md) - + diff --git a/docs/reference/octl_kube_vpnconnection_api_Create.md b/docs/reference/octl_kube_vpnconnection_api_Create.md new file mode 100644 index 00000000..c526287c --- /dev/null +++ b/docs/reference/octl_kube_vpnconnection_api_Create.md @@ -0,0 +1,88 @@ +## octl kube vpnconnection api Create + + + +``` +octl kube vpnconnection api Create [flags] +``` + +### Options + +``` + --ObjectMeta.Annotations stringToString (default []) + --ObjectMeta.CreationTimestamp string + --ObjectMeta.DeletionGracePeriodSeconds int + --ObjectMeta.DeletionTimestamp string + --ObjectMeta.Finalizers strings + --ObjectMeta.GenerateName string + --ObjectMeta.Generation int + --ObjectMeta.Labels stringToString (default []) + --ObjectMeta.ManagedFields.0.APIVersion string + --ObjectMeta.ManagedFields.0.FieldsType string + --ObjectMeta.ManagedFields.0.FieldsV1 string + --ObjectMeta.ManagedFields.0.Manager string + --ObjectMeta.ManagedFields.0.Operation string + --ObjectMeta.ManagedFields.0.Subresource string + --ObjectMeta.ManagedFields.0.Time string + --ObjectMeta.Name string + --ObjectMeta.Namespace string + --ObjectMeta.OwnerReferences.0.APIVersion string + --ObjectMeta.OwnerReferences.0.BlockOwnerDeletion + --ObjectMeta.OwnerReferences.0.Controller + --ObjectMeta.OwnerReferences.0.Kind string + --ObjectMeta.OwnerReferences.0.Name string + --ObjectMeta.OwnerReferences.0.UID string + --ObjectMeta.ResourceVersion string + --ObjectMeta.SelfLink string + --ObjectMeta.UID string + --Spec.BgpASN int + --Spec.ClientGatewayConfigurationStorage.ConfigMapName string + --Spec.ClientGatewayConfigurationStorage.Namespace string + --Spec.ClientGatewayConfigurationStorage.SecretName string + --Spec.PublicIP string + --Spec.StaticRoutesOnly + --Spec.VpnOptions.Phase2Options.PreSharedKey.SecretKey string + --Spec.VpnOptions.Phase2Options.PreSharedKey.SecretName string + --Spec.VpnOptions.Phase2Options.PreSharedKey.SecretNamespace string + --Spec.VpnOptions.TunnelInsideIpRange string + --Spec.VpnRoutes strings + --Status.ClientGatewayId string + --Status.ClientGatewayState string + --Status.VirtualGatewayId string + --Status.VirtualGatewayLinkState string + --Status.VirtualGatewayState string + --TypeMeta.APIVersion string + --TypeMeta.Kind string + -h, --help help for Create +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube vpnconnection api](octl_kube_vpnconnection_api.md) - vpnconnection api calls + diff --git a/docs/reference/octl_kube_vpnconnection_api_Delete.md b/docs/reference/octl_kube_vpnconnection_api_Delete.md new file mode 100644 index 00000000..f69b2ad1 --- /dev/null +++ b/docs/reference/octl_kube_vpnconnection_api_Delete.md @@ -0,0 +1,44 @@ +## octl kube vpnconnection api Delete + + + +``` +octl kube vpnconnection api Delete id [flags] +``` + +### Options + +``` + -h, --help help for Delete +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube vpnconnection api](octl_kube_vpnconnection_api.md) - vpnconnection api calls + diff --git a/docs/reference/octl_kube_vpnconnection_api_Get.md b/docs/reference/octl_kube_vpnconnection_api_Get.md new file mode 100644 index 00000000..c93a91e8 --- /dev/null +++ b/docs/reference/octl_kube_vpnconnection_api_Get.md @@ -0,0 +1,44 @@ +## octl kube vpnconnection api Get + + + +``` +octl kube vpnconnection api Get id [flags] +``` + +### Options + +``` + -h, --help help for Get +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube vpnconnection api](octl_kube_vpnconnection_api.md) - vpnconnection api calls + diff --git a/docs/reference/octl_kube_vpnconnection_api_List.md b/docs/reference/octl_kube_vpnconnection_api_List.md new file mode 100644 index 00000000..7cb6ee61 --- /dev/null +++ b/docs/reference/octl_kube_vpnconnection_api_List.md @@ -0,0 +1,44 @@ +## octl kube vpnconnection api List + + + +``` +octl kube vpnconnection api List [flags] +``` + +### Options + +``` + -h, --help help for List +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube vpnconnection api](octl_kube_vpnconnection_api.md) - vpnconnection api calls + diff --git a/docs/reference/octl_kube_vpnconnection_api_Update.md b/docs/reference/octl_kube_vpnconnection_api_Update.md new file mode 100644 index 00000000..69d0a74b --- /dev/null +++ b/docs/reference/octl_kube_vpnconnection_api_Update.md @@ -0,0 +1,88 @@ +## octl kube vpnconnection api Update + + + +``` +octl kube vpnconnection api Update [flags] +``` + +### Options + +``` + --ObjectMeta.Annotations stringToString (default []) + --ObjectMeta.CreationTimestamp string + --ObjectMeta.DeletionGracePeriodSeconds int + --ObjectMeta.DeletionTimestamp string + --ObjectMeta.Finalizers strings + --ObjectMeta.GenerateName string + --ObjectMeta.Generation int + --ObjectMeta.Labels stringToString (default []) + --ObjectMeta.ManagedFields.0.APIVersion string + --ObjectMeta.ManagedFields.0.FieldsType string + --ObjectMeta.ManagedFields.0.FieldsV1 string + --ObjectMeta.ManagedFields.0.Manager string + --ObjectMeta.ManagedFields.0.Operation string + --ObjectMeta.ManagedFields.0.Subresource string + --ObjectMeta.ManagedFields.0.Time string + --ObjectMeta.Name string + --ObjectMeta.Namespace string + --ObjectMeta.OwnerReferences.0.APIVersion string + --ObjectMeta.OwnerReferences.0.BlockOwnerDeletion + --ObjectMeta.OwnerReferences.0.Controller + --ObjectMeta.OwnerReferences.0.Kind string + --ObjectMeta.OwnerReferences.0.Name string + --ObjectMeta.OwnerReferences.0.UID string + --ObjectMeta.ResourceVersion string + --ObjectMeta.SelfLink string + --ObjectMeta.UID string + --Spec.BgpASN int + --Spec.ClientGatewayConfigurationStorage.ConfigMapName string + --Spec.ClientGatewayConfigurationStorage.Namespace string + --Spec.ClientGatewayConfigurationStorage.SecretName string + --Spec.PublicIP string + --Spec.StaticRoutesOnly + --Spec.VpnOptions.Phase2Options.PreSharedKey.SecretKey string + --Spec.VpnOptions.Phase2Options.PreSharedKey.SecretName string + --Spec.VpnOptions.Phase2Options.PreSharedKey.SecretNamespace string + --Spec.VpnOptions.TunnelInsideIpRange string + --Spec.VpnRoutes strings + --Status.ClientGatewayId string + --Status.ClientGatewayState string + --Status.VirtualGatewayId string + --Status.VirtualGatewayLinkState string + --Status.VirtualGatewayState string + --TypeMeta.APIVersion string + --TypeMeta.Kind string + -h, --help help for Update +``` + +### Options inherited from parent commands + +``` + --cluster string [REQUIRED] ID of cluster + -c, --columns string columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content> + --config string Path of profile file (by default, ~/.osc/config.json) + --dry-run Display the request payload that would be sent to the API without sending it + --elapsed add elapsed time column when using --watch (default true) + --filter strings comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))' + --interval duration interval between two watch/waitfor iterations (default 5s) + --jq string jq filter + --max-pages int maximum number of pages a command can fetch (default 20) + --no-upgrade do not check for new versions + -O, --out-file string redirect output to file + -o, --output string output format (raw, json, yaml, table, csv, none, base64, text) + --payload string JSON content for query body + --profile string Profile to use in profile file (by default, "default") + --single convert single entry lists to a single object + --template string JSON template file for query body + -v, --verbose Verbose output + --waitfor string repeatedly call the API until the specified jq expression returns 1/true or a non empty result + --waitfor-timeout duration maximum duration of a wait (default 10m0s) + --watch repeatedly call the API and display changes + -y, --yes answer yes to all prompts +``` + +### SEE ALSO + +* [octl kube vpnconnection api](octl_kube_vpnconnection_api.md) - vpnconnection api calls + diff --git a/go.mod b/go.mod index c0000370..7b851413 100644 --- a/go.mod +++ b/go.mod @@ -23,7 +23,7 @@ require ( github.com/itchyny/gojq v0.12.19 github.com/mattn/go-isatty v0.0.21 github.com/minio/selfupdate v0.6.0 - github.com/outscale/goutils/oks v0.0.1 + github.com/outscale/goutils/oks v0.0.2 github.com/outscale/goutils/sdk v0.0.5 github.com/outscale/osc-sdk-go/v3 v3.0.0-rc.3.0.20260709150001-abf6e77bc1d0 github.com/samber/lo v1.53.0 @@ -40,6 +40,7 @@ require ( k8s.io/kubectl v0.36.2 ) +// replace github.com/outscale/goutils/oks => ../goutils/oks // replace github.com/outscale/goutils/sdk => ../goutils/sdk // replace github.com/outscale/osc-sdk-go/v3 => ../osc-sdk-go @@ -101,24 +102,25 @@ require ( github.com/go-logr/stdr v1.2.2 // indirect github.com/go-openapi/analysis v0.24.1 // indirect github.com/go-openapi/errors v0.22.4 // indirect - github.com/go-openapi/jsonpointer v0.22.1 // indirect + github.com/go-openapi/jsonpointer v1.0.0 // indirect github.com/go-openapi/jsonreference v0.21.3 // indirect github.com/go-openapi/loads v0.23.2 // indirect github.com/go-openapi/runtime v0.29.2 // indirect github.com/go-openapi/spec v0.22.1 // indirect github.com/go-openapi/strfmt v0.25.0 // indirect - github.com/go-openapi/swag v0.25.4 // indirect - github.com/go-openapi/swag/cmdutils v0.25.4 // indirect - github.com/go-openapi/swag/conv v0.25.4 // indirect - github.com/go-openapi/swag/fileutils v0.25.4 // indirect - github.com/go-openapi/swag/jsonname v0.25.4 // indirect - github.com/go-openapi/swag/jsonutils v0.25.4 // indirect - github.com/go-openapi/swag/loading v0.25.4 // indirect - github.com/go-openapi/swag/mangling v0.25.4 // indirect - github.com/go-openapi/swag/netutils v0.25.4 // indirect - github.com/go-openapi/swag/stringutils v0.25.4 // indirect - github.com/go-openapi/swag/typeutils v0.25.4 // indirect - github.com/go-openapi/swag/yamlutils v0.25.4 // indirect + github.com/go-openapi/swag v0.27.1 // indirect + github.com/go-openapi/swag/cmdutils v0.27.1 // indirect + github.com/go-openapi/swag/conv v0.27.1 // indirect + github.com/go-openapi/swag/fileutils v0.27.1 // indirect + github.com/go-openapi/swag/jsonname v0.26.0 // indirect + github.com/go-openapi/swag/jsonutils v0.27.1 // indirect + github.com/go-openapi/swag/loading v0.27.1 // indirect + github.com/go-openapi/swag/mangling v0.27.1 // indirect + github.com/go-openapi/swag/netutils v0.27.1 // indirect + github.com/go-openapi/swag/pools v0.27.1 // indirect + github.com/go-openapi/swag/stringutils v0.27.1 // indirect + github.com/go-openapi/swag/typeutils v0.27.1 // indirect + github.com/go-openapi/swag/yamlutils v0.27.1 // indirect github.com/go-openapi/validate v0.25.1 // indirect github.com/go-viper/mapstructure/v2 v2.4.0 // indirect github.com/google/btree v1.1.3 // indirect diff --git a/go.sum b/go.sum index f1f129ef..091ee44f 100644 --- a/go.sum +++ b/go.sum @@ -218,8 +218,8 @@ github.com/go-openapi/analysis v0.24.1 h1:Xp+7Yn/KOnVWYG8d+hPksOYnCYImE3TieBa7rB github.com/go-openapi/analysis v0.24.1/go.mod h1:dU+qxX7QGU1rl7IYhBC8bIfmWQdX4Buoea4TGtxXY84= github.com/go-openapi/errors v0.22.4 h1:oi2K9mHTOb5DPW2Zjdzs/NIvwi2N3fARKaTJLdNabaM= github.com/go-openapi/errors v0.22.4/go.mod h1:z9S8ASTUqx7+CP1Q8dD8ewGH/1JWFFLX/2PmAYNQLgk= -github.com/go-openapi/jsonpointer v0.22.1 h1:sHYI1He3b9NqJ4wXLoJDKmUmHkWy/L7rtEo92JUxBNk= -github.com/go-openapi/jsonpointer v0.22.1/go.mod h1:pQT9OsLkfz1yWoMgYFy4x3U5GY5nUlsOn1qSBH5MkCM= +github.com/go-openapi/jsonpointer v1.0.0 h1:kR9tHqY0CtZaOPVFm622dPVNhrvYpwr4uCxgL3h1H8s= +github.com/go-openapi/jsonpointer v1.0.0/go.mod h1:Z3rw7dWu1p9IgitXCFamSlA5lmDiklEB6vkaxcNZW5Y= github.com/go-openapi/jsonreference v0.21.3 h1:96Dn+MRPa0nYAR8DR1E03SblB5FJvh7W6krPI0Z7qMc= github.com/go-openapi/jsonreference v0.21.3/go.mod h1:RqkUP0MrLf37HqxZxrIAtTWW4ZJIK1VzduhXYBEeGc4= github.com/go-openapi/loads v0.23.2 h1:rJXAcP7g1+lWyBHC7iTY+WAF0rprtM+pm8Jxv1uQJp4= @@ -230,36 +230,38 @@ github.com/go-openapi/spec v0.22.1 h1:beZMa5AVQzRspNjvhe5aG1/XyBSMeX1eEOs7dMoXh/ github.com/go-openapi/spec v0.22.1/go.mod h1:c7aeIQT175dVowfp7FeCvXXnjN/MrpaONStibD2WtDA= github.com/go-openapi/strfmt v0.25.0 h1:7R0RX7mbKLa9EYCTHRcCuIPcaqlyQiWNPTXwClK0saQ= github.com/go-openapi/strfmt v0.25.0/go.mod h1:nNXct7OzbwrMY9+5tLX4I21pzcmE6ccMGXl3jFdPfn8= -github.com/go-openapi/swag v0.25.4 h1:OyUPUFYDPDBMkqyxOTkqDYFnrhuhi9NR6QVUvIochMU= -github.com/go-openapi/swag v0.25.4/go.mod h1:zNfJ9WZABGHCFg2RnY0S4IOkAcVTzJ6z2Bi+Q4i6qFQ= -github.com/go-openapi/swag/cmdutils v0.25.4 h1:8rYhB5n6WawR192/BfUu2iVlxqVR9aRgGJP6WaBoW+4= -github.com/go-openapi/swag/cmdutils v0.25.4/go.mod h1:pdae/AFo6WxLl5L0rq87eRzVPm/XRHM3MoYgRMvG4A0= -github.com/go-openapi/swag/conv v0.25.4 h1:/Dd7p0LZXczgUcC/Ikm1+YqVzkEeCc9LnOWjfkpkfe4= -github.com/go-openapi/swag/conv v0.25.4/go.mod h1:3LXfie/lwoAv0NHoEuY1hjoFAYkvlqI/Bn5EQDD3PPU= -github.com/go-openapi/swag/fileutils v0.25.4 h1:2oI0XNW5y6UWZTC7vAxC8hmsK/tOkWXHJQH4lKjqw+Y= -github.com/go-openapi/swag/fileutils v0.25.4/go.mod h1:cdOT/PKbwcysVQ9Tpr0q20lQKH7MGhOEb6EwmHOirUk= -github.com/go-openapi/swag/jsonname v0.25.4 h1:bZH0+MsS03MbnwBXYhuTttMOqk+5KcQ9869Vye1bNHI= -github.com/go-openapi/swag/jsonname v0.25.4/go.mod h1:GPVEk9CWVhNvWhZgrnvRA6utbAltopbKwDu8mXNUMag= -github.com/go-openapi/swag/jsonutils v0.25.4 h1:VSchfbGhD4UTf4vCdR2F4TLBdLwHyUDTd1/q4i+jGZA= -github.com/go-openapi/swag/jsonutils v0.25.4/go.mod h1:7OYGXpvVFPn4PpaSdPHJBtF0iGnbEaTk8AvBkoWnaAY= -github.com/go-openapi/swag/jsonutils/fixtures_test v0.25.4 h1:IACsSvBhiNJwlDix7wq39SS2Fh7lUOCJRmx/4SN4sVo= -github.com/go-openapi/swag/jsonutils/fixtures_test v0.25.4/go.mod h1:Mt0Ost9l3cUzVv4OEZG+WSeoHwjWLnarzMePNDAOBiM= -github.com/go-openapi/swag/loading v0.25.4 h1:jN4MvLj0X6yhCDduRsxDDw1aHe+ZWoLjW+9ZQWIKn2s= -github.com/go-openapi/swag/loading v0.25.4/go.mod h1:rpUM1ZiyEP9+mNLIQUdMiD7dCETXvkkC30z53i+ftTE= -github.com/go-openapi/swag/mangling v0.25.4 h1:2b9kBJk9JvPgxr36V23FxJLdwBrpijI26Bx5JH4Hp48= -github.com/go-openapi/swag/mangling v0.25.4/go.mod h1:6dxwu6QyORHpIIApsdZgb6wBk/DPU15MdyYj/ikn0Hg= -github.com/go-openapi/swag/netutils v0.25.4 h1:Gqe6K71bGRb3ZQLusdI8p/y1KLgV4M/k+/HzVSqT8H0= -github.com/go-openapi/swag/netutils v0.25.4/go.mod h1:m2W8dtdaoX7oj9rEttLyTeEFFEBvnAx9qHd5nJEBzYg= -github.com/go-openapi/swag/stringutils v0.25.4 h1:O6dU1Rd8bej4HPA3/CLPciNBBDwZj9HiEpdVsb8B5A8= -github.com/go-openapi/swag/stringutils v0.25.4/go.mod h1:GTsRvhJW5xM5gkgiFe0fV3PUlFm0dr8vki6/VSRaZK0= -github.com/go-openapi/swag/typeutils v0.25.4 h1:1/fbZOUN472NTc39zpa+YGHn3jzHWhv42wAJSN91wRw= -github.com/go-openapi/swag/typeutils v0.25.4/go.mod h1:Ou7g//Wx8tTLS9vG0UmzfCsjZjKhpjxayRKTHXf2pTE= -github.com/go-openapi/swag/yamlutils v0.25.4 h1:6jdaeSItEUb7ioS9lFoCZ65Cne1/RZtPBZ9A56h92Sw= -github.com/go-openapi/swag/yamlutils v0.25.4/go.mod h1:MNzq1ulQu+yd8Kl7wPOut/YHAAU/H6hL91fF+E2RFwc= -github.com/go-openapi/testify/enable/yaml/v2 v2.0.2 h1:0+Y41Pz1NkbTHz8NngxTuAXxEodtNSI1WG1c/m5Akw4= -github.com/go-openapi/testify/enable/yaml/v2 v2.0.2/go.mod h1:kme83333GCtJQHXQ8UKX3IBZu6z8T5Dvy5+CW3NLUUg= -github.com/go-openapi/testify/v2 v2.0.2 h1:X999g3jeLcoY8qctY/c/Z8iBHTbwLz7R2WXd6Ub6wls= -github.com/go-openapi/testify/v2 v2.0.2/go.mod h1:HCPmvFFnheKK2BuwSA0TbbdxJ3I16pjwMkYkP4Ywn54= +github.com/go-openapi/swag v0.27.1 h1:VotvOLWW8q/EAxB0YdsBBGC8XYyeL1YwBj2ungAGPNg= +github.com/go-openapi/swag v0.27.1/go.mod h1:GTkJPwHfhJp6MWr4/rCh64HVI3Ofu+tcsbfjfHmTxpE= +github.com/go-openapi/swag/cmdutils v0.27.1 h1:I7sYqaWVl5mq0NEmNQkAmFDyNin9ufvMX/p2zwtQaOE= +github.com/go-openapi/swag/cmdutils v0.27.1/go.mod h1:Sm1MVFMkF6guJJ+pQqHnQA3N0j9qALV3NxzDSv6bETM= +github.com/go-openapi/swag/conv v0.27.1 h1:8wi9ZG+olmY1wXphl93EWniPtbSPkXM/feH7FgjsvrU= +github.com/go-openapi/swag/conv v0.27.1/go.mod h1:QbqMivkpKhC3g1B1GGGOJ6ANewI3S62dbzYu3Duowqs= +github.com/go-openapi/swag/fileutils v0.27.1 h1:QQqBSoi5mW4XpU85nS0mLcA+zAE6vLzrb0QkmLKf9oM= +github.com/go-openapi/swag/fileutils v0.27.1/go.mod h1:VvJFZLTZS0AI854gEQz5tk7dBESdLjiNUMSZ/th2ry8= +github.com/go-openapi/swag/jsonname v0.26.0 h1:gV1NFX9M8avo0YSpmWogqfQISigCmpaiNci8cGECU5w= +github.com/go-openapi/swag/jsonname v0.26.0/go.mod h1:urBBR8bZNoDYGr653ynhIx+gTeIz0ARZxHkAPktJK2M= +github.com/go-openapi/swag/jsonutils v0.27.1 h1:SVgK3i4USzCU5mibOOS/l4ea2h9UQXy7J7RNLTjuXjU= +github.com/go-openapi/swag/jsonutils v0.27.1/go.mod h1:tdlEpZqdcQ17uj6J4YdK9vd8It5qWMwjWXOs0tjpRlk= +github.com/go-openapi/swag/jsonutils/fixtures_test v0.27.1 h1:mJu3COL9WEaZVp/Kf2PRMi7tPszPEJfSr/OO75ynCs8= +github.com/go-openapi/swag/jsonutils/fixtures_test v0.27.1/go.mod h1:mofwUWx70wvskwESqRJ//k/9kURmCgyJl5m5Ppoh5kY= +github.com/go-openapi/swag/loading v0.27.1 h1:/DxUgDXKbBX4bcn7r9uEXfJyzN5XpiJmZplzQTjrRCY= +github.com/go-openapi/swag/loading v0.27.1/go.mod h1:jvGh3iA2+zyUUycB5fgJWzeHnhrpvGnJJM0RVE9ZShE= +github.com/go-openapi/swag/mangling v0.27.1 h1:yC9D0HyUE8gbP+BfmGx9+AA89ikwZTMjESK3OnnoaqA= +github.com/go-openapi/swag/mangling v0.27.1/go.mod h1:jtBE2+V+3pILxOR7Vgce+Cwp6A2PgZbvVqfNntbVs0w= +github.com/go-openapi/swag/netutils v0.27.1 h1:mICMFoS82F5TZ4Zy3cqmcQk+BFeCp3Uyq3Np7GI0/qU= +github.com/go-openapi/swag/netutils v0.27.1/go.mod h1:J+WYyFMLtvtCGqa6jLv+YNUmIKI3ZRQRrvfNDMoQoEQ= +github.com/go-openapi/swag/pools v0.27.1 h1:9LeadcMyb2GJCbXX5hVQDbZ2Lq9TL4dCs/nx1j5DO0E= +github.com/go-openapi/swag/pools v0.27.1/go.mod h1:kVQefhSK5RWuRe7BXsL8htgBPAMpN7HDGpGEknqugeE= +github.com/go-openapi/swag/stringutils v0.27.1 h1:ZXePZ0r2p1qSjo8tD3Un4vFj8+FqlCkczxDrJIhYUp8= +github.com/go-openapi/swag/stringutils v0.27.1/go.mod h1:lzRN95CxXmA03XcDWHLOb6nOMcxCqR5rGY0lOgsfRoM= +github.com/go-openapi/swag/typeutils v0.27.1 h1:KSTdFlfnse4r6dP9IrEnwMldjE+zs71UeEB3//PtVXc= +github.com/go-openapi/swag/typeutils v0.27.1/go.mod h1:Srm0xFNRZ1Y+vCxJclo5qzx8aj+1pAKda/YfFPrG0dQ= +github.com/go-openapi/swag/yamlutils v0.27.1 h1:ftxv6xvXb1E3zohUc+okZ9nSqNb9StQX/FXnKZ98sQA= +github.com/go-openapi/swag/yamlutils v0.27.1/go.mod h1:bnxFIB1qewGRiZHypXGZ3fNgf13/0HfRgnS/iZBDrOo= +github.com/go-openapi/testify/enable/yaml/v2 v2.6.0 h1:gGHwAJ0R/5jU8BEGDbfRNR3hL68dAVi84WuOApp29B0= +github.com/go-openapi/testify/enable/yaml/v2 v2.6.0/go.mod h1:tY+St1SGq4NFl0QIqdTY4aEdbChAHxhyB77XQi9iJCo= +github.com/go-openapi/testify/v2 v2.6.0 h1:5PKH2HE7YJ/LuRPQGvSxBRlFXNQhSetBLlGAgUEu3ug= +github.com/go-openapi/testify/v2 v2.6.0/go.mod h1:SgsVHtfooshd0tublTtJ50FPKhujf47YRqauXXOUxfw= github.com/go-openapi/validate v0.25.1 h1:sSACUI6Jcnbo5IWqbYHgjibrhhmt3vR6lCzKZnmAgBw= github.com/go-openapi/validate v0.25.1/go.mod h1:RMVyVFYte0gbSTaZ0N4KmTn6u/kClvAFp+mAVfS/DQc= github.com/go-sql-driver/mysql v1.9.3 h1:U/N249h2WzJ3Ukj8SowVFjdtZKfu9vlLZxjPXV1aweo= @@ -437,8 +439,8 @@ github.com/onsi/gomega v1.39.1 h1:1IJLAad4zjPn2PsnhH70V4DKRFlrCzGBNrNaru+Vf28= github.com/onsi/gomega v1.39.1/go.mod h1:hL6yVALoTOxeWudERyfppUcZXjMwIMLnuSfruD2lcfg= github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= -github.com/outscale/goutils/oks v0.0.1 h1:7i+a7iD9VlYgj8sTz7Na+9GYtW3gsbpDrmykYAnlCb0= -github.com/outscale/goutils/oks v0.0.1/go.mod h1:K9VSlCA2l6MjA31TD2c3FLceR9z48qf7NO3aKxF8Nm0= +github.com/outscale/goutils/oks v0.0.2 h1:ZtOMqCMrzujMrz1TdzjLSc8bGhd6s9x2NupP/PLNauY= +github.com/outscale/goutils/oks v0.0.2/go.mod h1:9tnmUkYjekJMHHnvGidXDv90Mt8JIFn7d5QRP5J+Rmg= github.com/outscale/goutils/sdk v0.0.5 h1:UVu7uC38VOSCPqeCORsw1rKWaoHrsv+TTp6TGUHenjo= github.com/outscale/goutils/sdk v0.0.5/go.mod h1:LiXmAIA3CAXCdanEARKQ3Q/Lb8n8dKeGSbPRxIe43kc= github.com/outscale/osc-sdk-go/v3 v3.0.0-rc.3.0.20260709150001-abf6e77bc1d0 h1:pcjUB56ldZ+4AvJcO1sEz7oKJsU2GXWsxjmlffG5siE= diff --git a/pkg/config/defaults.go b/pkg/config/defaults.go index b287354d..8281b3c8 100644 --- a/pkg/config/defaults.go +++ b/pkg/config/defaults.go @@ -19,7 +19,10 @@ import ( //go:generate go run generate/storage/main.go generate/storage/defaults.yaml defaults_storage.yaml //go:generate go run generate/iaas/main.go generate/iaas/defaults.yaml defaults_iaas.yaml //go:generate go run generate/kube/main.go generate/kube/defaults.yaml defaults_kube.yaml -//go:generate go run generate/kubeclient/main.go generate/kubeclient/defaults_nodepool.yaml defaults_kubeclient_nodepool.yaml +//go:generate go run generate/kubeclient/main.go generate/kubeclient/defaults_nodepool.yaml defaults_kubeclient_nodepool.yaml v1beta2 +//go:generate go run generate/kubeclient/main.go generate/kubeclient/defaults_netpeering.yaml defaults_kubeclient_netpeering.yaml v1beta +//go:generate go run generate/kubeclient/main.go generate/kubeclient/defaults_oosaccess.yaml defaults_kubeclient_oosaccess.yaml v1beta +//go:generate go run generate/kubeclient/main.go generate/kubeclient/defaults_ippool.yaml defaults_kubeclient_ippool.yaml v1beta //go:generate go run generate/archive/main.go . //go:embed defaults.zip var defaults []byte diff --git a/pkg/config/defaults.zip b/pkg/config/defaults.zip index 4592572e..e4f0cc9b 100644 Binary files a/pkg/config/defaults.zip and b/pkg/config/defaults.zip differ diff --git a/pkg/config/defaults_kubeclient_ippool.yaml b/pkg/config/defaults_kubeclient_ippool.yaml new file mode 100644 index 00000000..9ae7969e --- /dev/null +++ b/pkg/config/defaults_kubeclient_ippool.yaml @@ -0,0 +1,105 @@ +contents: + Create: + content: . + entity: ippool + Get: + content: . + entity: ippool + List: + content: Items + entity: ippool + Patch: + entity: ippool + Update: + entity: ippool + UpdateStatus: + entity: ippool +entities: + ippool: + columns: + - title: Name + content: .metadata.name + - title: Allocated + content: .status.progress.allocatedAddresses + - title: Linked + content: .status.progress.linkedAddresses + - title: Unlinked + content: .status.progress.unlinkedAddresses + primary: Name +aliases: +- entity: ippool + use: list + alias_to: List + aliases: + - ls + short: alias for api List + command: + - ippool + - api + - List + - --output + - table + flags: + - name: cluster + alias_to: cluster + required: true +- entity: ippool + use: describe name + alias_to: Get + aliases: + - desc + short: alias for api Get + command: + - ippool + - api + - Get + - '%0' + - --output + - yaml + - --single + flags: + - name: cluster + alias_to: cluster + required: true +- entity: ippool + use: delete name [name]... + alias_to: Delete + aliases: + - del + - rm + short: alias for api Delete id + command: + - ippool + - api + - Delete + - '%0' + - --output + - success + flags: + - name: cluster + alias_to: cluster + required: true +- entity: ippool + use: create + alias_to: Create + aliases: + - add + short: alias for request api Create + command: + - ippool + - api + - Create + - --output + - yaml + - --single + flags: + - name: cluster + alias_to: cluster + required: true + - name: name + alias_to: ObjectMeta.Name + required: true + - name: num-addresses + alias_to: Spec.NumAddresses + required: true +spec: {} diff --git a/pkg/config/defaults_kubeclient_netpeering.yaml b/pkg/config/defaults_kubeclient_netpeering.yaml new file mode 100644 index 00000000..4c49536e --- /dev/null +++ b/pkg/config/defaults_kubeclient_netpeering.yaml @@ -0,0 +1,136 @@ +contents: + Create: + content: . + entity: netpeering + Get: + content: . + entity: netpeering + List: + content: Items + entity: netpeering + Patch: + entity: netpeering + Update: + entity: netpeering + UpdateStatus: + entity: netpeering +entities: + netpeering: + columns: + - title: Name + content: .metadata.name + - title: State + content: .status.netPeeringState + - title: Source Net + content: .status.sourceNetId + - title: Source Range + content: .status.sourceIpRange + - title: Source Account + content: .status.sourceOwnerId + - title: Accepter Net + content: .status.accepterNetId + - title: Accepter Range + content: .status.accepterIpRange + - title: Accepter Account + content: .status.accepterOwnerId + primary: Name +aliases: +- entity: netpeering + use: list + alias_to: List + aliases: + - ls + short: alias for api List + command: + - netpeering + - api + - List + - --output + - table + flags: + - name: cluster + alias_to: cluster + required: true +- entity: netpeering + use: describe id + alias_to: Get + aliases: + - desc + short: alias for api Get id + command: + - netpeering + - api + - Get + - '%0' + - --output + - yaml + - --single + flags: + - name: cluster + alias_to: cluster + required: true +- entity: netpeering + use: create + alias_to: Create + aliases: + - add + short: alias for request api Create + command: + - netpeering + - request + - api + - Create + - --output + - yaml + - --single + flags: + - name: cluster + alias_to: cluster + required: true + - name: name + alias_to: ObjectMeta.Name + default: netpeering-request + - name: accepter-net-id + alias_to: Spec.AccepterNetId + - name: accepter-owner-id + alias_to: Spec.AccepterOwnerId +- entity: netpeering + use: accept id + alias_to: Create + short: alias for acceptance api Create + command: + - netpeering + - acceptance + - api + - Create + - --Spec.NetPeeringId + - '%0' + - --output + - yaml + - --single + flags: + - name: cluster + alias_to: cluster + required: true + - name: name + alias_to: ObjectMeta.Name + default: netpeering-acceptance +- entity: netpeering + use: delete id [name]... + alias_to: Delete + aliases: + - del + - rm + short: alias for api Delete id + command: + - netpeering + - api + - Delete + - '%0' + - --output + - success + flags: + - name: cluster + alias_to: cluster + required: true +spec: {} diff --git a/pkg/config/defaults_kubeclient_oosaccess.yaml b/pkg/config/defaults_kubeclient_oosaccess.yaml new file mode 100644 index 00000000..260adca4 --- /dev/null +++ b/pkg/config/defaults_kubeclient_oosaccess.yaml @@ -0,0 +1,62 @@ +contents: + Create: + content: . + entity: oosaccess + Get: + content: . + entity: oosaccess + List: + content: Items + entity: oosaccess + Patch: + entity: oosaccess + Update: + entity: oosaccess + UpdateStatus: + entity: oosaccess +entities: + oosaccess: + columns: + - title: Name + content: .metadata.name + - title: Audit + content: .spec.audit.readers + - title: IaaS + content: .spec.iaas.readers + primary: Name +aliases: +- entity: oosaccess + use: list + alias_to: List + aliases: + - ls + short: alias for api List + command: + - oosaccess + - api + - List + - --output + - table + flags: + - name: cluster + alias_to: cluster + required: true +- entity: oosaccess + use: describe + alias_to: Get + aliases: + - desc + short: alias for api Get + command: + - oosaccess + - api + - Get + - oks-oos-configuration + - --output + - yaml + - --single + flags: + - name: cluster + alias_to: cluster + required: true +spec: {} diff --git a/pkg/config/generate/kubeclient/defaults_ippool.yaml b/pkg/config/generate/kubeclient/defaults_ippool.yaml new file mode 100644 index 00000000..722779b9 --- /dev/null +++ b/pkg/config/generate/kubeclient/defaults_ippool.yaml @@ -0,0 +1,104 @@ +entities: + ippool: + columns: + - title: Name + content: .metadata.name + - title: Allocated + content: .status.progress.allocatedAddresses + - title: Linked + content: .status.progress.linkedAddresses + - title: Unlinked + content: .status.progress.unlinkedAddresses + primary: Name +contents: + List: + content: Items + entity: ippool + Get: + content: . + entity: ippool + Create: + content: . + entity: ippool + Patch: + entity: ippool + Update: + entity: ippool + UpdateStatus: + entity: ippool +aliases: +- entity: ippool + use: list + alias_to: List + aliases: + - ls + short: alias for api List + command: + - ippool + - api + - List + - --output + - table + flags: + - name: cluster + alias_to: cluster + required: true +- entity: ippool + use: describe name + alias_to: Get + aliases: + - desc + short: alias for api Get + command: + - ippool + - api + - Get + - '%0' + - --output + - yaml + - --single + flags: + - name: cluster + alias_to: cluster + required: true +- entity: ippool + use: delete name [name]... + alias_to: Delete + aliases: + - del + - rm + short: alias for api Delete id + command: + - ippool + - api + - Delete + - '%0' + - --output + - success + flags: + - name: cluster + alias_to: cluster + required: true +- entity: ippool + use: create + alias_to: Create + aliases: + - add + short: alias for request api Create + command: + - ippool + - api + - Create + - --output + - yaml + - --single + flags: + - name: cluster + alias_to: cluster + required: true + - name: name + alias_to: ObjectMeta.Name + required: true + - name: num-addresses + alias_to: Spec.NumAddresses + required: true diff --git a/pkg/config/generate/kubeclient/defaults_netpeering.yaml b/pkg/config/generate/kubeclient/defaults_netpeering.yaml new file mode 100644 index 00000000..441e3540 --- /dev/null +++ b/pkg/config/generate/kubeclient/defaults_netpeering.yaml @@ -0,0 +1,135 @@ +entities: + netpeering: + columns: + - title: Name + content: .metadata.name + - title: State + content: .status.netPeeringState + - title: Source Net + content: .status.sourceNetId + - title: Source Range + content: .status.sourceIpRange + - title: Source Account + content: .status.sourceOwnerId + - title: Accepter Net + content: .status.accepterNetId + - title: Accepter Range + content: .status.accepterIpRange + - title: Accepter Account + content: .status.accepterOwnerId + primary: Name +contents: + List: + content: Items + entity: netpeering + Get: + content: . + entity: netpeering + Create: + content: . + entity: netpeering + Patch: + entity: netpeering + Update: + entity: netpeering + UpdateStatus: + entity: netpeering +aliases: +- entity: netpeering + use: list + alias_to: List + aliases: + - ls + short: alias for api List + command: + - netpeering + - api + - List + - --output + - table + flags: + - name: cluster + alias_to: cluster + required: true +- entity: netpeering + use: describe id + alias_to: Get + aliases: + - desc + short: alias for api Get id + command: + - netpeering + - api + - Get + - '%0' + - --output + - yaml + - --single + flags: + - name: cluster + alias_to: cluster + required: true +- entity: netpeering + use: create + alias_to: Create + aliases: + - add + short: alias for request api Create + command: + - netpeering + - request + - api + - Create + - --output + - yaml + - --single + flags: + - name: cluster + alias_to: cluster + required: true + - name: name + alias_to: ObjectMeta.Name + default: netpeering-request + - name: accepter-net-id + alias_to: Spec.AccepterNetId + - name: accepter-owner-id + alias_to: Spec.AccepterOwnerId +- entity: netpeering + use: accept id + alias_to: Create + short: alias for acceptance api Create + command: + - netpeering + - acceptance + - api + - Create + - --Spec.NetPeeringId + - '%0' + - --output + - yaml + - --single + flags: + - name: cluster + alias_to: cluster + required: true + - name: name + alias_to: ObjectMeta.Name + default: netpeering-acceptance +- entity: netpeering + use: delete id [name]... + alias_to: Delete + aliases: + - del + - rm + short: alias for api Delete id + command: + - netpeering + - api + - Delete + - '%0' + - --output + - success + flags: + - name: cluster + alias_to: cluster + required: true diff --git a/pkg/config/generate/kubeclient/defaults_oosaccess.yaml b/pkg/config/generate/kubeclient/defaults_oosaccess.yaml new file mode 100644 index 00000000..4153a49e --- /dev/null +++ b/pkg/config/generate/kubeclient/defaults_oosaccess.yaml @@ -0,0 +1,61 @@ +entities: + oosaccess: + columns: + - title: Name + content: .metadata.name + - title: Audit + content: .spec.audit.readers + - title: IaaS + content: .spec.iaas.readers + primary: Name +contents: + List: + content: Items + entity: oosaccess + Get: + content: . + entity: oosaccess + Create: + content: . + entity: oosaccess + Patch: + entity: oosaccess + Update: + entity: oosaccess + UpdateStatus: + entity: oosaccess +aliases: +- entity: oosaccess + use: list + alias_to: List + aliases: + - ls + short: alias for api List + command: + - oosaccess + - api + - List + - --output + - table + flags: + - name: cluster + alias_to: cluster + required: true +- entity: oosaccess + use: describe + alias_to: Get + aliases: + - desc + short: alias for api Get + command: + - oosaccess + - api + - Get + - oks-oos-configuration + - --output + - yaml + - --single + flags: + - name: cluster + alias_to: cluster + required: true diff --git a/pkg/config/generate/kubeclient/main.go b/pkg/config/generate/kubeclient/main.go index bf0d15c8..9b2bdb9e 100644 --- a/pkg/config/generate/kubeclient/main.go +++ b/pkg/config/generate/kubeclient/main.go @@ -17,6 +17,7 @@ import ( func main() { src := os.Args[1] dst := os.Args[2] + version := os.Args[3] var base config.Config data, err := os.ReadFile(src) //nolint:gosec if err != nil { @@ -45,7 +46,7 @@ func main() { } sb := builder.NewSpecBuilder(cfg) - sb.BuildSpec(&base, "github.com/outscale/goutils/oks/apis/oks.dev/v1beta2") + sb.BuildSpec(&base, "github.com/outscale/goutils/oks/apis/oks.dev/"+version) // Aliases are too specific, we do not generate them automatically // b := builder.NewClientBuilder[oksv1beta2.NodePoolInterface](cfg)