 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package v1alpha contains API Schema definitions for the acn v1alpha API group +kubebuilder:object:generate=true +groupName=acn.azure.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "acn.azure.com", Version: "v1alpha"} // 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 IPAssignment ¶
IPAssignment groups an IP address and Name. Name is a UUID set by the the IP address assigner.
func (*IPAssignment) DeepCopy ¶
func (in *IPAssignment) DeepCopy() *IPAssignment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAssignment.
func (*IPAssignment) DeepCopyInto ¶
func (in *IPAssignment) DeepCopyInto(out *IPAssignment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkContainer ¶
type NetworkContainer struct {
	ID                 string         `json:"id,omitempty"`
	PrimaryIP          string         `json:"primaryIP,omitempty"`
	SubnetName         string         `json:"subnetName,omitempty"`
	IPAssignments      []IPAssignment `json:"ipAssignments,omitempty"`
	DefaultGateway     string         `json:"defaultGateway,omitempty"`
	SubnetAddressSpace string         `json:"subnetAddressSpace,omitempty"`
	Version            int64          `json:"version,omitempty"`
}
    NetworkContainer defines the structure of a Network Container as found in NetworkConfigStatus
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.
type NodeNetworkConfig ¶
type NodeNetworkConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec   NodeNetworkConfigSpec   `json:"spec,omitempty"`
	Status NodeNetworkConfigStatus `json:"status,omitempty"`
}
    NodeNetworkConfig is the Schema for the nodenetworkconfigs API +kubebuilder:resource:scope=Namespaced +kubebuilder:resource:shortName=nnc +kubebuilder:subresource:status
func (*NodeNetworkConfig) DeepCopy ¶
func (in *NodeNetworkConfig) DeepCopy() *NodeNetworkConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeNetworkConfig.
func (*NodeNetworkConfig) DeepCopyInto ¶
func (in *NodeNetworkConfig) DeepCopyInto(out *NodeNetworkConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeNetworkConfig) DeepCopyObject ¶
func (in *NodeNetworkConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeNetworkConfigList ¶
type NodeNetworkConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []NodeNetworkConfig `json:"items"`
}
    NodeNetworkConfigList contains a list of NetworkConfig
func (*NodeNetworkConfigList) DeepCopy ¶
func (in *NodeNetworkConfigList) DeepCopy() *NodeNetworkConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeNetworkConfigList.
func (*NodeNetworkConfigList) DeepCopyInto ¶
func (in *NodeNetworkConfigList) DeepCopyInto(out *NodeNetworkConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeNetworkConfigList) DeepCopyObject ¶
func (in *NodeNetworkConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeNetworkConfigSpec ¶
type NodeNetworkConfigSpec struct {
	RequestedIPCount int64    `json:"requestedIPCount,omitempty"`
	IPsNotInUse      []string `json:"ipsNotInUse,omitempty"`
}
    NodeNetworkConfigSpec defines the desired state of NetworkConfig
func (*NodeNetworkConfigSpec) DeepCopy ¶
func (in *NodeNetworkConfigSpec) DeepCopy() *NodeNetworkConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeNetworkConfigSpec.
func (*NodeNetworkConfigSpec) DeepCopyInto ¶
func (in *NodeNetworkConfigSpec) DeepCopyInto(out *NodeNetworkConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeNetworkConfigStatus ¶
type NodeNetworkConfigStatus struct {
	Scaler            Scaler             `json:"scaler,omitempty"`
	NetworkContainers []NetworkContainer `json:"networkContainers,omitempty"`
}
    NodeNetworkConfigStatus defines the observed state of NetworkConfig
func (*NodeNetworkConfigStatus) DeepCopy ¶
func (in *NodeNetworkConfigStatus) DeepCopy() *NodeNetworkConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeNetworkConfigStatus.
func (*NodeNetworkConfigStatus) DeepCopyInto ¶
func (in *NodeNetworkConfigStatus) DeepCopyInto(out *NodeNetworkConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Scaler ¶ added in v1.1.5
type Scaler struct {
	BatchSize               int64 `json:"batchSize,omitempty"`
	ReleaseThresholdPercent int64 `json:"releaseThresholdPercent,omitempty"`
	RequestThresholdPercent int64 `json:"requestThresholdPercent,omitempty"`
}
    Scaler groups IP request params together
func (*Scaler) DeepCopy ¶ added in v1.1.5
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scaler.
func (*Scaler) DeepCopyInto ¶ added in v1.1.5
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.