v1alpha1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the aws v1alpha1 API group +kubebuilder:object:generate=true +groupName=aws.kraken-iac.eoinfennessy.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "aws.kraken-iac.eoinfennessy.com", Version: "v1alpha1"}

	// 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 EC2Instance

type EC2Instance struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   EC2InstanceSpec   `json:"spec,omitempty"`
	Status EC2InstanceStatus `json:"status,omitempty"`
}

EC2Instance is the Schema for the ec2instances API

func (*EC2Instance) DeepCopy

func (in *EC2Instance) DeepCopy() *EC2Instance

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

func (*EC2Instance) DeepCopyInto

func (in *EC2Instance) DeepCopyInto(out *EC2Instance)

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

func (*EC2Instance) DeepCopyObject

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

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

func (*EC2Instance) SetupWebhookWithManager

func (r *EC2Instance) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager will setup the manager to manage the webhooks

func (*EC2Instance) ValidateCreate

func (r *EC2Instance) ValidateCreate() (admission.Warnings, error)

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*EC2Instance) ValidateDelete

func (r *EC2Instance) ValidateDelete() (admission.Warnings, error)

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*EC2Instance) ValidateUpdate

func (r *EC2Instance) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type EC2InstanceList

type EC2InstanceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []EC2Instance `json:"items"`
}

EC2InstanceList contains a list of EC2Instance

func (*EC2InstanceList) DeepCopy

func (in *EC2InstanceList) DeepCopy() *EC2InstanceList

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

func (*EC2InstanceList) DeepCopyInto

func (in *EC2InstanceList) DeepCopyInto(out *EC2InstanceList)

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

func (*EC2InstanceList) DeepCopyObject

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

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

type EC2InstanceSpec

type EC2InstanceSpec struct {
	ImageID      option.String `json:"imageID"`
	InstanceType option.String `json:"instanceType"`
	MaxCount     option.Int    `json:"maxCount"`
	MinCount     option.Int    `json:"minCount"`

	// +optional
	Tags map[string]string `json:"tags,omitempty"`
}

EC2InstanceSpec defines the desired state of EC2Instance

func (*EC2InstanceSpec) DeepCopy

func (in *EC2InstanceSpec) DeepCopy() *EC2InstanceSpec

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

func (*EC2InstanceSpec) DeepCopyInto

func (in *EC2InstanceSpec) DeepCopyInto(out *EC2InstanceSpec)

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

func (EC2InstanceSpec) GenerateDependencyRequestSpec

func (s EC2InstanceSpec) GenerateDependencyRequestSpec() v1alpha1.DependencyRequestSpec

type EC2InstanceStatus

type EC2InstanceStatus struct {
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}

EC2InstanceStatus defines the observed state of EC2Instance

func (*EC2InstanceStatus) DeepCopy

func (in *EC2InstanceStatus) DeepCopy() *EC2InstanceStatus

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

func (*EC2InstanceStatus) DeepCopyInto

func (in *EC2InstanceStatus) DeepCopyInto(out *EC2InstanceStatus)

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

Jump to

Keyboard shortcuts

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