cmd

package
v0.19.3 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 86 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TinkerbellHardwareCSVFlagName        = "hardware-csv"
	TinkerbellHardwareCSVFlagAlias       = "z"
	TinkerbellHardwareCSVFlagDescription = "Path to a CSV file containing hardware data."
	KubeconfigFile                       = "kubeconfig"
)

Variables

This section is empty.

Functions

func Execute

func Execute() error

func NewDependenciesForPackages added in v0.9.2

func NewDependenciesForPackages(ctx context.Context, opts ...PackageOpt) (*dependencies.Dependencies, error)

func NewGenerateTinkerbellTemplateConfig added in v0.18.0

func NewGenerateTinkerbellTemplateConfig() *cobra.Command

NewGenerateTinkerbellTemplateConfig creates a command that will generate a TinkerbellTemplateConfig using the cluster configuration.

func RootCmd added in v0.15.0

func RootCmd() *cobra.Command

RootCmd returns the eksctl-anywhere root cmd.

func WithBundlesOverride added in v0.15.3

func WithBundlesOverride(bundlesOverride string) func(*PackageConfig)

WithBundlesOverride sets bundlesOverride in the config with incoming value.

func WithClusterSpec added in v0.12.0

func WithClusterSpec(spec *cluster.Spec) func(config *PackageConfig)

func WithKubeConfig added in v0.12.0

func WithKubeConfig(kubeConfig string) func(*PackageConfig)

func WithKubeVersion added in v0.9.2

func WithKubeVersion(kubeVersion string) func(*PackageConfig)

func WithMountPaths added in v0.9.2

func WithMountPaths(mountPaths ...string) func(*PackageConfig)

func WithRegistryName added in v0.9.2

func WithRegistryName(registryName string) func(*PackageConfig)

Types

type ImportImagesCommand added in v0.9.0

type ImportImagesCommand struct {
	InputFile        string
	RegistryEndpoint string
	BundlesFile      string
	// contains filtered or unexported fields
}

func (ImportImagesCommand) Call added in v0.9.0

type Operation added in v0.12.0

type Operation int
const (
	Create  Operation = 0
	Upgrade Operation = 1
	Delete  Operation = 2
)

type PackageConfig added in v0.9.2

type PackageConfig struct {
	// contains filtered or unexported fields
}

func New added in v0.9.2

func New(options ...PackageOpt) *PackageConfig

type PackageOpt added in v0.9.2

type PackageOpt func(*PackageConfig)

Directories

Path Synopsis
Package aflag is the eks anywhere flag handling package.
Package aflag is the eks anywhere flag handling package.
internal
commands/artifacts/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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