machine

package
v0.0.0-...-f4df126 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: Apache-2.0 Imports: 4 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 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 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.

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