Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MachineSetDeployer ¶
type MachineSetDeployer interface {
// Deploy makes sure to deploy the given machine set (creating or updating it).
Deploy(machineSet *unstructured.Unstructured) error
// GetWorkerNodeImage returns the image used by OCP worker nodes.
// If an empty workerNodeList is passed, the API will internally query the worker nodes.
GetWorkerNodeImage(workerNodeList []string, machineSet *unstructured.Unstructured, infraID string) (string, error)
// Delete will remove the given machineset.
Delete(machineSet *unstructured.Unstructured) error
}
MachineSetDeployer can deploy and delete machinesets from OCP.
func NewK8sMachinesetDeployer ¶
func NewK8sMachinesetDeployer(restMapper meta.RESTMapper, dynamicClient dynamic.Interface) MachineSetDeployer
NewK8sMachinesetDeployer returns a MachineSetDeployer capable deploying directly to Kubernetes.
Click to show internal directories.
Click to hide internal directories.