Documentation ¶
Index ¶
Constants ¶
const GroupName = "sshproviderconfig"
Variables ¶
var ( SchemeBuilder runtime.SchemeBuilder AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Types ¶
type MachineRole ¶
type MachineRole string
The MachineRole indicates the purpose of the Machine, and will determine what software and configuration will be used when provisioning and managing the Machine. A single Machine may have more than one role, and the list and definitions of supported roles is expected to evolve over time.
const ( MasterRole MachineRole = "Master" NodeRole MachineRole = "Node" EtcdRole MachineRole = "Etcd" )
type SSHClusterProviderConfig ¶
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*SSHClusterProviderConfig) DeepCopy ¶
func (in *SSHClusterProviderConfig) DeepCopy() *SSHClusterProviderConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHClusterProviderConfig.
func (*SSHClusterProviderConfig) DeepCopyInto ¶
func (in *SSHClusterProviderConfig) DeepCopyInto(out *SSHClusterProviderConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SSHClusterProviderConfig) DeepCopyObject ¶
func (in *SSHClusterProviderConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SSHClusterProviderStatus ¶
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*SSHClusterProviderStatus) DeepCopy ¶
func (in *SSHClusterProviderStatus) DeepCopy() *SSHClusterProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHClusterProviderStatus.
func (*SSHClusterProviderStatus) DeepCopyInto ¶
func (in *SSHClusterProviderStatus) DeepCopyInto(out *SSHClusterProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SSHClusterProviderStatus) DeepCopyObject ¶
func (in *SSHClusterProviderStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SSHConfig ¶
type SSHConfig struct { // The Username to use for the PrivateKey in secretName Username string `json:"username"` // The IP or hostname used to SSH to the machine Host string `json:"host"` // The Port used to SSH to the machine Port int `json:"port"` // The SSH public keys of the machine PublicKeys []string `json:"publicKeys,omitempty"` // The Secret with the username and private key used to SSH to the machine SecretName string `json:"secretName"` }
SSHConfig specifies everything needed to ssh to a host
func (*SSHConfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHConfig.
func (*SSHConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SSHMachineProviderConfig ¶
type SSHMachineProviderConfig struct { metav1.TypeMeta `json:",inline"` // A list of roles for this Machine to use. Roles []MachineRole `json:"roles,omitempty"` // ProvisionedMachineName is the binding reference to the Provisioned // Machine backing this Machine. ProvisionedMachineName string `json:"provisionedMachineName,omitempty"` // The data needed to ssh to the host SSHConfig SSHConfig `json:"sshConfig"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*SSHMachineProviderConfig) DeepCopy ¶
func (in *SSHMachineProviderConfig) DeepCopy() *SSHMachineProviderConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHMachineProviderConfig.
func (*SSHMachineProviderConfig) DeepCopyInto ¶
func (in *SSHMachineProviderConfig) DeepCopyInto(out *SSHMachineProviderConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SSHMachineProviderConfig) DeepCopyObject ¶
func (in *SSHMachineProviderConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SSHMachineProviderStatus ¶
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*SSHMachineProviderStatus) DeepCopy ¶
func (in *SSHMachineProviderStatus) DeepCopy() *SSHMachineProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHMachineProviderStatus.
func (*SSHMachineProviderStatus) DeepCopyInto ¶
func (in *SSHMachineProviderStatus) DeepCopyInto(out *SSHMachineProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SSHMachineProviderStatus) DeepCopyObject ¶
func (in *SSHMachineProviderStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.