ocp

package
v0.12.0-m3 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: Apache-2.0 Imports: 11 Imported by: 8

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.
	GetWorkerNodeImage(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.

Directories

Path Synopsis
Package fake is a generated GoMock package.
Package fake is a generated GoMock package.

Jump to

Keyboard shortcuts

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