 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package v1alpha1 contains API Schema definitions for the networking v1alpha1 API group +kubebuilder:object:generate=true +groupName=networking.azure.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "networking.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 MultiTenantInfo ¶
type MultiTenantInfo struct {
	// EncapType is type of encapsulation
	EncapType string `json:"encapType,omitempty"`
	// ID of encapsulation, can be vlanid, vxlanid, gre-key, etc depending on EncapType
	ID int64 `json:"id,omitempty"`
}
    MultiTenantInfo holds the encap type and id for the NC
func (*MultiTenantInfo) DeepCopy ¶
func (in *MultiTenantInfo) DeepCopy() *MultiTenantInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiTenantInfo.
func (*MultiTenantInfo) DeepCopyInto ¶
func (in *MultiTenantInfo) DeepCopyInto(out *MultiTenantInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MultiTenantNetworkContainer ¶
type MultiTenantNetworkContainer struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec   MultiTenantNetworkContainerSpec   `json:"spec,omitempty"`
	Status MultiTenantNetworkContainerStatus `json:"status,omitempty"`
}
    MultiTenantNetworkContainer is the Schema for the MultiTenantnetworkcontainers API
func (*MultiTenantNetworkContainer) DeepCopy ¶
func (in *MultiTenantNetworkContainer) DeepCopy() *MultiTenantNetworkContainer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiTenantNetworkContainer.
func (*MultiTenantNetworkContainer) DeepCopyInto ¶
func (in *MultiTenantNetworkContainer) DeepCopyInto(out *MultiTenantNetworkContainer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MultiTenantNetworkContainer) DeepCopyObject ¶
func (in *MultiTenantNetworkContainer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MultiTenantNetworkContainerList ¶
type MultiTenantNetworkContainerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MultiTenantNetworkContainer `json:"items"`
}
    MultiTenantNetworkContainerList contains a list of MultiTenantNetworkContainer
func (*MultiTenantNetworkContainerList) DeepCopy ¶
func (in *MultiTenantNetworkContainerList) DeepCopy() *MultiTenantNetworkContainerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiTenantNetworkContainerList.
func (*MultiTenantNetworkContainerList) DeepCopyInto ¶
func (in *MultiTenantNetworkContainerList) DeepCopyInto(out *MultiTenantNetworkContainerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MultiTenantNetworkContainerList) DeepCopyObject ¶
func (in *MultiTenantNetworkContainerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MultiTenantNetworkContainerSpec ¶
type MultiTenantNetworkContainerSpec struct {
	// UUID - network container UUID
	UUID string `json:"uuid,omitempty"`
	// Network - customer VNet GUID
	Network string `json:"network,omitempty"`
	// Subnet - customer subnet name
	Subnet string `json:"subnet,omitempty"`
	// Node - kubernetes node name
	Node string `json:"node,omitempty"`
	// InterfaceName - the interface name for consuming Pod
	InterfaceName string `json:"interfaceName,omitempty"`
	// ReservationID - reservation ID for allocating IP
	ReservationID string `json:"reservationID,omitempty"`
	// ReservationSetID - reservationSet for networkcontainer
	ReservationSetID string `json:"reservationSetID,omitempty"`
}
    MultiTenantNetworkContainerSpec defines the desired state of MultiTenantNetworkContainer
func (*MultiTenantNetworkContainerSpec) DeepCopy ¶
func (in *MultiTenantNetworkContainerSpec) DeepCopy() *MultiTenantNetworkContainerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiTenantNetworkContainerSpec.
func (*MultiTenantNetworkContainerSpec) DeepCopyInto ¶
func (in *MultiTenantNetworkContainerSpec) DeepCopyInto(out *MultiTenantNetworkContainerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MultiTenantNetworkContainerStatus ¶
type MultiTenantNetworkContainerStatus struct {
	// The IP address
	IP string `json:"ip,omitempty"`
	// The gateway IP address
	Gateway string `json:"gateway,omitempty"`
	// The state of network container
	State string `json:"state,omitempty"`
	// The subnet CIDR
	IPSubnet string `json:"ipSubnet,omitempty"`
	// The primary interface identifier
	PrimaryInterfaceIdentifier string `json:"primaryInterfaceIdentifier,omitempty"`
	// MultiTenantInfo holds the encap type and id
	MultiTenantInfo MultiTenantInfo `json:"multiTenantInfo,omitempty"`
}
    MultiTenantNetworkContainerStatus defines the observed state of MultiTenantNetworkContainer
func (*MultiTenantNetworkContainerStatus) DeepCopy ¶
func (in *MultiTenantNetworkContainerStatus) DeepCopy() *MultiTenantNetworkContainerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiTenantNetworkContainerStatus.
func (*MultiTenantNetworkContainerStatus) DeepCopyInto ¶
func (in *MultiTenantNetworkContainerStatus) DeepCopyInto(out *MultiTenantNetworkContainerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.