Versions in this module Expand all Collapse all v0 v0.0.1 May 17, 2024 Changes in this version + const Group + const IPClaimPlural + const IPClaimSingular + const IPEntryPlural + const IPEntrySingular + const IPIndexPlural + const IPIndexSingular + const Version + var AddToScheme = localSchemeBuilder.AddToScheme + var ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") + var IPClaimKind = reflect.TypeOf(IPClaim{}).Name() + var IPEntryKind = reflect.TypeOf(IPEntry{}).Name() + var IPIndexKind = reflect.TypeOf(IPIndex{}).Name() + var SchemeGroupVersion = schema.GroupVersion + func GetIPEntry(ctx context.Context, k store.Key, prefix netip.Prefix, ...) backend.EntryObject + func IPClaimConvertFieldSelector(label, value string) (internalLabel, internalValue string, err error) + func IPClaimTableConvertor(gr schema.GroupResource) registry.TableConvertor + func IPEntryConvertFieldSelector(label, value string) (internalLabel, internalValue string, err error) + func IPEntryTableConvertor(gr schema.GroupResource) registry.TableConvertor + func IPIndexConvertFieldSelector(label, value string) (internalLabel, internalValue string, err error) + func IPIndexTableConvertor(gr schema.GroupResource) registry.TableConvertor + func Resource(resource string) schema.GroupResource + type IPClaim struct + Spec IPClaimSpec + Status IPClaimStatus + func BuildIPClaim(meta metav1.ObjectMeta, spec *IPClaimSpec, status *IPClaimStatus) *IPClaim + func (*IPClaim) Descriptor() ([]byte, []int) + func (*IPClaim) ProtoMessage() + func (IPClaim) GetGroupVersionResource() schema.GroupVersionResource + func (IPClaim) IsStorageVersion() bool + func (IPClaim) NamespaceScoped() bool + func (IPClaim) New() runtime.Object + func (IPClaim) NewList() runtime.Object + func (in *IPClaim) DeepCopy() *IPClaim + func (in *IPClaim) DeepCopyInto(out *IPClaim) + func (in *IPClaim) DeepCopyObject() runtime.Object + 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 (m *IPClaim) Reset() + func (m *IPClaim) Size() (n int) + func (m *IPClaim) Unmarshal(dAtA []byte) error + 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 + func (r *IPClaim) CalculateHash() ([sha1.Size]byte, error) + func (r *IPClaim) GetClaimID(t string, id uint64) tree.ID + func (r *IPClaim) GetClaimLabels() labels.Set + func (r *IPClaim) GetClaimRequest() string + func (r *IPClaim) GetClaimResponse() string + func (r *IPClaim) GetClaimType() backend.ClaimType + 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 (r *IPClaim) GetIPClaimSummaryType() IPClaimSummaryType + func (r *IPClaim) GetIPClaimType() (IPClaimType, error) + func (r *IPClaim) GetIPPrefixType() IPPrefixType + func (r *IPClaim) GetIndex() string + 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) GetRange() *string + func (r *IPClaim) GetRangeID(_ string) (tree.Range, error) + func (r *IPClaim) GetSelector() *metav1.LabelSelector + func (r *IPClaim) GetSingularName() string + func (r *IPClaim) GetStaticID() *uint64 + func (r *IPClaim) GetStaticTreeID(t string) tree.ID + func (r *IPClaim) GetStatus() resource.StatusSubResource + func (r *IPClaim) GetStatusID() *uint64 + func (r *IPClaim) GetTable(s string, to, from uint64) table.Table + func (r *IPClaim) SetConditions(c ...conditionv1alpha1.Condition) + func (r *IPClaim) SetStatusID(s *uint64) + func (r *IPClaim) SetStatusRange(s *string) + func (r *IPClaim) ValidateOwner(labels labels.Set) error + func (r *IPClaim) ValidateSyntax(s string) field.ErrorList + func (this *IPClaim) String() string + type IPClaimList struct + Items []IPClaim + func (*IPClaimList) Descriptor() ([]byte, []int) + func (*IPClaimList) ProtoMessage() + func (in *IPClaimList) DeepCopy() *IPClaimList + func (in *IPClaimList) DeepCopyInto(out *IPClaimList) + func (in *IPClaimList) DeepCopyObject() runtime.Object + 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 (m *IPClaimList) Reset() + func (m *IPClaimList) Size() (n int) + 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 + func (r *IPClaimList) GetItems() []backend.Object + func (r *IPClaimList) GetListMeta() *metav1.ListMeta + func (this *IPClaimList) String() string + type IPClaimSpec struct + Address *string + AddressFamily *iputil.AddressFamily + CreatePrefix *bool + DefaultGateway *bool + Idx *uint32 + Index string + Owner *commonv1alpha1.OwnerReference + Prefix *string + PrefixLength *uint32 + PrefixType *IPPrefixType + Range *string + func (*IPClaimSpec) Descriptor() ([]byte, []int) + func (*IPClaimSpec) ProtoMessage() + func (in *IPClaimSpec) DeepCopy() *IPClaimSpec + func (in *IPClaimSpec) DeepCopyInto(out *IPClaimSpec) + 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 (m *IPClaimSpec) Reset() + func (m *IPClaimSpec) Size() (n int) + 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 + func (this *IPClaimSpec) String() string + type IPClaimStatus struct + Address *string + DefaultGateway *string + ExpiryTime *string + Prefix *string + Range *string + func (*IPClaimStatus) Descriptor() ([]byte, []int) + func (*IPClaimStatus) ProtoMessage() + func (IPClaimStatus) SubResourceName() string + func (in *IPClaimStatus) DeepCopy() *IPClaimStatus + func (in *IPClaimStatus) DeepCopyInto(out *IPClaimStatus) + 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 (m *IPClaimStatus) Reset() + func (m *IPClaimStatus) Size() (n int) + 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 + func (r IPClaimStatus) CopyTo(obj resource.ObjectWithStatusSubResource) + func (this *IPClaimStatus) String() string + type IPClaimSummaryType string + const IPClaimSummaryType_Address + const IPClaimSummaryType_Invalid + const IPClaimSummaryType_Prefix + const IPClaimSummaryType_Range + func GetIPClaimSummaryTypeFromString(s string) IPClaimSummaryType + type IPClaimType string + const IPClaimType_DynamicAddress + const IPClaimType_DynamicPrefix + const IPClaimType_Invalid + const IPClaimType_StaticAddress + const IPClaimType_StaticPrefix + const IPClaimType_StaticRange + func GetIPClaimTypeFromString(s string) IPClaimType + type IPEntry struct + Spec IPEntrySpec + Status IPEntryStatus + func BuildIPEntry(meta metav1.ObjectMeta, spec *IPEntrySpec, status *IPEntryStatus) *IPEntry + func (*IPEntry) Descriptor() ([]byte, []int) + func (*IPEntry) ProtoMessage() + func (IPEntry) GetGroupVersionResource() schema.GroupVersionResource + func (IPEntry) IsStorageVersion() bool + func (IPEntry) NamespaceScoped() bool + func (IPEntry) New() runtime.Object + func (IPEntry) NewList() runtime.Object + func (in *IPEntry) DeepCopy() *IPEntry + func (in *IPEntry) DeepCopyInto(out *IPEntry) + func (in *IPEntry) DeepCopyObject() runtime.Object + 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 (m *IPEntry) Reset() + func (m *IPEntry) Size() (n int) + 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 + func (r *IPEntry) CalculateHash() ([sha1.Size]byte, error) + func (r *IPEntry) GetClaimName() string + func (r *IPEntry) GetClaimSummaryType() IPClaimSummaryType + func (r *IPEntry) GetClaimType() backend.ClaimType + func (r *IPEntry) GetCondition(t conditionv1alpha1.ConditionType) conditionv1alpha1.Condition + func (r *IPEntry) GetIPPrefix() string + func (r *IPEntry) GetIPPrefixType() IPPrefixType + func (r *IPEntry) GetIndex() string + func (r *IPEntry) GetKey() store.Key + func (r *IPEntry) GetNamespacedName() types.NamespacedName + func (r *IPEntry) GetObjectMeta() *metav1.ObjectMeta + func (r *IPEntry) GetOwnerGVK() schema.GroupVersionKind + func (r *IPEntry) GetOwnerNSN() types.NamespacedName + func (r *IPEntry) GetOwnerReference() *commonv1alpha1.OwnerReference + func (r *IPEntry) GetSingularName() string + func (r *IPEntry) GetSpec() any + func (r *IPEntry) GetSpecID() string + func (r *IPEntry) SetConditions(c ...conditionv1alpha1.Condition) + func (r *IPEntry) SetSpec(s any) + func (this *IPEntry) String() string + type IPEntryList struct + Items []IPEntry + func (*IPEntryList) Descriptor() ([]byte, []int) + func (*IPEntryList) ProtoMessage() + func (in *IPEntryList) DeepCopy() *IPEntryList + func (in *IPEntryList) DeepCopyInto(out *IPEntryList) + func (in *IPEntryList) DeepCopyObject() runtime.Object + 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 (m *IPEntryList) Reset() + func (m *IPEntryList) Size() (n int) + 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 + func (r *IPEntryList) GetItems() []backend.Object + func (r *IPEntryList) GetListMeta() *metav1.ListMeta + func (this *IPEntryList) String() string + type IPEntrySpec struct + AddressFamily *iputil.AddressFamily + Claim string + ClaimType IPClaimType + DefaultGateway *bool + Index string + Owner *commonv1alpha1.OwnerReference + Prefix string + PrefixType *IPPrefixType + func (*IPEntrySpec) Descriptor() ([]byte, []int) + func (*IPEntrySpec) ProtoMessage() + func (in *IPEntrySpec) DeepCopy() *IPEntrySpec + func (in *IPEntrySpec) DeepCopyInto(out *IPEntrySpec) + 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 (m *IPEntrySpec) Reset() + func (m *IPEntrySpec) Size() (n int) + 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 + func (this *IPEntrySpec) String() string + type IPEntryStatus struct + func (*IPEntryStatus) Descriptor() ([]byte, []int) + func (*IPEntryStatus) ProtoMessage() + func (in *IPEntryStatus) DeepCopy() *IPEntryStatus + func (in *IPEntryStatus) DeepCopyInto(out *IPEntryStatus) + 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 (m *IPEntryStatus) Reset() + func (m *IPEntryStatus) Size() (n int) + 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 + func (this *IPEntryStatus) String() string + type IPIndex struct + Spec IPIndexSpec + Status IPIndexStatus + func BuildIPIndex(meta metav1.ObjectMeta, spec *IPIndexSpec, status *IPIndexStatus) *IPIndex + func (*IPIndex) Descriptor() ([]byte, []int) + func (*IPIndex) ProtoMessage() + func (IPIndex) GetGroupVersionResource() schema.GroupVersionResource + func (IPIndex) IsStorageVersion() bool + func (IPIndex) NamespaceScoped() bool + func (IPIndex) New() runtime.Object + func (IPIndex) NewList() runtime.Object + func (in *IPIndex) DeepCopy() *IPIndex + func (in *IPIndex) DeepCopyInto(out *IPIndex) + func (in *IPIndex) DeepCopyObject() runtime.Object + 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 (m *IPIndex) Reset() + func (m *IPIndex) Size() (n int) + 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 + func (r *IPIndex) CalculateHash() ([sha1.Size]byte, error) + func (r *IPIndex) GetClaim(prefix Prefix) (*IPClaim, error) + func (r *IPIndex) GetCondition(t conditionv1alpha1.ConditionType) conditionv1alpha1.Condition + func (r *IPIndex) GetKey() store.Key + func (r *IPIndex) GetMaxClaim() backend.ClaimObject + func (r *IPIndex) GetMaxID() *uint64 + func (r *IPIndex) GetMinClaim() backend.ClaimObject + func (r *IPIndex) GetMinID() *uint64 + func (r *IPIndex) GetNamespacedName() types.NamespacedName + func (r *IPIndex) GetObjectMeta() *metav1.ObjectMeta + func (r *IPIndex) GetOwnerReference() *commonv1alpha1.OwnerReference + func (r *IPIndex) GetSingularName() string + func (r *IPIndex) GetTree() gtree.GTree + func (r *IPIndex) GetType() string + func (r *IPIndex) SetConditions(c ...conditionv1alpha1.Condition) + func (r *IPIndex) ValidateSyntax() field.ErrorList + func (this *IPIndex) String() string + type IPIndexList struct + Items []IPIndex + func (*IPIndexList) Descriptor() ([]byte, []int) + func (*IPIndexList) ProtoMessage() + func (in *IPIndexList) DeepCopy() *IPIndexList + func (in *IPIndexList) DeepCopyInto(out *IPIndexList) + func (in *IPIndexList) DeepCopyObject() runtime.Object + 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 (m *IPIndexList) Reset() + func (m *IPIndexList) Size() (n int) + 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 + func (r *IPIndexList) GetItems() []backend.Object + func (r *IPIndexList) GetListMeta() *metav1.ListMeta + func (this *IPIndexList) String() string + type IPIndexSpec struct + Prefixes []Prefix + func (*IPIndexSpec) Descriptor() ([]byte, []int) + func (*IPIndexSpec) ProtoMessage() + func (in *IPIndexSpec) DeepCopy() *IPIndexSpec + func (in *IPIndexSpec) DeepCopyInto(out *IPIndexSpec) + 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 (m *IPIndexSpec) Reset() + func (m *IPIndexSpec) Size() (n int) + 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 + func (this *IPIndexSpec) String() string + type IPIndexStatus struct + Prefixes []Prefix + func (*IPIndexStatus) Descriptor() ([]byte, []int) + func (*IPIndexStatus) ProtoMessage() + func (in *IPIndexStatus) DeepCopy() *IPIndexStatus + func (in *IPIndexStatus) DeepCopyInto(out *IPIndexStatus) + 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 (m *IPIndexStatus) Reset() + func (m *IPIndexStatus) Size() (n int) + 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 + func (this *IPIndexStatus) String() string + type IPPrefixType string + const IPPrefixType_Aggregate + const IPPrefixType_Invalid + const IPPrefixType_Network + const IPPrefixType_Other + const IPPrefixType_Pool + func GetIPPrefixTypeFromString(s string) *IPPrefixType + type Prefix struct + Prefix string + func (*Prefix) Descriptor() ([]byte, []int) + func (*Prefix) ProtoMessage() + func (in *Prefix) DeepCopy() *Prefix + func (in *Prefix) DeepCopyInto(out *Prefix) + func (m *Prefix) Marshal() (dAtA []byte, err error) + func (m *Prefix) MarshalTo(dAtA []byte) (int, error) + func (m *Prefix) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Prefix) Reset() + func (m *Prefix) Size() (n int) + func (m *Prefix) Unmarshal(dAtA []byte) error + func (m *Prefix) XXX_DiscardUnknown() + func (m *Prefix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Prefix) XXX_Merge(src proto.Message) + func (m *Prefix) XXX_Size() int + func (m *Prefix) XXX_Unmarshal(b []byte) error + func (this *Prefix) String() string + type SyntaxValidator interface + Validate func(claim *IPClaim) field.ErrorList