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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EIP.
func (*EIP) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EIP) DeepCopyObject ¶
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 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EIPList.
func (*EIPList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EIPList) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EIPSpec.
func (*EIPSpec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EIPStatus.
func (*EIPStatus) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ENI.
func (*ENI) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ENI) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ENIList.
func (*ENIList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ENIList) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ENISpec.
func (*ENISpec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ENIStatus.
func (*ENIStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.