v1alpha1

package
v0.0.0-...-6478544 Latest Latest
Warning

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

Go to latest
Published: May 13, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "sshproviderconfig"

Variables

View Source
var (
	SchemeBuilder runtime.SchemeBuilder

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

Functions

func NewScheme

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

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

type SSHClusterProviderConfig struct {
	metav1.TypeMeta `json:",inline"`
}

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

func (*SSHClusterProviderConfig) DeepCopy

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

type SSHClusterProviderStatus struct {
	metav1.TypeMeta `json:",inline"`
}

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

func (*SSHClusterProviderStatus) DeepCopy

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

func (in *SSHConfig) DeepCopy() *SSHConfig

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

func (*SSHConfig) DeepCopyInto

func (in *SSHConfig) DeepCopyInto(out *SSHConfig)

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

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

type SSHMachineProviderStatus struct {
	metav1.TypeMeta `json:",inline"`
}

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

func (*SSHMachineProviderStatus) DeepCopy

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.

type SSHProviderConfigCodec

type SSHProviderConfigCodec struct {
	// contains filtered or unexported fields
}

+k8s:deepcopy-gen=false

func NewCodec

func NewCodec() (*SSHProviderConfigCodec, error)

func (*SSHProviderConfigCodec) DecodeFromProviderConfig

func (codec *SSHProviderConfigCodec) DecodeFromProviderConfig(providerConfig clusterv1.ProviderConfig, out runtime.Object) error

func (*SSHProviderConfigCodec) DecodeProviderStatus

func (codec *SSHProviderConfigCodec) DecodeProviderStatus(providerStatus *runtime.RawExtension, out runtime.Object) error

func (*SSHProviderConfigCodec) EncodeProviderStatus

func (codec *SSHProviderConfigCodec) EncodeProviderStatus(in runtime.Object) (*runtime.RawExtension, error)

func (*SSHProviderConfigCodec) EncodeToProviderConfig

func (codec *SSHProviderConfigCodec) EncodeToProviderConfig(in runtime.Object) (*clusterv1.ProviderConfig, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL