options

package
v4.0.0-alpha.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGOPSFlags

func AddGOPSFlags(flags *pflag.FlagSet)

AddGOPSFlags to NewRootCommand

func AddKlogFlags

func AddKlogFlags(fs *pflag.FlagSet)

AddKlogFlags to NewRootCommand

func AddProfilingFlags

func AddProfilingFlags(flags *pflag.FlagSet)

AddProfilingFlags to NewRootCommand

func FlushProfiling

func FlushProfiling() error

FlushProfiling to local file

func InitGOPS

func InitGOPS() error

InitGOPS if gops is true

func InitProfiling

func InitProfiling(ctx context.Context) error

InitProfiling for profileName

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

Complete options. create Pipeline, Config and Inventory

func (*ArtifactExportOptions) Flags

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

Complete options. create Pipeline, Config and Inventory

func (*ArtifactImagesOptions) Flags

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

Complete options. create Pipeline, Config and Inventory

func (*CertsRenewOptions) Flags

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

Complete options. create Pipeline, Config and Inventory

func (*CreateClusterOptions) Flags

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

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

Complete options. create Pipeline, Config and Inventory

func (*InitRegistryOptions) Flags

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

Complete options. create Pipeline, Config and Inventory

func (*KubeKeyRunOptions) Flags

Flags add to newRunCommand

type PipelineOptions

type PipelineOptions struct {
	Name      string
	Namespace string
	WorkDir   string
}

PipelineOptions for NewPipelineOptions

func NewPipelineOptions

func NewPipelineOptions() *PipelineOptions

NewPipelineOptions for newPipelineCommand

func (*PipelineOptions) Flags

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

Complete options. create Pipeline, Config and Inventory

func (*PreCheckOptions) Flags

Flags add to newPreCheckCommand

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL