Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdArtifact ¶
NewCmdArtifact creates a new cobra.Command for `kubekey artifact`
func NewCmdArtifactExport ¶
NewCmdArtifactExport creates a new `kubekey artifact export` command
func NewCmdArtifactImport ¶
NewCmdArtifactImport creates a new artifact import command
Types ¶
type ArtifactExportOptions ¶
type ArtifactExportOptions struct { CommonOptions *options.CommonOptions ManifestFile string Output string CriSocket string DownloadCmd string ImageStartIndex int ImageTransport string SkipRemoveArtifact bool }
func NewArtifactExportOptions ¶
func NewArtifactExportOptions() *ArtifactExportOptions
func (*ArtifactExportOptions) AddFlags ¶
func (o *ArtifactExportOptions) AddFlags(cmd *cobra.Command)
func (*ArtifactExportOptions) Complete ¶
func (o *ArtifactExportOptions) Complete(_ *cobra.Command, _ []string) error
func (*ArtifactExportOptions) Run ¶
func (o *ArtifactExportOptions) Run() error
func (*ArtifactExportOptions) Validate ¶
func (o *ArtifactExportOptions) Validate(_ []string) error
type ArtifactImportOptions ¶
type ArtifactImportOptions struct { CommonOptions *options.CommonOptions Artifact string }
func NewArtifactImportOptions ¶
func NewArtifactImportOptions() *ArtifactImportOptions
func (*ArtifactImportOptions) AddFlags ¶
func (o *ArtifactImportOptions) AddFlags(cmd *cobra.Command)
func (*ArtifactImportOptions) Run ¶
func (o *ArtifactImportOptions) Run() error
func (*ArtifactImportOptions) Validate ¶
func (o *ArtifactImportOptions) Validate(_ []string) error
type ArtifactOptions ¶
type ArtifactOptions struct {
CommonOptions *options.CommonOptions
}
func NewArtifactOptions ¶
func NewArtifactOptions() *ArtifactOptions
Click to show internal directories.
Click to hide internal directories.