agent

package
v1.4.12 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SupportedPlatforms = []string{baremetal.Name, vsphere.Name, none.Name}

SupportedPlatforms lists the supported platforms for agent installer

Functions

func IsSupportedPlatform

func IsSupportedPlatform(platform string) bool

IsSupportedPlatform returns true if provided platform is supported. Otherwise, returns false

Types

type OptionalInstallConfig

type OptionalInstallConfig struct {
	installconfig.InstallConfig
	Supplied bool
}

OptionalInstallConfig is an InstallConfig where the default is empty, rather than generated from running the survey.

func (*OptionalInstallConfig) ClusterName

func (a *OptionalInstallConfig) ClusterName() string

ClusterName returns the name of the cluster, or a default name if no InstallConfig is supplied.

func (*OptionalInstallConfig) Dependencies

func (a *OptionalInstallConfig) Dependencies() []asset.Asset

Dependencies returns all of the dependencies directly needed by an InstallConfig asset.

func (*OptionalInstallConfig) Generate

func (a *OptionalInstallConfig) Generate(parents asset.Parents) error

Generate generates the install-config.yaml file.

func (*OptionalInstallConfig) Load

Load returns the installconfig from disk.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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