Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the vpcresources v1beta1 API group +kubebuilder:object:generate=true +groupName=vpcresources.k8s.aws
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "vpcresources.k8s.aws", 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 CNINode ¶
type CNINode struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CNINodeSpec `json:"spec,omitempty"` Status CNINodeStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true
func (*CNINode) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNINode.
func (*CNINode) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CNINode) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CNINodeList ¶
type CNINodeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CNINode `json:"items"` }
+kubebuilder:object:root=true CNINodeList contains a list of CNINodeList
func (*CNINodeList) DeepCopy ¶
func (in *CNINodeList) DeepCopy() *CNINodeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNINodeList.
func (*CNINodeList) DeepCopyInto ¶
func (in *CNINodeList) DeepCopyInto(out *CNINodeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CNINodeList) DeepCopyObject ¶
func (in *CNINodeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CNINodeSpec ¶
type CNINodeSpec struct {
Features []Feature `json:"features,omitempty"`
}
Important: Run "make" to regenerate code after modifying this file CNINodeSpec defines the desired state of CNINode
func (*CNINodeSpec) DeepCopy ¶
func (in *CNINodeSpec) DeepCopy() *CNINodeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNINodeSpec.
func (*CNINodeSpec) DeepCopyInto ¶
func (in *CNINodeSpec) DeepCopyInto(out *CNINodeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CNINodeStatus ¶
type CNINodeStatus struct { }
CNINodeStatus defines the managed VPC resources.
func (*CNINodeStatus) DeepCopy ¶
func (in *CNINodeStatus) DeepCopy() *CNINodeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNINodeStatus.
func (*CNINodeStatus) DeepCopyInto ¶
func (in *CNINodeStatus) DeepCopyInto(out *CNINodeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Feature ¶ added in v1.1.8
type Feature struct { Name FeatureName `json:"name,omitempty"` Value string `json:"value,omitempty"` }
Feature is a type of feature being supported by VPC resource controller and other AWS Services
func (*Feature) DeepCopy ¶ added in v1.1.8
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Feature.
func (*Feature) DeepCopyInto ¶ added in v1.1.8
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FeatureName ¶
type FeatureName string
FeatureName is a type of feature name supported by AWS VPC CNI. It can be Security Group for Pods, custom networking, or others
const ( SecurityGroupsForPods FeatureName = "SecurityGroupsForPods" CustomNetworking FeatureName = "CustomNetworking" )