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 NetworkContainer ¶
type NetworkContainer struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec NetworkContainerSpec `json:"spec,omitempty"`
Status NetworkContainerStatus `json:"status,omitempty"`
}
NetworkContainer is the Schema for the networkcontainers API
func (*NetworkContainer) DeepCopy ¶
func (in *NetworkContainer) DeepCopy() *NetworkContainer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkContainer.
func (*NetworkContainer) DeepCopyInto ¶
func (in *NetworkContainer) DeepCopyInto(out *NetworkContainer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkContainer) DeepCopyObject ¶
func (in *NetworkContainer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkContainerList ¶
type NetworkContainerList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []NetworkContainer `json:"items"`
}
NetworkContainerList contains a list of NetworkContainer
func (*NetworkContainerList) DeepCopy ¶
func (in *NetworkContainerList) DeepCopy() *NetworkContainerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkContainerList.
func (*NetworkContainerList) DeepCopyInto ¶
func (in *NetworkContainerList) DeepCopyInto(out *NetworkContainerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkContainerList) DeepCopyObject ¶
func (in *NetworkContainerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkContainerSpec ¶
type NetworkContainerSpec 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"`
}
NetworkContainerSpec defines the desired state of NetworkContainer
func (*NetworkContainerSpec) DeepCopy ¶
func (in *NetworkContainerSpec) DeepCopy() *NetworkContainerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkContainerSpec.
func (*NetworkContainerSpec) DeepCopyInto ¶
func (in *NetworkContainerSpec) DeepCopyInto(out *NetworkContainerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkContainerStatus ¶
type NetworkContainerStatus 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"`
}
NetworkContainerStatus defines the observed state of NetworkContainer
func (*NetworkContainerStatus) DeepCopy ¶
func (in *NetworkContainerStatus) DeepCopy() *NetworkContainerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkContainerStatus.
func (*NetworkContainerStatus) DeepCopyInto ¶
func (in *NetworkContainerStatus) DeepCopyInto(out *NetworkContainerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.