Documentation ¶
Index ¶
- func AddGOPSFlags(flags *pflag.FlagSet)
- func AddKlogFlags(fs *pflag.FlagSet)
- func AddProfilingFlags(flags *pflag.FlagSet)
- func FlushProfiling() error
- func InitGOPS() error
- func InitProfiling(ctx context.Context) error
- type ArtifactExportOptions
- type ArtifactImagesOptions
- type CertsRenewOptions
- type CreateClusterOptions
- type InitOSOptions
- type InitRegistryOptions
- type KubeKeyRunOptions
- type PipelineOptions
- type PreCheckOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddProfilingFlags ¶
AddProfilingFlags to NewRootCommand
Types ¶
type ArtifactExportOptions ¶
type ArtifactExportOptions struct {
// contains filtered or unexported fields
}
ArtifactExportOptions for NewArtifactExportOptions
func NewArtifactExportOptions ¶
func NewArtifactExportOptions() *ArtifactExportOptions
NewArtifactExportOptions for newArtifactExportCommand
func (*ArtifactExportOptions) Complete ¶
func (o *ArtifactExportOptions) Complete(cmd *cobra.Command, args []string) (*kkcorev1.Pipeline, *kkcorev1.Config, *kkcorev1.Inventory, error)
Complete options. create Pipeline, Config and Inventory
func (*ArtifactExportOptions) Flags ¶
func (o *ArtifactExportOptions) Flags() cliflag.NamedFlagSets
Flags add to newArtifactExportCommand
type ArtifactImagesOptions ¶
type ArtifactImagesOptions struct {
// contains filtered or unexported fields
}
ArtifactImagesOptions for NewArtifactImagesOptions
func NewArtifactImagesOptions ¶
func NewArtifactImagesOptions() *ArtifactImagesOptions
NewArtifactImagesOptions for newArtifactImagesCommand
func (*ArtifactImagesOptions) Complete ¶
func (o *ArtifactImagesOptions) Complete(cmd *cobra.Command, args []string) (*kkcorev1.Pipeline, *kkcorev1.Config, *kkcorev1.Inventory, error)
Complete options. create Pipeline, Config and Inventory
func (*ArtifactImagesOptions) Flags ¶
func (o *ArtifactImagesOptions) Flags() cliflag.NamedFlagSets
Flags add to newArtifactImagesCommand
type CertsRenewOptions ¶
type CertsRenewOptions struct {
// contains filtered or unexported fields
}
CertsRenewOptions for NewCertsRenewOptions
func NewCertsRenewOptions ¶
func NewCertsRenewOptions() *CertsRenewOptions
NewCertsRenewOptions for newCertsRenewCommand
func (*CertsRenewOptions) Complete ¶
func (o *CertsRenewOptions) Complete(cmd *cobra.Command, args []string) (*kkcorev1.Pipeline, *kkcorev1.Config, *kkcorev1.Inventory, error)
Complete options. create Pipeline, Config and Inventory
func (*CertsRenewOptions) Flags ¶
func (o *CertsRenewOptions) Flags() cliflag.NamedFlagSets
Flags add to newCertsRenewCommand
type CreateClusterOptions ¶
type CreateClusterOptions struct { // kubernetes version which the cluster will install. Kubernetes string // ContainerRuntime for kubernetes. Such as docker, containerd etc. ContainerManager string // contains filtered or unexported fields }
CreateClusterOptions for NewCreateClusterOptions
func NewCreateClusterOptions ¶
func NewCreateClusterOptions() *CreateClusterOptions
NewCreateClusterOptions for newCreateClusterCommand
func (*CreateClusterOptions) Complete ¶
func (o *CreateClusterOptions) Complete(cmd *cobra.Command, args []string) (*kkcorev1.Pipeline, *kkcorev1.Config, *kkcorev1.Inventory, error)
Complete options. create Pipeline, Config and Inventory
func (*CreateClusterOptions) Flags ¶
func (o *CreateClusterOptions) Flags() cliflag.NamedFlagSets
Flags add to newCreateClusterCommand
type InitOSOptions ¶
type InitOSOptions struct {
// contains filtered or unexported fields
}
InitOSOptions for NewInitOSOptions
func NewInitOSOptions ¶
func NewInitOSOptions() *InitOSOptions
NewInitOSOptions for newInitOSCommand
func (*InitOSOptions) Complete ¶
func (o *InitOSOptions) Complete(cmd *cobra.Command, args []string) (*kkcorev1.Pipeline, *kkcorev1.Config, *kkcorev1.Inventory, error)
Complete options. create Pipeline, Config and Inventory
func (*InitOSOptions) Flags ¶
func (o *InitOSOptions) Flags() cliflag.NamedFlagSets
Flags add to newInitOSCommand
type InitRegistryOptions ¶
type InitRegistryOptions struct {
// contains filtered or unexported fields
}
InitRegistryOptions for NewInitRegistryOptions
func NewInitRegistryOptions ¶
func NewInitRegistryOptions() *InitRegistryOptions
NewInitRegistryOptions for newInitRegistryCommand
func (*InitRegistryOptions) Complete ¶
func (o *InitRegistryOptions) Complete(cmd *cobra.Command, args []string) (*kkcorev1.Pipeline, *kkcorev1.Config, *kkcorev1.Inventory, error)
Complete options. create Pipeline, Config and Inventory
func (*InitRegistryOptions) Flags ¶
func (o *InitRegistryOptions) Flags() cliflag.NamedFlagSets
Flags add to newInitRegistryCommand
type KubeKeyRunOptions ¶
type KubeKeyRunOptions struct { // ProjectAddr is the storage for executable packages (in Ansible format). // When starting with http or https, it will be obtained from a Git repository. // When starting with file path, it will be obtained from the local path. ProjectAddr string // ProjectName is the name of project. it will store to project dir use this name. // If empty generate from ProjectAddr ProjectName string // ProjectBranch is the git branch of the git Addr. ProjectBranch string // ProjectTag if the git tag of the git Addr. ProjectTag string // ProjectInsecureSkipTLS skip tls or not when git addr is https. ProjectInsecureSkipTLS bool // ProjectToken to clone and pull git project ProjectToken string // Tags is the tags of playbook which to execute Tags []string // SkipTags is the tags of playbook which skip execute SkipTags []string // contains filtered or unexported fields }
KubeKeyRunOptions for NewKubeKeyRunOptions
func NewKubeKeyRunOptions ¶
func NewKubeKeyRunOptions() *KubeKeyRunOptions
NewKubeKeyRunOptions for newRunCommand
func (*KubeKeyRunOptions) Complete ¶
func (o *KubeKeyRunOptions) Complete(cmd *cobra.Command, args []string) (*kkcorev1.Pipeline, *kkcorev1.Config, *kkcorev1.Inventory, error)
Complete options. create Pipeline, Config and Inventory
func (*KubeKeyRunOptions) Flags ¶
func (o *KubeKeyRunOptions) Flags() cliflag.NamedFlagSets
Flags add to newRunCommand
type PipelineOptions ¶
PipelineOptions for NewPipelineOptions
func NewPipelineOptions ¶
func NewPipelineOptions() *PipelineOptions
NewPipelineOptions for newPipelineCommand
func (*PipelineOptions) Flags ¶
func (o *PipelineOptions) Flags() cliflag.NamedFlagSets
Flags add to newPipelineCommand
type PreCheckOptions ¶
type PreCheckOptions struct {
// contains filtered or unexported fields
}
PreCheckOptions for NewPreCheckOptions
func NewPreCheckOptions ¶
func NewPreCheckOptions() *PreCheckOptions
NewPreCheckOptions for newPreCheckCommand
func (*PreCheckOptions) Complete ¶
func (o *PreCheckOptions) Complete(cmd *cobra.Command, args []string) (*kkcorev1.Pipeline, *kkcorev1.Config, *kkcorev1.Inventory, error)
Complete options. create Pipeline, Config and Inventory
func (*PreCheckOptions) Flags ¶
func (o *PreCheckOptions) Flags() cliflag.NamedFlagSets
Flags add to newPreCheckCommand