v1alpha3

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: Apache-2.0 Imports: 4 Imported by: 5

Documentation

Overview

Package v1alpha3 contains API Schema definitions for the cluster.weave.works v1alpha3 API group +kubebuilder:object:generate=true +groupName=cluster.weave.works

Index

Constants

View Source
const (
	// MachineFinalizer allows ReconcileExistingInfraMachine to clean up before
	// removing it from the apiserver.
	ExistingInfraMachineFinalizer = "existinginframachine.cluster.weave.works"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "cluster.weave.works", Version: "v1alpha3"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type APIServer

type APIServer struct {
	AdditionalSANs []string         `json:"additionalSANs,omitempty"`
	ExtraArguments []ServerArgument `json:"extraArguments,omitempty"`
}

func (*APIServer) DeepCopy

func (in *APIServer) DeepCopy() *APIServer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServer.

func (*APIServer) DeepCopyInto

func (in *APIServer) DeepCopyInto(out *APIServer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Addon

type Addon struct {
	Name   string            `json:"name"`
	Params map[string]string `json:"params,omitempty"`
	Deps   []string          `json:"deps,omitempty"`
}

Addon describes an addon to install on the cluster.

func (*Addon) DeepCopy

func (in *Addon) DeepCopy() *Addon

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Addon.

func (*Addon) DeepCopyInto

func (in *Addon) DeepCopyInto(out *Addon)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AuthenticationWebhook

type AuthenticationWebhook struct {
	CacheTTL   string `json:"cacheTTL,omitempty"`
	URL        string `json:"url"`
	SecretFile string `json:"secretFile"`
}

func (*AuthenticationWebhook) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationWebhook.

func (*AuthenticationWebhook) DeepCopyInto

func (in *AuthenticationWebhook) DeepCopyInto(out *AuthenticationWebhook)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AuthorizationWebhook

type AuthorizationWebhook struct {
	CacheAuthorizedTTL   string `json:"cacheAuthorizedTTL,omitempty"`
	CacheUnauthorizedTTL string `json:"cacheUnauthorizedTTL,omitempty"`
	URL                  string `json:"url"`
	SecretFile           string `json:"secretFile"`
}

func (*AuthorizationWebhook) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationWebhook.

func (*AuthorizationWebhook) DeepCopyInto

func (in *AuthorizationWebhook) DeepCopyInto(out *AuthorizationWebhook)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClusterFlavor added in v0.2.1

type ClusterFlavor struct {
	Name        string `json:"name"`
	ManifestURL string `json:"manifestURL"`
}

ClusterFlavor is used to define cluster override values and configuration

func (*ClusterFlavor) DeepCopy added in v0.2.1

func (in *ClusterFlavor) DeepCopy() *ClusterFlavor

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterFlavor.

func (*ClusterFlavor) DeepCopyInto added in v0.2.1

func (in *ClusterFlavor) DeepCopyInto(out *ClusterFlavor)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClusterSpec

type ClusterSpec struct {
	// This TypeMeta is not stored on encode, it is here just
	// to provide runtime.Object compliance for conversion.
	metav1.TypeMeta `json:"-"`

	User                     string `json:"user"`
	KubernetesVersion        string `json:"kubernetesVersion,omitempty"`
	ControllerImage          string `json:"controllerImage,omitempty"`
	ControlPlaneMachineCount string `json:"controlPlaneMachineCount,omitempty"`
	WorkerMachineCount       string `json:"workerMachineCount,omitempty"`
	DeprecatedSSHKeyPath     string `json:"sshKeyPath,omitempty"`
	HTTPProxy                string `json:"httpProxy,omitempty"`

	WorkloadCluster bool `json:"workloadCluster,omitempty"`

	Authentication *AuthenticationWebhook `json:"authenticationWebhook,omitempty"`
	Authorization  *AuthorizationWebhook  `json:"authorizationWebhook,omitempty"`

	OS                   OSConfig         `json:"os,omitempty"`
	CRI                  ContainerRuntime `json:"cri"`
	CNI                  string           `json:"cni"`
	ImageRepository      string           `json:"imageRepository,omitempty"`
	ImageSuffix          string           `json:"imageSuffix,omitempty"`
	ControlPlaneEndpoint string           `json:"controlPlaneEndpoint,omitempty"`
	APIServer            APIServer        `json:"apiServer,omitempty"`

	KubeletArguments []ServerArgument `json:"kubeletArguments,omitempty"`

	Addons []Addon `json:"addons,omitempty"`

	CloudProvider string        `json:"cloudProvider,omitempty"`
	Flavor        ClusterFlavor `json:"flavor,omitempty"`
}

ClusterSpec defines the desired state of ExistingInfraCluster

func (*ClusterSpec) DeepCopy

func (in *ClusterSpec) DeepCopy() *ClusterSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.

func (*ClusterSpec) DeepCopyInto

func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterSpec) DeepCopyObject added in v0.0.2

func (in *ClusterSpec) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ClusterStatus

type ClusterStatus struct {
	Ready bool `json:"ready"`
}

ClusterStatus defines the observed state of ExistingInfraCluster

func (*ClusterStatus) DeepCopy

func (in *ClusterStatus) DeepCopy() *ClusterStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.

func (*ClusterStatus) DeepCopyInto

func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ContainerRuntime

type ContainerRuntime struct {
	Kind    string `json:"kind"`
	Package string `json:"package"`
	Version string `json:"version"`
}

func (*ContainerRuntime) DeepCopy

func (in *ContainerRuntime) DeepCopy() *ContainerRuntime

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerRuntime.

func (*ContainerRuntime) DeepCopyInto

func (in *ContainerRuntime) DeepCopyInto(out *ContainerRuntime)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EndPoint

type EndPoint struct {
	Address string `json:"address"`
	Port    uint16 `json:"port"`
}

EndPoint groups the details required to establish a connection.

func (*EndPoint) DeepCopy

func (in *EndPoint) DeepCopy() *EndPoint

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndPoint.

func (*EndPoint) DeepCopyInto

func (in *EndPoint) DeepCopyInto(out *EndPoint)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ExistingInfraCluster

type ExistingInfraCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ClusterSpec   `json:"spec,omitempty"`
	Status ClusterStatus `json:"status,omitempty"`
}

ExistingInfraCluster is the Schema for the existinginfraclusters API

func (*ExistingInfraCluster) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExistingInfraCluster.

func (*ExistingInfraCluster) DeepCopyInto

func (in *ExistingInfraCluster) DeepCopyInto(out *ExistingInfraCluster)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ExistingInfraCluster) DeepCopyObject

func (in *ExistingInfraCluster) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ExistingInfraClusterList

type ExistingInfraClusterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ExistingInfraCluster `json:"items"`
}

ExistingInfraClusterList contains a list of ExistingInfraCluster

func (*ExistingInfraClusterList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExistingInfraClusterList.

func (*ExistingInfraClusterList) DeepCopyInto

func (in *ExistingInfraClusterList) DeepCopyInto(out *ExistingInfraClusterList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ExistingInfraClusterList) DeepCopyObject

func (in *ExistingInfraClusterList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ExistingInfraMachine

type ExistingInfraMachine struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MachineSpec   `json:"spec,omitempty"`
	Status MachineStatus `json:"status,omitempty"`
}

ExistingInfraMachine is the Schema for the existinginframachines API

func (*ExistingInfraMachine) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExistingInfraMachine.

func (*ExistingInfraMachine) DeepCopyInto

func (in *ExistingInfraMachine) DeepCopyInto(out *ExistingInfraMachine)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ExistingInfraMachine) DeepCopyObject

func (in *ExistingInfraMachine) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ExistingInfraMachineList

type ExistingInfraMachineList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ExistingInfraMachine `json:"items"`
}

ExistingInfraMachineList contains a list of ExistingInfraMachine

func (*ExistingInfraMachineList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExistingInfraMachineList.

func (*ExistingInfraMachineList) DeepCopyInto

func (in *ExistingInfraMachineList) DeepCopyInto(out *ExistingInfraMachineList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ExistingInfraMachineList) DeepCopyObject

func (in *ExistingInfraMachineList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FileSpec

type FileSpec struct {
	Source      SourceSpec `json:"source"`
	Destination string     `json:"destination"`
}

func (*FileSpec) DeepCopy

func (in *FileSpec) DeepCopy() *FileSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSpec.

func (*FileSpec) DeepCopyInto

func (in *FileSpec) DeepCopyInto(out *FileSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineSpec

type MachineSpec struct {
	// This TypeMeta is not stored on encode, it is here just
	// to provide runtime.Object compliance for conversion.
	metav1.TypeMeta `json:"-"`

	Private    EndPoint `json:"private,omitempty"`
	Public     EndPoint `json:"public,omitempty"`
	ProviderID string   `json:"providerID,omitempty"`
}

MachineSpec defines the desired state of ExistingInfraMachine

func (*MachineSpec) DeepCopy

func (in *MachineSpec) DeepCopy() *MachineSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSpec.

func (*MachineSpec) DeepCopyInto

func (in *MachineSpec) DeepCopyInto(out *MachineSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MachineSpec) DeepCopyObject added in v0.0.2

func (in *MachineSpec) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MachineStatus

type MachineStatus struct {
	Ready bool `json:"ready"`
}

MachineStatus defines the observed state of ExistingInfraMachine

func (*MachineStatus) DeepCopy

func (in *MachineStatus) DeepCopy() *MachineStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineStatus.

func (*MachineStatus) DeepCopyInto

func (in *MachineStatus) DeepCopyInto(out *MachineStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OSConfig

type OSConfig struct {
	Files []FileSpec `json:"files,omitempty"`
}

func (*OSConfig) DeepCopy

func (in *OSConfig) DeepCopy() *OSConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OSConfig.

func (*OSConfig) DeepCopyInto

func (in *OSConfig) DeepCopyInto(out *OSConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServerArgument

type ServerArgument struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

func (*ServerArgument) DeepCopy

func (in *ServerArgument) DeepCopy() *ServerArgument

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerArgument.

func (*ServerArgument) DeepCopyInto

func (in *ServerArgument) DeepCopyInto(out *ServerArgument)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SourceSpec

type SourceSpec struct {
	ConfigMap string `json:"configmap"`
	Key       string `json:"key"`
	Contents  string `json:"contents,omitempty"`
}

func (*SourceSpec) DeepCopy

func (in *SourceSpec) DeepCopy() *SourceSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceSpec.

func (*SourceSpec) DeepCopyInto

func (in *SourceSpec) DeepCopyInto(out *SourceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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