Documentation ¶
Index ¶
- Constants
- Variables
- func NewScheme() (*runtime.Scheme, error)
- type APIServer
- type Addon
- type AuthenticationWebhook
- type AuthorizationWebhook
- type BareMetalClusterProviderSpec
- type BareMetalMachineProviderSpec
- type BareMetalProviderSpecCodec
- func (codec *BareMetalProviderSpecCodec) ClusterProviderFromProviderSpec(providerSpec clusterv1.ProviderSpec) (*BareMetalClusterProviderSpec, error)
- func (codec *BareMetalProviderSpecCodec) DecodeFromProviderSpec(providerSpec clusterv1.ProviderSpec, out runtime.Object) error
- func (codec *BareMetalProviderSpecCodec) EncodeToProviderSpec(in runtime.Object) (*clusterv1.ProviderSpec, error)
- func (codec *BareMetalProviderSpecCodec) MachineProviderFromProviderSpec(providerSpec clusterv1.ProviderSpec) (*BareMetalMachineProviderSpec, error)
- type ContainerRuntime
- type EndPoint
- type FileSpec
- type OSConfig
- type ServerArgument
- type SourceSpec
Constants ¶
const GroupName = "baremetalproviderspec"
Variables ¶
var ( SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
Functions ¶
Types ¶
type APIServer ¶
type APIServer struct { ExternalLoadBalancer string `json:"externalLoadBalancer"` 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 BareMetalClusterProviderSpec ¶
type BareMetalClusterProviderSpec struct { metav1.TypeMeta `json:",inline"` 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"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*BareMetalClusterProviderSpec) DeepCopy ¶
func (in *BareMetalClusterProviderSpec) DeepCopy() *BareMetalClusterProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BareMetalClusterProviderSpec.
func (*BareMetalClusterProviderSpec) DeepCopyInto ¶
func (in *BareMetalClusterProviderSpec) DeepCopyInto(out *BareMetalClusterProviderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BareMetalClusterProviderSpec) DeepCopyObject ¶
func (in *BareMetalClusterProviderSpec) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BareMetalMachineProviderSpec ¶
type BareMetalMachineProviderSpec struct { metav1.TypeMeta `json:",inline"` 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"` }
func (*BareMetalMachineProviderSpec) DeepCopy ¶
func (in *BareMetalMachineProviderSpec) DeepCopy() *BareMetalMachineProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BareMetalMachineProviderSpec.
func (*BareMetalMachineProviderSpec) DeepCopyInto ¶
func (in *BareMetalMachineProviderSpec) DeepCopyInto(out *BareMetalMachineProviderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BareMetalMachineProviderSpec) DeepCopyObject ¶
func (in *BareMetalMachineProviderSpec) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BareMetalProviderSpecCodec ¶
type BareMetalProviderSpecCodec struct {
// contains filtered or unexported fields
}
+k8s:deepcopy-gen=false
func NewCodec ¶
func NewCodec() (*BareMetalProviderSpecCodec, error)
func (*BareMetalProviderSpecCodec) ClusterProviderFromProviderSpec ¶
func (codec *BareMetalProviderSpecCodec) ClusterProviderFromProviderSpec(providerSpec clusterv1.ProviderSpec) (*BareMetalClusterProviderSpec, error)
func (*BareMetalProviderSpecCodec) DecodeFromProviderSpec ¶
func (codec *BareMetalProviderSpecCodec) DecodeFromProviderSpec(providerSpec clusterv1.ProviderSpec, out runtime.Object) error
func (*BareMetalProviderSpecCodec) EncodeToProviderSpec ¶
func (codec *BareMetalProviderSpecCodec) EncodeToProviderSpec(in runtime.Object) (*clusterv1.ProviderSpec, error)
func (*BareMetalProviderSpecCodec) MachineProviderFromProviderSpec ¶
func (codec *BareMetalProviderSpecCodec) MachineProviderFromProviderSpec(providerSpec clusterv1.ProviderSpec) (*BareMetalMachineProviderSpec, error)
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 ¶
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.