Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder initializes a scheme builder SchemeBuilder runtime.SchemeBuilder // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: api.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type IPAllocation ¶
type IPAllocation struct { ContainerID string `json:"id"` PodRef string `json:"podref"` IfName string `json:"ifname,omitempty"` }
IPAllocation represents metadata about the pod/container owner of a specific IP
func (*IPAllocation) DeepCopy ¶
func (in *IPAllocation) DeepCopy() *IPAllocation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAllocation.
func (*IPAllocation) DeepCopyInto ¶
func (in *IPAllocation) DeepCopyInto(out *IPAllocation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPPool ¶
type IPPool struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IPPoolSpec `json:"spec,omitempty"` }
IPPool is the Schema for the ippools API
func (*IPPool) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPPool.
func (*IPPool) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPPool) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IPPoolList ¶
type IPPoolList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IPPool `json:"items"` }
IPPoolList contains a list of IPPool
func (*IPPoolList) DeepCopy ¶
func (in *IPPoolList) DeepCopy() *IPPoolList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPPoolList.
func (*IPPoolList) DeepCopyInto ¶
func (in *IPPoolList) DeepCopyInto(out *IPPoolList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPPoolList) DeepCopyObject ¶
func (in *IPPoolList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IPPoolSpec ¶
type IPPoolSpec struct { // Range is a RFC 4632/4291-style string that represents an IP address and prefix length in CIDR notation Range string `json:"range"` // Allocations is the set of allocated IPs for the given range. Its` indices are a direct mapping to the // IP with the same index/offset for the pool's range. Allocations map[string]IPAllocation `json:"allocations"` }
IPPoolSpec defines the desired state of IPPool
func (*IPPoolSpec) DeepCopy ¶
func (in *IPPoolSpec) DeepCopy() *IPPoolSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPPoolSpec.
func (*IPPoolSpec) DeepCopyInto ¶
func (in *IPPoolSpec) DeepCopyInto(out *IPPoolSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverlappingRangeIPReservation ¶
type OverlappingRangeIPReservation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OverlappingRangeIPReservationSpec `json:"spec"` }
OverlappingRangeIPReservation is the Schema for the OverlappingRangeIPReservations API
func (*OverlappingRangeIPReservation) DeepCopy ¶
func (in *OverlappingRangeIPReservation) DeepCopy() *OverlappingRangeIPReservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverlappingRangeIPReservation.
func (*OverlappingRangeIPReservation) DeepCopyInto ¶
func (in *OverlappingRangeIPReservation) DeepCopyInto(out *OverlappingRangeIPReservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OverlappingRangeIPReservation) DeepCopyObject ¶
func (in *OverlappingRangeIPReservation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OverlappingRangeIPReservationList ¶
type OverlappingRangeIPReservationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OverlappingRangeIPReservation `json:"items"` }
OverlappingRangeIPReservationList contains a list of OverlappingRangeIPReservation
func (*OverlappingRangeIPReservationList) DeepCopy ¶
func (in *OverlappingRangeIPReservationList) DeepCopy() *OverlappingRangeIPReservationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverlappingRangeIPReservationList.
func (*OverlappingRangeIPReservationList) DeepCopyInto ¶
func (in *OverlappingRangeIPReservationList) DeepCopyInto(out *OverlappingRangeIPReservationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OverlappingRangeIPReservationList) DeepCopyObject ¶
func (in *OverlappingRangeIPReservationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OverlappingRangeIPReservationSpec ¶
type OverlappingRangeIPReservationSpec struct { ContainerID string `json:"containerid,omitempty"` PodRef string `json:"podref"` IfName string `json:"ifname,omitempty"` }
OverlappingRangeIPReservationSpec defines the desired state of OverlappingRangeIPReservation
func (*OverlappingRangeIPReservationSpec) DeepCopy ¶
func (in *OverlappingRangeIPReservationSpec) DeepCopy() *OverlappingRangeIPReservationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverlappingRangeIPReservationSpec.
func (*OverlappingRangeIPReservationSpec) DeepCopyInto ¶
func (in *OverlappingRangeIPReservationSpec) DeepCopyInto(out *OverlappingRangeIPReservationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.