machine

package
v1.2.5-dev6 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: Apache-2.0, BSD-3-Clause 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 (
	// MachineSetKindAvailabilitySet is the machine set kind for AvailabilitySet
	MachineSetKindAvailabilitySet string = "availabilityset"
	// MachineSetKindVMO is the machine set kind for VirtualMachineScaleSet Orchestration Mode VM (VMO)
	MachineSetKindVMO string = "vmo"
)
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 added in v1.0.5

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 added in v1.0.5

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

func (*AWSBlockDeviceMappingSpec) DeepCopyInto added in v1.0.5

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

type AWSEbsBlockDeviceSpec added in v1.0.5

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

	// Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed
	// CMK under which the EBS volume is encrypted.
	//
	// This parameter is only supported on BlockDeviceMapping objects called by
	// RunInstances (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html),
	// RequestSpotFleet (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html),
	// and RequestSpotInstances (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html).
	KmsKeyID *string

	// The ID of the snapshot.
	SnapshotID *string

	// 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 added in v1.0.5

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

func (*AWSEbsBlockDeviceSpec) DeepCopyInto added in v1.0.5

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 added in v1.0.5

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 added in v1.0.5

func (in *AWSIAMProfileSpec) DeepCopy() *AWSIAMProfileSpec

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

func (*AWSIAMProfileSpec) DeepCopyInto added in v1.0.5

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 added in v1.0.5

type AWSMachineClass struct {
	metav1.ObjectMeta

	metav1.TypeMeta

	Spec AWSMachineClassSpec
}

AWSMachineClass TODO

func (*AWSMachineClass) DeepCopy added in v1.0.5

func (in *AWSMachineClass) DeepCopy() *AWSMachineClass

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

func (*AWSMachineClass) DeepCopyInto added in v1.0.5

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 added in v1.0.5

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

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

type AWSMachineClassList added in v1.0.5

type AWSMachineClassList struct {
	metav1.TypeMeta

	metav1.ListMeta

	Items []AWSMachineClass
}

AWSMachineClassList is a collection of AWSMachineClasses.

func (*AWSMachineClassList) DeepCopy added in v1.0.5

func (in *AWSMachineClassList) DeepCopy() *AWSMachineClassList

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

func (*AWSMachineClassList) DeepCopyInto added in v1.0.5

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 added in v1.0.5

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

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

type AWSMachineClassSpec added in v1.0.5

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
	SpotPrice            *string
	SecretRef            *corev1.SecretReference
	CredentialsSecretRef *corev1.SecretReference
}

AWSMachineClassSpec is the specification of a AWSMachineClass.

func (*AWSMachineClassSpec) DeepCopy added in v1.0.5

func (in *AWSMachineClassSpec) DeepCopy() *AWSMachineClassSpec

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

func (*AWSMachineClassSpec) DeepCopyInto added in v1.0.5

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 added in v1.0.5

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 added in v1.0.5

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

func (*AWSNetworkInterfaceSpec) DeepCopyInto added in v1.0.5

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

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

type AlicloudDataDisk added in v1.0.5

type AlicloudDataDisk struct {
	Name               string
	Category           string
	Description        string
	Encrypted          bool
	Size               int
	DeleteWithInstance *bool
}

AlicloudDataDisk describes DataDisk for Alicloud.

func (*AlicloudDataDisk) DeepCopy added in v1.0.5

func (in *AlicloudDataDisk) DeepCopy() *AlicloudDataDisk

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

func (*AlicloudDataDisk) DeepCopyInto added in v1.0.5

func (in *AlicloudDataDisk) DeepCopyInto(out *AlicloudDataDisk)

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

type AlicloudMachineClass added in v1.0.5

type AlicloudMachineClass struct {
	metav1.ObjectMeta

	metav1.TypeMeta

	Spec AlicloudMachineClassSpec
}

AlicloudMachineClass

func (*AlicloudMachineClass) DeepCopy added in v1.0.5

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

func (*AlicloudMachineClass) DeepCopyInto added in v1.0.5

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 added in v1.0.5

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

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

type AlicloudMachineClassList added in v1.0.5

type AlicloudMachineClassList struct {
	metav1.TypeMeta

	metav1.ListMeta

	Items []AlicloudMachineClass
}

AlicloudMachineClassList is a collection of AlicloudMachineClasses.

func (*AlicloudMachineClassList) DeepCopy added in v1.0.5

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

func (*AlicloudMachineClassList) DeepCopyInto added in v1.0.5

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 added in v1.0.5

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

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

type AlicloudMachineClassSpec added in v1.0.5

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

AlicloudMachineClassSpec is the specification of a AlicloudMachineClass.

func (*AlicloudMachineClassSpec) DeepCopy added in v1.0.5

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

func (*AlicloudMachineClassSpec) DeepCopyInto added in v1.0.5

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 added in v1.0.5

type AlicloudSystemDisk struct {
	Category string
	Size     int
}

AlicloudSystemDisk describes SystemDisk for Alicloud.

func (*AlicloudSystemDisk) DeepCopy added in v1.0.5

func (in *AlicloudSystemDisk) DeepCopy() *AlicloudSystemDisk

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

func (*AlicloudSystemDisk) DeepCopyInto added in v1.0.5

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

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

type AzureDataDisk added in v1.0.5

type AzureDataDisk struct {
	Name               string
	Lun                *int32
	Caching            string
	StorageAccountType string
	DiskSizeGB         int32
}

func (*AzureDataDisk) DeepCopy added in v1.0.5

func (in *AzureDataDisk) DeepCopy() *AzureDataDisk

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

func (*AzureDataDisk) DeepCopyInto added in v1.0.5

func (in *AzureDataDisk) DeepCopyInto(out *AzureDataDisk)

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

type AzureHardwareProfile added in v1.0.5

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 added in v1.0.5

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

func (*AzureHardwareProfile) DeepCopyInto added in v1.0.5

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 added in v1.0.5

type AzureImageReference struct {
	ID  string
	URN *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 added in v1.0.5

func (in *AzureImageReference) DeepCopy() *AzureImageReference

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

func (*AzureImageReference) DeepCopyInto added in v1.0.5

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 added in v1.0.5

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 added in v1.0.5

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

func (*AzureLinuxConfiguration) DeepCopyInto added in v1.0.5

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 added in v1.0.5

type AzureMachineClass struct {
	metav1.ObjectMeta

	metav1.TypeMeta

	Spec AzureMachineClassSpec
}

AzureMachineClass TODO

func (*AzureMachineClass) DeepCopy added in v1.0.5

func (in *AzureMachineClass) DeepCopy() *AzureMachineClass

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

func (*AzureMachineClass) DeepCopyInto added in v1.0.5

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 added in v1.0.5

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

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

type AzureMachineClassList added in v1.0.5

type AzureMachineClassList struct {
	metav1.TypeMeta

	metav1.ListMeta

	Items []AzureMachineClass
}

AzureMachineClassList is a collection of AzureMachineClasses.

func (*AzureMachineClassList) DeepCopy added in v1.0.5

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

func (*AzureMachineClassList) DeepCopyInto added in v1.0.5

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 added in v1.0.5

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

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

type AzureMachineClassSpec added in v1.0.5

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

AzureMachineClassSpec is the specification of a AzureMachineClass.

func (*AzureMachineClassSpec) DeepCopy added in v1.0.5

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

func (*AzureMachineClassSpec) DeepCopyInto added in v1.0.5

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

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

type AzureMachineSetConfig added in v1.0.5

type AzureMachineSetConfig struct {
	ID   string
	Kind string
}

AzureMachineSetConfig contains the information about the machine set

func (*AzureMachineSetConfig) DeepCopy added in v1.0.5

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

func (*AzureMachineSetConfig) DeepCopyInto added in v1.0.5

func (in *AzureMachineSetConfig) DeepCopyInto(out *AzureMachineSetConfig)

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

type AzureManagedDiskParameters added in v1.0.5

type AzureManagedDiskParameters struct {
	ID                 string
	StorageAccountType string
}

AzureManagedDiskParameters is the parameters of a managed disk.

func (*AzureManagedDiskParameters) DeepCopy added in v1.0.5

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

func (*AzureManagedDiskParameters) DeepCopyInto added in v1.0.5

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

type AzureNetworkInterfaceReference added in v1.0.5

type AzureNetworkInterfaceReference struct {
	ID string
	*AzureNetworkInterfaceReferenceProperties
}

AzureNetworkInterfaceReference is describes a network interface reference.

func (*AzureNetworkInterfaceReference) DeepCopy added in v1.0.5

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

func (*AzureNetworkInterfaceReference) DeepCopyInto added in v1.0.5

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

type AzureNetworkInterfaceReferenceProperties added in v1.0.5

type AzureNetworkInterfaceReferenceProperties struct {
	Primary bool
}

AzureNetworkInterfaceReferenceProperties is describes a network interface reference properties.

func (*AzureNetworkInterfaceReferenceProperties) DeepCopy added in v1.0.5

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

func (*AzureNetworkInterfaceReferenceProperties) DeepCopyInto added in v1.0.5

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

type AzureNetworkProfile added in v1.0.5

type AzureNetworkProfile struct {
	NetworkInterfaces     AzureNetworkInterfaceReference
	AcceleratedNetworking *bool
}

AzureNetworkProfile is specifies the network interfaces of the virtual machine.

func (*AzureNetworkProfile) DeepCopy added in v1.0.5

func (in *AzureNetworkProfile) DeepCopy() *AzureNetworkProfile

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

func (*AzureNetworkProfile) DeepCopyInto added in v1.0.5

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 added in v1.0.5

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 added in v1.0.5

func (in *AzureOSDisk) DeepCopy() *AzureOSDisk

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

func (*AzureOSDisk) DeepCopyInto added in v1.0.5

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 added in v1.0.5

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 added in v1.0.5

func (in *AzureOSProfile) DeepCopy() *AzureOSProfile

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

func (*AzureOSProfile) DeepCopyInto added in v1.0.5

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 added in v1.0.5

type AzureSSHConfiguration struct {
	PublicKeys AzureSSHPublicKey
}

AzureSSHConfiguration is SSH configuration for Linux based VMs running on Azure

func (*AzureSSHConfiguration) DeepCopy added in v1.0.5

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

func (*AzureSSHConfiguration) DeepCopyInto added in v1.0.5

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 added in v1.0.5

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 added in v1.0.5

func (in *AzureSSHPublicKey) DeepCopy() *AzureSSHPublicKey

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

func (*AzureSSHPublicKey) DeepCopyInto added in v1.0.5

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 added in v1.0.5

type AzureStorageProfile struct {
	ImageReference AzureImageReference
	OsDisk         AzureOSDisk
	DataDisks      []AzureDataDisk
}

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

func (*AzureStorageProfile) DeepCopy added in v1.0.5

func (in *AzureStorageProfile) DeepCopy() *AzureStorageProfile

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

func (*AzureStorageProfile) DeepCopyInto added in v1.0.5

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 added in v1.0.5

type AzureSubResource struct {
	ID string
}

AzureSubResource is the Sub Resource definition.

func (*AzureSubResource) DeepCopy added in v1.0.5

func (in *AzureSubResource) DeepCopy() *AzureSubResource

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

func (*AzureSubResource) DeepCopyInto added in v1.0.5

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 added in v1.0.5

type AzureSubnetInfo struct {
	VnetName          string
	VnetResourceGroup *string
	SubnetName        string
}

AzureSubnetInfo is the information containing the subnet details

func (*AzureSubnetInfo) DeepCopy added in v1.0.5

func (in *AzureSubnetInfo) DeepCopy() *AzureSubnetInfo

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

func (*AzureSubnetInfo) DeepCopyInto added in v1.0.5

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 added in v1.0.5

type AzureVirtualMachineProperties struct {
	HardwareProfile AzureHardwareProfile
	StorageProfile  AzureStorageProfile
	OsProfile       AzureOSProfile
	NetworkProfile  AzureNetworkProfile
	AvailabilitySet *AzureSubResource
	IdentityID      *string
	Zone            *int
	MachineSet      *AzureMachineSetConfig
}

AzureVirtualMachineProperties is describes the properties of a Virtual Machine.

func (*AzureVirtualMachineProperties) DeepCopy added in v1.0.5

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

func (*AzureVirtualMachineProperties) DeepCopyInto added in v1.0.5

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 {
	Phase MachinePhase

	TimeoutActive bool

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

CurrentStatus contains information about the current status of Machine.

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 added in v1.0.5

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

GCPDisk describes disks for GCP.

func (*GCPDisk) DeepCopy added in v1.0.5

func (in *GCPDisk) DeepCopy() *GCPDisk

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

func (*GCPDisk) DeepCopyInto added in v1.0.5

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 added in v1.0.5

type GCPMachineClass struct {
	metav1.ObjectMeta

	metav1.TypeMeta

	Spec GCPMachineClassSpec
}

GCPMachineClass TODO

func (*GCPMachineClass) DeepCopy added in v1.0.5

func (in *GCPMachineClass) DeepCopy() *GCPMachineClass

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

func (*GCPMachineClass) DeepCopyInto added in v1.0.5

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 added in v1.0.5

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

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

type GCPMachineClassList added in v1.0.5

type GCPMachineClassList struct {
	metav1.TypeMeta

	metav1.ListMeta

	Items []GCPMachineClass
}

GCPMachineClassList is a collection of GCPMachineClasses.

func (*GCPMachineClassList) DeepCopy added in v1.0.5

func (in *GCPMachineClassList) DeepCopy() *GCPMachineClassList

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

func (*GCPMachineClassList) DeepCopyInto added in v1.0.5

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 added in v1.0.5

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

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

type GCPMachineClassSpec added in v1.0.5

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
	CredentialsSecretRef *corev1.SecretReference
	ServiceAccounts      []GCPServiceAccount
	Tags                 []string
	Region               string
	Zone                 string
}

GCPMachineClassSpec is the specification of a GCPMachineClass.

func (*GCPMachineClassSpec) DeepCopy added in v1.0.5

func (in *GCPMachineClassSpec) DeepCopy() *GCPMachineClassSpec

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

func (*GCPMachineClassSpec) DeepCopyInto added in v1.0.5

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 added in v1.0.5

type GCPMetadata struct {
	Key   string
	Value *string
}

GCPMetadata describes metadata for GCP.

func (*GCPMetadata) DeepCopy added in v1.0.5

func (in *GCPMetadata) DeepCopy() *GCPMetadata

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

func (*GCPMetadata) DeepCopyInto added in v1.0.5

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 added in v1.0.5

type GCPNetworkInterface struct {
	DisableExternalIP bool
	Network           string
	Subnetwork        string
}

GCPNetworkInterface describes network interfaces for GCP

func (*GCPNetworkInterface) DeepCopy added in v1.0.5

func (in *GCPNetworkInterface) DeepCopy() *GCPNetworkInterface

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

func (*GCPNetworkInterface) DeepCopyInto added in v1.0.5

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 added in v1.0.5

type GCPScheduling struct {
	AutomaticRestart  bool
	OnHostMaintenance string
	Preemptible       bool
}

GCPScheduling describes scheduling configuration for GCP.

func (*GCPScheduling) DeepCopy added in v1.0.5

func (in *GCPScheduling) DeepCopy() *GCPScheduling

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

func (*GCPScheduling) DeepCopyInto added in v1.0.5

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 added in v1.0.5

type GCPServiceAccount struct {
	Email  string
	Scopes []string
}

GCPServiceAccount describes service accounts for GCP.

func (*GCPServiceAccount) DeepCopy added in v1.0.5

func (in *GCPServiceAccount) DeepCopy() *GCPServiceAccount

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

func (*GCPServiceAccount) DeepCopyInto added in v1.0.5

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 MachineClass

type MachineClass struct {
	metav1.TypeMeta

	// +optional
	metav1.ObjectMeta

	// +optional
	// NodeTemplate contains subfields to track all node resources and other node info required to scale nodegroup from zero
	NodeTemplate *NodeTemplate

	// CredentialsSecretRef can optionally store the credentials (in this case the SecretRef does not need to store them).
	// This might be useful if multiple machine classes with the same credentials but different user-datas are used.
	CredentialsSecretRef *corev1.SecretReference

	// Provider is the combination of name and location of cloud-specific drivers.
	// eg. awsdriver//127.0.0.1:8080
	Provider string

	// Provider-specific configuration to use during node creation.
	ProviderSpec runtime.RawExtension

	// SecretRef stores the necessary secrets such as credentials or userdata.
	SecretRef *corev1.SecretReference
}

MachineClass can be used to templatize and re-use provider configuration across multiple Machines / MachineSets / MachineDeployments. +k8s:openapi-gen=true +resource:path=machineclasses

func (*MachineClass) DeepCopy

func (in *MachineClass) DeepCopy() *MachineClass

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

func (*MachineClass) DeepCopyInto

func (in *MachineClass) DeepCopyInto(out *MachineClass)

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

func (*MachineClass) DeepCopyObject

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

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

type MachineClassList

type MachineClassList struct {
	metav1.TypeMeta
	metav1.ListMeta
	Items []MachineClass
}

MachineClassList contains a list of MachineClasses

func (*MachineClassList) DeepCopy

func (in *MachineClassList) DeepCopy() *MachineClassList

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

func (*MachineClassList) DeepCopyInto

func (in *MachineClassList) DeepCopyInto(out *MachineClassList)

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

func (*MachineClassList) DeepCopyObject

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

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

type MachineConfiguration

type MachineConfiguration struct {
	// MachineDrainTimeout is the time out after which machine is deleted force-fully.
	MachineDrainTimeout *metav1.Duration

	// MachineHealthTimeout is the timeout after which machine is declared unhealthy/failed.
	MachineHealthTimeout *metav1.Duration

	// MachineCreationTimeout is the timeout after which machinie creation is declared failed.
	MachineCreationTimeout *metav1.Duration

	// MaxEvictRetries is the number of retries that will be attempted while draining the node.
	MaxEvictRetries *int32

	// NodeConditions are the set of conditions if set to true for MachineHealthTimeOut, machine will be declared failed.
	NodeConditions *string
}

MachineConfiguration describes the configurations useful for the machine-controller.

func (*MachineConfiguration) DeepCopy

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

func (*MachineConfiguration) DeepCopyInto

func (in *MachineConfiguration) DeepCopyInto(out *MachineConfiguration)

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

type MachineDeployment

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

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

	// Most recently observed status of the MachineDeployment.
	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.
	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
	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.
	Replicas int32

	// Label selector for machines. Existing MachineSets whose machines are
	// selected by this will be the ones affected by this MachineDeployment.
	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.
	// +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)
	MinReadySeconds int32

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

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

	// DEPRECATED.
	// The config this MachineDeployment is rolling back to. Will be cleared after rollback is done.
	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.
	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.
	ObservedGeneration int64

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

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

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

	// Total number of available machines (ready for at least minReadySeconds) targeted by this MachineDeployment.
	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.
	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.
	CollisionCount *int32

	// FailedMachines has summary of machines on which lastOperation Failed
	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.
	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.
	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"

	// MachineCrashLoopBackOff means creation or deletion of the machine is failing.
	MachineCrashLoopBackOff MachinePhase = "CrashLoopBackOff"
)

These are the valid statuses of machines.

type MachineSet

type MachineSet struct {
	metav1.ObjectMeta

	metav1.TypeMeta

	Spec MachineSetSpec

	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.
	LastTransitionTime metav1.Time

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

	// A human readable message indicating details about the transition.
	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 {
	metav1.TypeMeta

	metav1.ListMeta

	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 {
	Replicas int32

	Selector *metav1.LabelSelector

	MachineClass ClassSpec

	Template MachineTemplateSpec

	MinReadySeconds int32
}

MachineSetSpec is the specification of a MachineSet.

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.
	FullyLabeledReplicas int32

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

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

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

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

	// LastOperation performed
	LastOperation LastOperation

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

MachineSetStatus holds the most recently observed status of MachineSet.

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
	Class ClassSpec

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

	NodeTemplateSpec NodeTemplateSpec

	// Configuration for the machine-controller.
	*MachineConfiguration
}

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

	// LastKnownState can store details of the last known state of the VM by the plugins.
	// It can be used by future operation calls to determine current infrastucture state
	// +optional
	LastKnownState string
}

MachineStatus holds the most recently observed status of Machine.

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
	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
	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
	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
	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
	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 NodeTemplate

type NodeTemplate struct {

	// Capacity contains subfields to track all node resources required to scale nodegroup from zero
	Capacity corev1.ResourceList

	// Instance type of the node belonging to nodeGroup
	InstanceType string

	// Region of the node belonging to nodeGroup
	Region string

	// Zone of the node belonging to nodeGroup
	Zone string
}

NodeTemplate contains subfields to track all node resources and other node info required to scale nodegroup from zero

func (*NodeTemplate) DeepCopy

func (in *NodeTemplate) DeepCopy() *NodeTemplate

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

func (*NodeTemplate) DeepCopyInto

func (in *NodeTemplate) DeepCopyInto(out *NodeTemplate)

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

type NodeTemplateSpec

type NodeTemplateSpec struct {
	metav1.ObjectMeta

	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 added in v1.0.5

type OpenStackMachineClass struct {
	metav1.ObjectMeta

	metav1.TypeMeta

	Spec OpenStackMachineClassSpec
}

OpenStackMachineClass TODO

func (*OpenStackMachineClass) DeepCopy added in v1.0.5

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

func (*OpenStackMachineClass) DeepCopyInto added in v1.0.5

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 added in v1.0.5

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

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

type OpenStackMachineClassList added in v1.0.5

type OpenStackMachineClassList struct {
	metav1.TypeMeta

	metav1.ListMeta

	Items []OpenStackMachineClass
}

OpenStackMachineClassList is a collection of OpenStackMachineClasses.

func (*OpenStackMachineClassList) DeepCopy added in v1.0.5

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

func (*OpenStackMachineClassList) DeepCopyInto added in v1.0.5

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

func (*OpenStackMachineClassList) DeepCopyObject added in v1.0.5

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

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

type OpenStackMachineClassSpec added in v1.0.5

type OpenStackMachineClassSpec struct {
	ImageID              string
	ImageName            string
	Region               string
	AvailabilityZone     string
	FlavorName           string
	KeyName              string
	SecurityGroups       []string
	Tags                 map[string]string
	NetworkID            string
	Networks             []OpenStackNetwork
	SubnetID             *string
	SecretRef            *corev1.SecretReference
	CredentialsSecretRef *corev1.SecretReference
	PodNetworkCidr       string
	RootDiskSize         int // in GB
	UseConfigDrive       *bool
	ServerGroupID        *string
}

OpenStackMachineClassSpec is the specification of a OpenStackMachineClass.

func (*OpenStackMachineClassSpec) DeepCopy added in v1.0.5

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

func (*OpenStackMachineClassSpec) DeepCopyInto added in v1.0.5

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

type OpenStackNetwork added in v1.0.5

type OpenStackNetwork struct {
	Id         string
	Name       string
	PodNetwork bool
}

func (*OpenStackNetwork) DeepCopy added in v1.0.5

func (in *OpenStackNetwork) DeepCopy() *OpenStackNetwork

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

func (*OpenStackNetwork) DeepCopyInto added in v1.0.5

func (in *OpenStackNetwork) DeepCopyInto(out *OpenStackNetwork)

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

type PacketMachineClass added in v1.0.5

type PacketMachineClass struct {
	metav1.ObjectMeta

	metav1.TypeMeta

	Spec PacketMachineClassSpec
}

PacketMachineClass TODO

func (*PacketMachineClass) DeepCopy added in v1.0.5

func (in *PacketMachineClass) DeepCopy() *PacketMachineClass

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

func (*PacketMachineClass) DeepCopyInto added in v1.0.5

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 added in v1.0.5

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

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

type PacketMachineClassList added in v1.0.5

type PacketMachineClassList struct {
	metav1.TypeMeta

	metav1.ListMeta

	Items []PacketMachineClass
}

PacketMachineClassList is a collection of PacketMachineClasses.

func (*PacketMachineClassList) DeepCopy added in v1.0.5

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

func (*PacketMachineClassList) DeepCopyInto added in v1.0.5

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 added in v1.0.5

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

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

type PacketMachineClassSpec added in v1.0.5

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

	SecretRef            *corev1.SecretReference
	CredentialsSecretRef *corev1.SecretReference
}

PacketMachineClassSpec is the specification of a PacketMachineClass.

func (*PacketMachineClassSpec) DeepCopy added in v1.0.5

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

func (*PacketMachineClassSpec) DeepCopyInto added in v1.0.5

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

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.
	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.
	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.
	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.

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

Jump to

Keyboard shortcuts

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