artifact

package
v3.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdArtifact

func NewCmdArtifact() *cobra.Command

NewCmdArtifact creates a new cobra.Command for `kubekey artifact`

func NewCmdArtifactExport

func NewCmdArtifactExport() *cobra.Command

NewCmdArtifactExport creates a new `kubekey artifact export` command

func NewCmdArtifactImport

func NewCmdArtifactImport() *cobra.Command

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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