Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupportedOperatorVersionFmt = "version %q is not supported. Supported versions: %v"
Functions ¶
func ApplyBuilder ¶
ApplyBuilder builds a cobra.Command that can run as: atlas kubernetes config apply --orgId=orgId --projectId=projectId --clusterName="cluster-1,cluster-2...cluster-N" --targetNamespace=my-namespace.
func GenerateBuilder ¶
GenerateBuilder builds a cobra.Command that can run as: atlas kubernetes config generate --projectId=projectId --clusterName="cluster-1,cluster-2...cluster-N" --includeSecrets --targetNamespace=my-namespace.
Types ¶
type ApplyOpts ¶
type ApplyOpts struct { cli.GlobalOpts cli.OutputOpts GenerateOpts KubeConfig string KubeContext string }
func (*ApplyOpts) ValidateOperatorVersion ¶
func (*ApplyOpts) ValidateTargetNamespace ¶
type GenerateOpts ¶
type GenerateOpts struct { cli.GlobalOpts cli.OutputOpts // contains filtered or unexported fields }
func (*GenerateOpts) Run ¶
func (opts *GenerateOpts) Run() error
func (*GenerateOpts) ValidateOperatorVersion ¶
func (opts *GenerateOpts) ValidateOperatorVersion() error
func (*GenerateOpts) ValidateTargetNamespace ¶
func (opts *GenerateOpts) ValidateTargetNamespace() error
Click to show internal directories.
Click to hide internal directories.