Documentation ¶
Index ¶
- func Run(kubefip_clientset *kubefipclientset.Clientset, ...)
- type Cluster
- type ClusterManagementStruct
- type ClusterStruct
- type ClustersStruct
- type HarvesterConfigStruct
- type HarvesterConfigsStruct
- type HarvesterNetworkInfoInterfacesStruct
- type HarvesterNetworkInfoStruct
- type MachineConfigRefStruct
- type MachinePoolsStruct
- type MetadataStruct
- type RkeConfigStruct
- type SpecManagementStruct
- type SpecStruct
- type StatusStruct
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(kubefip_clientset *kubefipclientset.Clientset, k8s_clientset *kubernetes.Clientset)
Types ¶
type Cluster ¶
type Cluster struct { CloudCredentialSecretName string `json:"CloudCredentialSecretName"` HarvesterClusterName string `json:"HarvesterClusterName"` ClusterName string `json:"ClusterName"` MachineConfigRefName string `json:"MachineConfigRefName"` Labels map[string]string `json:"Labels"` }
kube-fip internal
type ClusterManagementStruct ¶
type ClusterManagementStruct struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata MetadataStruct `json:"metadata"` Spec SpecManagementStruct `json:"spec"` }
for mapping cluster.management.cattle.io
type ClusterStruct ¶
type ClusterStruct struct { Metadata MetadataStruct `json:"metadata"` Spec SpecStruct `json:"spec"` Status StatusStruct `json:"status"` }
for mapping cluster.provisioning.cattle.io
type ClustersStruct ¶
type ClustersStruct struct { ApiVersion string `json:"apiVersion"` Items []ClusterStruct `json:"items"` Kind string `json:"kind"` Metadata MetadataStruct `json:"metadata"` }
for mapping cluster.provisioning.cattle.io
type HarvesterConfigStruct ¶
type HarvesterConfigStruct struct { Metadata MetadataStruct `json:"metadata"` NetworkInfo string `json:"networkInfo"` NetworkName string `json:"networkName"` }
for mapping harvesterconfigs.rke-machine-config.cattle.io
type HarvesterConfigsStruct ¶
type HarvesterConfigsStruct struct {
Items []HarvesterConfigStruct `json:"items"`
}
for mapping harvesterconfigs.rke-machine-config.cattle.io
type HarvesterNetworkInfoStruct ¶
type HarvesterNetworkInfoStruct struct {
Interfaces []HarvesterNetworkInfoInterfacesStruct `json:"interfaces"`
}
type MachineConfigRefStruct ¶
for mapping cluster.provisioning.cattle.io
type MachinePoolsStruct ¶
type MachinePoolsStruct struct { Name string `json:"name"` ControlPlaneRole bool `json:"controlPlaneRole"` EtcdRole bool `json:"etcdRole"` WorkerRole bool `json:"workerRole"` MachineConfigRef MachineConfigRefStruct `json:"machineConfigRef"` }
for mapping cluster.provisioning.cattle.io
type MetadataStruct ¶
for mapping cluster.provisioning.cattle.io
type RkeConfigStruct ¶
type RkeConfigStruct struct {
MachinePools []MachinePoolsStruct `json:"machinePools"`
}
for mapping cluster.provisioning.cattle.io
type SpecManagementStruct ¶
type SpecManagementStruct struct {
DisplayName string `json:"displayName"`
}
for mapping cluster.management.cattle.io
type SpecStruct ¶
type SpecStruct struct { CloudCredentialSecretName string `json:"cloudCredentialSecretName"` RkeConfig RkeConfigStruct `json:"rkeConfig"` }
for mapping cluster.provisioning.cattle.io
type StatusStruct ¶
type StatusStruct struct {
ClusterName string `json:"clusterName"`
}
for mapping cluster.provisioning.cattle.io
Click to show internal directories.
Click to hide internal directories.