Documentation
¶
Index ¶
Constants ¶
View Source
const ( MachineWebhookPort = 8440 MachineSetWebhookPort = 8443 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controllers ¶ added in v0.2.0
type Images ¶ added in v0.2.0
type Images struct {
MachineAPIOperator string `json:"machineAPIOperator"`
ClusterAPIControllerAWS string `json:"clusterAPIControllerAWS"`
ClusterAPIControllerOpenStack string `json:"clusterAPIControllerOpenStack"`
ClusterAPIControllerLibvirt string `json:"clusterAPIControllerLibvirt"`
ClusterAPIControllerBareMetal string `json:"clusterAPIControllerBareMetal"`
ClusterAPIControllerAzure string `json:"clusterAPIControllerAzure"`
ClusterAPIControllerGCP string `json:"clusterAPIControllerGCP"`
ClusterAPIControllerVSphere string `json:"clusterAPIControllerVSphere"`
ClusterAPIControllerIBMCloud string `json:"clusterAPIControllerIBMCloud"`
ClusterAPIControllerPowerVS string `json:"clusterAPIControllerPowerVS"`
ClusterAPIControllerNutanix string `json:"clusterAPIControllerNutanix"`
KubeRBACProxy string `json:"kubeRBACProxy"`
}
Images allows build systems to inject images for MAO components
type Operator ¶
type Operator struct {
// contains filtered or unexported fields
}
Operator defines machine api operator.
func New ¶
func New( namespace, name string, imagesFile string, config string, deployInformer appsinformersv1.DeploymentInformer, daemonsetInformer appsinformersv1.DaemonSetInformer, clusterOperatorInformer configinformersv1.ClusterOperatorInformer, featureGateInformer configinformersv1.FeatureGateInformer, clusterVersionInformer configinformersv1.ClusterVersionInformer, validatingWebhookInformer admissioninformersv1.ValidatingWebhookConfigurationInformer, mutatingWebhookInformer admissioninformersv1.MutatingWebhookConfigurationInformer, proxyInformer configinformersv1.ProxyInformer, kubeClient kubernetes.Interface, osClient osclientset.Interface, machineClient machineclientset.Interface, dynamicClient dynamic.Interface, eventRecorder record.EventRecorder, recorder events.Recorder, ) (*Operator, error)
New returns a new machine config operator.
type OperatorConfig ¶ added in v0.2.0
type OperatorConfig struct {
TargetNamespace string `json:"targetNamespace"`
Controllers Controllers
Proxy *configv1.Proxy
PlatformType configv1.PlatformType
Features map[string]bool
}
OperatorConfig contains configuration for MAO
type StatusReason ¶ added in v0.2.0
type StatusReason string
StatusReason is a MixedCaps string representing the reason for a status condition change.
const ( ReasonAsExpected StatusReason = "AsExpected" ReasonInitializing StatusReason = "Initializing" ReasonSyncing StatusReason = "SyncingResources" ReasonSyncFailed StatusReason = "SyncingFailed" )
The default set of status change reasons.
Click to show internal directories.
Click to hide internal directories.