Versions in this module Expand all Collapse all v0 v0.3.61 Jan 17, 2024 Changes in this version + var ErrNamespace = errors.New("namespace error") + var ErrUnavailable = errors.New("resource unavailable") + func CompleteControlPlaneApplicationBundle(f cmdutil.Factory) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective) + func CompleteKubernetesClusterApplicationBundle(f cmdutil.Factory) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective) + func CompleteProject(f cmdutil.Factory) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective) + func RequiredStringVar(cmd *cobra.Command, p *string, name, value, usage string) + func RequiredStringVarWithCompletion(cmd *cobra.Command, p *string, name, value, usage string, ...) + func RequiredVar(cmd *cobra.Command, p pflag.Value, name, usage string) + func StringVarWithCompletion(cmd *cobra.Command, p *string, name, value, usage string, ...) + type ClusterFlags struct + Cluster string + ClusterRequired bool + func (o *ClusterFlags) AddFlags(f cmdutil.Factory, cmd *cobra.Command) + type ControlPlaneFlags struct + ControlPlane string + func (o *ControlPlaneFlags) AddFlags(f cmdutil.Factory, cmd *cobra.Command) + func (o *ControlPlaneFlags) CompleteCluster(f cmdutil.Factory) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective) + func (o *ControlPlaneFlags) GetControlPlaneNamespace(ctx context.Context, client unikorn.Interface) (string, error) + type DeleteFlags struct + All bool + func (o *DeleteFlags) AddFlags(_ cmdutil.Factory, cmd *cobra.Command) + type IPNetSliceFlag struct + IPNetworks []net.IPNet + func (s *IPNetSliceFlag) Set(in string) error + func (s IPNetSliceFlag) String() string + func (s IPNetSliceFlag) Type() string + type ProjectFlags struct + Project string + func (o *ProjectFlags) AddFlags(f cmdutil.Factory, cmd *cobra.Command) + func (o *ProjectFlags) CompleteControlPlane(f cmdutil.Factory) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective) + func (o *ProjectFlags) GetProjectNamespace(ctx context.Context, client unikorn.Interface) (string, error) + type QuantityFlag struct + Quantity *resource.Quantity + func (s *QuantityFlag) Set(in string) error + func (s QuantityFlag) String() string + func (s QuantityFlag) Type() string + type SemverFlag struct + Semver string + func (s *SemverFlag) Set(in string) error + func (s SemverFlag) String() string + func (s SemverFlag) Type() string