Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the aws v1 API group +kubebuilder:object:generate=true +groupName=aws.my.domain
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "aws.my.controller", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type CredentialsSecret ¶
type CredentialsSecret struct { // Name of the secret containing credentials Name string `json:"name"` // Namespace where the secret resides Namespace string `json:"namespace,omitempty"` // Region of the AWS account Region string `json:"region,omitempty"` }
CredentialsSecret defines the reference to the secret containing AWS credentials
func (*CredentialsSecret) DeepCopy ¶
func (in *CredentialsSecret) DeepCopy() *CredentialsSecret
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialsSecret.
func (*CredentialsSecret) DeepCopyInto ¶
func (in *CredentialsSecret) DeepCopyInto(out *CredentialsSecret)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceStatus ¶
type InstanceStatus struct { InstanceId string `json:"instanceId,omitempty"` State string `json:"state,omitempty"` PrivateIpAddresses string `json:"privateIpAddresses,omitempty"` PublicIpAddresses string `json:"publicIpAddresses,omitempty"` }
func (*InstanceStatus) DeepCopy ¶
func (in *InstanceStatus) DeepCopy() *InstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStatus.
func (*InstanceStatus) DeepCopyInto ¶
func (in *InstanceStatus) DeepCopyInto(out *InstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Vm ¶
type Vm struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VmSpec `json:"spec,omitempty"` Status VmStatus `json:"status,omitempty"` // CredentialsSecretRef specifies the reference to the secret containing AWS credentials (optional) CredentialsSecretRef CredentialsSecret `json:"credentialsSecretRef,omitempty"` }
Vm is the Schema for the vms API
func (*Vm) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Vm.
func (*Vm) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Vm) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VmList ¶
type VmList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Vm `json:"items"` }
VmList contains a list of Vm
func (*VmList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VmList.
func (*VmList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VmList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VmSpec ¶
type VmSpec struct { Name string `json:"name,omitempty"` MaxCount int `json:"maxCount,omitempty"` MinCount int `json:"minCount,omitempty"` ImageId string `json:"imageId,omitempty"` InstanceType string `json:"instanceType,omitempty"` KeyName string `json:"keyName,omitempty"` SecurityGroupIds []string `json:"securityGroupIds,omitempty"` SubnetId string `json:"subnetId,omitempty"` UserData string `json:"userData,omitempty"` DryRun bool `json:"dryRun,omitempty"` IamInstanceProfile string `json:"iamInstanceProfile,omitempty"` }
VmSpec defines the desired state of Vm
func (*VmSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VmSpec.
func (*VmSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VmStatus ¶
type VmStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Status string `json:"status,omitempty"` Error string `json:"error,omitempty"` InstanceStatus []InstanceStatus `json:"instanceStatus,omitempty"` }
VmStatus defines the observed state of Vm
func (*VmStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VmStatus.
func (*VmStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.