v1alpha3

package
v0.9.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "cluster.weave.works"

Variables

View Source
var (
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha3"}

Functions

func NewScheme

func NewScheme() (*runtime.Scheme, error)

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 BareMetalCluster

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

	Spec   BareMetalClusterSpec   `json:"spec,omitempty"`
	Status BareMetalClusterStatus `json:"status,omitempty"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*BareMetalCluster) DeepCopy

func (in *BareMetalCluster) DeepCopy() *BareMetalCluster

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

func (*BareMetalCluster) DeepCopyInto

func (in *BareMetalCluster) DeepCopyInto(out *BareMetalCluster)

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

func (*BareMetalCluster) DeepCopyObject

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

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

type BareMetalClusterList

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

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*BareMetalClusterList) DeepCopy

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

func (*BareMetalClusterList) DeepCopyInto

func (in *BareMetalClusterList) DeepCopyInto(out *BareMetalClusterList)

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

func (*BareMetalClusterList) DeepCopyObject

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

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

type BareMetalClusterSpec

type BareMetalClusterSpec struct {
	User                 string `json:"user"`
	DeprecatedSSHKeyPath string `json:"sshKeyPath"`
	HTTPProxy            string `json:"httpProxy,omitempty"`

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

	OS              OSConfig         `json:"os,omitempty"`
	CRI             ContainerRuntime `json:"cri"`
	ImageRepository string           `json:"imageRepository,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"`
}

func (*BareMetalClusterSpec) DeepCopy

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

func (*BareMetalClusterSpec) DeepCopyInto

func (in *BareMetalClusterSpec) DeepCopyInto(out *BareMetalClusterSpec)

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

type BareMetalClusterStatus

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

func (*BareMetalClusterStatus) DeepCopy

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

func (*BareMetalClusterStatus) DeepCopyInto

func (in *BareMetalClusterStatus) DeepCopyInto(out *BareMetalClusterStatus)

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

type BareMetalMachine

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

	Spec   BareMetalMachineSpec   `json:"spec,omitempty"`
	Status BareMetalMachineStatus `json:"status,omitempty"`
}

func (*BareMetalMachine) DeepCopy

func (in *BareMetalMachine) DeepCopy() *BareMetalMachine

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

func (*BareMetalMachine) DeepCopyInto

func (in *BareMetalMachine) DeepCopyInto(out *BareMetalMachine)

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

func (*BareMetalMachine) DeepCopyObject

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

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

type BareMetalMachineList

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

BareMetalMachineList contains a list of Machine +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*BareMetalMachineList) DeepCopy

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

func (*BareMetalMachineList) DeepCopyInto

func (in *BareMetalMachineList) DeepCopyInto(out *BareMetalMachineList)

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

func (*BareMetalMachineList) DeepCopyObject

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

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

type BareMetalMachineSpec

type BareMetalMachineSpec struct {
	Private    EndPoint `json:"private,omitempty"`
	Public     EndPoint `json:"public,omitempty"`
	ProviderID string   `json:"providerID,omitempty"`
}

func (*BareMetalMachineSpec) DeepCopy

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

func (*BareMetalMachineSpec) DeepCopyInto

func (in *BareMetalMachineSpec) DeepCopyInto(out *BareMetalMachineSpec)

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

type BareMetalMachineStatus

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

func (*BareMetalMachineStatus) DeepCopy

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

func (*BareMetalMachineStatus) DeepCopyInto

func (in *BareMetalMachineStatus) DeepCopyInto(out *BareMetalMachineStatus)

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 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 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"`
}

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