Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the acn v1alpha1 API group +kubebuilder:object:generate=true +groupName=multitenancy.acn.azure.com
Index ¶
- Variables
- type MultitenantPodNetworkConfig
- type MultitenantPodNetworkConfigList
- type MultitenantPodNetworkConfigSpec
- type MultitenantPodNetworkConfigStatus
- type NodeInfo
- type NodeInfoList
- type NodeInfoSpec
- type PNIStatus
- type PodNetwork
- type PodNetworkInstance
- type PodNetworkInstanceList
- type PodNetworkInstanceSpec
- type PodNetworkInstanceStatus
- type PodNetworkList
- type PodNetworkSpec
- type PodNetworkStatus
- type Status
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "multitenancy.acn.azure.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 MultitenantPodNetworkConfig ¶
type MultitenantPodNetworkConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MultitenantPodNetworkConfigSpec `json:"spec,omitempty"` Status MultitenantPodNetworkConfigStatus `json:"status,omitempty"` }
MultitenantPodNetworkConfig is the Schema for the multitenantpodnetworkconfigs API +kubebuilder:resource:shortName=mtpnc,scope=Namespaced +kubebuilder:subresource:status +kubebuilder:metadata:labels=managed= +kubebuilder:metadata:labels=owner= +kubebuilder:printcolumn:name="PodNetworkInstance",type=string,JSONPath=`.spec.podNetworkInstance` +kubebuilder:printcolumn:name="PodNetwork",type=string,JSONPath=`.spec.podNetwork` +kubebuilder:printcolumn:name="PodName",type=string,JSONPath=`.spec.podName` +kubebuilder:printcolumn:name="NCID",type=string,JSONPath=`.status.ncID` +kubebuilder:printcolumn:name="PrimaryIP",type=string,JSONPath=`.status.primaryIP` +kubebuilder:printcolumn:name="MacAddress",type=string,JSONPath=`.status.macAddress` +kubebuilder:printcolumn:name="GatewayIP",type=string,JSONPath=`.status.gatewayIP`
func (*MultitenantPodNetworkConfig) DeepCopy ¶
func (in *MultitenantPodNetworkConfig) DeepCopy() *MultitenantPodNetworkConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultitenantPodNetworkConfig.
func (*MultitenantPodNetworkConfig) DeepCopyInto ¶
func (in *MultitenantPodNetworkConfig) DeepCopyInto(out *MultitenantPodNetworkConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MultitenantPodNetworkConfig) DeepCopyObject ¶
func (in *MultitenantPodNetworkConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MultitenantPodNetworkConfigList ¶
type MultitenantPodNetworkConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MultitenantPodNetworkConfig `json:"items"` }
MultitenantPodNetworkConfigList contains a list of PodNetworkConfig
func (*MultitenantPodNetworkConfigList) DeepCopy ¶
func (in *MultitenantPodNetworkConfigList) DeepCopy() *MultitenantPodNetworkConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultitenantPodNetworkConfigList.
func (*MultitenantPodNetworkConfigList) DeepCopyInto ¶
func (in *MultitenantPodNetworkConfigList) DeepCopyInto(out *MultitenantPodNetworkConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MultitenantPodNetworkConfigList) DeepCopyObject ¶
func (in *MultitenantPodNetworkConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MultitenantPodNetworkConfigSpec ¶
type MultitenantPodNetworkConfigSpec struct { // name of PNI object from requesting cx pod // +kubebuilder:validation:Optional PodNetworkInstance string `json:"podNetworkInstance,omitempty"` // name of PN object from requesting cx pod PodNetwork string `json:"podNetwork"` // name of the requesting cx pod PodName string `json:"podName"` }
MultitenantPodNetworkConfigSpec defines the desired state of PodNetworkConfig
func (*MultitenantPodNetworkConfigSpec) DeepCopy ¶
func (in *MultitenantPodNetworkConfigSpec) DeepCopy() *MultitenantPodNetworkConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultitenantPodNetworkConfigSpec.
func (*MultitenantPodNetworkConfigSpec) DeepCopyInto ¶
func (in *MultitenantPodNetworkConfigSpec) DeepCopyInto(out *MultitenantPodNetworkConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MultitenantPodNetworkConfigStatus ¶
type MultitenantPodNetworkConfigStatus struct { // network container id NCID string `json:"ncID,omitempty"` // ip allocated to the network container PrimaryIP string `json:"primaryIP,omitempty"` // maps to the NIC to be injected for the network container MacAddress string `json:"macAddress,omitempty"` // Gateway IP GatewayIP string `json:"gatewayIP,omitempty"` }
MultitenantPodNetworkConfigStatus defines the observed state of PodNetworkConfig
func (*MultitenantPodNetworkConfigStatus) DeepCopy ¶
func (in *MultitenantPodNetworkConfigStatus) DeepCopy() *MultitenantPodNetworkConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultitenantPodNetworkConfigStatus.
func (*MultitenantPodNetworkConfigStatus) DeepCopyInto ¶
func (in *MultitenantPodNetworkConfigStatus) DeepCopyInto(out *MultitenantPodNetworkConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeInfo ¶
type NodeInfo struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NodeInfoSpec `json:"spec,omitempty"` }
NodeInfo is the Schema for the NodeInfo API +kubebuilder:resource:shortName=ni,scope=Cluster,path=nodeinfo +kubebuilder:printcolumn:name="VMUniqueID",type=string,priority=0,JSONPath=`.spec.vmUniqueID`
func (*NodeInfo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeInfo.
func (*NodeInfo) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeInfo) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeInfoList ¶
type NodeInfoList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NodeInfo `json:"items"` }
NodeInfoList contains a list of NodeInfo
func (*NodeInfoList) DeepCopy ¶
func (in *NodeInfoList) DeepCopy() *NodeInfoList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeInfoList.
func (*NodeInfoList) DeepCopyInto ¶
func (in *NodeInfoList) DeepCopyInto(out *NodeInfoList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeInfoList) DeepCopyObject ¶
func (in *NodeInfoList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeInfoSpec ¶
type NodeInfoSpec struct { // +kubebuilder:validation:Optional VMUniqueID string `json:"vmUniqueID,omitempty"` }
NodeInfoSpec defines the desired state of NodeInfo
func (*NodeInfoSpec) DeepCopy ¶
func (in *NodeInfoSpec) DeepCopy() *NodeInfoSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeInfoSpec.
func (*NodeInfoSpec) DeepCopyInto ¶
func (in *NodeInfoSpec) DeepCopyInto(out *NodeInfoSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PNIStatus ¶ added in v1.5.22
type PNIStatus string
PNIStatus indicates the status of PNI +kubebuilder:validation:Enum=Ready;CreateReservationSetError;PodNetworkNotReady;InsufficientIPAddressesOnSubnet
type PodNetwork ¶
type PodNetwork struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PodNetworkSpec `json:"spec,omitempty"` Status PodNetworkStatus `json:"status,omitempty"` }
PodNetwork is the Schema for the PodNetworks API +kubebuilder:resource:shortName=pn,scope=Cluster +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type=string,priority=1,JSONPath=`.status.status` +kubebuilder:printcolumn:name="Address Prefixes",type=string,priority=1,JSONPath=`.status.addressPrefixes` +kubebuilder:printcolumn:name="Network",type=string,priority=1,JSONPath=`.spec.vnetGUID` +kubebuilder:printcolumn:name="Subnet",type=string,priority=1,JSONPath=`.spec.subnetResourceID` +kubebuilder:printcolumn:name="SubnetGUID",type=string,priority=1,JSONPath=`.spec.subnetGUID`
func (*PodNetwork) DeepCopy ¶
func (in *PodNetwork) DeepCopy() *PodNetwork
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodNetwork.
func (*PodNetwork) DeepCopyInto ¶
func (in *PodNetwork) DeepCopyInto(out *PodNetwork)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodNetwork) DeepCopyObject ¶
func (in *PodNetwork) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PodNetworkInstance ¶
type PodNetworkInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PodNetworkInstanceSpec `json:"spec,omitempty"` Status PodNetworkInstanceStatus `json:"status,omitempty"` }
PodNetworkInstance is the Schema for the PodNetworkInstances API +kubebuilder:resource:shortName=pni,scope=Namespaced +kubebuilder:subresource:status +kubebuilder:metadata:labels=managed= +kubebuilder:metadata:labels=owner= +kubebuilder:printcolumn:name="Pod IPs",type=string,priority=1,JSONPath=`.status.podIPAddresses` +kubebuilder:printcolumn:name="PodNetwork",type=string,priority=1,JSONPath=`.spec.podNetwork` +kubebuilder:printcolumn:name="PodIPReservationSize",type=string,priority=1,JSONPath=`.spec.podIPReservationSize`
func (*PodNetworkInstance) DeepCopy ¶
func (in *PodNetworkInstance) DeepCopy() *PodNetworkInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodNetworkInstance.
func (*PodNetworkInstance) DeepCopyInto ¶
func (in *PodNetworkInstance) DeepCopyInto(out *PodNetworkInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodNetworkInstance) DeepCopyObject ¶
func (in *PodNetworkInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PodNetworkInstanceList ¶
type PodNetworkInstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PodNetworkInstance `json:"items"` }
PodNetworkInstanceList contains a list of PodNetworkInstance
func (*PodNetworkInstanceList) DeepCopy ¶
func (in *PodNetworkInstanceList) DeepCopy() *PodNetworkInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodNetworkInstanceList.
func (*PodNetworkInstanceList) DeepCopyInto ¶
func (in *PodNetworkInstanceList) DeepCopyInto(out *PodNetworkInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodNetworkInstanceList) DeepCopyObject ¶
func (in *PodNetworkInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PodNetworkInstanceSpec ¶
type PodNetworkInstanceSpec struct { // pod network resource object name PodNetwork string `json:"podnetwork"` // number of backend IP address to reserve for running pods // +kubebuilder:default=0 PodIPReservationSize int `json:"podIPReservationSize"` }
PodNetworkInstanceSpec defines the desired state of PodNetworkInstance
func (*PodNetworkInstanceSpec) DeepCopy ¶
func (in *PodNetworkInstanceSpec) DeepCopy() *PodNetworkInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodNetworkInstanceSpec.
func (*PodNetworkInstanceSpec) DeepCopyInto ¶
func (in *PodNetworkInstanceSpec) DeepCopyInto(out *PodNetworkInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodNetworkInstanceStatus ¶
type PodNetworkInstanceStatus struct { PodIPAddresses []string `json:"podIPAddresses,omitempty"` Status PNIStatus `json:"status,omitempty"` }
PodNetworkInstanceStatus defines the observed state of PodNetworkInstance
func (*PodNetworkInstanceStatus) DeepCopy ¶
func (in *PodNetworkInstanceStatus) DeepCopy() *PodNetworkInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodNetworkInstanceStatus.
func (*PodNetworkInstanceStatus) DeepCopyInto ¶
func (in *PodNetworkInstanceStatus) DeepCopyInto(out *PodNetworkInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodNetworkList ¶
type PodNetworkList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PodNetwork `json:"items"` }
PodNetworkList contains a list of PodNetwork
func (*PodNetworkList) DeepCopy ¶
func (in *PodNetworkList) DeepCopy() *PodNetworkList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodNetworkList.
func (*PodNetworkList) DeepCopyInto ¶
func (in *PodNetworkList) DeepCopyInto(out *PodNetworkList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodNetworkList) DeepCopyObject ¶
func (in *PodNetworkList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PodNetworkSpec ¶
type PodNetworkSpec struct { // +kubebuilder:validation:Optional // customer vnet guid VnetGUID string `json:"vnetGUID,omitempty"` // customer subnet id SubnetResourceID string `json:"subnetResourceID,omitempty"` // customer subnet guid SubnetGUID string `json:"subnetGUID,omitempty"` }
PodNetworkSpec defines the desired state of PodNetwork
func (*PodNetworkSpec) DeepCopy ¶
func (in *PodNetworkSpec) DeepCopy() *PodNetworkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodNetworkSpec.
func (*PodNetworkSpec) DeepCopyInto ¶
func (in *PodNetworkSpec) DeepCopyInto(out *PodNetworkSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodNetworkStatus ¶
type PodNetworkStatus struct { // +kubebuilder:validation:Optional Status Status `json:"status,omitempty"` AddressPrefixes []string `json:"addressPrefixes,omitempty"` }
PodNetworkStatus defines the observed state of PodNetwork
func (*PodNetworkStatus) DeepCopy ¶
func (in *PodNetworkStatus) DeepCopy() *PodNetworkStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodNetworkStatus.
func (*PodNetworkStatus) DeepCopyInto ¶
func (in *PodNetworkStatus) DeepCopyInto(out *PodNetworkStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.