v1alpha1

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the aws v1alpha1 API group +kubebuilder:object:generate=true +groupName=aws.k8s.logmein.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.k8s.logmein.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 EIP

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

	Spec   EIPSpec   `json:"spec,omitempty"`
	Status EIPStatus `json:"status,omitempty"`
}

EIP is the Schema for the eips API

func (*EIP) DeepCopy

func (in *EIP) DeepCopy() *EIP

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

func (*EIP) DeepCopyInto

func (in *EIP) DeepCopyInto(out *EIP)

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

func (*EIP) DeepCopyObject

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

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

type EIPAssignment

type EIPAssignment struct {
	// +kubebuilder:validation:MinLength=0
	// +optional
	PodName                  string `json:"podName,omitempty"`
	PrivateIPAddress         string `json:"privateIPAddress,omitempty"`
	ENI                      string `json:"eni,omitempty"`
	ENIPrivateIPAddressIndex int    `json:"eniPrivateIPAddressIndex,omitempty"`
}

func (*EIPAssignment) DeepCopy

func (in *EIPAssignment) DeepCopy() *EIPAssignment

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

func (*EIPAssignment) DeepCopyInto

func (in *EIPAssignment) DeepCopyInto(out *EIPAssignment)

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

type EIPAssociation added in v1.1.0

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

	Spec EIPAssociationSpec `json:"spec,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:printcolumn:name="Pod Name",type=string,JSONPath=`.spec.assignment.podName` +kubebuilder:printcolumn:name="EIP Name",type=string,JSONPath=`.spec.eipName`

func (*EIPAssociation) DeepCopy added in v1.1.0

func (in *EIPAssociation) DeepCopy() *EIPAssociation

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

func (*EIPAssociation) DeepCopyInto added in v1.1.0

func (in *EIPAssociation) DeepCopyInto(out *EIPAssociation)

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

func (*EIPAssociation) DeepCopyObject added in v1.1.0

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

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

type EIPAssociationList added in v1.1.0

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

+kubebuilder:object:root=true

func (*EIPAssociationList) DeepCopy added in v1.1.0

func (in *EIPAssociationList) DeepCopy() *EIPAssociationList

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

func (*EIPAssociationList) DeepCopyInto added in v1.1.0

func (in *EIPAssociationList) DeepCopyInto(out *EIPAssociationList)

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

func (*EIPAssociationList) DeepCopyObject added in v1.1.0

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

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

type EIPAssociationSpec added in v1.1.0

type EIPAssociationSpec struct {
	Assignment *EIPAssignment `json:"assignment,omitempty"`
	EIPName    string         `json:"eipName,omitempty"`
}

func (*EIPAssociationSpec) DeepCopy added in v1.1.0

func (in *EIPAssociationSpec) DeepCopy() *EIPAssociationSpec

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

func (*EIPAssociationSpec) DeepCopyInto added in v1.1.0

func (in *EIPAssociationSpec) DeepCopyInto(out *EIPAssociationSpec)

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

type EIPList

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

EIPList contains a list of EIP

func (*EIPList) DeepCopy

func (in *EIPList) DeepCopy() *EIPList

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

func (*EIPList) DeepCopyInto

func (in *EIPList) DeepCopyInto(out *EIPList)

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

func (*EIPList) DeepCopyObject

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

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

type EIPSpec

type EIPSpec struct {
	// Which resource this EIP should be assigned to.
	//
	// If not given, it will not be assigned to anything.
	//
	// +optional
	Assignment *EIPAssignment `json:"assignment,omitempty"`

	PublicIPv4Pool  string   `json:"publicIPv4Pool,omitempty"`
	PublicIPv4Pools []string `json:"publicIPv4Pools,omitempty"`
	PublicIPAddress string   `json:"publicIPAddress,omitempty"`

	// Tags that will be applied to the created EIP.
	// +optional
	Tags *map[string]string `json:"tags,omitempty"`
}

EIPSpec defines the desired state of EIP

func (*EIPSpec) DeepCopy

func (in *EIPSpec) DeepCopy() *EIPSpec

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

func (*EIPSpec) DeepCopyInto

func (in *EIPSpec) DeepCopyInto(out *EIPSpec)

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

type EIPStatus

type EIPStatus struct {
	// Current state of the EIP object.
	//
	// State transfer diagram:
	//
	//                   /------- unassigning <----\--------------\
	//                   |                         |              |
	//  *start*:         V                         |              |
	// allocating -> allocated <-> assigning -> assigned <-> reassigning
	//                   |             |
	//   *end*:          |             |
	//  releasing <------/-------------/
	State string `json:"state"`

	AllocationId    string `json:"allocationId,omitempty"`
	PublicIPAddress string `json:"publicIPAddress,omitempty"`

	AssociationId string         `json:"associationId,omitempty"`
	Assignment    *EIPAssignment `json:"assignment,omitempty"`
}

EIPStatus defines the observed state of EIP

func (*EIPStatus) DeepCopy

func (in *EIPStatus) DeepCopy() *EIPStatus

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

func (*EIPStatus) DeepCopyInto

func (in *EIPStatus) DeepCopyInto(out *EIPStatus)

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

type ENI

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

	Spec   ENISpec   `json:"spec,omitempty"`
	Status ENIStatus `json:"status,omitempty"`
}

ENI is the Schema for the enis API

func (*ENI) DeepCopy

func (in *ENI) DeepCopy() *ENI

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

func (*ENI) DeepCopyInto

func (in *ENI) DeepCopyInto(out *ENI)

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

func (*ENI) DeepCopyObject

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

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

type ENIAttachment

type ENIAttachment struct {
	// +kubebuilder:validation:MinLength=0
	PodName string `json:"podName,omitempty"`
}

func (*ENIAttachment) DeepCopy

func (in *ENIAttachment) DeepCopy() *ENIAttachment

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

func (*ENIAttachment) DeepCopyInto

func (in *ENIAttachment) DeepCopyInto(out *ENIAttachment)

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

type ENIList

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

ENIList contains a list of ENI

func (*ENIList) DeepCopy

func (in *ENIList) DeepCopy() *ENIList

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

func (*ENIList) DeepCopyInto

func (in *ENIList) DeepCopyInto(out *ENIList)

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

func (*ENIList) DeepCopyObject

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

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

type ENISpec

type ENISpec struct {
	SubnetID                       string   `json:"subnetID"`
	SecurityGroups                 []string `json:"securityGroups"`
	SecondaryPrivateIPAddressCount int64    `json:"secondaryPrivateIPAddressCount,omitempty"`

	// +optional
	Attachment *ENIAttachment `json:"attachment,omitempty"`

	Description string `json:"description,omitempty"`
}

ENISpec defines the desired state of an ElasticNetworkInterface

func (*ENISpec) DeepCopy

func (in *ENISpec) DeepCopy() *ENISpec

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

func (*ENISpec) DeepCopyInto

func (in *ENISpec) DeepCopyInto(out *ENISpec)

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

type ENIStatus

type ENIStatus struct {
	NetworkInterfaceID string `json:"networkInterfaceID"`
	MacAddress         string `json:"macAddress"`

	// +optional
	PrivateIPAddresses []string       `json:"privateIPAddresses,omitempty"`
	Attachment         *ENIAttachment `json:"attachment,omitempty"`
}

ENIStatus defines the observed state of ENI

func (*ENIStatus) DeepCopy

func (in *ENIStatus) DeepCopy() *ENIStatus

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

func (*ENIStatus) DeepCopyInto

func (in *ENIStatus) DeepCopyInto(out *ENIStatus)

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