controlplaneoperator

package
v4.0.0-0.12.0+incompat... Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RenderConfig

type RenderConfig struct {
	OperatorImage string

	// AssetInputDir is the location with certificates and secrets used as input for the operator-render call.
	AssetInputDir string

	// AssetsOutputDir is the location where the operator will generate the static pod manifests, ready to be used with bootkube start.
	AssetsOutputDir string

	// LockDir specifies a directory mounted into container that hold the locks.
	LockDir string

	// ConfigOutputDir is the location where the operator will create the component config file.
	ConfigOutputDir string
	// ConfigFileName is the component config file name inside ConfigOutputDir.
	ConfigFileName string
	// ConfigOverrides is the location of an component config override file.
	ConfigOverrides string

	// ContainerBinds is location to additional container bind mounts for bootkube containers.
	ContainerBinds []string

	// Additional render command flags.
	AdditionalFlags []string
}

func (*RenderConfig) RunRender

func (opt *RenderConfig) RunRender(component string, image string, dockerClient util.Interface, hostIP string) (string, error)

Start runs the operator render command. The assets like certs and keys are to be stored in AssetsInputDir. The assets produced by this commands are stored in AssetsOutputDir. The configuration yaml file is stored in ConfigOutputDir, named according to ConfigFileName, with default values overridden according to ConfigOverrides.

Jump to

Keyboard shortcuts

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