Versions in this module Expand all Collapse all v0 v0.0.1 May 17, 2024 Changes in this version + const Group + const VLANClaimPlural + const VLANClaimSingular + const VLANEntryPlural + const VLANEntrySingular + const VLANID_Max + const VLANID_Min + const VLANIndexPlural + const VLANIndexReservedMaxName + const VLANIndexReservedMinName + const VLANIndexSingular + 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 SchemeGroupVersion = schema.GroupVersion + var VLANClaimKind = reflect.TypeOf(VLANClaim{}).Name() + var VLANEntryKind = reflect.TypeOf(VLANEntry{}).Name() + var VLANIndexKind = reflect.TypeOf(VLANIndex{}).Name() + func BuildVLANEntry(meta metav1.ObjectMeta, spec *VLANEntrySpec, status *VLANEntryStatus) backend.EntryObject + func GetMaxClaimRange(id uint32) string + func GetMinClaimRange(id uint32) string + func GetVLANEntry(k store.Key, vrange, id string, labels map[string]string) backend.EntryObject + func Resource(resource string) schema.GroupResource + func VLANClaimConvertFieldSelector(label, value string) (internalLabel, internalValue string, err error) + func VLANEntryConvertFieldSelector(label, value string) (internalLabel, internalValue string, err error) + func VLANIndexConvertFieldSelector(label, value string) (internalLabel, internalValue string, err error) + type SyntaxValidator interface + Validate func(claim *VLANClaim) field.ErrorList + type VLANClaim struct + Spec VLANClaimSpec + Status VLANClaimStatus + func BuildVLANClaim(meta metav1.ObjectMeta, spec *VLANClaimSpec, status *VLANClaimStatus) *VLANClaim + func (*VLANClaim) Descriptor() ([]byte, []int) + func (*VLANClaim) ProtoMessage() + func (VLANClaim) GetGroupVersionResource() schema.GroupVersionResource + func (VLANClaim) IsStorageVersion() bool + func (VLANClaim) NamespaceScoped() bool + func (VLANClaim) New() runtime.Object + func (VLANClaim) NewList() runtime.Object + func (in *VLANClaim) DeepCopy() *VLANClaim + func (in *VLANClaim) DeepCopyInto(out *VLANClaim) + func (in *VLANClaim) DeepCopyObject() runtime.Object + func (m *VLANClaim) Marshal() (dAtA []byte, err error) + func (m *VLANClaim) MarshalTo(dAtA []byte) (int, error) + func (m *VLANClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *VLANClaim) Reset() + func (m *VLANClaim) Size() (n int) + func (m *VLANClaim) Unmarshal(dAtA []byte) error + func (m *VLANClaim) XXX_DiscardUnknown() + func (m *VLANClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *VLANClaim) XXX_Merge(src proto.Message) + func (m *VLANClaim) XXX_Size() int + func (m *VLANClaim) XXX_Unmarshal(b []byte) error + func (r *VLANClaim) CalculateHash() ([sha1.Size]byte, error) + func (r *VLANClaim) GetClaimID(t string, id uint64) tree.ID + func (r *VLANClaim) GetClaimLabels() labels.Set + func (r *VLANClaim) GetClaimRequest() string + func (r *VLANClaim) GetClaimResponse() string + func (r *VLANClaim) GetClaimType() backend.ClaimType + func (r *VLANClaim) GetCondition(t conditionv1alpha1.ConditionType) conditionv1alpha1.Condition + func (r *VLANClaim) GetIndex() string + func (r *VLANClaim) GetKey() store.Key + func (r *VLANClaim) GetLabelSelector() (labels.Selector, error) + func (r *VLANClaim) GetNamespacedName() types.NamespacedName + func (r *VLANClaim) GetObjectMeta() *metav1.ObjectMeta + func (r *VLANClaim) GetOwnerReference() *commonv1alpha1.OwnerReference + func (r *VLANClaim) GetOwnerSelector() (labels.Selector, error) + func (r *VLANClaim) GetRange() *string + func (r *VLANClaim) GetRangeID(_ string) (tree.Range, error) + func (r *VLANClaim) GetSelector() *metav1.LabelSelector + func (r *VLANClaim) GetSingularName() string + func (r *VLANClaim) GetStaticID() *uint64 + func (r *VLANClaim) GetStaticTreeID(t string) tree.ID + func (r *VLANClaim) GetStatus() resource.StatusSubResource + func (r *VLANClaim) GetStatusID() *uint64 + func (r *VLANClaim) GetTable(s string, to, from uint64) table.Table + func (r *VLANClaim) GetVLANRange() (int, int) + func (r *VLANClaim) SetConditions(c ...conditionv1alpha1.Condition) + func (r *VLANClaim) SetStatusID(s *uint64) + func (r *VLANClaim) SetStatusRange(s *string) + func (r *VLANClaim) ValidateOwner(labels labels.Set) error + func (r *VLANClaim) ValidateSyntax(s string) field.ErrorList + func (r *VLANClaim) ValidateVLANClaimType() error + func (r *VLANClaim) ValidateVLANID() error + func (r *VLANClaim) ValidateVLANRange() error + func (this *VLANClaim) String() string + type VLANClaimList struct + Items []VLANClaim + func (*VLANClaimList) Descriptor() ([]byte, []int) + func (*VLANClaimList) ProtoMessage() + func (in *VLANClaimList) DeepCopy() *VLANClaimList + func (in *VLANClaimList) DeepCopyInto(out *VLANClaimList) + func (in *VLANClaimList) DeepCopyObject() runtime.Object + func (m *VLANClaimList) Marshal() (dAtA []byte, err error) + func (m *VLANClaimList) MarshalTo(dAtA []byte) (int, error) + func (m *VLANClaimList) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *VLANClaimList) Reset() + func (m *VLANClaimList) Size() (n int) + func (m *VLANClaimList) Unmarshal(dAtA []byte) error + func (m *VLANClaimList) XXX_DiscardUnknown() + func (m *VLANClaimList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *VLANClaimList) XXX_Merge(src proto.Message) + func (m *VLANClaimList) XXX_Size() int + func (m *VLANClaimList) XXX_Unmarshal(b []byte) error + func (r *VLANClaimList) GetItems() []backend.Object + func (r *VLANClaimList) GetListMeta() *metav1.ListMeta + func (this *VLANClaimList) String() string + type VLANClaimSpec struct + ID *uint32 + Index string + Owner *commonv1alpha1.OwnerReference + Range *string + func (*VLANClaimSpec) Descriptor() ([]byte, []int) + func (*VLANClaimSpec) ProtoMessage() + func (in *VLANClaimSpec) DeepCopy() *VLANClaimSpec + func (in *VLANClaimSpec) DeepCopyInto(out *VLANClaimSpec) + func (m *VLANClaimSpec) Marshal() (dAtA []byte, err error) + func (m *VLANClaimSpec) MarshalTo(dAtA []byte) (int, error) + func (m *VLANClaimSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *VLANClaimSpec) Reset() + func (m *VLANClaimSpec) Size() (n int) + func (m *VLANClaimSpec) Unmarshal(dAtA []byte) error + func (m *VLANClaimSpec) XXX_DiscardUnknown() + func (m *VLANClaimSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *VLANClaimSpec) XXX_Merge(src proto.Message) + func (m *VLANClaimSpec) XXX_Size() int + func (m *VLANClaimSpec) XXX_Unmarshal(b []byte) error + func (this *VLANClaimSpec) String() string + type VLANClaimStatus struct + ExpiryTime *string + ID *uint32 + Range *string + func (*VLANClaimStatus) Descriptor() ([]byte, []int) + func (*VLANClaimStatus) ProtoMessage() + func (VLANClaimStatus) SubResourceName() string + func (in *VLANClaimStatus) DeepCopy() *VLANClaimStatus + func (in *VLANClaimStatus) DeepCopyInto(out *VLANClaimStatus) + func (m *VLANClaimStatus) Marshal() (dAtA []byte, err error) + func (m *VLANClaimStatus) MarshalTo(dAtA []byte) (int, error) + func (m *VLANClaimStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *VLANClaimStatus) Reset() + func (m *VLANClaimStatus) Size() (n int) + func (m *VLANClaimStatus) Unmarshal(dAtA []byte) error + func (m *VLANClaimStatus) XXX_DiscardUnknown() + func (m *VLANClaimStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *VLANClaimStatus) XXX_Merge(src proto.Message) + func (m *VLANClaimStatus) XXX_Size() int + func (m *VLANClaimStatus) XXX_Unmarshal(b []byte) error + func (r VLANClaimStatus) CopyTo(obj resource.ObjectWithStatusSubResource) + func (this *VLANClaimStatus) String() string + type VLANClaimType string + const ClaimType_DynamicID + const ClaimType_Invalid + const ClaimType_Range + const ClaimType_StaticID + func GetClaimTypeFromString(s string) VLANClaimType + type VLANEntry struct + Spec VLANEntrySpec + Status VLANEntryStatus + func (*VLANEntry) Descriptor() ([]byte, []int) + func (*VLANEntry) ProtoMessage() + func (VLANEntry) GetGroupVersionResource() schema.GroupVersionResource + func (VLANEntry) IsStorageVersion() bool + func (VLANEntry) NamespaceScoped() bool + func (VLANEntry) New() runtime.Object + func (VLANEntry) NewList() runtime.Object + func (in *VLANEntry) DeepCopy() *VLANEntry + func (in *VLANEntry) DeepCopyInto(out *VLANEntry) + func (in *VLANEntry) DeepCopyObject() runtime.Object + func (m *VLANEntry) Marshal() (dAtA []byte, err error) + func (m *VLANEntry) MarshalTo(dAtA []byte) (int, error) + func (m *VLANEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *VLANEntry) Reset() + func (m *VLANEntry) Size() (n int) + func (m *VLANEntry) Unmarshal(dAtA []byte) error + func (m *VLANEntry) XXX_DiscardUnknown() + func (m *VLANEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *VLANEntry) XXX_Merge(src proto.Message) + func (m *VLANEntry) XXX_Size() int + func (m *VLANEntry) XXX_Unmarshal(b []byte) error + func (r *VLANEntry) CalculateHash() ([sha1.Size]byte, error) + func (r *VLANEntry) GetClaimName() string + func (r *VLANEntry) GetClaimType() backend.ClaimType + func (r *VLANEntry) GetCondition(t conditionv1alpha1.ConditionType) conditionv1alpha1.Condition + func (r *VLANEntry) GetIndex() string + func (r *VLANEntry) GetKey() store.Key + func (r *VLANEntry) GetNamespacedName() types.NamespacedName + func (r *VLANEntry) GetObjectMeta() *metav1.ObjectMeta + func (r *VLANEntry) GetOwnerGVK() schema.GroupVersionKind + func (r *VLANEntry) GetOwnerNSN() types.NamespacedName + func (r *VLANEntry) GetOwnerReference() *commonv1alpha1.OwnerReference + func (r *VLANEntry) GetSingularName() string + func (r *VLANEntry) GetSpec() any + func (r *VLANEntry) GetSpecID() string + func (r *VLANEntry) SetConditions(c ...conditionv1alpha1.Condition) + func (r *VLANEntry) SetSpec(spec any) + func (this *VLANEntry) String() string + type VLANEntryList struct + Items []VLANEntry + func (*VLANEntryList) Descriptor() ([]byte, []int) + func (*VLANEntryList) ProtoMessage() + func (in *VLANEntryList) DeepCopy() *VLANEntryList + func (in *VLANEntryList) DeepCopyInto(out *VLANEntryList) + func (in *VLANEntryList) DeepCopyObject() runtime.Object + func (m *VLANEntryList) Marshal() (dAtA []byte, err error) + func (m *VLANEntryList) MarshalTo(dAtA []byte) (int, error) + func (m *VLANEntryList) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *VLANEntryList) Reset() + func (m *VLANEntryList) Size() (n int) + func (m *VLANEntryList) Unmarshal(dAtA []byte) error + func (m *VLANEntryList) XXX_DiscardUnknown() + func (m *VLANEntryList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *VLANEntryList) XXX_Merge(src proto.Message) + func (m *VLANEntryList) XXX_Size() int + func (m *VLANEntryList) XXX_Unmarshal(b []byte) error + func (r *VLANEntryList) GetItems() []backend.Object + func (r *VLANEntryList) GetListMeta() *metav1.ListMeta + func (this *VLANEntryList) String() string + type VLANEntrySpec struct + Claim string + ClaimType backend.ClaimType + ID string + Index string + Owner *commonv1alpha1.OwnerReference + func (*VLANEntrySpec) Descriptor() ([]byte, []int) + func (*VLANEntrySpec) ProtoMessage() + func (in *VLANEntrySpec) DeepCopy() *VLANEntrySpec + func (in *VLANEntrySpec) DeepCopyInto(out *VLANEntrySpec) + func (m *VLANEntrySpec) Marshal() (dAtA []byte, err error) + func (m *VLANEntrySpec) MarshalTo(dAtA []byte) (int, error) + func (m *VLANEntrySpec) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *VLANEntrySpec) Reset() + func (m *VLANEntrySpec) Size() (n int) + func (m *VLANEntrySpec) Unmarshal(dAtA []byte) error + func (m *VLANEntrySpec) XXX_DiscardUnknown() + func (m *VLANEntrySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *VLANEntrySpec) XXX_Merge(src proto.Message) + func (m *VLANEntrySpec) XXX_Size() int + func (m *VLANEntrySpec) XXX_Unmarshal(b []byte) error + func (this *VLANEntrySpec) String() string + type VLANEntryStatus struct + func (*VLANEntryStatus) Descriptor() ([]byte, []int) + func (*VLANEntryStatus) ProtoMessage() + func (in *VLANEntryStatus) DeepCopy() *VLANEntryStatus + func (in *VLANEntryStatus) DeepCopyInto(out *VLANEntryStatus) + func (m *VLANEntryStatus) Marshal() (dAtA []byte, err error) + func (m *VLANEntryStatus) MarshalTo(dAtA []byte) (int, error) + func (m *VLANEntryStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *VLANEntryStatus) Reset() + func (m *VLANEntryStatus) Size() (n int) + func (m *VLANEntryStatus) Unmarshal(dAtA []byte) error + func (m *VLANEntryStatus) XXX_DiscardUnknown() + func (m *VLANEntryStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *VLANEntryStatus) XXX_Merge(src proto.Message) + func (m *VLANEntryStatus) XXX_Size() int + func (m *VLANEntryStatus) XXX_Unmarshal(b []byte) error + func (this *VLANEntryStatus) String() string + type VLANIndex struct + Spec VLANIndexSpec + Status VLANIndexStatus + func BuildVLANIndex(meta metav1.ObjectMeta, spec *VLANIndexSpec, status *VLANIndexStatus) *VLANIndex + func (*VLANIndex) Descriptor() ([]byte, []int) + func (*VLANIndex) ProtoMessage() + func (VLANIndex) GetGroupVersionResource() schema.GroupVersionResource + func (VLANIndex) IsStorageVersion() bool + func (VLANIndex) NamespaceScoped() bool + func (VLANIndex) New() runtime.Object + func (VLANIndex) NewList() runtime.Object + func (in *VLANIndex) DeepCopy() *VLANIndex + func (in *VLANIndex) DeepCopyInto(out *VLANIndex) + func (in *VLANIndex) DeepCopyObject() runtime.Object + func (m *VLANIndex) Marshal() (dAtA []byte, err error) + func (m *VLANIndex) MarshalTo(dAtA []byte) (int, error) + func (m *VLANIndex) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *VLANIndex) Reset() + func (m *VLANIndex) Size() (n int) + func (m *VLANIndex) Unmarshal(dAtA []byte) error + func (m *VLANIndex) XXX_DiscardUnknown() + func (m *VLANIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *VLANIndex) XXX_Merge(src proto.Message) + func (m *VLANIndex) XXX_Size() int + func (m *VLANIndex) XXX_Unmarshal(b []byte) error + func (r *VLANIndex) CalculateHash() ([sha1.Size]byte, error) + func (r *VLANIndex) GetCondition(t conditionv1alpha1.ConditionType) conditionv1alpha1.Condition + func (r *VLANIndex) GetKey() store.Key + func (r *VLANIndex) GetMaxClaim() backend.ClaimObject + func (r *VLANIndex) GetMaxClaimNSN() types.NamespacedName + func (r *VLANIndex) GetMaxID() *uint64 + func (r *VLANIndex) GetMinClaim() backend.ClaimObject + func (r *VLANIndex) GetMinClaimNSN() types.NamespacedName + func (r *VLANIndex) GetMinID() *uint64 + func (r *VLANIndex) GetNamespacedName() types.NamespacedName + func (r *VLANIndex) GetObjectMeta() *metav1.ObjectMeta + func (r *VLANIndex) GetOwnerReference() *commonv1alpha1.OwnerReference + func (r *VLANIndex) GetSingularName() string + func (r *VLANIndex) GetTree() gtree.GTree + func (r *VLANIndex) GetType() string + func (r *VLANIndex) SetConditions(c ...conditionv1alpha1.Condition) + func (r *VLANIndex) ValidateSyntax() field.ErrorList + func (this *VLANIndex) String() string + type VLANIndexList struct + Items []VLANIndex + func (*VLANIndexList) Descriptor() ([]byte, []int) + func (*VLANIndexList) ProtoMessage() + func (in *VLANIndexList) DeepCopy() *VLANIndexList + func (in *VLANIndexList) DeepCopyInto(out *VLANIndexList) + func (in *VLANIndexList) DeepCopyObject() runtime.Object + func (m *VLANIndexList) Marshal() (dAtA []byte, err error) + func (m *VLANIndexList) MarshalTo(dAtA []byte) (int, error) + func (m *VLANIndexList) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *VLANIndexList) Reset() + func (m *VLANIndexList) Size() (n int) + func (m *VLANIndexList) Unmarshal(dAtA []byte) error + func (m *VLANIndexList) XXX_DiscardUnknown() + func (m *VLANIndexList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *VLANIndexList) XXX_Merge(src proto.Message) + func (m *VLANIndexList) XXX_Size() int + func (m *VLANIndexList) XXX_Unmarshal(b []byte) error + func (r *VLANIndexList) GetItems() []backend.Object + func (r *VLANIndexList) GetListMeta() *metav1.ListMeta + func (this *VLANIndexList) String() string + type VLANIndexSpec struct + MaxID *uint32 + MinID *uint32 + func (*VLANIndexSpec) Descriptor() ([]byte, []int) + func (*VLANIndexSpec) ProtoMessage() + func (in *VLANIndexSpec) DeepCopy() *VLANIndexSpec + func (in *VLANIndexSpec) DeepCopyInto(out *VLANIndexSpec) + func (m *VLANIndexSpec) Marshal() (dAtA []byte, err error) + func (m *VLANIndexSpec) MarshalTo(dAtA []byte) (int, error) + func (m *VLANIndexSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *VLANIndexSpec) Reset() + func (m *VLANIndexSpec) Size() (n int) + func (m *VLANIndexSpec) Unmarshal(dAtA []byte) error + func (m *VLANIndexSpec) XXX_DiscardUnknown() + func (m *VLANIndexSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *VLANIndexSpec) XXX_Merge(src proto.Message) + func (m *VLANIndexSpec) XXX_Size() int + func (m *VLANIndexSpec) XXX_Unmarshal(b []byte) error + func (this *VLANIndexSpec) String() string + type VLANIndexStatus struct + MaxID *uint32 + MinID *uint32 + func (*VLANIndexStatus) Descriptor() ([]byte, []int) + func (*VLANIndexStatus) ProtoMessage() + func (in *VLANIndexStatus) DeepCopy() *VLANIndexStatus + func (in *VLANIndexStatus) DeepCopyInto(out *VLANIndexStatus) + func (m *VLANIndexStatus) Marshal() (dAtA []byte, err error) + func (m *VLANIndexStatus) MarshalTo(dAtA []byte) (int, error) + func (m *VLANIndexStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *VLANIndexStatus) Reset() + func (m *VLANIndexStatus) Size() (n int) + func (m *VLANIndexStatus) Unmarshal(dAtA []byte) error + func (m *VLANIndexStatus) XXX_DiscardUnknown() + func (m *VLANIndexStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *VLANIndexStatus) XXX_Merge(src proto.Message) + func (m *VLANIndexStatus) XXX_Size() int + func (m *VLANIndexStatus) XXX_Unmarshal(b []byte) error + func (this *VLANIndexStatus) String() string