Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API.
+kubebuilder:object:generate=true +groupName=ipam.res.kuid.dev
Index ¶
- Constants
- Variables
- func ConvertIPClaimFieldSelector(label, value string) (internalLabel, internalValue string, err error)
- func ConvertIPEntryFieldSelector(label, value string) (internalLabel, internalValue string, err error)
- func ConvertIPIndexFieldSelector(label, value string) (internalLabel, internalValue string, err error)
- func Resource(resource string) schema.GroupResource
- type IPClaim
- func (r *IPClaim) CalculateHash() ([sha1.Size]byte, error)
- func (in *IPClaim) DeepCopy() *IPClaim
- func (in *IPClaim) DeepCopyInto(out *IPClaim)
- func (in *IPClaim) DeepCopyObject() runtime.Object
- func (*IPClaim) Descriptor() ([]byte, []int)
- func (r *IPClaim) GetClaimRequest() string
- func (r *IPClaim) GetClaimResponse() string
- func (r *IPClaim) GetCondition(t conditionv1alpha1.ConditionType) conditionv1alpha1.Condition
- func (r *IPClaim) GetDefaultGatewayLabelSelector(subnetString string) (labels.Selector, error)
- func (r *IPClaim) GetDummyLabelsFromPrefix(pi iputil.Prefix) map[string]string
- func (IPClaim) GetGroupVersionResource() schema.GroupVersionResource
- func (r *IPClaim) GetIPClaimSummaryType() IPClaimSummaryType
- func (r *IPClaim) GetIPClaimType() (IPClaimType, error)
- func (r *IPClaim) GetIPPrefixType() IPPrefixType
- func (r *IPClaim) GetKey() store.Key
- func (r *IPClaim) GetLabelSelector() (labels.Selector, error)
- func (r *IPClaim) GetNamespacedName() types.NamespacedName
- func (r *IPClaim) GetObjectMeta() *metav1.ObjectMeta
- func (r *IPClaim) GetOwnerReference() *commonv1alpha1.OwnerReference
- func (r *IPClaim) GetOwnerSelector() (labels.Selector, error)
- func (r *IPClaim) GetSingularName() string
- func (r *IPClaim) GetStatus() resource.StatusSubResource
- func (IPClaim) IsStorageVersion() bool
- func (m *IPClaim) Marshal() (dAtA []byte, err error)
- func (m *IPClaim) MarshalTo(dAtA []byte) (int, error)
- func (m *IPClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (IPClaim) NamespaceScoped() bool
- func (IPClaim) New() runtime.Object
- func (IPClaim) NewList() runtime.Object
- func (*IPClaim) ProtoMessage()
- func (m *IPClaim) Reset()
- func (r *IPClaim) SetConditions(c ...conditionv1alpha1.Condition)
- func (m *IPClaim) Size() (n int)
- func (this *IPClaim) String() string
- func (m *IPClaim) Unmarshal(dAtA []byte) error
- func (r *IPClaim) ValidateOwner(labels labels.Set) error
- func (r *IPClaim) ValidateSyntax() field.ErrorList
- func (m *IPClaim) XXX_DiscardUnknown()
- func (m *IPClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IPClaim) XXX_Merge(src proto.Message)
- func (m *IPClaim) XXX_Size() int
- func (m *IPClaim) XXX_Unmarshal(b []byte) error
- type IPClaimList
- func (in *IPClaimList) DeepCopy() *IPClaimList
- func (in *IPClaimList) DeepCopyInto(out *IPClaimList)
- func (in *IPClaimList) DeepCopyObject() runtime.Object
- func (*IPClaimList) Descriptor() ([]byte, []int)
- func (r *IPClaimList) GetItems() []rresource.Object
- func (r *IPClaimList) GetListMeta() *metav1.ListMeta
- func (m *IPClaimList) Marshal() (dAtA []byte, err error)
- func (m *IPClaimList) MarshalTo(dAtA []byte) (int, error)
- func (m *IPClaimList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IPClaimList) ProtoMessage()
- func (m *IPClaimList) Reset()
- func (m *IPClaimList) Size() (n int)
- func (this *IPClaimList) String() string
- func (m *IPClaimList) Unmarshal(dAtA []byte) error
- func (m *IPClaimList) XXX_DiscardUnknown()
- func (m *IPClaimList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IPClaimList) XXX_Merge(src proto.Message)
- func (m *IPClaimList) XXX_Size() int
- func (m *IPClaimList) XXX_Unmarshal(b []byte) error
- type IPClaimSpec
- func (in *IPClaimSpec) DeepCopy() *IPClaimSpec
- func (in *IPClaimSpec) DeepCopyInto(out *IPClaimSpec)
- func (*IPClaimSpec) Descriptor() ([]byte, []int)
- func (m *IPClaimSpec) Marshal() (dAtA []byte, err error)
- func (m *IPClaimSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *IPClaimSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IPClaimSpec) ProtoMessage()
- func (m *IPClaimSpec) Reset()
- func (m *IPClaimSpec) Size() (n int)
- func (this *IPClaimSpec) String() string
- func (m *IPClaimSpec) Unmarshal(dAtA []byte) error
- func (m *IPClaimSpec) XXX_DiscardUnknown()
- func (m *IPClaimSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IPClaimSpec) XXX_Merge(src proto.Message)
- func (m *IPClaimSpec) XXX_Size() int
- func (m *IPClaimSpec) XXX_Unmarshal(b []byte) error
- type IPClaimStatus
- func (r IPClaimStatus) CopyTo(obj resource.ObjectWithStatusSubResource)
- func (in *IPClaimStatus) DeepCopy() *IPClaimStatus
- func (in *IPClaimStatus) DeepCopyInto(out *IPClaimStatus)
- func (*IPClaimStatus) Descriptor() ([]byte, []int)
- func (m *IPClaimStatus) Marshal() (dAtA []byte, err error)
- func (m *IPClaimStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *IPClaimStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IPClaimStatus) ProtoMessage()
- func (m *IPClaimStatus) Reset()
- func (m *IPClaimStatus) Size() (n int)
- func (this *IPClaimStatus) String() string
- func (IPClaimStatus) SubResourceName() string
- func (m *IPClaimStatus) Unmarshal(dAtA []byte) error
- func (m *IPClaimStatus) XXX_DiscardUnknown()
- func (m *IPClaimStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IPClaimStatus) XXX_Merge(src proto.Message)
- func (m *IPClaimStatus) XXX_Size() int
- func (m *IPClaimStatus) XXX_Unmarshal(b []byte) error
- type IPClaimSummaryType
- type IPClaimType
- type IPEntry
- func (r *IPEntry) CalculateHash() ([sha1.Size]byte, error)
- func (in *IPEntry) DeepCopy() *IPEntry
- func (in *IPEntry) DeepCopyInto(out *IPEntry)
- func (in *IPEntry) DeepCopyObject() runtime.Object
- func (*IPEntry) Descriptor() ([]byte, []int)
- func (r *IPEntry) GetClaimName() string
- func (r *IPEntry) GetClaimSummaryType() IPClaimSummaryType
- func (r *IPEntry) GetCondition(t conditionv1alpha1.ConditionType) conditionv1alpha1.Condition
- func (IPEntry) GetGroupVersionResource() schema.GroupVersionResource
- func (r *IPEntry) GetIPPrefix() string
- func (r *IPEntry) GetIPPrefixType() IPPrefixType
- func (r *IPEntry) GetNamespacedName() types.NamespacedName
- func (r *IPEntry) GetObjectMeta() *metav1.ObjectMeta
- func (r *IPEntry) GetOwnerReference() *commonv1alpha1.OwnerReference
- func (r *IPEntry) GetSingularName() string
- func (IPEntry) IsStorageVersion() bool
- func (m *IPEntry) Marshal() (dAtA []byte, err error)
- func (m *IPEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *IPEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (IPEntry) NamespaceScoped() bool
- func (IPEntry) New() runtime.Object
- func (IPEntry) NewList() runtime.Object
- func (*IPEntry) ProtoMessage()
- func (m *IPEntry) Reset()
- func (r *IPEntry) SetConditions(c ...conditionv1alpha1.Condition)
- func (m *IPEntry) Size() (n int)
- func (this *IPEntry) String() string
- func (m *IPEntry) Unmarshal(dAtA []byte) error
- func (m *IPEntry) XXX_DiscardUnknown()
- func (m *IPEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IPEntry) XXX_Merge(src proto.Message)
- func (m *IPEntry) XXX_Size() int
- func (m *IPEntry) XXX_Unmarshal(b []byte) error
- type IPEntryList
- func (in *IPEntryList) DeepCopy() *IPEntryList
- func (in *IPEntryList) DeepCopyInto(out *IPEntryList)
- func (in *IPEntryList) DeepCopyObject() runtime.Object
- func (*IPEntryList) Descriptor() ([]byte, []int)
- func (r *IPEntryList) GetListMeta() *metav1.ListMeta
- func (m *IPEntryList) Marshal() (dAtA []byte, err error)
- func (m *IPEntryList) MarshalTo(dAtA []byte) (int, error)
- func (m *IPEntryList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IPEntryList) ProtoMessage()
- func (m *IPEntryList) Reset()
- func (m *IPEntryList) Size() (n int)
- func (this *IPEntryList) String() string
- func (m *IPEntryList) Unmarshal(dAtA []byte) error
- func (m *IPEntryList) XXX_DiscardUnknown()
- func (m *IPEntryList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IPEntryList) XXX_Merge(src proto.Message)
- func (m *IPEntryList) XXX_Size() int
- func (m *IPEntryList) XXX_Unmarshal(b []byte) error
- type IPEntrySpec
- func (in *IPEntrySpec) DeepCopy() *IPEntrySpec
- func (in *IPEntrySpec) DeepCopyInto(out *IPEntrySpec)
- func (*IPEntrySpec) Descriptor() ([]byte, []int)
- func (m *IPEntrySpec) Marshal() (dAtA []byte, err error)
- func (m *IPEntrySpec) MarshalTo(dAtA []byte) (int, error)
- func (m *IPEntrySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IPEntrySpec) ProtoMessage()
- func (m *IPEntrySpec) Reset()
- func (m *IPEntrySpec) Size() (n int)
- func (this *IPEntrySpec) String() string
- func (m *IPEntrySpec) Unmarshal(dAtA []byte) error
- func (m *IPEntrySpec) XXX_DiscardUnknown()
- func (m *IPEntrySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IPEntrySpec) XXX_Merge(src proto.Message)
- func (m *IPEntrySpec) XXX_Size() int
- func (m *IPEntrySpec) XXX_Unmarshal(b []byte) error
- type IPEntryStatus
- func (in *IPEntryStatus) DeepCopy() *IPEntryStatus
- func (in *IPEntryStatus) DeepCopyInto(out *IPEntryStatus)
- func (*IPEntryStatus) Descriptor() ([]byte, []int)
- func (m *IPEntryStatus) Marshal() (dAtA []byte, err error)
- func (m *IPEntryStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *IPEntryStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IPEntryStatus) ProtoMessage()
- func (m *IPEntryStatus) Reset()
- func (m *IPEntryStatus) Size() (n int)
- func (this *IPEntryStatus) String() string
- func (m *IPEntryStatus) Unmarshal(dAtA []byte) error
- func (m *IPEntryStatus) XXX_DiscardUnknown()
- func (m *IPEntryStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IPEntryStatus) XXX_Merge(src proto.Message)
- func (m *IPEntryStatus) XXX_Size() int
- func (m *IPEntryStatus) XXX_Unmarshal(b []byte) error
- type IPIndex
- func (r *IPIndex) CalculateHash() ([sha1.Size]byte, error)
- func (in *IPIndex) DeepCopy() *IPIndex
- func (in *IPIndex) DeepCopyInto(out *IPIndex)
- func (in *IPIndex) DeepCopyObject() runtime.Object
- func (*IPIndex) Descriptor() ([]byte, []int)
- func (r *IPIndex) GetCondition(t conditionv1alpha1.ConditionType) conditionv1alpha1.Condition
- func (IPIndex) GetGroupVersionResource() schema.GroupVersionResource
- func (r *IPIndex) GetKey() store.Key
- func (r *IPIndex) GetNamespacedName() types.NamespacedName
- func (r *IPIndex) GetObjectMeta() *metav1.ObjectMeta
- func (r *IPIndex) GetOwnerReference() *commonv1alpha1.OwnerReference
- func (r *IPIndex) GetSingularName() string
- func (IPIndex) IsStorageVersion() bool
- func (m *IPIndex) Marshal() (dAtA []byte, err error)
- func (m *IPIndex) MarshalTo(dAtA []byte) (int, error)
- func (m *IPIndex) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (IPIndex) NamespaceScoped() bool
- func (IPIndex) New() runtime.Object
- func (IPIndex) NewList() runtime.Object
- func (*IPIndex) ProtoMessage()
- func (m *IPIndex) Reset()
- func (r *IPIndex) SetConditions(c ...conditionv1alpha1.Condition)
- func (m *IPIndex) Size() (n int)
- func (this *IPIndex) String() string
- func (m *IPIndex) Unmarshal(dAtA []byte) error
- func (m *IPIndex) XXX_DiscardUnknown()
- func (m *IPIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IPIndex) XXX_Merge(src proto.Message)
- func (m *IPIndex) XXX_Size() int
- func (m *IPIndex) XXX_Unmarshal(b []byte) error
- type IPIndexList
- func (in *IPIndexList) DeepCopy() *IPIndexList
- func (in *IPIndexList) DeepCopyInto(out *IPIndexList)
- func (in *IPIndexList) DeepCopyObject() runtime.Object
- func (*IPIndexList) Descriptor() ([]byte, []int)
- func (r *IPIndexList) GetListMeta() *metav1.ListMeta
- func (m *IPIndexList) Marshal() (dAtA []byte, err error)
- func (m *IPIndexList) MarshalTo(dAtA []byte) (int, error)
- func (m *IPIndexList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IPIndexList) ProtoMessage()
- func (m *IPIndexList) Reset()
- func (m *IPIndexList) Size() (n int)
- func (this *IPIndexList) String() string
- func (m *IPIndexList) Unmarshal(dAtA []byte) error
- func (m *IPIndexList) XXX_DiscardUnknown()
- func (m *IPIndexList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IPIndexList) XXX_Merge(src proto.Message)
- func (m *IPIndexList) XXX_Size() int
- func (m *IPIndexList) XXX_Unmarshal(b []byte) error
- type IPIndexSpec
- func (in *IPIndexSpec) DeepCopy() *IPIndexSpec
- func (in *IPIndexSpec) DeepCopyInto(out *IPIndexSpec)
- func (*IPIndexSpec) Descriptor() ([]byte, []int)
- func (m *IPIndexSpec) Marshal() (dAtA []byte, err error)
- func (m *IPIndexSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *IPIndexSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IPIndexSpec) ProtoMessage()
- func (m *IPIndexSpec) Reset()
- func (m *IPIndexSpec) Size() (n int)
- func (this *IPIndexSpec) String() string
- func (m *IPIndexSpec) Unmarshal(dAtA []byte) error
- func (m *IPIndexSpec) XXX_DiscardUnknown()
- func (m *IPIndexSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IPIndexSpec) XXX_Merge(src proto.Message)
- func (m *IPIndexSpec) XXX_Size() int
- func (m *IPIndexSpec) XXX_Unmarshal(b []byte) error
- type IPIndexStatus
- func (in *IPIndexStatus) DeepCopy() *IPIndexStatus
- func (in *IPIndexStatus) DeepCopyInto(out *IPIndexStatus)
- func (*IPIndexStatus) Descriptor() ([]byte, []int)
- func (m *IPIndexStatus) Marshal() (dAtA []byte, err error)
- func (m *IPIndexStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *IPIndexStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IPIndexStatus) ProtoMessage()
- func (m *IPIndexStatus) Reset()
- func (m *IPIndexStatus) Size() (n int)
- func (this *IPIndexStatus) String() string
- func (m *IPIndexStatus) Unmarshal(dAtA []byte) error
- func (m *IPIndexStatus) XXX_DiscardUnknown()
- func (m *IPIndexStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IPIndexStatus) XXX_Merge(src proto.Message)
- func (m *IPIndexStatus) XXX_Size() int
- func (m *IPIndexStatus) XXX_Unmarshal(b []byte) error
- type IPPrefixType
- type SyntaxValidator
Constants ¶
const ( Group = "ipam.be.kuid.dev" Version = "v1alpha1" )
const IPClaimPlural = "ipclaims"
const IPClaimSingular = "ipclaim"
const IPEntryPlural = "ipentries"
const IPEntrySingular = "ipentry"
const IPIndexPlural = "ipindices"
const IPIndexSingular = "ipindex"
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") )
var ( // SchemeGroupVersion contains the API group and version information for the types in this package. SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} // AddToScheme applies all the stored functions to the scheme. A non-nil error // indicates that one function failed and the attempt was abandoned. //AddToScheme = (&runtime.SchemeBuilder{}).AddToScheme AddToScheme = localSchemeBuilder.AddToScheme )
var (
IPClaimKind = reflect.TypeOf(IPClaim{}).Name()
)
var (
IPEntryKind = reflect.TypeOf(IPEntry{}).Name()
)
var (
IPIndexKind = reflect.TypeOf(IPIndex{}).Name()
)
Functions ¶
func ConvertIPClaimFieldSelector ¶
func ConvertIPClaimFieldSelector(label, value string) (internalLabel, internalValue string, err error)
ConvertIPClaimFieldSelector is the schema conversion function for normalizing the FieldSelector for IPClaim
func ConvertIPEntryFieldSelector ¶
func ConvertIPEntryFieldSelector(label, value string) (internalLabel, internalValue string, err error)
ConvertIPEntryFieldSelector is the schema conversion function for normalizing the FieldSelector for IPEntry
func ConvertIPIndexFieldSelector ¶
func ConvertIPIndexFieldSelector(label, value string) (internalLabel, internalValue string, err error)
ConvertIPIndexFieldSelector is the schema conversion function for normalizing the FieldSelector for IPIndex
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type IPClaim ¶
type IPClaim struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec IPClaimSpec `json:"spec,omitempty" yaml:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status IPClaimStatus `json:"status,omitempty" yaml:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
IPClaim is the Schema for the ipclaim API
+k8s:openapi-gen=true
func BuildIPClaim ¶
func BuildIPClaim(meta metav1.ObjectMeta, spec *IPClaimSpec, status *IPClaimStatus) *IPClaim
BuildIPClaim returns a reource from a client Object a Spec/Status
func (*IPClaim) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPClaim.
func (*IPClaim) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPClaim) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IPClaim) Descriptor ¶
func (*IPClaim) GetClaimRequest ¶
func (*IPClaim) GetClaimResponse ¶
func (*IPClaim) GetCondition ¶
func (r *IPClaim) GetCondition(t conditionv1alpha1.ConditionType) conditionv1alpha1.Condition
GetCondition returns the condition based on the condition kind
func (*IPClaim) GetDefaultGatewayLabelSelector ¶
GetGatewayLabelSelector returns a label selector to select the gateway of the claim in the backend
func (*IPClaim) GetDummyLabelsFromPrefix ¶
GetDummyLabelsFromPrefix returns a map with the labels from the spec augmented with the prefixkind and the subnet from the prefixInfo
func (IPClaim) GetGroupVersionResource ¶
func (IPClaim) GetGroupVersionResource() schema.GroupVersionResource
func (*IPClaim) GetIPClaimSummaryType ¶
func (r *IPClaim) GetIPClaimSummaryType() IPClaimSummaryType
func (*IPClaim) GetIPClaimType ¶
func (r *IPClaim) GetIPClaimType() (IPClaimType, error)
func (*IPClaim) GetIPPrefixType ¶
func (r *IPClaim) GetIPPrefixType() IPPrefixType
func (*IPClaim) GetLabelSelector ¶
GetLabelSelector returns a labels selector based on the label selector
func (*IPClaim) GetNamespacedName ¶
func (r *IPClaim) GetNamespacedName() types.NamespacedName
func (*IPClaim) GetObjectMeta ¶
func (r *IPClaim) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object
func (*IPClaim) GetOwnerReference ¶
func (r *IPClaim) GetOwnerReference() *commonv1alpha1.OwnerReference
func (*IPClaim) GetOwnerSelector ¶
GetOwnerSelector returns a label selector to select the owner of the claim in the backend
func (*IPClaim) GetSingularName ¶
func (*IPClaim) GetStatus ¶
func (r *IPClaim) GetStatus() resource.StatusSubResource
func (IPClaim) IsStorageVersion ¶
IsStorageVersion returns true -- v1alpha1.Config is used as the internal version. IsStorageVersion implements resource.Object.
func (*IPClaim) MarshalToSizedBuffer ¶
func (IPClaim) NamespaceScoped ¶
NamespaceScoped returns true to indicate Fortune is a namespaced resource. NamespaceScoped implements resource.Object.
func (*IPClaim) ProtoMessage ¶
func (*IPClaim) ProtoMessage()
func (*IPClaim) SetConditions ¶
func (r *IPClaim) SetConditions(c ...conditionv1alpha1.Condition)
SetConditions sets the conditions on the resource. it allows for 0, 1 or more conditions to be set at once
func (*IPClaim) ValidateSyntax ¶
func (*IPClaim) XXX_DiscardUnknown ¶
func (m *IPClaim) XXX_DiscardUnknown()
func (*IPClaim) XXX_Marshal ¶
func (*IPClaim) XXX_Unmarshal ¶
type IPClaimList ¶
type IPClaimList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []IPClaim `json:"items" yaml:"items" protobuf:"bytes,2,rep,name=items"` }
IPClaimList contains a list of IPClaims +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*IPClaimList) DeepCopy ¶
func (in *IPClaimList) DeepCopy() *IPClaimList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPClaimList.
func (*IPClaimList) DeepCopyInto ¶
func (in *IPClaimList) DeepCopyInto(out *IPClaimList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPClaimList) DeepCopyObject ¶
func (in *IPClaimList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IPClaimList) Descriptor ¶
func (*IPClaimList) Descriptor() ([]byte, []int)
func (*IPClaimList) GetItems ¶
func (r *IPClaimList) GetItems() []rresource.Object
func (*IPClaimList) GetListMeta ¶
func (r *IPClaimList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta
func (*IPClaimList) Marshal ¶
func (m *IPClaimList) Marshal() (dAtA []byte, err error)
func (*IPClaimList) MarshalToSizedBuffer ¶
func (m *IPClaimList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IPClaimList) ProtoMessage ¶
func (*IPClaimList) ProtoMessage()
func (*IPClaimList) Reset ¶
func (m *IPClaimList) Reset()
func (*IPClaimList) Size ¶
func (m *IPClaimList) Size() (n int)
func (*IPClaimList) String ¶
func (this *IPClaimList) String() string
func (*IPClaimList) Unmarshal ¶
func (m *IPClaimList) Unmarshal(dAtA []byte) error
func (*IPClaimList) XXX_DiscardUnknown ¶
func (m *IPClaimList) XXX_DiscardUnknown()
func (*IPClaimList) XXX_Marshal ¶
func (m *IPClaimList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IPClaimList) XXX_Merge ¶
func (m *IPClaimList) XXX_Merge(src proto.Message)
func (*IPClaimList) XXX_Size ¶
func (m *IPClaimList) XXX_Size() int
func (*IPClaimList) XXX_Unmarshal ¶
func (m *IPClaimList) XXX_Unmarshal(b []byte) error
type IPClaimSpec ¶
type IPClaimSpec struct { // NetworkInstance defines the networkInstance context of the IPAddress. // A NetworkInstance is a dedicated routing table instance NetworkInstance string `json:"networkInstance" yaml:"networkInstance" protobuf:"bytes,1,opt,name=networkInstance"` // PrefixType defines the prefixtype of IPEntry; for address and range claims this is not relevant // - network kind is used for physical, virtual nics on a device // - pool kind is used for allocating dedicated IP addresses // - aggregate kind is used for claiming an aggregate prefix; only used for networkInstance prefixes // +kubebuilder:validation:Enum=`network`;`aggregate`;`pool`; // +optional PrefixType *IPPrefixType `json:"prefixType,omitempty" yaml:"prefixType,omitempty" protobuf:"bytes,2,opt,name=prefixType"` // Prefix defines the prefix for the IP claim // +optional Prefix *string `json:"prefix,omitempty" yaml:"prefix,omitempty" protobuf:"bytes,3,opt,name=prefix"` // Address defines the address for the IP claim // +optional Address *string `json:"address,omitempty" yaml:"address,omitempty" protobuf:"bytes,4,opt,name=address"` // Range defines the range for the IP claim // +optional Range *string `json:"range,omitempty" yaml:"range,omitempty" protobuf:"bytes,5,opt,name=range"` // DefaultGateway defines if the address acts as a default gateway // +optional DefaultGateway *bool `json:"defaultGateway,omitempty" yaml:"defaultGateway,omitempty" protobuf:"varint,6,opt,name=defaultGateway"` // CreatePrefix defines if this prefix must be created. Only used for dynamic prefixes // e.g. non /32 ipv4 and non /128 ipv6 prefixes // +optional CreatePrefix *bool `json:"createPrefix,omitempty" yaml:"createPrefix,omitempty" protobuf:"varint,7,opt,name=createPrefix"` // PrefixLength defines the prefix length for the IP Claim, Must be set when CreatePrefic is set // If not present we use assume /32 for ipv4 and /128 for ipv6 // +optional PrefixLength *uint32 `json:"prefixLength,omitempty" yaml:"prefixLength,omitempty" protobuf:"varint,8,opt,name=prefixLength"` // AddressFamily defines the address family for the IP claim // +kubebuilder:validation:Enum=`ipv4`;`ipv6` // +kubebuilder:validation:Optional // +optional AddressFamily *iputil.AddressFamily `json:"addressFamily,omitempty" yaml:"addressFamily,omitempty" protobuf:"bytes,9,opt,name=addressFamily"` // Index defines the index of the IP Claim, used to get a deterministic IP from a prefix // If not present we claim a random prefix from a prefix // +kubebuilder:validation:Optional // +optional Index *uint32 `json:"index,omitempty" yaml:"index,omitempty" protobuf:"varint,10,opt,name=index"` // ClaimLabels define the user defined labels and selector labels used // in resource claim commonv1alpha1.ClaimLabels `json:",inline" yaml:",inline" protobuf:"bytes,11,opt,name=claimLabels"` // Owner defines the ownerReference of the IPClaim // Allow for different namesapces, hence it is part of the spec Owner *commonv1alpha1.OwnerReference `json:"owner,omitempty" yaml:"owner,omitempty" protobuf:"bytes,12,opt,name=owner"` }
IPClaimSpec defines the desired state of IPClaim
func (*IPClaimSpec) DeepCopy ¶
func (in *IPClaimSpec) DeepCopy() *IPClaimSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPClaimSpec.
func (*IPClaimSpec) DeepCopyInto ¶
func (in *IPClaimSpec) DeepCopyInto(out *IPClaimSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPClaimSpec) Descriptor ¶
func (*IPClaimSpec) Descriptor() ([]byte, []int)
func (*IPClaimSpec) Marshal ¶
func (m *IPClaimSpec) Marshal() (dAtA []byte, err error)
func (*IPClaimSpec) MarshalToSizedBuffer ¶
func (m *IPClaimSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IPClaimSpec) ProtoMessage ¶
func (*IPClaimSpec) ProtoMessage()
func (*IPClaimSpec) Reset ¶
func (m *IPClaimSpec) Reset()
func (*IPClaimSpec) Size ¶
func (m *IPClaimSpec) Size() (n int)
func (*IPClaimSpec) String ¶
func (this *IPClaimSpec) String() string
func (*IPClaimSpec) Unmarshal ¶
func (m *IPClaimSpec) Unmarshal(dAtA []byte) error
func (*IPClaimSpec) XXX_DiscardUnknown ¶
func (m *IPClaimSpec) XXX_DiscardUnknown()
func (*IPClaimSpec) XXX_Marshal ¶
func (m *IPClaimSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IPClaimSpec) XXX_Merge ¶
func (m *IPClaimSpec) XXX_Merge(src proto.Message)
func (*IPClaimSpec) XXX_Size ¶
func (m *IPClaimSpec) XXX_Size() int
func (*IPClaimSpec) XXX_Unmarshal ¶
func (m *IPClaimSpec) XXX_Unmarshal(b []byte) error
type IPClaimStatus ¶
type IPClaimStatus struct { // ConditionedStatus provides the status of the IPClain using conditions // - a ready condition indicates the overall status of the resource conditionv1alpha1.ConditionedStatus `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=conditionedStatus"` // Range defines the range, claimed through the IPAM backend // +optional Range *string `json:"range,omitempty" yaml:"range,omitempty" protobuf:"bytes,2,opt,name=range"` // Address defines the address, claimed through the IPAM backend // +optional Address *string `json:"address,omitempty" yaml:"address,omitempty" protobuf:"bytes,3,opt,name=address"` // Prefix defines the prefix, claimed through the IPAM backend // +optional Prefix *string `json:"prefix,omitempty" yaml:"prefix,omitempty" protobuf:"bytes,4,opt,name=prefix"` // DefaultGateway defines the default gateway IP for the claimed prefix // DefaultGateway is only relevant for prefix kind = network // +optional DefaultGateway *string `json:"defaultGateway,omitempty" yaml:"defaultGateway,omitempty" protobuf:"bytes,5,opt,name=defaultGateway"` // ExpiryTime defines when the claim expires // +kubebuilder:validation:Optional // +optional ExpiryTime *string `json:"expiryTime,omitempty" yaml:"expiryTime,omitempty" protobuf:"bytes,6,opt,name=expiryTime"` }
IPClaimStatus defines the observed state of IPClaim
func (IPClaimStatus) CopyTo ¶
func (r IPClaimStatus) CopyTo(obj resource.ObjectWithStatusSubResource)
func (*IPClaimStatus) DeepCopy ¶
func (in *IPClaimStatus) DeepCopy() *IPClaimStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPClaimStatus.
func (*IPClaimStatus) DeepCopyInto ¶
func (in *IPClaimStatus) DeepCopyInto(out *IPClaimStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPClaimStatus) Descriptor ¶
func (*IPClaimStatus) Descriptor() ([]byte, []int)
func (*IPClaimStatus) Marshal ¶
func (m *IPClaimStatus) Marshal() (dAtA []byte, err error)
func (*IPClaimStatus) MarshalToSizedBuffer ¶
func (m *IPClaimStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IPClaimStatus) ProtoMessage ¶
func (*IPClaimStatus) ProtoMessage()
func (*IPClaimStatus) Reset ¶
func (m *IPClaimStatus) Reset()
func (*IPClaimStatus) Size ¶
func (m *IPClaimStatus) Size() (n int)
func (*IPClaimStatus) String ¶
func (this *IPClaimStatus) String() string
func (IPClaimStatus) SubResourceName ¶
func (IPClaimStatus) SubResourceName() string
func (*IPClaimStatus) Unmarshal ¶
func (m *IPClaimStatus) Unmarshal(dAtA []byte) error
func (*IPClaimStatus) XXX_DiscardUnknown ¶
func (m *IPClaimStatus) XXX_DiscardUnknown()
func (*IPClaimStatus) XXX_Marshal ¶
func (m *IPClaimStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IPClaimStatus) XXX_Merge ¶
func (m *IPClaimStatus) XXX_Merge(src proto.Message)
func (*IPClaimStatus) XXX_Size ¶
func (m *IPClaimStatus) XXX_Size() int
func (*IPClaimStatus) XXX_Unmarshal ¶
func (m *IPClaimStatus) XXX_Unmarshal(b []byte) error
type IPClaimSummaryType ¶
type IPClaimSummaryType string
const ( IPClaimSummaryType_Prefix IPClaimSummaryType = "prefix" IPClaimSummaryType_Address IPClaimSummaryType = "address" IPClaimSummaryType_Range IPClaimSummaryType = "range" IPClaimSummaryType_Invalid IPClaimSummaryType = "invalid" )
func GetIPClaimSummaryTypeFromString ¶
func GetIPClaimSummaryTypeFromString(s string) IPClaimSummaryType
type IPClaimType ¶
type IPClaimType string
const ( IPClaimType_Invalid IPClaimType = "invalid" IPClaimType_StaticAddress IPClaimType = "staticAddress" IPClaimType_StaticPrefix IPClaimType = "staticPrefix" IPClaimType_StaticRange IPClaimType = "staticRange" IPClaimType_DynamicAddress IPClaimType = "dynamicAddress" IPClaimType_DynamicPrefix IPClaimType = "dynamicPrefix" )
func GetIPClaimTypeFromString ¶
func GetIPClaimTypeFromString(s string) IPClaimType
type IPEntry ¶
type IPEntry struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec IPEntrySpec `json:"spec,omitempty" yaml:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status IPEntryStatus `json:"status,omitempty" yaml:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
IPEntry is the Schema for the ipentry API
+k8s:openapi-gen=true
func BuildIPEntry ¶
func BuildIPEntry(meta metav1.ObjectMeta, spec *IPEntrySpec, status *IPEntryStatus) *IPEntry
BuildIPEntry returns a reource from a client Object a Spec/Status
func GetIPEntry ¶
func (*IPEntry) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPEntry.
func (*IPEntry) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPEntry) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IPEntry) Descriptor ¶
func (*IPEntry) GetClaimName ¶
func (*IPEntry) GetClaimSummaryType ¶
func (r *IPEntry) GetClaimSummaryType() IPClaimSummaryType
func (*IPEntry) GetCondition ¶
func (r *IPEntry) GetCondition(t conditionv1alpha1.ConditionType) conditionv1alpha1.Condition
GetCondition returns the condition based on the condition kind
func (IPEntry) GetGroupVersionResource ¶
func (IPEntry) GetGroupVersionResource() schema.GroupVersionResource
func (*IPEntry) GetIPPrefix ¶
func (*IPEntry) GetIPPrefixType ¶
func (r *IPEntry) GetIPPrefixType() IPPrefixType
func (*IPEntry) GetNamespacedName ¶
func (r *IPEntry) GetNamespacedName() types.NamespacedName
func (*IPEntry) GetObjectMeta ¶
func (r *IPEntry) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object
func (*IPEntry) GetOwnerReference ¶
func (r *IPEntry) GetOwnerReference() *commonv1alpha1.OwnerReference
func (*IPEntry) GetSingularName ¶
func (IPEntry) IsStorageVersion ¶
IsStorageVersion returns true -- v1alpha1.Config is used as the internal version. IsStorageVersion implements resource.Object.
func (*IPEntry) MarshalToSizedBuffer ¶
func (IPEntry) NamespaceScoped ¶
NamespaceScoped returns true to indicate Fortune is a namespaced resource. NamespaceScoped implements resource.Object.
func (*IPEntry) ProtoMessage ¶
func (*IPEntry) ProtoMessage()
func (*IPEntry) SetConditions ¶
func (r *IPEntry) SetConditions(c ...conditionv1alpha1.Condition)
SetConditions sets the conditions on the resource. it allows for 0, 1 or more conditions to be set at once
func (*IPEntry) XXX_DiscardUnknown ¶
func (m *IPEntry) XXX_DiscardUnknown()
func (*IPEntry) XXX_Marshal ¶
func (*IPEntry) XXX_Unmarshal ¶
type IPEntryList ¶
type IPEntryList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []IPEntry `json:"items" yaml:"items" protobuf:"bytes,2,rep,name=items"` }
IPEntryList contains a list of IPEntries +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*IPEntryList) DeepCopy ¶
func (in *IPEntryList) DeepCopy() *IPEntryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPEntryList.
func (*IPEntryList) DeepCopyInto ¶
func (in *IPEntryList) DeepCopyInto(out *IPEntryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPEntryList) DeepCopyObject ¶
func (in *IPEntryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IPEntryList) Descriptor ¶
func (*IPEntryList) Descriptor() ([]byte, []int)
func (*IPEntryList) GetListMeta ¶
func (r *IPEntryList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta
func (*IPEntryList) Marshal ¶
func (m *IPEntryList) Marshal() (dAtA []byte, err error)
func (*IPEntryList) MarshalToSizedBuffer ¶
func (m *IPEntryList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IPEntryList) ProtoMessage ¶
func (*IPEntryList) ProtoMessage()
func (*IPEntryList) Reset ¶
func (m *IPEntryList) Reset()
func (*IPEntryList) Size ¶
func (m *IPEntryList) Size() (n int)
func (*IPEntryList) String ¶
func (this *IPEntryList) String() string
func (*IPEntryList) Unmarshal ¶
func (m *IPEntryList) Unmarshal(dAtA []byte) error
func (*IPEntryList) XXX_DiscardUnknown ¶
func (m *IPEntryList) XXX_DiscardUnknown()
func (*IPEntryList) XXX_Marshal ¶
func (m *IPEntryList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IPEntryList) XXX_Merge ¶
func (m *IPEntryList) XXX_Merge(src proto.Message)
func (*IPEntryList) XXX_Size ¶
func (m *IPEntryList) XXX_Size() int
func (*IPEntryList) XXX_Unmarshal ¶
func (m *IPEntryList) XXX_Unmarshal(b []byte) error
type IPEntrySpec ¶
type IPEntrySpec struct { // NetworkInstance defines the networkInstance context of the IPAddress. // A NetworkInstance is a dedicated routing table instance NetworkInstance string `json:"networkInstance" yaml:"networkInstance" protobuf:"bytes,1,opt,name=networkInstance"` // PrefixType defines the prefixtype of IPEntry; for address and range claims this is not relevant // - network kind is used for physical, virtual nics on a device // - pool kind is used for allocating dedicated IP addresses // - aggregate kind is used for claiming an aggregate prefix; only used for networkInstance prefixes // +kubebuilder:validation:Enum=`network`;`aggregate`;`pool`; // +optional PrefixType *IPPrefixType `json:"prefixType,omitempty" yaml:"prefixType,omitempty" protobuf:"bytes,2,opt,name=prefixType"` // ClaimType defines the claimType of the IP Entry // +kubebuilder:validation:Enum=`staticAddress`;`staticPrefix`;`staticRange`;`dynamicPrefix`;`dynamicAddress`; ClaimType IPClaimType `json:"claimType,omitempty" yaml:"claimType,omitempty" protobuf:"bytes,3,opt,name=claimType"` // Prefix defines the prefix for the IP entry; which can be an expanded prefix from the prefix, range or address Prefix string `json:"prefix" yaml:"prefix" protobuf:"bytes,4,opt,name=prefix"` // DefaultGateway defines if the address acts as a default gateway // +optional DefaultGateway *bool `json:"defaultGateway,omitempty" yaml:"defaultGateway,omitempty" protobuf:"varint,5,opt,name=defaultGateway"` // AddressFamily defines the address family for the IP claim // +kubebuilder:validation:Enum=`ipv4`;`ipv6` // +kubebuilder:validation:Optional // +optional AddressFamily *iputil.AddressFamily `json:"addressFamily,omitempty" yaml:"addressFamily,omitempty" protobuf:"bytes,6,opt,name=addressFamily"` // UserDefinedLabels define the user defined labels commonv1alpha1.UserDefinedLabels `json:",inline" yaml:",inline" protobuf:"bytes,7,opt,name=userDefinedLabels"` // Claim defines the name of the ip claim that is the origin of this ip entry Claim string `json:"claim" yaml:"claim" protobuf:"bytes,8,opt,name=claim"` // Owner defines the ownerReference of the IPENtry // Allow for different namesapces, hence it is part of the spec Owner *commonv1alpha1.OwnerReference `json:"owner,omitempty" yaml:"owner,omitempty" protobuf:"bytes,9,opt,name=owner"` }
IPEntrySpec defines the desired state of IPEntry
func (*IPEntrySpec) DeepCopy ¶
func (in *IPEntrySpec) DeepCopy() *IPEntrySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPEntrySpec.
func (*IPEntrySpec) DeepCopyInto ¶
func (in *IPEntrySpec) DeepCopyInto(out *IPEntrySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPEntrySpec) Descriptor ¶
func (*IPEntrySpec) Descriptor() ([]byte, []int)
func (*IPEntrySpec) Marshal ¶
func (m *IPEntrySpec) Marshal() (dAtA []byte, err error)
func (*IPEntrySpec) MarshalToSizedBuffer ¶
func (m *IPEntrySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IPEntrySpec) ProtoMessage ¶
func (*IPEntrySpec) ProtoMessage()
func (*IPEntrySpec) Reset ¶
func (m *IPEntrySpec) Reset()
func (*IPEntrySpec) Size ¶
func (m *IPEntrySpec) Size() (n int)
func (*IPEntrySpec) String ¶
func (this *IPEntrySpec) String() string
func (*IPEntrySpec) Unmarshal ¶
func (m *IPEntrySpec) Unmarshal(dAtA []byte) error
func (*IPEntrySpec) XXX_DiscardUnknown ¶
func (m *IPEntrySpec) XXX_DiscardUnknown()
func (*IPEntrySpec) XXX_Marshal ¶
func (m *IPEntrySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IPEntrySpec) XXX_Merge ¶
func (m *IPEntrySpec) XXX_Merge(src proto.Message)
func (*IPEntrySpec) XXX_Size ¶
func (m *IPEntrySpec) XXX_Size() int
func (*IPEntrySpec) XXX_Unmarshal ¶
func (m *IPEntrySpec) XXX_Unmarshal(b []byte) error
type IPEntryStatus ¶
type IPEntryStatus struct { // ConditionedStatus provides the status of the IPClain using conditions // - a ready condition indicates the overall status of the resource conditionv1alpha1.ConditionedStatus `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=conditionedStatus"` }
IPEntryStatus defines the observed state of IPEntry
func (*IPEntryStatus) DeepCopy ¶
func (in *IPEntryStatus) DeepCopy() *IPEntryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPEntryStatus.
func (*IPEntryStatus) DeepCopyInto ¶
func (in *IPEntryStatus) DeepCopyInto(out *IPEntryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPEntryStatus) Descriptor ¶
func (*IPEntryStatus) Descriptor() ([]byte, []int)
func (*IPEntryStatus) Marshal ¶
func (m *IPEntryStatus) Marshal() (dAtA []byte, err error)
func (*IPEntryStatus) MarshalToSizedBuffer ¶
func (m *IPEntryStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IPEntryStatus) ProtoMessage ¶
func (*IPEntryStatus) ProtoMessage()
func (*IPEntryStatus) Reset ¶
func (m *IPEntryStatus) Reset()
func (*IPEntryStatus) Size ¶
func (m *IPEntryStatus) Size() (n int)
func (*IPEntryStatus) String ¶
func (this *IPEntryStatus) String() string
func (*IPEntryStatus) Unmarshal ¶
func (m *IPEntryStatus) Unmarshal(dAtA []byte) error
func (*IPEntryStatus) XXX_DiscardUnknown ¶
func (m *IPEntryStatus) XXX_DiscardUnknown()
func (*IPEntryStatus) XXX_Marshal ¶
func (m *IPEntryStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IPEntryStatus) XXX_Merge ¶
func (m *IPEntryStatus) XXX_Merge(src proto.Message)
func (*IPEntryStatus) XXX_Size ¶
func (m *IPEntryStatus) XXX_Size() int
func (*IPEntryStatus) XXX_Unmarshal ¶
func (m *IPEntryStatus) XXX_Unmarshal(b []byte) error
type IPIndex ¶
type IPIndex struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec IPIndexSpec `json:"spec,omitempty" yaml:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status IPIndexStatus `json:"status,omitempty" yaml:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
IPIndex is the Schema for the IPIndex API
+k8s:openapi-gen=true
func BuildIPIndex ¶
func BuildIPIndex(meta metav1.ObjectMeta, spec *IPIndexSpec, status *IPIndexStatus) *IPIndex
BuildIPIndex returns a reource from a client Object a Spec/Status
func (*IPIndex) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPIndex.
func (*IPIndex) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPIndex) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IPIndex) Descriptor ¶
func (*IPIndex) GetCondition ¶
func (r *IPIndex) GetCondition(t conditionv1alpha1.ConditionType) conditionv1alpha1.Condition
GetCondition returns the condition based on the condition kind
func (IPIndex) GetGroupVersionResource ¶
func (IPIndex) GetGroupVersionResource() schema.GroupVersionResource
func (*IPIndex) GetNamespacedName ¶
func (r *IPIndex) GetNamespacedName() types.NamespacedName
func (*IPIndex) GetObjectMeta ¶
func (r *IPIndex) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object
func (*IPIndex) GetOwnerReference ¶
func (r *IPIndex) GetOwnerReference() *commonv1alpha1.OwnerReference
func (*IPIndex) GetSingularName ¶
func (IPIndex) IsStorageVersion ¶
IsStorageVersion returns true -- v1alpha1.Config is used as the internal version. IsStorageVersion implements resource.Object.
func (*IPIndex) MarshalToSizedBuffer ¶
func (IPIndex) NamespaceScoped ¶
NamespaceScoped returns true to indicate Fortune is a namespaced resource. NamespaceScoped implements resource.Object.
func (*IPIndex) ProtoMessage ¶
func (*IPIndex) ProtoMessage()
func (*IPIndex) SetConditions ¶
func (r *IPIndex) SetConditions(c ...conditionv1alpha1.Condition)
SetConditions sets the conditions on the resource. it allows for 0, 1 or more conditions to be set at once
func (*IPIndex) XXX_DiscardUnknown ¶
func (m *IPIndex) XXX_DiscardUnknown()
func (*IPIndex) XXX_Marshal ¶
func (*IPIndex) XXX_Unmarshal ¶
type IPIndexList ¶
type IPIndexList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []IPIndex `json:"items" yaml:"items" protobuf:"bytes,2,rep,name=items"` }
IPIndexList contains a list of IPIndexs +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*IPIndexList) DeepCopy ¶
func (in *IPIndexList) DeepCopy() *IPIndexList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPIndexList.
func (*IPIndexList) DeepCopyInto ¶
func (in *IPIndexList) DeepCopyInto(out *IPIndexList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPIndexList) DeepCopyObject ¶
func (in *IPIndexList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IPIndexList) Descriptor ¶
func (*IPIndexList) Descriptor() ([]byte, []int)
func (*IPIndexList) GetListMeta ¶
func (r *IPIndexList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta
func (*IPIndexList) Marshal ¶
func (m *IPIndexList) Marshal() (dAtA []byte, err error)
func (*IPIndexList) MarshalToSizedBuffer ¶
func (m *IPIndexList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IPIndexList) ProtoMessage ¶
func (*IPIndexList) ProtoMessage()
func (*IPIndexList) Reset ¶
func (m *IPIndexList) Reset()
func (*IPIndexList) Size ¶
func (m *IPIndexList) Size() (n int)
func (*IPIndexList) String ¶
func (this *IPIndexList) String() string
func (*IPIndexList) Unmarshal ¶
func (m *IPIndexList) Unmarshal(dAtA []byte) error
func (*IPIndexList) XXX_DiscardUnknown ¶
func (m *IPIndexList) XXX_DiscardUnknown()
func (*IPIndexList) XXX_Marshal ¶
func (m *IPIndexList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IPIndexList) XXX_Merge ¶
func (m *IPIndexList) XXX_Merge(src proto.Message)
func (*IPIndexList) XXX_Size ¶
func (m *IPIndexList) XXX_Size() int
func (*IPIndexList) XXX_Unmarshal ¶
func (m *IPIndexList) XXX_Unmarshal(b []byte) error
type IPIndexSpec ¶
type IPIndexSpec struct { }
IPIndexSpec defines the desired state of IPIndex
func (*IPIndexSpec) DeepCopy ¶
func (in *IPIndexSpec) DeepCopy() *IPIndexSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPIndexSpec.
func (*IPIndexSpec) DeepCopyInto ¶
func (in *IPIndexSpec) DeepCopyInto(out *IPIndexSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPIndexSpec) Descriptor ¶
func (*IPIndexSpec) Descriptor() ([]byte, []int)
func (*IPIndexSpec) Marshal ¶
func (m *IPIndexSpec) Marshal() (dAtA []byte, err error)
func (*IPIndexSpec) MarshalToSizedBuffer ¶
func (m *IPIndexSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IPIndexSpec) ProtoMessage ¶
func (*IPIndexSpec) ProtoMessage()
func (*IPIndexSpec) Reset ¶
func (m *IPIndexSpec) Reset()
func (*IPIndexSpec) Size ¶
func (m *IPIndexSpec) Size() (n int)
func (*IPIndexSpec) String ¶
func (this *IPIndexSpec) String() string
func (*IPIndexSpec) Unmarshal ¶
func (m *IPIndexSpec) Unmarshal(dAtA []byte) error
func (*IPIndexSpec) XXX_DiscardUnknown ¶
func (m *IPIndexSpec) XXX_DiscardUnknown()
func (*IPIndexSpec) XXX_Marshal ¶
func (m *IPIndexSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IPIndexSpec) XXX_Merge ¶
func (m *IPIndexSpec) XXX_Merge(src proto.Message)
func (*IPIndexSpec) XXX_Size ¶
func (m *IPIndexSpec) XXX_Size() int
func (*IPIndexSpec) XXX_Unmarshal ¶
func (m *IPIndexSpec) XXX_Unmarshal(b []byte) error
type IPIndexStatus ¶
type IPIndexStatus struct { // ConditionedStatus provides the status of the IPClain using conditions // - a ready condition indicates the overall status of the resource conditionv1alpha1.ConditionedStatus `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=conditionedStatus"` }
IPIndexStatus defines the observed state of IPIndex
func (*IPIndexStatus) DeepCopy ¶
func (in *IPIndexStatus) DeepCopy() *IPIndexStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPIndexStatus.
func (*IPIndexStatus) DeepCopyInto ¶
func (in *IPIndexStatus) DeepCopyInto(out *IPIndexStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPIndexStatus) Descriptor ¶
func (*IPIndexStatus) Descriptor() ([]byte, []int)
func (*IPIndexStatus) Marshal ¶
func (m *IPIndexStatus) Marshal() (dAtA []byte, err error)
func (*IPIndexStatus) MarshalToSizedBuffer ¶
func (m *IPIndexStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IPIndexStatus) ProtoMessage ¶
func (*IPIndexStatus) ProtoMessage()
func (*IPIndexStatus) Reset ¶
func (m *IPIndexStatus) Reset()
func (*IPIndexStatus) Size ¶
func (m *IPIndexStatus) Size() (n int)
func (*IPIndexStatus) String ¶
func (this *IPIndexStatus) String() string
func (*IPIndexStatus) Unmarshal ¶
func (m *IPIndexStatus) Unmarshal(dAtA []byte) error
func (*IPIndexStatus) XXX_DiscardUnknown ¶
func (m *IPIndexStatus) XXX_DiscardUnknown()
func (*IPIndexStatus) XXX_Marshal ¶
func (m *IPIndexStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IPIndexStatus) XXX_Merge ¶
func (m *IPIndexStatus) XXX_Merge(src proto.Message)
func (*IPIndexStatus) XXX_Size ¶
func (m *IPIndexStatus) XXX_Size() int
func (*IPIndexStatus) XXX_Unmarshal ¶
func (m *IPIndexStatus) XXX_Unmarshal(b []byte) error
type IPPrefixType ¶
type IPPrefixType string
const ( IPPrefixType_Invalid IPPrefixType = "invalid" IPPrefixType_Other IPPrefixType = "other" IPPrefixType_Pool IPPrefixType = "pool" IPPrefixType_Network IPPrefixType = "network" IPPrefixType_Aggregate IPPrefixType = "aggregate" )
func GetIPPrefixTypeFromString ¶
func GetIPPrefixTypeFromString(s string) *IPPrefixType
type SyntaxValidator ¶
Source Files ¶
- doc.go
- generated.pb.go
- ipam_types.go
- ipclaim_interface.go
- ipclaim_syntaxvalidator.go
- ipclaim_syntaxvalidator_dynamic_address.go
- ipclaim_syntaxvalidator_dynamic_prefix.go
- ipclaim_syntaxvalidator_static_address.go
- ipclaim_syntaxvalidator_static_prefix.go
- ipclaim_syntaxvalidator_static_range.go
- ipclaim_types.go
- ipentry_interface.go
- ipentry_types.go
- ipindex_interface.go
- ipindex_types.go
- register.go
- zz_generated.deepcopy.go