machine

package
v0.0.0-...-2f49bc2 Latest Latest
Warning

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

Go to latest
Published: May 28, 2019 License: Apache-2.0, BSD-3-Clause, MIT Imports: 5 Imported by: 0

Documentation

Overview

Package machine is the internal version of the API. +groupName=machine.sapcloud.io

Package machine is the internal version of the API.

Package machine is the internal version of the API.

Index

Constants

View Source
const (
	// DefaultDeploymentUniqueLabelKey is the default key of the selector that is added
	// to existing MCs (and label key that is added to its machines) to prevent the existing MCs
	// to select new machines (and old machines being select by new MC).
	DefaultMachineDeploymentUniqueLabelKey string = "machine-template-hash"
)
View Source
const GroupName = "machine.sapcloud.io"

GroupName of all machine-controller-manager objects

Variables

View Source
var (
	// SchemeBuilder needs to be exported as `SchemeBuilder` so
	// the code-generation can find it.
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is exposed for API installation
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type AWSBlockDeviceMappingSpec

type AWSBlockDeviceMappingSpec struct {

	// The device name exposed to the machine (for example, /dev/sdh or xvdh).
	DeviceName string

	// Parameters used to automatically set up EBS volumes when the machine is
	// launched.
	Ebs AWSEbsBlockDeviceSpec

	// Suppresses the specified device included in the block device mapping of the
	// AMI.
	NoDevice string

	// The virtual device name (ephemeralN). Machine store volumes are numbered
	// starting from 0. An machine type with 2 available machine store volumes
	// can specify mappings for ephemeral0 and ephemeral1.The number of available
	// machine store volumes depends on the machine type. After you connect to
	// the machine, you must mount the volume.
	//
	// Constraints: For M3 machines, you must specify machine store volumes in
	// the block device mapping for the machine. When you launch an M3 machine,
	// we ignore any machine store volumes specified in the block device mapping
	// for the AMI.
	VirtualName string
}

func (*AWSBlockDeviceMappingSpec) DeepCopy

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

func (*AWSBlockDeviceMappingSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSEbsBlockDeviceSpec

type AWSEbsBlockDeviceSpec struct {

	// Indicates whether the EBS volume is deleted on machine termination.
	DeleteOnTermination bool

	// Indicates whether the EBS volume is encrypted. Encrypted Amazon EBS volumes
	// may only be attached to machines that support Amazon EBS encryption.
	Encrypted bool

	// The number of I/O operations per second (IOPS) that the volume supports.
	// For io1, this represents the number of IOPS that are provisioned for the
	// volume. For gp2, this represents the baseline performance of the volume and
	// the rate at which the volume accumulates I/O credits for bursting. For more
	// information about General Purpose SSD baseline performance, I/O credits,
	// and bursting, see Amazon EBS Volume Types (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html)
	// in the Amazon Elastic Compute Cloud User Guide.
	//
	// Constraint: Range is 100-20000 IOPS for io1 volumes and 100-10000 IOPS for
	// gp2 volumes.
	//
	// Condition: This parameter is required for requests to create io1 volumes;
	// it is not used in requests to create gp2, st1, sc1, or standard volumes.
	Iops int64

	// The size of the volume, in GiB.
	//
	// Constraints: 1-16384 for General Purpose SSD (gp2), 4-16384 for Provisioned
	// IOPS SSD (io1), 500-16384 for Throughput Optimized HDD (st1), 500-16384 for
	// Cold HDD (sc1), and 1-1024 for Magnetic (standard) volumes. If you specify
	// a snapshot, the volume size must be equal to or larger than the snapshot
	// size.
	//
	// Default: If you're creating the volume from a snapshot and don't specify
	// a volume size, the default is the snapshot size.
	VolumeSize int64

	// The volume type: gp2, io1, st1, sc1, or standard.
	//
	// Default: standard
	VolumeType string
}

Describes a block device for an EBS volume. Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsBlockDevice

func (*AWSEbsBlockDeviceSpec) DeepCopy

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

func (*AWSEbsBlockDeviceSpec) DeepCopyInto

func (in *AWSEbsBlockDeviceSpec) DeepCopyInto(out *AWSEbsBlockDeviceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSIAMProfileSpec

type AWSIAMProfileSpec struct {
	// The Amazon Resource Name (ARN) of the machine profile.
	ARN string

	// The name of the machine profile.
	Name string
}

Describes an IAM machine profile.

func (*AWSIAMProfileSpec) DeepCopy

func (in *AWSIAMProfileSpec) DeepCopy() *AWSIAMProfileSpec

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

func (*AWSIAMProfileSpec) DeepCopyInto

func (in *AWSIAMProfileSpec) DeepCopyInto(out *AWSIAMProfileSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSMachineClass

type AWSMachineClass struct {
	// +optional
	metav1.ObjectMeta

	// +optional
	metav1.TypeMeta

	// +optional
	Spec AWSMachineClassSpec
}

AWSMachineClass TODO

func (*AWSMachineClass) DeepCopy

func (in *AWSMachineClass) DeepCopy() *AWSMachineClass

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

func (*AWSMachineClass) DeepCopyInto

func (in *AWSMachineClass) DeepCopyInto(out *AWSMachineClass)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AWSMachineClass) DeepCopyObject

func (in *AWSMachineClass) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AWSMachineClassList

type AWSMachineClassList struct {
	// +optional
	metav1.TypeMeta

	// +optional
	metav1.ListMeta

	// +optional
	Items []AWSMachineClass
}

AWSMachineClassList is a collection of AWSMachineClasses.

func (*AWSMachineClassList) DeepCopy

func (in *AWSMachineClassList) DeepCopy() *AWSMachineClassList

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

func (*AWSMachineClassList) DeepCopyInto

func (in *AWSMachineClassList) DeepCopyInto(out *AWSMachineClassList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AWSMachineClassList) DeepCopyObject

func (in *AWSMachineClassList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AWSMachineClassSpec

type AWSMachineClassSpec struct {
	AMI               string
	Region            string
	BlockDevices      []AWSBlockDeviceMappingSpec
	EbsOptimized      bool
	IAM               AWSIAMProfileSpec
	MachineType       string
	KeyName           string
	Monitoring        bool
	NetworkInterfaces []AWSNetworkInterfaceSpec
	Tags              map[string]string
	SecretRef         *corev1.SecretReference
}

AWSMachineClassSpec is the specification of a cluster.

func (*AWSMachineClassSpec) DeepCopy

func (in *AWSMachineClassSpec) DeepCopy() *AWSMachineClassSpec

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

func (*AWSMachineClassSpec) DeepCopyInto

func (in *AWSMachineClassSpec) DeepCopyInto(out *AWSMachineClassSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSNetworkInterfaceSpec

type AWSNetworkInterfaceSpec struct {

	// Indicates whether to assign a public IPv4 address to an machine you launch
	// in a VPC. The public IP address can only be assigned to a network interface
	// for eth0, and can only be assigned to a new network interface, not an existing
	// one. You cannot specify more than one network interface in the request. If
	// launching into a default subnet, the default value is true.
	AssociatePublicIPAddress bool

	// If set to true, the interface is deleted when the machine is terminated.
	// You can specify true only if creating a new network interface when launching
	// an machine.
	DeleteOnTermination bool

	// The description of the network interface. Applies only if creating a network
	// interface when launching an machine.
	Description string

	// The IDs of the security groups for the network interface. Applies only if
	// creating a network interface when launching an machine.
	SecurityGroupIDs []string

	// The ID of the subnet associated with the network string. Applies only if
	// creating a network interface when launching an machine.
	SubnetID string
}

Describes a network interface. Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MachineAWSNetworkInterfaceSpecification

func (*AWSNetworkInterfaceSpec) DeepCopy

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

func (*AWSNetworkInterfaceSpec) DeepCopyInto

func (in *AWSNetworkInterfaceSpec) DeepCopyInto(out *AWSNetworkInterfaceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AlicloudMachineClass

type AlicloudMachineClass struct {
	// +optional
	metav1.ObjectMeta

	// +optional
	metav1.TypeMeta

	// +optional
	Spec AlicloudMachineClassSpec
}

AlicloudMachineClass

func (*AlicloudMachineClass) DeepCopy

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

func (*AlicloudMachineClass) DeepCopyInto

func (in *AlicloudMachineClass) DeepCopyInto(out *AlicloudMachineClass)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AlicloudMachineClass) DeepCopyObject

func (in *AlicloudMachineClass) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AlicloudMachineClassList

type AlicloudMachineClassList struct {
	// +optional
	metav1.TypeMeta

	// +optional
	metav1.ListMeta

	// +optional
	Items []AlicloudMachineClass
}

AlicloudMachineClassList is a collection of AlicloudMachineClasses.

func (*AlicloudMachineClassList) DeepCopy

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

func (*AlicloudMachineClassList) DeepCopyInto

func (in *AlicloudMachineClassList) DeepCopyInto(out *AlicloudMachineClassList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AlicloudMachineClassList) DeepCopyObject

func (in *AlicloudMachineClassList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AlicloudMachineClassSpec

type AlicloudMachineClassSpec struct {
	ImageID                 string
	InstanceType            string
	Region                  string
	ZoneID                  string
	SecurityGroupID         string
	VSwitchID               string
	PrivateIPAddress        string
	SystemDisk              *AlicloudSystemDisk
	InstanceChargeType      string
	InternetChargeType      string
	InternetMaxBandwidthIn  *int
	InternetMaxBandwidthOut *int
	SpotStrategy            string
	IoOptimized             string
	Tags                    map[string]string
	KeyPairName             string
	SecretRef               *corev1.SecretReference
}

AlicloudMachineClassSpec is the specification of a cluster.

func (*AlicloudMachineClassSpec) DeepCopy

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

func (*AlicloudMachineClassSpec) DeepCopyInto

func (in *AlicloudMachineClassSpec) DeepCopyInto(out *AlicloudMachineClassSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AlicloudSystemDisk

type AlicloudSystemDisk struct {
	Category string
	Size     int
}

AlicloudSystemDisk describes SystemDisk for Alicloud.

func (*AlicloudSystemDisk) DeepCopy

func (in *AlicloudSystemDisk) DeepCopy() *AlicloudSystemDisk

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

func (*AlicloudSystemDisk) DeepCopyInto

func (in *AlicloudSystemDisk) DeepCopyInto(out *AlicloudSystemDisk)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureHardwareProfile

type AzureHardwareProfile struct {
	VMSize string
}

AzureHardwareProfile is specifies the hardware settings for the virtual machine. Refer github.com/Azure/azure-sdk-for-go/arm/compute/models.go for VMSizes

func (*AzureHardwareProfile) DeepCopy

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

func (*AzureHardwareProfile) DeepCopyInto

func (in *AzureHardwareProfile) DeepCopyInto(out *AzureHardwareProfile)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureImageReference

type AzureImageReference struct {
	ID        string
	Publisher string
	Offer     string
	Sku       string
	Version   string
}

AzureImageReference is specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.

func (*AzureImageReference) DeepCopy

func (in *AzureImageReference) DeepCopy() *AzureImageReference

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

func (*AzureImageReference) DeepCopyInto

func (in *AzureImageReference) DeepCopyInto(out *AzureImageReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureLinuxConfiguration

type AzureLinuxConfiguration struct {
	DisablePasswordAuthentication bool
	SSH                           AzureSSHConfiguration
}

AzureLinuxConfiguration is specifies the Linux operating system settings on the virtual machine. <br><br>For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) <br><br> For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).

func (*AzureLinuxConfiguration) DeepCopy

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

func (*AzureLinuxConfiguration) DeepCopyInto

func (in *AzureLinuxConfiguration) DeepCopyInto(out *AzureLinuxConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureMachineClass

type AzureMachineClass struct {
	// +optional
	metav1.ObjectMeta

	// +optional
	metav1.TypeMeta

	// +optional
	Spec AzureMachineClassSpec
}

AzureMachineClass TODO

func (*AzureMachineClass) DeepCopy

func (in *AzureMachineClass) DeepCopy() *AzureMachineClass

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

func (*AzureMachineClass) DeepCopyInto

func (in *AzureMachineClass) DeepCopyInto(out *AzureMachineClass)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AzureMachineClass) DeepCopyObject

func (in *AzureMachineClass) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AzureMachineClassList

type AzureMachineClassList struct {
	// +optional
	metav1.TypeMeta

	// +optional
	metav1.ListMeta

	// +optional
	Items []AzureMachineClass
}

AzureMachineClassList is a collection of AzureMachineClasses.

func (*AzureMachineClassList) DeepCopy

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

func (*AzureMachineClassList) DeepCopyInto

func (in *AzureMachineClassList) DeepCopyInto(out *AzureMachineClassList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AzureMachineClassList) DeepCopyObject

func (in *AzureMachineClassList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AzureMachineClassSpec

type AzureMachineClassSpec struct {
	Location      string
	Tags          map[string]string
	Properties    AzureVirtualMachineProperties
	ResourceGroup string
	SubnetInfo    AzureSubnetInfo
	SecretRef     *corev1.SecretReference
}

AzureMachineClassSpec is the specification of a cluster.

func (*AzureMachineClassSpec) DeepCopy

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

func (*AzureMachineClassSpec) DeepCopyInto

func (in *AzureMachineClassSpec) DeepCopyInto(out *AzureMachineClassSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureManagedDiskParameters

type AzureManagedDiskParameters struct {
	ID                 string
	StorageAccountType string
}

AzureManagedDiskParameters is the parameters of a managed disk.

func (*AzureManagedDiskParameters) DeepCopy

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

func (*AzureManagedDiskParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureNetworkInterfaceReference

type AzureNetworkInterfaceReference struct {
	ID string
	*AzureNetworkInterfaceReferenceProperties
}

AzureNetworkInterfaceReference is describes a network interface reference.

func (*AzureNetworkInterfaceReference) DeepCopy

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

func (*AzureNetworkInterfaceReference) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureNetworkInterfaceReferenceProperties

type AzureNetworkInterfaceReferenceProperties struct {
	Primary bool
}

AzureNetworkInterfaceReferenceProperties is describes a network interface reference properties.

func (*AzureNetworkInterfaceReferenceProperties) DeepCopy

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

func (*AzureNetworkInterfaceReferenceProperties) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureNetworkProfile

type AzureNetworkProfile struct {
	NetworkInterfaces AzureNetworkInterfaceReference
}

AzureNetworkProfile is specifies the network interfaces of the virtual machine.

func (*AzureNetworkProfile) DeepCopy

func (in *AzureNetworkProfile) DeepCopy() *AzureNetworkProfile

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

func (*AzureNetworkProfile) DeepCopyInto

func (in *AzureNetworkProfile) DeepCopyInto(out *AzureNetworkProfile)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureOSDisk

type AzureOSDisk struct {
	Name         string
	Caching      string
	ManagedDisk  AzureManagedDiskParameters
	DiskSizeGB   int32
	CreateOption string
}

AzureOSDisk is specifies information about the operating system disk used by the virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).

func (*AzureOSDisk) DeepCopy

func (in *AzureOSDisk) DeepCopy() *AzureOSDisk

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

func (*AzureOSDisk) DeepCopyInto

func (in *AzureOSDisk) DeepCopyInto(out *AzureOSDisk)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureOSProfile

type AzureOSProfile struct {
	ComputerName       string
	AdminUsername      string
	AdminPassword      string
	CustomData         string
	LinuxConfiguration AzureLinuxConfiguration
}

AzureOSProfile is specifies the operating system settings for the virtual machine.

func (*AzureOSProfile) DeepCopy

func (in *AzureOSProfile) DeepCopy() *AzureOSProfile

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

func (*AzureOSProfile) DeepCopyInto

func (in *AzureOSProfile) DeepCopyInto(out *AzureOSProfile)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureSSHConfiguration

type AzureSSHConfiguration struct {
	PublicKeys AzureSSHPublicKey
}

AzureSSHConfiguration is SSH configuration for Linux based VMs running on Azure

func (*AzureSSHConfiguration) DeepCopy

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

func (*AzureSSHConfiguration) DeepCopyInto

func (in *AzureSSHConfiguration) DeepCopyInto(out *AzureSSHConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureSSHPublicKey

type AzureSSHPublicKey struct {
	Path    string
	KeyData string
}

AzureSSHPublicKey is contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.

func (*AzureSSHPublicKey) DeepCopy

func (in *AzureSSHPublicKey) DeepCopy() *AzureSSHPublicKey

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

func (*AzureSSHPublicKey) DeepCopyInto

func (in *AzureSSHPublicKey) DeepCopyInto(out *AzureSSHPublicKey)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureStorageProfile

type AzureStorageProfile struct {
	ImageReference AzureImageReference
	OsDisk         AzureOSDisk
}

AzureStorageProfile is specifies the storage settings for the virtual machine disks.

func (*AzureStorageProfile) DeepCopy

func (in *AzureStorageProfile) DeepCopy() *AzureStorageProfile

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

func (*AzureStorageProfile) DeepCopyInto

func (in *AzureStorageProfile) DeepCopyInto(out *AzureStorageProfile)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureSubResource

type AzureSubResource struct {
	ID string
}

AzureSubResource is the Sub Resource definition.

func (*AzureSubResource) DeepCopy

func (in *AzureSubResource) DeepCopy() *AzureSubResource

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

func (*AzureSubResource) DeepCopyInto

func (in *AzureSubResource) DeepCopyInto(out *AzureSubResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureSubnetInfo

type AzureSubnetInfo struct {
	VnetName   string
	SubnetName string
}

AzureSubnetInfo is the information containing the subnet details

func (*AzureSubnetInfo) DeepCopy

func (in *AzureSubnetInfo) DeepCopy() *AzureSubnetInfo

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

func (*AzureSubnetInfo) DeepCopyInto

func (in *AzureSubnetInfo) DeepCopyInto(out *AzureSubnetInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureVirtualMachineProperties

type AzureVirtualMachineProperties struct {
	HardwareProfile AzureHardwareProfile
	StorageProfile  AzureStorageProfile
	OsProfile       AzureOSProfile
	NetworkProfile  AzureNetworkProfile
	AvailabilitySet AzureSubResource
}

AzureVirtualMachineProperties is describes the properties of a Virtual Machine.

func (*AzureVirtualMachineProperties) DeepCopy

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

func (*AzureVirtualMachineProperties) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClassSpec

type ClassSpec struct {
	// API group to which it belongs
	APIGroup string

	// Kind for machine class
	Kind string

	// Name of machine class
	Name string
}

ClassSpec is the class specification of machine

func (*ClassSpec) DeepCopy

func (in *ClassSpec) DeepCopy() *ClassSpec

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

func (*ClassSpec) DeepCopyInto

func (in *ClassSpec) DeepCopyInto(out *ClassSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ConditionStatus

type ConditionStatus string
const (
	ConditionTrue    ConditionStatus = "True"
	ConditionFalse   ConditionStatus = "False"
	ConditionUnknown ConditionStatus = "Unknown"
)

These are valid condition statuses. "ConditionTrue" means a resource is in the condition; "ConditionFalse" means a resource is not in the condition; "ConditionUnknown" means kubernetes can't decide if a resource is in the condition or not. In the future, we could add other intermediate conditions, e.g. ConditionDegraded.

type CurrentStatus

type CurrentStatus struct {
	// API group to which it belongs
	Phase MachinePhase

	// Name of machine class
	TimeoutActive bool

	// Last update time of current status
	LastUpdateTime metav1.Time
}

type CurrentStatus

func (*CurrentStatus) DeepCopy

func (in *CurrentStatus) DeepCopy() *CurrentStatus

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

func (*CurrentStatus) DeepCopyInto

func (in *CurrentStatus) DeepCopyInto(out *CurrentStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GCPDisk

type GCPDisk struct {
	AutoDelete bool
	Boot       bool
	SizeGb     int64
	Type       string
	Image      string
	Labels     map[string]string
}

GCPDisk describes disks for GCP.

func (*GCPDisk) DeepCopy

func (in *GCPDisk) DeepCopy() *GCPDisk

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

func (*GCPDisk) DeepCopyInto

func (in *GCPDisk) DeepCopyInto(out *GCPDisk)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GCPMachineClass

type GCPMachineClass struct {
	// +optional
	metav1.ObjectMeta

	// +optional
	metav1.TypeMeta

	// +optional
	Spec GCPMachineClassSpec
}

GCPMachineClass TODO

func (*GCPMachineClass) DeepCopy

func (in *GCPMachineClass) DeepCopy() *GCPMachineClass

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

func (*GCPMachineClass) DeepCopyInto

func (in *GCPMachineClass) DeepCopyInto(out *GCPMachineClass)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GCPMachineClass) DeepCopyObject

func (in *GCPMachineClass) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GCPMachineClassList

type GCPMachineClassList struct {
	// +optional
	metav1.TypeMeta

	// +optional
	metav1.ListMeta

	// +optional
	Items []GCPMachineClass
}

GCPMachineClassList is a collection of GCPMachineClasses.

func (*GCPMachineClassList) DeepCopy

func (in *GCPMachineClassList) DeepCopy() *GCPMachineClassList

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

func (*GCPMachineClassList) DeepCopyInto

func (in *GCPMachineClassList) DeepCopyInto(out *GCPMachineClassList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GCPMachineClassList) DeepCopyObject

func (in *GCPMachineClassList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GCPMachineClassSpec

type GCPMachineClassSpec struct {
	CanIpForward       bool
	DeletionProtection bool
	Description        *string
	Disks              []*GCPDisk
	Labels             map[string]string
	MachineType        string
	Metadata           []*GCPMetadata
	NetworkInterfaces  []*GCPNetworkInterface
	Scheduling         GCPScheduling
	SecretRef          *corev1.SecretReference
	ServiceAccounts    []GCPServiceAccount
	Tags               []string
	Region             string
	Zone               string
}

GCPMachineClassSpec is the specification of a cluster.

func (*GCPMachineClassSpec) DeepCopy

func (in *GCPMachineClassSpec) DeepCopy() *GCPMachineClassSpec

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

func (*GCPMachineClassSpec) DeepCopyInto

func (in *GCPMachineClassSpec) DeepCopyInto(out *GCPMachineClassSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GCPMetadata

type GCPMetadata struct {
	Key   string
	Value *string
}

GCPMetadata describes metadata for GCP.

func (*GCPMetadata) DeepCopy

func (in *GCPMetadata) DeepCopy() *GCPMetadata

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

func (*GCPMetadata) DeepCopyInto

func (in *GCPMetadata) DeepCopyInto(out *GCPMetadata)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GCPNetworkInterface

type GCPNetworkInterface struct {
	Network    string
	Subnetwork string
}

GCPNetworkInterface describes network interfaces for GCP

func (*GCPNetworkInterface) DeepCopy

func (in *GCPNetworkInterface) DeepCopy() *GCPNetworkInterface

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

func (*GCPNetworkInterface) DeepCopyInto

func (in *GCPNetworkInterface) DeepCopyInto(out *GCPNetworkInterface)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GCPScheduling

type GCPScheduling struct {
	AutomaticRestart  bool
	OnHostMaintenance string
	Preemptible       bool
}

GCPScheduling describes scheduling configuration for GCP.

func (*GCPScheduling) DeepCopy

func (in *GCPScheduling) DeepCopy() *GCPScheduling

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

func (*GCPScheduling) DeepCopyInto

func (in *GCPScheduling) DeepCopyInto(out *GCPScheduling)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GCPServiceAccount

type GCPServiceAccount struct {
	Email  string
	Scopes []string
}

GCPServiceAccount describes service accounts for GCP.

func (*GCPServiceAccount) DeepCopy

func (in *GCPServiceAccount) DeepCopy() *GCPServiceAccount

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

func (*GCPServiceAccount) DeepCopyInto

func (in *GCPServiceAccount) DeepCopyInto(out *GCPServiceAccount)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LastOperation

type LastOperation struct {
	// Description of the current operation
	Description string

	// Last update time of current operation
	LastUpdateTime metav1.Time

	// State of operation
	State MachineState

	// Type of operation
	Type MachineOperationType
}

LastOperation suggests the last operation performed on the object

func (*LastOperation) DeepCopy

func (in *LastOperation) DeepCopy() *LastOperation

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

func (*LastOperation) DeepCopyInto

func (in *LastOperation) DeepCopyInto(out *LastOperation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Machine

type Machine struct {
	// ObjectMeta for machine object
	metav1.ObjectMeta

	// TypeMeta for machine object
	metav1.TypeMeta

	// Spec contains the specification of the machine
	Spec MachineSpec

	// Status contains fields depicting the status
	Status MachineStatus
}

Machine TODO

func (*Machine) DeepCopy

func (in *Machine) DeepCopy() *Machine

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

func (*Machine) DeepCopyInto

func (in *Machine) DeepCopyInto(out *Machine)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Machine) DeepCopyObject

func (in *Machine) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MachineDeployment

type MachineDeployment struct {
	metav1.TypeMeta
	// Standard object metadata.
	// +optional
	metav1.ObjectMeta

	// Specification of the desired behavior of the MachineDeployment.
	// +optional
	Spec MachineDeploymentSpec

	// Most recently observed status of the MachineDeployment.
	// +optional
	Status MachineDeploymentStatus
}

Deployment enables declarative updates for machines and MachineSets.

func (*MachineDeployment) DeepCopy

func (in *MachineDeployment) DeepCopy() *MachineDeployment

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

func (*MachineDeployment) DeepCopyInto

func (in *MachineDeployment) DeepCopyInto(out *MachineDeployment)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MachineDeployment) DeepCopyObject

func (in *MachineDeployment) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MachineDeploymentCondition

type MachineDeploymentCondition struct {
	// Type of MachineDeployment condition.
	Type MachineDeploymentConditionType

	// Status of the condition, one of True, False, Unknown.
	Status ConditionStatus

	// The last time this condition was updated.
	LastUpdateTime metav1.Time

	// Last time the condition transitioned from one status to another.
	LastTransitionTime metav1.Time

	// The reason for the condition's last transition.
	Reason string

	// A human readable message indicating details about the transition.
	Message string
}

MachineDeploymentCondition describes the state of a MachineDeployment at a certain point.

func (*MachineDeploymentCondition) DeepCopy

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

func (*MachineDeploymentCondition) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineDeploymentConditionType

type MachineDeploymentConditionType string
const (
	// Available means the MachineDeployment is available, ie. at least the minimum available
	// replicas required are up and running for at least minReadySeconds.
	MachineDeploymentAvailable MachineDeploymentConditionType = "Available"

	// Progressing means the MachineDeployment is progressing. Progress for a MachineDeployment is
	// considered when a new machine set is created or adopted, and when new machines scale
	// up or old machines scale down. Progress is not estimated for paused MachineDeployments or
	// when progressDeadlineSeconds is not specified.
	MachineDeploymentProgressing MachineDeploymentConditionType = "Progressing"

	// ReplicaFailure is added in a MachineDeployment when one of its machines fails to be created
	// or deleted.
	MachineDeploymentReplicaFailure MachineDeploymentConditionType = "ReplicaFailure"

	// MachineDeploymentFrozen is added in a MachineDeployment when one of its machines fails to be created
	// or deleted.
	MachineDeploymentFrozen MachineDeploymentConditionType = "Frozen"
)

These are valid conditions of a MachineDeployment.

type MachineDeploymentList

type MachineDeploymentList struct {
	metav1.TypeMeta
	// Standard list metadata.
	// +optional
	metav1.ListMeta

	// Items is the list of MachineDeployments.
	Items []MachineDeployment
}

MachineDeploymentList is a list of MachineDeployments.

func (*MachineDeploymentList) DeepCopy

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

func (*MachineDeploymentList) DeepCopyInto

func (in *MachineDeploymentList) DeepCopyInto(out *MachineDeploymentList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MachineDeploymentList) DeepCopyObject

func (in *MachineDeploymentList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MachineDeploymentRollback

type MachineDeploymentRollback struct {
	metav1.TypeMeta

	// Required: This must match the Name of a MachineDeployment.
	Name string

	// The annotations to be updated to a MachineDeployment
	// +optional
	UpdatedAnnotations map[string]string

	// The config of this MachineDeployment rollback.
	RollbackTo RollbackConfig
}

DEPRECATED. MachineDeploymentRollback stores the information required to rollback a MachineDeployment.

func (*MachineDeploymentRollback) DeepCopy

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

func (*MachineDeploymentRollback) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MachineDeploymentRollback) DeepCopyObject

func (in *MachineDeploymentRollback) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MachineDeploymentSpec

type MachineDeploymentSpec struct {
	// Number of desired machines. This is a pointer to distinguish between explicit
	// zero and not specified. Defaults to 1.
	// +optional
	Replicas int32

	// Label selector for machines. Existing MachineSets whose machines are
	// selected by this will be the ones affected by this MachineDeployment.
	// +optional
	Selector *metav1.LabelSelector

	// Template describes the machines that will be created.
	Template MachineTemplateSpec

	// The MachineDeployment strategy to use to replace existing machines with new ones.
	// +optional
	// +patchStrategy=retainKeys
	Strategy MachineDeploymentStrategy

	// Minimum number of seconds for which a newly created machine should be ready
	// without any of its container crashing, for it to be considered available.
	// Defaults to 0 (machine will be considered available as soon as it is ready)
	// +optional
	MinReadySeconds int32

	// The number of old MachineSets to retain to allow rollback.
	// This is a pointer to distinguish between explicit zero and not specified.
	// +optional
	RevisionHistoryLimit *int32

	// Indicates that the MachineDeployment is paused and will not be processed by the
	// MachineDeployment controller.
	// +optional
	Paused bool

	// DEPRECATED.
	// The config this MachineDeployment is rolling back to. Will be cleared after rollback is done.
	// +optional
	RollbackTo *RollbackConfig

	// The maximum time in seconds for a MachineDeployment to make progress before it
	// is considered to be failed. The MachineDeployment controller will continue to
	// process failed MachineDeployments and a condition with a ProgressDeadlineExceeded
	// reason will be surfaced in the MachineDeployment status. Note that progress will
	// not be estimated during the time a MachineDeployment is paused. This is not set
	// by default.
	// +optional
	ProgressDeadlineSeconds *int32
}

MachineDeploymentSpec is the specification of the desired behavior of the MachineDeployment.

func (*MachineDeploymentSpec) DeepCopy

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

func (*MachineDeploymentSpec) DeepCopyInto

func (in *MachineDeploymentSpec) DeepCopyInto(out *MachineDeploymentSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineDeploymentStatus

type MachineDeploymentStatus struct {
	// The generation observed by the MachineDeployment controller.
	// +optional
	ObservedGeneration int64

	// Total number of non-terminated machines targeted by this MachineDeployment (their labels match the selector).
	// +optional
	Replicas int32

	// Total number of non-terminated machines targeted by this MachineDeployment that have the desired template spec.
	// +optional
	UpdatedReplicas int32

	// Total number of ready machines targeted by this MachineDeployment.
	// +optional
	ReadyReplicas int32

	// Total number of available machines (ready for at least minReadySeconds) targeted by this MachineDeployment.
	// +optional
	AvailableReplicas int32

	// Total number of unavailable machines targeted by this MachineDeployment. This is the total number of
	// machines that are still required for the MachineDeployment to have 100% available capacity. They may
	// either be machines that are running but not yet available or machines that still have not been created.
	// +optional
	UnavailableReplicas int32

	// Represents the latest available observations of a MachineDeployment's current state.
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []MachineDeploymentCondition

	// Count of hash collisions for the MachineDeployment. The MachineDeployment controller uses this
	// field as a collision avoidance mechanism when it needs to create the name for the
	// newest MachineSet.
	// +optional
	CollisionCount *int32

	// FailedMachines has summary of machines on which lastOperation Failed
	// +optional
	FailedMachines []*MachineSummary
}

MachineDeploymentStatus is the most recently observed status of the MachineDeployment.

func (*MachineDeploymentStatus) DeepCopy

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

func (*MachineDeploymentStatus) DeepCopyInto

func (in *MachineDeploymentStatus) DeepCopyInto(out *MachineDeploymentStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineDeploymentStrategy

type MachineDeploymentStrategy struct {
	// Type of MachineDeployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
	// +optional
	Type MachineDeploymentStrategyType

	// Rolling update config params. Present only if MachineDeploymentStrategyType =
	// RollingUpdate.
	//---
	// TODO: Update this to follow our convention for oneOf, whatever we decide it
	// to be.
	// +optional
	RollingUpdate *RollingUpdateMachineDeployment
}

MachineDeploymentStrategy describes how to replace existing machines with new ones.

func (*MachineDeploymentStrategy) DeepCopy

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

func (*MachineDeploymentStrategy) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineDeploymentStrategyType

type MachineDeploymentStrategyType string
const (
	// Kill all existing machines before creating new ones.
	RecreateMachineDeploymentStrategyType MachineDeploymentStrategyType = "Recreate"

	// Replace the old MCs by new one using rolling update i.e gradually scale down the old MCs and scale up the new one.
	RollingUpdateMachineDeploymentStrategyType MachineDeploymentStrategyType = "RollingUpdate"
)

type MachineList

type MachineList struct {
	// ObjectMeta for MachineList object
	metav1.TypeMeta

	// TypeMeta for MachineList object
	metav1.ListMeta

	// Items contains the list of machines
	Items []Machine
}

MachineList is a collection of Machines.

func (*MachineList) DeepCopy

func (in *MachineList) DeepCopy() *MachineList

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

func (*MachineList) DeepCopyInto

func (in *MachineList) DeepCopyInto(out *MachineList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MachineList) DeepCopyObject

func (in *MachineList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MachineOperationType

type MachineOperationType string

MachineOperationType is a label for the operation performed on a machine object.

const (
	// MachineOperationCreate indicates that the operation was a create
	MachineOperationCreate MachineOperationType = "Create"

	// MachineOperationUpdate indicates that the operation was an update
	MachineOperationUpdate MachineOperationType = "Update"

	// MachineOperationHealthCheck indicates that the operation was a create
	MachineOperationHealthCheck MachineOperationType = "HealthCheck"

	// MachineOperationDelete indicates that the operation was a create
	MachineOperationDelete MachineOperationType = "Delete"
)

These are the valid statuses of machines.

type MachinePhase

type MachinePhase string

MachinePhase is a label for the condition of a machines at the current time.

const (
	// MachinePending means that the machine is being created
	MachinePending MachinePhase = "Pending"

	// MachineAvailable means that machine is present on provider but hasn't joined cluster yet
	MachineAvailable MachinePhase = "Available"

	// MachineRunning means node is ready and running successfully
	MachineRunning MachinePhase = "Running"

	// MachineRunning means node is terminating
	MachineTerminating MachinePhase = "Terminating"

	// MachineUnknown indicates that the node is not ready at the movement
	MachineUnknown MachinePhase = "Unknown"

	// MachineFailed means operation failed leading to machine status failure
	MachineFailed MachinePhase = "Failed"
)

These are the valid statuses of machines.

type MachineSet

type MachineSet struct {
	// +optional
	metav1.ObjectMeta

	// +optional
	metav1.TypeMeta

	// +optional
	Spec MachineSetSpec

	// +optional
	Status MachineSetStatus
}

MachineSet TODO

func (*MachineSet) DeepCopy

func (in *MachineSet) DeepCopy() *MachineSet

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

func (*MachineSet) DeepCopyInto

func (in *MachineSet) DeepCopyInto(out *MachineSet)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MachineSet) DeepCopyObject

func (in *MachineSet) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MachineSetCondition

type MachineSetCondition struct {
	// Type of machine set condition.
	Type MachineSetConditionType

	// Status of the condition, one of True, False, Unknown.
	Status ConditionStatus

	// The last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime metav1.Time

	// The reason for the condition's last transition.
	// +optional
	Reason string

	// A human readable message indicating details about the transition.
	// +optional
	Message string
}

MachineSetCondition describes the state of a machine set at a certain point.

func (*MachineSetCondition) DeepCopy

func (in *MachineSetCondition) DeepCopy() *MachineSetCondition

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

func (*MachineSetCondition) DeepCopyInto

func (in *MachineSetCondition) DeepCopyInto(out *MachineSetCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineSetConditionType

type MachineSetConditionType string

MachineSetConditionType is the condition on machineset object

const (
	// MachineSetReplicaFailure is added in a machine set when one of its machines fails to be created
	// due to insufficient quota, limit ranges, machine security policy, node selectors, etc. or deleted
	// due to kubelet being down or finalizers are failing.
	MachineSetReplicaFailure MachineSetConditionType = "ReplicaFailure"
	// MachineSetFrozen is set when the machineset has exceeded its replica threshold at the safety controller
	MachineSetFrozen MachineSetConditionType = "Frozen"
)

These are valid conditions of a machine set.

type MachineSetList

type MachineSetList struct {
	// +optional
	metav1.TypeMeta

	// +optional
	metav1.ListMeta

	// +optional
	Items []MachineSet
}

MachineSetList is a collection of MachineSet.

func (*MachineSetList) DeepCopy

func (in *MachineSetList) DeepCopy() *MachineSetList

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

func (*MachineSetList) DeepCopyInto

func (in *MachineSetList) DeepCopyInto(out *MachineSetList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MachineSetList) DeepCopyObject

func (in *MachineSetList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MachineSetSpec

type MachineSetSpec struct {
	// +optional
	Replicas int32

	// +optional
	Selector *metav1.LabelSelector

	// +optional
	MachineClass ClassSpec

	// +optional
	Template MachineTemplateSpec

	// +optional
	MinReadySeconds int32
}

MachineSetSpec is the specification of a cluster.

func (*MachineSetSpec) DeepCopy

func (in *MachineSetSpec) DeepCopy() *MachineSetSpec

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

func (*MachineSetSpec) DeepCopyInto

func (in *MachineSetSpec) DeepCopyInto(out *MachineSetSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineSetStatus

type MachineSetStatus struct {
	// Replicas is the number of actual replicas.
	Replicas int32

	// The number of pods that have labels matching the labels of the pod template of the replicaset.
	// +optional
	FullyLabeledReplicas int32

	// The number of ready replicas for this replica set.
	// +optional
	ReadyReplicas int32

	// The number of available replicas (ready for at least minReadySeconds) for this replica set.
	// +optional
	AvailableReplicas int32

	// ObservedGeneration is the most recent generation observed by the controller.
	// +optional
	ObservedGeneration int64

	// Represents the latest available observations of a replica set's current state.
	// +optional
	Conditions []MachineSetCondition

	// LastOperation performed
	LastOperation LastOperation

	// FailedMachines has summary of machines on which lastOperation Failed
	// +optional
	FailedMachines *[]MachineSummary
}

MachineSetStatus represents the status of a machineSet object

func (*MachineSetStatus) DeepCopy

func (in *MachineSetStatus) DeepCopy() *MachineSetStatus

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

func (*MachineSetStatus) DeepCopyInto

func (in *MachineSetStatus) DeepCopyInto(out *MachineSetStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineSpec

type MachineSpec struct {

	// Class contains the machineclass attributes of a machine
	// +optional
	Class ClassSpec

	// ProviderID represents the provider's unique ID given to a machine
	// +optional
	ProviderID string

	// +optional
	NodeTemplateSpec NodeTemplateSpec
}

MachineSpec is the specification of a machine.

func (*MachineSpec) DeepCopy

func (in *MachineSpec) DeepCopy() *MachineSpec

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

func (*MachineSpec) DeepCopyInto

func (in *MachineSpec) DeepCopyInto(out *MachineSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineState

type MachineState string

MachinePhase is a label for the condition of a machines at the current time.

const (
	// MachineStatePending means there are operations pending on this machine state
	MachineStateProcessing MachineState = "Processing"

	// MachineStateFailed means operation failed leading to machine status failure
	MachineStateFailed MachineState = "Failed"

	// MachineStateSuccessful indicates that the node is not ready at the moment
	MachineStateSuccessful MachineState = "Successful"
)

These are the valid statuses of machines.

type MachineStatus

type MachineStatus struct {
	// Node string
	Node string

	// Conditions of this machine, same as node
	Conditions []corev1.NodeCondition

	// Last operation refers to the status of the last operation performed
	LastOperation LastOperation

	// Current status of the machine object
	CurrentStatus CurrentStatus
}

MachineStatus TODO

func (*MachineStatus) DeepCopy

func (in *MachineStatus) DeepCopy() *MachineStatus

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

func (*MachineStatus) DeepCopyInto

func (in *MachineStatus) DeepCopyInto(out *MachineStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineSummary

type MachineSummary struct {
	// Name of the machine object
	Name string

	// ProviderID represents the provider's unique ID given to a machine
	ProviderID string

	// Last operation refers to the status of the last operation performed
	LastOperation LastOperation

	// OwnerRef
	OwnerRef string
}

MachineSummary store the summary of machine.

func (*MachineSummary) DeepCopy

func (in *MachineSummary) DeepCopy() *MachineSummary

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

func (*MachineSummary) DeepCopyInto

func (in *MachineSummary) DeepCopyInto(out *MachineSummary)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineTemplate

type MachineTemplate struct {
	metav1.TypeMeta

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta

	// Template defines the machines that will be created from this machine template.
	// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
	// +optional
	Template MachineTemplateSpec
}

MachineTemplate describes a template for creating copies of a predefined machine.

func (*MachineTemplate) DeepCopy

func (in *MachineTemplate) DeepCopy() *MachineTemplate

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

func (*MachineTemplate) DeepCopyInto

func (in *MachineTemplate) DeepCopyInto(out *MachineTemplate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MachineTemplate) DeepCopyObject

func (in *MachineTemplate) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MachineTemplateList

type MachineTemplateList struct {
	metav1.TypeMeta

	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
	// +optional
	metav1.ListMeta

	// List of machine templates
	Items []MachineTemplate
}

MachineTemplateList is a list of MachineTemplates.

func (*MachineTemplateList) DeepCopy

func (in *MachineTemplateList) DeepCopy() *MachineTemplateList

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

func (*MachineTemplateList) DeepCopyInto

func (in *MachineTemplateList) DeepCopyInto(out *MachineTemplateList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MachineTemplateList) DeepCopyObject

func (in *MachineTemplateList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MachineTemplateSpec

type MachineTemplateSpec struct {
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta

	// Specification of the desired behavior of the machine.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
	// +optional
	Spec MachineSpec
}

MachineTemplateSpec describes the data a machine should have when created from a template

func (*MachineTemplateSpec) DeepCopy

func (in *MachineTemplateSpec) DeepCopy() *MachineTemplateSpec

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

func (*MachineTemplateSpec) DeepCopyInto

func (in *MachineTemplateSpec) DeepCopyInto(out *MachineTemplateSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeTemplateSpec

type NodeTemplateSpec struct {
	// +optional
	metav1.ObjectMeta

	// +optional
	Spec corev1.NodeSpec
}

NodeTemplateSpec describes the data a node should have when created from a template

func (*NodeTemplateSpec) DeepCopy

func (in *NodeTemplateSpec) DeepCopy() *NodeTemplateSpec

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

func (*NodeTemplateSpec) DeepCopyInto

func (in *NodeTemplateSpec) DeepCopyInto(out *NodeTemplateSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OpenStackMachineClass

type OpenStackMachineClass struct {
	// +optional
	metav1.ObjectMeta

	// +optional
	metav1.TypeMeta

	// +optional
	Spec OpenStackMachineClassSpec
}

OpenStackMachineClass TODO

func (*OpenStackMachineClass) DeepCopy

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

func (*OpenStackMachineClass) DeepCopyInto

func (in *OpenStackMachineClass) DeepCopyInto(out *OpenStackMachineClass)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OpenStackMachineClass) DeepCopyObject

func (in *OpenStackMachineClass) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OpenStackMachineClassList

type OpenStackMachineClassList struct {
	// +optional
	metav1.TypeMeta

	// +optional
	metav1.ListMeta

	// +optional
	Items []OpenStackMachineClass
}

OpenStackMachineClassList is a collection of OpenStackMachineClasses.

func (*OpenStackMachineClassList) DeepCopy

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

func (*OpenStackMachineClassList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OpenStackMachineClassList) DeepCopyObject

func (in *OpenStackMachineClassList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OpenStackMachineClassSpec

type OpenStackMachineClassSpec struct {
	ImageName        string
	Region           string
	AvailabilityZone string
	FlavorName       string
	KeyName          string
	SecurityGroups   []string
	Tags             map[string]string
	NetworkID        string
	SecretRef        *corev1.SecretReference
	PodNetworkCidr   string
}

OpenStackMachineClassSpec is the specification of a cluster.

func (*OpenStackMachineClassSpec) DeepCopy

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

func (*OpenStackMachineClassSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PacketMachineClass

type PacketMachineClass struct {
	// +optional
	metav1.ObjectMeta

	// +optional
	metav1.TypeMeta

	// +optional
	Spec PacketMachineClassSpec
}

PacketMachineClass TODO

func (*PacketMachineClass) DeepCopy

func (in *PacketMachineClass) DeepCopy() *PacketMachineClass

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

func (*PacketMachineClass) DeepCopyInto

func (in *PacketMachineClass) DeepCopyInto(out *PacketMachineClass)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PacketMachineClass) DeepCopyObject

func (in *PacketMachineClass) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PacketMachineClassList

type PacketMachineClassList struct {
	// +optional
	metav1.TypeMeta

	// +optional
	metav1.ListMeta

	// +optional
	Items []PacketMachineClass
}

PacketMachineClassList is a collection of PacketMachineClasses.

func (*PacketMachineClassList) DeepCopy

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

func (*PacketMachineClassList) DeepCopyInto

func (in *PacketMachineClassList) DeepCopyInto(out *PacketMachineClassList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PacketMachineClassList) DeepCopyObject

func (in *PacketMachineClassList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PacketMachineClassSpec

type PacketMachineClassSpec struct {
	Facility     []string // required
	MachineType  string   // required
	OS           string   // required
	ProjectID    string   // required
	BillingCycle string
	Tags         map[string]string
	SSHKeys      []PacketSSHKeySpec
	UserData     string

	SecretRef *corev1.SecretReference
}

PacketMachineClassSpec is the specification of a cluster.

func (*PacketMachineClassSpec) DeepCopy

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

func (*PacketMachineClassSpec) DeepCopyInto

func (in *PacketMachineClassSpec) DeepCopyInto(out *PacketMachineClassSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PacketSSHKeySpec

type PacketSSHKeySpec struct {
	ID          string
	Fingerprint string
}

PacketSSHKeySpec represents a single ssh key

func (*PacketSSHKeySpec) DeepCopy

func (in *PacketSSHKeySpec) DeepCopy() *PacketSSHKeySpec

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

func (*PacketSSHKeySpec) DeepCopyInto

func (in *PacketSSHKeySpec) DeepCopyInto(out *PacketSSHKeySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RollbackConfig

type RollbackConfig struct {
	// The revision to rollback to. If set to 0, rollback to the last revision.
	// +optional
	Revision int64
}

func (*RollbackConfig) DeepCopy

func (in *RollbackConfig) DeepCopy() *RollbackConfig

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

func (*RollbackConfig) DeepCopyInto

func (in *RollbackConfig) DeepCopyInto(out *RollbackConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RollingUpdateMachineDeployment

type RollingUpdateMachineDeployment struct {
	// The maximum number of machines that can be unavailable during the update.
	// Value can be an absolute number (ex: 5) or a percentage of desired machines (ex: 10%).
	// Absolute number is calculated from percentage by rounding down.
	// This can not be 0 if MaxSurge is 0.
	// By default, a fixed value of 1 is used.
	// Example: when this is set to 30%, the old MC can be scaled down to 70% of desired machines
	// immediately when the rolling update starts. Once new machines are ready, old MC
	// can be scaled down further, followed by scaling up the new MC, ensuring
	// that the total number of machines available at all times during the update is at
	// least 70% of desired machines.
	// +optional
	MaxUnavailable *intstr.IntOrString

	// The maximum number of machines that can be scheduled above the desired number of
	// machines.
	// Value can be an absolute number (ex: 5) or a percentage of desired machines (ex: 10%).
	// This can not be 0 if MaxUnavailable is 0.
	// Absolute number is calculated from percentage by rounding up.
	// By default, a value of 1 is used.
	// Example: when this is set to 30%, the new MC can be scaled up immediately when
	// the rolling update starts, such that the total number of old and new machines do not exceed
	// 130% of desired machines. Once old machines have been killed,
	// new MC can be scaled up further, ensuring that total number of machines running
	// at any time during the update is atmost 130% of desired machines.
	// +optional
	MaxSurge *intstr.IntOrString
}

Spec to control the desired behavior of rolling update.

func (*RollingUpdateMachineDeployment) DeepCopy

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

func (*RollingUpdateMachineDeployment) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Scale

type Scale struct {
	metav1.TypeMeta
	// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.
	// +optional
	metav1.ObjectMeta

	// defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.
	// +optional
	Spec ScaleSpec

	// current status of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Read-only.
	// +optional
	Status ScaleStatus
}

represents a scaling request for a resource.

func (*Scale) DeepCopy

func (in *Scale) DeepCopy() *Scale

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

func (*Scale) DeepCopyInto

func (in *Scale) DeepCopyInto(out *Scale)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Scale) DeepCopyObject

func (in *Scale) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ScaleSpec

type ScaleSpec struct {
	// desired number of machines for the scaled object.
	// +optional
	Replicas int32
}

describes the attributes of a scale subresource

func (*ScaleSpec) DeepCopy

func (in *ScaleSpec) DeepCopy() *ScaleSpec

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

func (*ScaleSpec) DeepCopyInto

func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ScaleStatus

type ScaleStatus struct {
	// actual number of observed machines of the scaled object.
	Replicas int32

	// label query over machines that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors
	// +optional
	Selector *metav1.LabelSelector

	// label selector for machines that should match the replicas count. This is a serializated
	// version of both map-based and more expressive set-based selectors. This is done to
	// avoid introspection in the clients. The string will be in the same format as the
	// query-param syntax. If the target type only supports map-based selectors, both this
	// field and map-based selector field are populated.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
	// +optional
	TargetSelector string
}

represents the current status of a scale subresource.

func (*ScaleStatus) DeepCopy

func (in *ScaleStatus) DeepCopy() *ScaleStatus

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

func (*ScaleStatus) DeepCopyInto

func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Directories

Path Synopsis
Package v1alpha1 is the v1alpha1 version of the API.
Package v1alpha1 is the v1alpha1 version of the API.
Package validation is used to validate all the machine CRD objects Package validation is used to validate all the machine CRD objects Package validation is used to validate all the machine CRD objects Package validation is used to validate all the machine CRD objects Package validation is used to validate all the machine CRD objects Package validation is used to validate all the machine CRD objects Package validation is used to validate all the machine CRD objects Package validation is used to validate all the machine CRD objects Package validation is used to validate all the machine CRD objects
Package validation is used to validate all the machine CRD objects Package validation is used to validate all the machine CRD objects Package validation is used to validate all the machine CRD objects Package validation is used to validate all the machine CRD objects Package validation is used to validate all the machine CRD objects Package validation is used to validate all the machine CRD objects Package validation is used to validate all the machine CRD objects Package validation is used to validate all the machine CRD objects Package validation is used to validate all the machine CRD objects

Jump to

Keyboard shortcuts

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