Documentation ¶
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type AWSClusterProviderConfig
- type AWSClusterProviderStatus
- type AWSMachineProviderCondition
- type AWSMachineProviderConditionType
- type AWSMachineProviderConfig
- type AWSMachineProviderStatus
- type AWSResourceReference
- type Filter
- type Placement
- type TagSpecification
Constants ¶
const GroupName = "aws.cluster.k8s.io"
GroupName is group name of the cluster kinds
Variables ¶
var ( // SchemeBuilder with scheme builder SchemeBuilder runtime.SchemeBuilder // AddToScheme is method for adding objects to the scheme AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is scheme group version of the cluster kinds
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource returns group resource for a given resource
Types ¶
type AWSClusterProviderConfig ¶
AWSClusterProviderConfig is aws speific configuration +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*AWSClusterProviderConfig) DeepCopy ¶
func (in *AWSClusterProviderConfig) DeepCopy() *AWSClusterProviderConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterProviderConfig.
func (*AWSClusterProviderConfig) DeepCopyInto ¶
func (in *AWSClusterProviderConfig) DeepCopyInto(out *AWSClusterProviderConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AWSClusterProviderConfig) DeepCopyObject ¶
func (in *AWSClusterProviderConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AWSClusterProviderStatus ¶
AWSClusterProviderStatus is AWS specific status +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*AWSClusterProviderStatus) DeepCopy ¶
func (in *AWSClusterProviderStatus) DeepCopy() *AWSClusterProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterProviderStatus.
func (*AWSClusterProviderStatus) DeepCopyInto ¶
func (in *AWSClusterProviderStatus) DeepCopyInto(out *AWSClusterProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AWSClusterProviderStatus) DeepCopyObject ¶
func (in *AWSClusterProviderStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AWSMachineProviderCondition ¶
type AWSMachineProviderCondition struct { // Type is the type of the condition. Type AWSMachineProviderConditionType // Status is the status of the condition. Status corev1.ConditionStatus // LastProbeTime is the last time we probed the condition. // +optional LastProbeTime metav1.Time // LastTransitionTime is the last time the condition transitioned from one status to another. // +optional LastTransitionTime metav1.Time // Reason is a unique, one-word, CamelCase reason for the condition's last transition. // +optional Reason string // Message is a human-readable message indicating details about last transition. // +optional Message string }
AWSMachineProviderCondition is a condition in a AWSMachineProviderStatus
func (*AWSMachineProviderCondition) DeepCopy ¶
func (in *AWSMachineProviderCondition) DeepCopy() *AWSMachineProviderCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineProviderCondition.
func (*AWSMachineProviderCondition) DeepCopyInto ¶
func (in *AWSMachineProviderCondition) DeepCopyInto(out *AWSMachineProviderCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AWSMachineProviderConditionType ¶
type AWSMachineProviderConditionType string
AWSMachineProviderConditionType is a valid value for AWSMachineProviderCondition.Type
const ( // MachineCreation indicates whether the machine has been created or not. If not, // it should include a reason and message for the failure. MachineCreation AWSMachineProviderConditionType = "MachineCreation" )
Valid conditions for an AWS machine instance
type AWSMachineProviderConfig ¶
type AWSMachineProviderConfig struct { metav1.TypeMeta // AMI is the reference to the AMI from which to create the machine instance. AMI AWSResourceReference // InstanceType is the type of instance to create. Example: m4.xlarge InstanceType string // Tags is the set of tags to add to apply to an instance, in addition to the ones // added by default by the actuator. These tags are additive. The actuator will ensure // these tags are present, but will not remove any other tags that may exist on the // instance. Tags []TagSpecification // IAMInstanceProfile is a reference to an IAM role to assign to the instance IAMInstanceProfile *AWSResourceReference // UserDataSecret contains a local reference to a secret that contains the // UserData to apply to the instance UserDataSecret *corev1.LocalObjectReference // CredentialsSecret is a reference to the secret with AWS credentials. Otherwise, defaults to permissions // provided by attached IAM role where the actuator is running. CredentialsSecret *corev1.LocalObjectReference // KeyName is the name of the KeyPair to use for SSH KeyName *string // DeviceIndex is the index of the device on the instance for the network interface attachment. // Defaults to 0. DeviceIndex int64 // PublicIP specifies whether the instance should get a public IP. If not present, // it should use the default of its subnet. PublicIP *bool // SecurityGroups is an array of references to security groups that should be applied to the // instance. SecurityGroups []AWSResourceReference // Subnet is a reference to the subnet to use for this instance Subnet AWSResourceReference // Placement specifies where to create the instance in AWS Placement Placement // LoadBalancerIDs is the IDs of the load balancers to which the new instance // should be added once it is created. LoadBalancerIDs []AWSResourceReference }
AWSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderConfig field for an AWS instance. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*AWSMachineProviderConfig) DeepCopy ¶
func (in *AWSMachineProviderConfig) DeepCopy() *AWSMachineProviderConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineProviderConfig.
func (*AWSMachineProviderConfig) DeepCopyInto ¶
func (in *AWSMachineProviderConfig) DeepCopyInto(out *AWSMachineProviderConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AWSMachineProviderConfig) DeepCopyObject ¶
func (in *AWSMachineProviderConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AWSMachineProviderStatus ¶
type AWSMachineProviderStatus struct { metav1.TypeMeta // InstanceID is the instance ID of the machine created in AWS InstanceID *string // InstanceState is the state of the AWS instance for this machine InstanceState *string // Conditions is a set of conditions associated with the Machine to indicate // errors or other status Conditions []AWSMachineProviderCondition }
AWSMachineProviderStatus is the type that will be embedded in a Machine.Status.ProviderStatus field. It containsk AWS-specific status information. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*AWSMachineProviderStatus) DeepCopy ¶
func (in *AWSMachineProviderStatus) DeepCopy() *AWSMachineProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineProviderStatus.
func (*AWSMachineProviderStatus) DeepCopyInto ¶
func (in *AWSMachineProviderStatus) DeepCopyInto(out *AWSMachineProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AWSMachineProviderStatus) DeepCopyObject ¶
func (in *AWSMachineProviderStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AWSResourceReference ¶
type AWSResourceReference struct { // ID of resource ID *string // ARN of resource ARN *string // Filters is a set of filters used to identify a resource Filters []Filter }
AWSResourceReference is a reference to a specific AWS resource by ID, ARN, or filters. Only one of ID, ARN or Filters may be specified. Specifying more than one will result in a validation error.
func (*AWSResourceReference) DeepCopy ¶
func (in *AWSResourceReference) DeepCopy() *AWSResourceReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSResourceReference.
func (*AWSResourceReference) DeepCopyInto ¶
func (in *AWSResourceReference) DeepCopyInto(out *AWSResourceReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Filter ¶
type Filter struct { // Name of the filter. Filter names are case-sensitive. Name string // Values includes one or more filter values. Filter values are case-sensitive. Values []string }
Filter is a filter used to identify an AWS resource
func (*Filter) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Filter.
func (*Filter) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Placement ¶
type Placement struct { // Region is the region to use to create the instance Region string // AvailabilityZone is the availability zone of the instance AvailabilityZone string }
Placement indicates where to create the instance in AWS
func (*Placement) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Placement.
func (*Placement) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TagSpecification ¶
TagSpecification is the name/value pair for a tag
func (*TagSpecification) DeepCopy ¶
func (in *TagSpecification) DeepCopy() *TagSpecification
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagSpecification.
func (*TagSpecification) DeepCopyInto ¶
func (in *TagSpecification) DeepCopyInto(out *TagSpecification)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.