app

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

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 HarvesterNetworkInfoInterfacesStruct

type HarvesterNetworkInfoInterfacesStruct struct {
	NetworkName string `json:"networkName"`
	MacAddress  string `json:"macAddress"`
}

type HarvesterNetworkInfoStruct

type HarvesterNetworkInfoStruct struct {
	Interfaces []HarvesterNetworkInfoInterfacesStruct `json:"interfaces"`
}

type MachineConfigRefStruct

type MachineConfigRefStruct struct {
	Kind string `json:"kind"`
	Name string `json:"name"`
}

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

type MetadataStruct struct {
	Name   string            `json:"name"`
	Labels map[string]string `json:"labels"`
}

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

Jump to

Keyboard shortcuts

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