Documentation
¶
Index ¶
- Constants
- func Execute() error
- func NewDependenciesForPackages(ctx context.Context, opts ...PackageOpt) (*dependencies.Dependencies, error)
- func NewGenerateTinkerbellTemplateConfig() *cobra.Command
- func RootCmd() *cobra.Command
- func WithBundlesOverride(bundlesOverride string) func(*PackageConfig)
- func WithCluster(cluster *anywherev1.Cluster) func(config *PackageConfig)
- func WithClusterSpec(spec *cluster.Spec) func(config *PackageConfig)
- func WithKubeConfig(kubeConfig string) func(*PackageConfig)
- func WithKubeVersion(kubeVersion string) func(*PackageConfig)
- func WithMountPaths(mountPaths ...string) func(*PackageConfig)
- func WithRegistryName(registryName string) func(*PackageConfig)
- type ImportImagesCommand
- type Operation
- type PackageConfig
- type PackageOpt
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 NewDependenciesForPackages ¶ added in v0.9.2
func NewDependenciesForPackages(ctx context.Context, opts ...PackageOpt) (*dependencies.Dependencies, error)
func NewGenerateTinkerbellTemplateConfig ¶ added in v0.18.0
NewGenerateTinkerbellTemplateConfig creates a command that will generate a TinkerbellTemplateConfig using the cluster configuration.
func WithBundlesOverride ¶ added in v0.15.3
func WithBundlesOverride(bundlesOverride string) func(*PackageConfig)
WithBundlesOverride sets bundlesOverride in the config with incoming value.
func WithCluster ¶ added in v0.19.11
func WithCluster(cluster *anywherev1.Cluster) func(config *PackageConfig)
WithCluster sets cluster 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 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)
Source Files
¶
- apply.go
- applypackages.go
- checkimages.go
- cleanup.go
- common.go
- constants.go
- copy.go
- copypackages.go
- create.go
- createcluster.go
- createpackages.go
- delete.go
- deletecluster.go
- deletepackages.go
- deprecated_importimages.go
- describe.go
- describepackages.go
- download.go
- downloadartifacts.go
- downloadimages.go
- experiment.go
- flags.go
- generate.go
- generate_tinkerbell_template_config.go
- generatebundleconfig.go
- generateclusterconfig.go
- generatehardware.go
- generatepackage.go
- get.go
- getpackage.go
- getpackagebundle.go
- getpackagebundlecontroller.go
- import.go
- import_images.go
- install.go
- installpackagecontroller.go
- installpackages.go
- list.go
- listimages.go
- listovas.go
- listpackages.go
- options.go
- root.go
- supportbundle.go
- upgrade.go
- upgradecluster.go
- upgrademanagementcomponents.go
- upgradepackages.go
- upgradeplan.go
- upgradeplancluster.go
- upgradeplanmanagementcomponents.go
- validate.go
- validatecreate.go
- validatecreatecluster.go
- validations.go
- version.go
- vsphere.go
- vspheresetup.go
- vspheresetupuser.go
Click to show internal directories.
Click to hide internal directories.