providerconfig

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

Documentation

Index

Constants

View Source
const GroupName = "sshproviderconfig"

Variables

View Source
var (
	SchemeBuilder runtime.SchemeBuilder
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

Functions

func Kind

func Kind(kind string) schema.GroupKind

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

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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