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.
Click to show internal directories.
Click to hide internal directories.