v1beta1

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

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

View Source
const (
	// AWSAMIKind defines an AMI kind.
	AWSAMIKind = "AWSAMI"

	// AWSAMIListKind defines an AWSAMIList kind.
	AWSAMIListKind = "AWSAMIList"
)

Constants.

View Source
const GroupName = "ami.aws.infrastructure.cluster.x-k8s.io"

GroupName is the group name used in this package.

Variables

View Source
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

func RegisterDefaults(scheme *runtime.Scheme) error

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

func (in *AWSAMI) DeepCopy() *AWSAMI

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

func (*AWSAMI) DeepCopyInto

func (in *AWSAMI) DeepCopyInto(out *AWSAMI)

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

func (*AWSAMI) DeepCopyObject

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

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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