v1alpha1

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: 8 Imported by: 0

Documentation

Overview

+k8s:conversion-gen=github.com/weaveworks/cluster-api-provider-existinginfra/apis/cluster.weave.works/v1alpha3 +kubebuilder:skip

Package v1alpha1 contains API Schema definitions for the baremetalproviderspec v1alpha1 API group +kubebuilder:object:generate=true +groupName=baremetalproviderspec

Index

Constants

This section is empty.

Variables

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

	// 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

func Convert_v1alpha1_APIServer_To_v1alpha3_APIServer

func Convert_v1alpha1_APIServer_To_v1alpha3_APIServer(_ *APIServer, _ *v1alpha3.APIServer, _ conversion.Scope) error

func Convert_v1alpha1_Addon_To_v1alpha3_Addon

func Convert_v1alpha1_Addon_To_v1alpha3_Addon(in *Addon, out *v1alpha3.Addon, s conversion.Scope) error

Convert_v1alpha1_Addon_To_v1alpha3_Addon is an autogenerated conversion function.

func Convert_v1alpha1_AuthenticationWebhook_To_v1alpha3_AuthenticationWebhook

func Convert_v1alpha1_AuthenticationWebhook_To_v1alpha3_AuthenticationWebhook(in *AuthenticationWebhook, out *v1alpha3.AuthenticationWebhook, s conversion.Scope) error

Convert_v1alpha1_AuthenticationWebhook_To_v1alpha3_AuthenticationWebhook is an autogenerated conversion function.

func Convert_v1alpha1_AuthorizationWebhook_To_v1alpha3_AuthorizationWebhook

func Convert_v1alpha1_AuthorizationWebhook_To_v1alpha3_AuthorizationWebhook(in *AuthorizationWebhook, out *v1alpha3.AuthorizationWebhook, s conversion.Scope) error

Convert_v1alpha1_AuthorizationWebhook_To_v1alpha3_AuthorizationWebhook is an autogenerated conversion function.

func Convert_v1alpha1_ClusterSpec_To_v1alpha3_ClusterSpec

func Convert_v1alpha1_ClusterSpec_To_v1alpha3_ClusterSpec(in *ClusterSpec, out *v1alpha3.ClusterSpec, s conversion.Scope) error

func Convert_v1alpha1_ContainerRuntime_To_v1alpha3_ContainerRuntime

func Convert_v1alpha1_ContainerRuntime_To_v1alpha3_ContainerRuntime(in *ContainerRuntime, out *v1alpha3.ContainerRuntime, s conversion.Scope) error

Convert_v1alpha1_ContainerRuntime_To_v1alpha3_ContainerRuntime is an autogenerated conversion function.

func Convert_v1alpha1_EndPoint_To_v1alpha3_EndPoint

func Convert_v1alpha1_EndPoint_To_v1alpha3_EndPoint(in *EndPoint, out *v1alpha3.EndPoint, s conversion.Scope) error

Convert_v1alpha1_EndPoint_To_v1alpha3_EndPoint is an autogenerated conversion function.

func Convert_v1alpha1_FileSpec_To_v1alpha3_FileSpec

func Convert_v1alpha1_FileSpec_To_v1alpha3_FileSpec(in *FileSpec, out *v1alpha3.FileSpec, s conversion.Scope) error

Convert_v1alpha1_FileSpec_To_v1alpha3_FileSpec is an autogenerated conversion function.

func Convert_v1alpha1_MachineSpec_To_v1alpha3_MachineSpec

func Convert_v1alpha1_MachineSpec_To_v1alpha3_MachineSpec(in *MachineSpec, out *v1alpha3.MachineSpec, s conversion.Scope) error

func Convert_v1alpha1_OSConfig_To_v1alpha3_OSConfig

func Convert_v1alpha1_OSConfig_To_v1alpha3_OSConfig(in *OSConfig, out *v1alpha3.OSConfig, s conversion.Scope) error

Convert_v1alpha1_OSConfig_To_v1alpha3_OSConfig is an autogenerated conversion function.

func Convert_v1alpha1_ServerArgument_To_v1alpha3_ServerArgument

func Convert_v1alpha1_ServerArgument_To_v1alpha3_ServerArgument(in *ServerArgument, out *v1alpha3.ServerArgument, s conversion.Scope) error

Convert_v1alpha1_ServerArgument_To_v1alpha3_ServerArgument is an autogenerated conversion function.

func Convert_v1alpha1_SourceSpec_To_v1alpha3_SourceSpec

func Convert_v1alpha1_SourceSpec_To_v1alpha3_SourceSpec(in *SourceSpec, out *v1alpha3.SourceSpec, s conversion.Scope) error

Convert_v1alpha1_SourceSpec_To_v1alpha3_SourceSpec is an autogenerated conversion function.

func Convert_v1alpha3_APIServer_To_v1alpha1_APIServer

func Convert_v1alpha3_APIServer_To_v1alpha1_APIServer(in *v1alpha3.APIServer, out *APIServer, s conversion.Scope) error

Convert_v1alpha3_APIServer_To_v1alpha1_APIServer is an autogenerated conversion function.

func Convert_v1alpha3_Addon_To_v1alpha1_Addon

func Convert_v1alpha3_Addon_To_v1alpha1_Addon(in *v1alpha3.Addon, out *Addon, s conversion.Scope) error

Convert_v1alpha3_Addon_To_v1alpha1_Addon is an autogenerated conversion function.

func Convert_v1alpha3_AuthenticationWebhook_To_v1alpha1_AuthenticationWebhook

func Convert_v1alpha3_AuthenticationWebhook_To_v1alpha1_AuthenticationWebhook(in *v1alpha3.AuthenticationWebhook, out *AuthenticationWebhook, s conversion.Scope) error

Convert_v1alpha3_AuthenticationWebhook_To_v1alpha1_AuthenticationWebhook is an autogenerated conversion function.

func Convert_v1alpha3_AuthorizationWebhook_To_v1alpha1_AuthorizationWebhook

func Convert_v1alpha3_AuthorizationWebhook_To_v1alpha1_AuthorizationWebhook(in *v1alpha3.AuthorizationWebhook, out *AuthorizationWebhook, s conversion.Scope) error

Convert_v1alpha3_AuthorizationWebhook_To_v1alpha1_AuthorizationWebhook is an autogenerated conversion function.

func Convert_v1alpha3_ClusterSpec_To_v1alpha1_ClusterSpec

func Convert_v1alpha3_ClusterSpec_To_v1alpha1_ClusterSpec(_ *v1alpha3.ClusterSpec, _ *ClusterSpec, _ conversion.Scope) error

func Convert_v1alpha3_ContainerRuntime_To_v1alpha1_ContainerRuntime

func Convert_v1alpha3_ContainerRuntime_To_v1alpha1_ContainerRuntime(in *v1alpha3.ContainerRuntime, out *ContainerRuntime, s conversion.Scope) error

Convert_v1alpha3_ContainerRuntime_To_v1alpha1_ContainerRuntime is an autogenerated conversion function.

func Convert_v1alpha3_EndPoint_To_v1alpha1_EndPoint

func Convert_v1alpha3_EndPoint_To_v1alpha1_EndPoint(in *v1alpha3.EndPoint, out *EndPoint, s conversion.Scope) error

Convert_v1alpha3_EndPoint_To_v1alpha1_EndPoint is an autogenerated conversion function.

func Convert_v1alpha3_FileSpec_To_v1alpha1_FileSpec

func Convert_v1alpha3_FileSpec_To_v1alpha1_FileSpec(in *v1alpha3.FileSpec, out *FileSpec, s conversion.Scope) error

Convert_v1alpha3_FileSpec_To_v1alpha1_FileSpec is an autogenerated conversion function.

func Convert_v1alpha3_MachineSpec_To_v1alpha1_MachineSpec

func Convert_v1alpha3_MachineSpec_To_v1alpha1_MachineSpec(_ *v1alpha3.MachineSpec, _ *MachineSpec, _ conversion.Scope) error

func Convert_v1alpha3_OSConfig_To_v1alpha1_OSConfig

func Convert_v1alpha3_OSConfig_To_v1alpha1_OSConfig(in *v1alpha3.OSConfig, out *OSConfig, s conversion.Scope) error

Convert_v1alpha3_OSConfig_To_v1alpha1_OSConfig is an autogenerated conversion function.

func Convert_v1alpha3_ServerArgument_To_v1alpha1_ServerArgument

func Convert_v1alpha3_ServerArgument_To_v1alpha1_ServerArgument(in *v1alpha3.ServerArgument, out *ServerArgument, s conversion.Scope) error

Convert_v1alpha3_ServerArgument_To_v1alpha1_ServerArgument is an autogenerated conversion function.

func Convert_v1alpha3_SourceSpec_To_v1alpha1_SourceSpec

func Convert_v1alpha3_SourceSpec_To_v1alpha1_SourceSpec(in *v1alpha3.SourceSpec, out *SourceSpec, s conversion.Scope) error

Convert_v1alpha3_SourceSpec_To_v1alpha1_SourceSpec is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

Types

type APIServer

type APIServer struct {
	ExternalLoadBalancer string           `json:"externalLoadBalancer"`
	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 ClusterSpec

type ClusterSpec struct {
	metav1.TypeMeta `json:",inline"`
	// This ObjectMeta is not stored on encode, it is here just to provide
	// support for annotations that are required for comment preservation.
	metav1.ObjectMeta `json:"-"`

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

	APIServer APIServer `json:"apiServer,omitempty"`

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

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

	CloudProvider string `json:"cloudProvider,omitempty"`
}

ClusterSpec is the Schema for the clusterspecs API

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

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

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

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 MachineSpec

type MachineSpec struct {
	metav1.TypeMeta `json:",inline"`
	// This ObjectMeta is not stored on encode, it is here just to provide
	// support for annotations that are required for comment preservation
	metav1.ObjectMeta `json:"-"`

	Address          string   `json:"address"`
	Port             uint16   `json:"port,omitempty"`
	PrivateAddress   string   `json:"privateAddress,omitempty"`
	PrivateInterface string   `json:"privateInterface,omitempty"`
	Private          EndPoint `json:"private,omitempty"`
	Public           EndPoint `json:"public,omitempty"`
}

MachineSpec is the Schema for the machinespecs API

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

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

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

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