Documentation ¶
Index ¶
- Constants
- Variables
- func NewScheme() (*runtime.Scheme, error)
- type APIServer
- type Addon
- type AuthenticationWebhook
- type AuthorizationWebhook
- type BareMetalCluster
- type BareMetalClusterList
- type BareMetalClusterSpec
- type BareMetalClusterStatus
- type BareMetalMachine
- type BareMetalMachineList
- type BareMetalMachineSpec
- type BareMetalMachineStatus
- type ContainerRuntime
- type EndPoint
- type FileSpec
- type OSConfig
- type ServerArgument
- type SourceSpec
Constants ¶
const GroupName = "cluster.weave.works"
Variables ¶
var ( SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha3"}
Functions ¶
Types ¶
type APIServer ¶
type APIServer struct { AdditionalSANs []string `json:"additionalSANs,omitempty"` ExtraArguments []ServerArgument `json:"extraArguments,omitempty"` }
func (*APIServer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServer.
func (*APIServer) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Addon.
func (*Addon) DeepCopyInto ¶
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 ¶
func (in *AuthenticationWebhook) DeepCopy() *AuthenticationWebhook
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"` URL string `json:"url"` SecretFile string `json:"secretFile"` }
func (*AuthorizationWebhook) DeepCopy ¶
func (in *AuthorizationWebhook) DeepCopy() *AuthorizationWebhook
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 ¶
func (in *BareMetalClusterList) DeepCopy() *BareMetalClusterList
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 ¶
func (in *BareMetalClusterSpec) DeepCopy() *BareMetalClusterSpec
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 ¶
func (in *BareMetalClusterStatus) DeepCopy() *BareMetalClusterStatus
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 ¶
func (in *BareMetalMachineList) DeepCopy() *BareMetalMachineList
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 ¶
func (in *BareMetalMachineSpec) DeepCopy() *BareMetalMachineSpec
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 ¶
func (in *BareMetalMachineStatus) DeepCopy() *BareMetalMachineStatus
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 ¶
EndPoint groups the details required to establish a connection.
func (*EndPoint) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndPoint.
func (*EndPoint) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSpec.
func (*FileSpec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OSConfig.
func (*OSConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerArgument ¶
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 ¶
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.