Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the AMI v1beta1 API group +kubebuilder:object:generate=true +k8s:defaulter-gen=TypeMeta +groupName=ami.aws.infrastructure.cluster.x-k8s.io
Index ¶
Constants ¶
const ( // AWSAMIKind defines an AMI kind. AWSAMIKind = "AWSAMI" // AWSAMIListKind defines an AWSAMIList kind. AWSAMIListKind = "AWSAMIList" )
Constants.
const GroupName = "ami.aws.infrastructure.cluster.x-k8s.io"
GroupName is the group name used in this package.
Variables ¶
var ( // SchemeGroupVersion is the fully qualified group and version. SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"} // SchemeBuilder is the scheme builder with scheme init functions to run for this API package. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a global function that registers this API group & version to a scheme. AddToScheme = localSchemeBuilder.AddToScheme )
Functions ¶
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
Types ¶
type AWSAMI ¶
type AWSAMI struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AWSAMISpec `json:"spec,omitempty"` }
AWSAMI defines an AMI.
func (*AWSAMI) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSAMI.
func (*AWSAMI) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AWSAMI) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AWSAMI) GetObjectKind ¶
func (a *AWSAMI) GetObjectKind() schema.ObjectKind
GetObjectKind will return the ObjectKind of an AWSAMI.
type AWSAMIList ¶
type AWSAMIList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AWSAMI `json:"items"` }
AWSAMIList defines a list of AMIs.
func (*AWSAMIList) DeepCopy ¶
func (in *AWSAMIList) DeepCopy() *AWSAMIList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSAMIList.
func (*AWSAMIList) DeepCopyInto ¶
func (in *AWSAMIList) DeepCopyInto(out *AWSAMIList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AWSAMIList) DeepCopyObject ¶
func (in *AWSAMIList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AWSAMIList) GetObjectKind ¶
func (a *AWSAMIList) GetObjectKind() schema.ObjectKind
GetObjectKind will return the ObjectKind of an AWSAMIList.
func (*AWSAMIList) ToTable ¶
func (a *AWSAMIList) ToTable() *metav1.Table
ToTable will convert an AWSAMIList to a Table.
type AWSAMISpec ¶
type AWSAMISpec struct { OS string `json:"os"` Region string `json:"region"` ImageID string `json:"imageID"` KubernetesVersion string `json:"kubernetesVersion"` }
AWSAMISpec defines an AMI.
func (*AWSAMISpec) DeepCopy ¶
func (in *AWSAMISpec) DeepCopy() *AWSAMISpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSAMISpec.
func (*AWSAMISpec) DeepCopyInto ¶
func (in *AWSAMISpec) DeepCopyInto(out *AWSAMISpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.