Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API.
+kubebuilder:object:generate=true +groupName=vlan.be.kuid.dev
Index ¶
- Constants
- Variables
- 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
- type VLANClaim
- func (r *VLANClaim) CalculateHash() ([sha1.Size]byte, error)
- func (in *VLANClaim) DeepCopy() *VLANClaim
- func (in *VLANClaim) DeepCopyInto(out *VLANClaim)
- func (in *VLANClaim) DeepCopyObject() runtime.Object
- func (*VLANClaim) Descriptor() ([]byte, []int)
- 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 (VLANClaim) GetGroupVersionResource() schema.GroupVersionResource
- 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) GetSpec() any
- 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 (VLANClaim) IsStorageVersion() bool
- 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 (VLANClaim) NamespaceScoped() bool
- func (VLANClaim) New() runtime.Object
- func (VLANClaim) NewList() runtime.Object
- func (r *VLANClaim) NewObjList() backend.GenericObjectList
- func (*VLANClaim) ProtoMessage()
- func (m *VLANClaim) Reset()
- func (r *VLANClaim) SetConditions(c ...conditionv1alpha1.Condition)
- func (r *VLANClaim) SetSpec(s any)
- func (r *VLANClaim) SetStatusID(s *uint64)
- func (r *VLANClaim) SetStatusRange(s *string)
- func (m *VLANClaim) Size() (n int)
- func (this *VLANClaim) String() string
- func (m *VLANClaim) Unmarshal(dAtA []byte) error
- 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 (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
- type VLANClaimList
- func (in *VLANClaimList) DeepCopy() *VLANClaimList
- func (in *VLANClaimList) DeepCopyInto(out *VLANClaimList)
- func (in *VLANClaimList) DeepCopyObject() runtime.Object
- func (*VLANClaimList) Descriptor() ([]byte, []int)
- func (r *VLANClaimList) GetItems() []backend.Object
- func (r *VLANClaimList) GetListMeta() *metav1.ListMeta
- func (r *VLANClaimList) GetObjects() []backend.GenericObject
- 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 (*VLANClaimList) ProtoMessage()
- func (m *VLANClaimList) Reset()
- func (m *VLANClaimList) Size() (n int)
- func (this *VLANClaimList) String() string
- 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
- type VLANClaimSpec
- func (in *VLANClaimSpec) DeepCopy() *VLANClaimSpec
- func (in *VLANClaimSpec) DeepCopyInto(out *VLANClaimSpec)
- func (*VLANClaimSpec) Descriptor() ([]byte, []int)
- 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 (*VLANClaimSpec) ProtoMessage()
- func (m *VLANClaimSpec) Reset()
- func (m *VLANClaimSpec) Size() (n int)
- func (this *VLANClaimSpec) String() string
- 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
- type VLANClaimStatus
- func (r VLANClaimStatus) CopyTo(obj resource.ObjectWithStatusSubResource)
- func (in *VLANClaimStatus) DeepCopy() *VLANClaimStatus
- func (in *VLANClaimStatus) DeepCopyInto(out *VLANClaimStatus)
- func (*VLANClaimStatus) Descriptor() ([]byte, []int)
- 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 (*VLANClaimStatus) ProtoMessage()
- func (m *VLANClaimStatus) Reset()
- func (m *VLANClaimStatus) Size() (n int)
- func (this *VLANClaimStatus) String() string
- func (VLANClaimStatus) SubResourceName() string
- 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
- type VLANClaimType
- type VLANEntry
- func (r *VLANEntry) CalculateHash() ([sha1.Size]byte, error)
- func (in *VLANEntry) DeepCopy() *VLANEntry
- func (in *VLANEntry) DeepCopyInto(out *VLANEntry)
- func (in *VLANEntry) DeepCopyObject() runtime.Object
- func (*VLANEntry) Descriptor() ([]byte, []int)
- func (r *VLANEntry) GetClaimName() string
- func (r *VLANEntry) GetClaimType() backend.ClaimType
- func (r *VLANEntry) GetCondition(t conditionv1alpha1.ConditionType) conditionv1alpha1.Condition
- func (VLANEntry) GetGroupVersionResource() schema.GroupVersionResource
- 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 (VLANEntry) IsStorageVersion() bool
- 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 (VLANEntry) NamespaceScoped() bool
- func (VLANEntry) New() runtime.Object
- func (VLANEntry) NewList() runtime.Object
- func (r *VLANEntry) NewObjList() backend.GenericObjectList
- func (*VLANEntry) ProtoMessage()
- func (m *VLANEntry) Reset()
- func (r *VLANEntry) SetConditions(c ...conditionv1alpha1.Condition)
- func (r *VLANEntry) SetSpec(spec any)
- func (m *VLANEntry) Size() (n int)
- func (this *VLANEntry) String() string
- func (m *VLANEntry) Unmarshal(dAtA []byte) error
- func (r *VLANEntry) ValidateSyntax(_ string) field.ErrorList
- 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
- type VLANEntryList
- func (in *VLANEntryList) DeepCopy() *VLANEntryList
- func (in *VLANEntryList) DeepCopyInto(out *VLANEntryList)
- func (in *VLANEntryList) DeepCopyObject() runtime.Object
- func (*VLANEntryList) Descriptor() ([]byte, []int)
- func (r *VLANEntryList) GetItems() []backend.Object
- func (r *VLANEntryList) GetListMeta() *metav1.ListMeta
- func (r *VLANEntryList) GetObjects() []backend.GenericObject
- 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 (*VLANEntryList) ProtoMessage()
- func (m *VLANEntryList) Reset()
- func (m *VLANEntryList) Size() (n int)
- func (this *VLANEntryList) String() string
- 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
- type VLANEntrySpec
- func (in *VLANEntrySpec) DeepCopy() *VLANEntrySpec
- func (in *VLANEntrySpec) DeepCopyInto(out *VLANEntrySpec)
- func (*VLANEntrySpec) Descriptor() ([]byte, []int)
- 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 (*VLANEntrySpec) ProtoMessage()
- func (m *VLANEntrySpec) Reset()
- func (m *VLANEntrySpec) Size() (n int)
- func (this *VLANEntrySpec) String() string
- 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
- type VLANEntryStatus
- func (in *VLANEntryStatus) DeepCopy() *VLANEntryStatus
- func (in *VLANEntryStatus) DeepCopyInto(out *VLANEntryStatus)
- func (*VLANEntryStatus) Descriptor() ([]byte, []int)
- 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 (*VLANEntryStatus) ProtoMessage()
- func (m *VLANEntryStatus) Reset()
- func (m *VLANEntryStatus) Size() (n int)
- func (this *VLANEntryStatus) String() string
- 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
- type VLANIndex
- func (r *VLANIndex) CalculateHash() ([sha1.Size]byte, error)
- func (in *VLANIndex) DeepCopy() *VLANIndex
- func (in *VLANIndex) DeepCopyInto(out *VLANIndex)
- func (in *VLANIndex) DeepCopyObject() runtime.Object
- func (*VLANIndex) Descriptor() ([]byte, []int)
- func (r *VLANIndex) GetCondition(t conditionv1alpha1.ConditionType) conditionv1alpha1.Condition
- func (VLANIndex) GetGroupVersionResource() schema.GroupVersionResource
- 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) GetSpec() any
- func (r *VLANIndex) GetTree() gtree.GTree
- func (r *VLANIndex) GetType() string
- func (VLANIndex) IsStorageVersion() bool
- 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 (VLANIndex) NamespaceScoped() bool
- func (VLANIndex) New() runtime.Object
- func (VLANIndex) NewList() runtime.Object
- func (r *VLANIndex) NewObjList() backend.GenericObjectList
- func (*VLANIndex) ProtoMessage()
- func (m *VLANIndex) Reset()
- func (r *VLANIndex) SetConditions(c ...conditionv1alpha1.Condition)
- func (r *VLANIndex) SetSpec(s any)
- func (m *VLANIndex) Size() (n int)
- func (this *VLANIndex) String() string
- func (m *VLANIndex) Unmarshal(dAtA []byte) error
- func (r *VLANIndex) ValidateSyntax(_ string) field.ErrorList
- 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
- type VLANIndexList
- func (in *VLANIndexList) DeepCopy() *VLANIndexList
- func (in *VLANIndexList) DeepCopyInto(out *VLANIndexList)
- func (in *VLANIndexList) DeepCopyObject() runtime.Object
- func (*VLANIndexList) Descriptor() ([]byte, []int)
- func (r *VLANIndexList) GetItems() []backend.Object
- func (r *VLANIndexList) GetListMeta() *metav1.ListMeta
- func (r *VLANIndexList) GetObjects() []backend.GenericObject
- 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 (*VLANIndexList) ProtoMessage()
- func (m *VLANIndexList) Reset()
- func (m *VLANIndexList) Size() (n int)
- func (this *VLANIndexList) String() string
- 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
- type VLANIndexSpec
- func (in *VLANIndexSpec) DeepCopy() *VLANIndexSpec
- func (in *VLANIndexSpec) DeepCopyInto(out *VLANIndexSpec)
- func (*VLANIndexSpec) Descriptor() ([]byte, []int)
- 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 (*VLANIndexSpec) ProtoMessage()
- func (m *VLANIndexSpec) Reset()
- func (m *VLANIndexSpec) Size() (n int)
- func (this *VLANIndexSpec) String() string
- 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
- type VLANIndexStatus
- func (in *VLANIndexStatus) DeepCopy() *VLANIndexStatus
- func (in *VLANIndexStatus) DeepCopyInto(out *VLANIndexStatus)
- func (*VLANIndexStatus) Descriptor() ([]byte, []int)
- 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 (*VLANIndexStatus) ProtoMessage()
- func (m *VLANIndexStatus) Reset()
- func (m *VLANIndexStatus) Size() (n int)
- func (this *VLANIndexStatus) String() string
- 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
Constants ¶
const ( Group = "vlan.be.kuid.dev" Version = "v1alpha1" )
const ( VLANIndexReservedMinName = "rangeReservedMin" VLANIndexReservedMaxName = "rangeReservedMax" )
const VLANClaimPlural = "vlanclaims"
const VLANClaimSingular = "vlanclaim"
const VLANEntryPlural = "vlanentries"
const VLANEntrySingular = "vlanentry"
const VLANID_Max = 4095
const VLANID_Min = 0
const VLANIndexPlural = "vlanindices"
const VLANIndexSingular = "vlanindex"
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 ( VLANClaimKind = reflect.TypeOf(VLANClaim{}).Name() VLANClaimListKind = reflect.TypeOf(VLANClaimList{}).Name() )
var ( VLANEntryKind = reflect.TypeOf(VLANEntry{}).Name() VLANEntryListKind = reflect.TypeOf(VLANEntryList{}).Name() )
var ( VLANIndexKind = reflect.TypeOf(VLANIndex{}).Name() VLANIndexListKind = reflect.TypeOf(VLANIndexList{}).Name() )
Functions ¶
func BuildVLANEntry ¶
func BuildVLANEntry(meta metav1.ObjectMeta, spec *VLANEntrySpec, status *VLANEntryStatus) backend.EntryObject
BuildVLANEntry returns a reource from a client Object a Spec/Status
func GetMaxClaimRange ¶
func GetMinClaimRange ¶
func GetVLANEntry ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
func VLANClaimConvertFieldSelector ¶
func VLANClaimConvertFieldSelector(label, value string) (internalLabel, internalValue string, err error)
VLANClaimConvertFieldSelector is the schema conversion function for normalizing the FieldSelector for VLANClaim
func VLANEntryConvertFieldSelector ¶
func VLANEntryConvertFieldSelector(label, value string) (internalLabel, internalValue string, err error)
VLANEntryConvertFieldSelector is the schema conversion function for normalizing the FieldSelector for VLANEntry
func VLANIndexConvertFieldSelector ¶
func VLANIndexConvertFieldSelector(label, value string) (internalLabel, internalValue string, err error)
VLANIndexConvertFieldSelector is the schema conversion function for normalizing the FieldSelector for VLANIndex
Types ¶
type SyntaxValidator ¶
type VLANClaim ¶
type VLANClaim struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec VLANClaimSpec `json:"spec,omitempty" yaml:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status VLANClaimStatus `json:"status,omitempty" yaml:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
VLANClaim is the Schema for the VLANClaim API
+k8s:openapi-gen=true
func BuildVLANClaim ¶
func BuildVLANClaim(meta metav1.ObjectMeta, spec *VLANClaimSpec, status *VLANClaimStatus) *VLANClaim
BuildVLANClaim returns a reource from a client Object a Spec/Status
func (*VLANClaim) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLANClaim.
func (*VLANClaim) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VLANClaim) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VLANClaim) Descriptor ¶
func (*VLANClaim) GetClaimLabels ¶
func (*VLANClaim) GetClaimRequest ¶
func (*VLANClaim) GetClaimResponse ¶
func (*VLANClaim) GetClaimType ¶
func (*VLANClaim) GetCondition ¶
func (r *VLANClaim) GetCondition(t conditionv1alpha1.ConditionType) conditionv1alpha1.Condition
GetCondition returns the condition based on the condition kind
func (VLANClaim) GetGroupVersionResource ¶
func (VLANClaim) GetGroupVersionResource() schema.GroupVersionResource
func (*VLANClaim) GetLabelSelector ¶
GetLabelSelector returns a labels selector based on the label selector
func (*VLANClaim) GetNamespacedName ¶
func (r *VLANClaim) GetNamespacedName() types.NamespacedName
func (*VLANClaim) GetObjectMeta ¶
func (r *VLANClaim) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object
func (*VLANClaim) GetOwnerReference ¶
func (r *VLANClaim) GetOwnerReference() *commonv1alpha1.OwnerReference
func (*VLANClaim) GetOwnerSelector ¶
GetOwnerSelector returns a label selector to select the owner of the claim in the backend
func (*VLANClaim) GetSelector ¶
func (r *VLANClaim) GetSelector() *metav1.LabelSelector
func (*VLANClaim) GetSingularName ¶
func (*VLANClaim) GetStaticID ¶
func (*VLANClaim) GetStatus ¶
func (r *VLANClaim) GetStatus() resource.StatusSubResource
func (*VLANClaim) GetStatusID ¶
func (*VLANClaim) GetVLANRange ¶
func (VLANClaim) IsStorageVersion ¶
IsStorageVersion returns true -- v1alpha1.Config is used as the internal version. IsStorageVersion implements resource.Object.
func (*VLANClaim) MarshalToSizedBuffer ¶
func (VLANClaim) NamespaceScoped ¶
NamespaceScoped returns true to indicate Fortune is a namespaced resource. NamespaceScoped implements resource.Object.
func (*VLANClaim) NewObjList ¶ added in v0.0.2
func (r *VLANClaim) NewObjList() backend.GenericObjectList
func (*VLANClaim) ProtoMessage ¶
func (*VLANClaim) ProtoMessage()
func (*VLANClaim) SetConditions ¶
func (r *VLANClaim) 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 (*VLANClaim) SetStatusID ¶
func (*VLANClaim) SetStatusRange ¶
func (*VLANClaim) ValidateVLANClaimType ¶
func (*VLANClaim) ValidateVLANID ¶
func (*VLANClaim) ValidateVLANRange ¶
func (*VLANClaim) XXX_DiscardUnknown ¶
func (m *VLANClaim) XXX_DiscardUnknown()
func (*VLANClaim) XXX_Marshal ¶
func (*VLANClaim) XXX_Unmarshal ¶
type VLANClaimList ¶
type VLANClaimList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []VLANClaim `json:"items" yaml:"items" protobuf:"bytes,2,rep,name=items"` }
VLANClaimList contains a list of VLANClaims +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*VLANClaimList) DeepCopy ¶
func (in *VLANClaimList) DeepCopy() *VLANClaimList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLANClaimList.
func (*VLANClaimList) DeepCopyInto ¶
func (in *VLANClaimList) DeepCopyInto(out *VLANClaimList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VLANClaimList) DeepCopyObject ¶
func (in *VLANClaimList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VLANClaimList) Descriptor ¶
func (*VLANClaimList) Descriptor() ([]byte, []int)
func (*VLANClaimList) GetItems ¶
func (r *VLANClaimList) GetItems() []backend.Object
func (*VLANClaimList) GetListMeta ¶
func (r *VLANClaimList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta
func (*VLANClaimList) GetObjects ¶ added in v0.0.2
func (r *VLANClaimList) GetObjects() []backend.GenericObject
func (*VLANClaimList) Marshal ¶
func (m *VLANClaimList) Marshal() (dAtA []byte, err error)
func (*VLANClaimList) MarshalToSizedBuffer ¶
func (m *VLANClaimList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VLANClaimList) ProtoMessage ¶
func (*VLANClaimList) ProtoMessage()
func (*VLANClaimList) Reset ¶
func (m *VLANClaimList) Reset()
func (*VLANClaimList) Size ¶
func (m *VLANClaimList) Size() (n int)
func (*VLANClaimList) String ¶
func (this *VLANClaimList) String() string
func (*VLANClaimList) Unmarshal ¶
func (m *VLANClaimList) Unmarshal(dAtA []byte) error
func (*VLANClaimList) XXX_DiscardUnknown ¶
func (m *VLANClaimList) XXX_DiscardUnknown()
func (*VLANClaimList) XXX_Marshal ¶
func (m *VLANClaimList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VLANClaimList) XXX_Merge ¶
func (m *VLANClaimList) XXX_Merge(src proto.Message)
func (*VLANClaimList) XXX_Size ¶
func (m *VLANClaimList) XXX_Size() int
func (*VLANClaimList) XXX_Unmarshal ¶
func (m *VLANClaimList) XXX_Unmarshal(b []byte) error
type VLANClaimSpec ¶
type VLANClaimSpec struct { // VLANIndex defines the vlan index for the VLAN Claim Index string `json:"index" yaml:"index" protobuf:"bytes,1,opt,name=index"` // VLANID defines the vlan for the VLAN claim // +optional ID *uint32 `json:"id,omitempty" yaml:"id,omitempty" protobuf:"bytes,2,opt,name=id"` // Range defines the vlan range for the VLAN claim // The following notation is used: start-end <start-vlanID>-<end-vlanID> // the vlans in the range must be consecutive // +optional Range *string `json:"range,omitempty" yaml:"range,omitempty" protobuf:"bytes,3,opt,name=range"` // ClaimLabels define the user defined labels and selector labels used // in resource claim commonv1alpha1.ClaimLabels `json:",inline" yaml:",inline" protobuf:"bytes,4,opt,name=claimLabels"` // Owner defines the ownerReference of the VLANClaim // Allow for different namesapces, hence it is part of the spec Owner *commonv1alpha1.OwnerReference `json:"owner,omitempty" yaml:"owner,omitempty" protobuf:"bytes,5,opt,name=owner"` }
VLANClaimSpec defines the desired state of VLANClaim
func (*VLANClaimSpec) DeepCopy ¶
func (in *VLANClaimSpec) DeepCopy() *VLANClaimSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLANClaimSpec.
func (*VLANClaimSpec) DeepCopyInto ¶
func (in *VLANClaimSpec) DeepCopyInto(out *VLANClaimSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VLANClaimSpec) Descriptor ¶
func (*VLANClaimSpec) Descriptor() ([]byte, []int)
func (*VLANClaimSpec) Marshal ¶
func (m *VLANClaimSpec) Marshal() (dAtA []byte, err error)
func (*VLANClaimSpec) MarshalToSizedBuffer ¶
func (m *VLANClaimSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VLANClaimSpec) ProtoMessage ¶
func (*VLANClaimSpec) ProtoMessage()
func (*VLANClaimSpec) Reset ¶
func (m *VLANClaimSpec) Reset()
func (*VLANClaimSpec) Size ¶
func (m *VLANClaimSpec) Size() (n int)
func (*VLANClaimSpec) String ¶
func (this *VLANClaimSpec) String() string
func (*VLANClaimSpec) Unmarshal ¶
func (m *VLANClaimSpec) Unmarshal(dAtA []byte) error
func (*VLANClaimSpec) XXX_DiscardUnknown ¶
func (m *VLANClaimSpec) XXX_DiscardUnknown()
func (*VLANClaimSpec) XXX_Marshal ¶
func (m *VLANClaimSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VLANClaimSpec) XXX_Merge ¶
func (m *VLANClaimSpec) XXX_Merge(src proto.Message)
func (*VLANClaimSpec) XXX_Size ¶
func (m *VLANClaimSpec) XXX_Size() int
func (*VLANClaimSpec) XXX_Unmarshal ¶
func (m *VLANClaimSpec) XXX_Unmarshal(b []byte) error
type VLANClaimStatus ¶
type VLANClaimStatus struct { // ConditionedStatus provides the status of the Claim using conditions // - a ready condition indicates the overall status of the resource conditionv1alpha1.ConditionedStatus `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=conditionedStatus"` // VLANID defines the vlan for the VLAN claim // +optional ID *uint32 `json:"id,omitempty" yaml:"id,omitempty" protobuf:"bytes,2,opt,name=id"` // VLANRange defines the vlan range for the VLAN claim // +optional Range *string `json:"range,omitempty" yaml:"range,omitempty" protobuf:"bytes,3,opt,name=range"` // ExpiryTime defines when the claim expires // +kubebuilder:validation:Optional // +optional ExpiryTime *string `json:"expiryTime,omitempty" yaml:"expiryTime,omitempty" protobuf:"bytes,4,opt,name=expiryTime"` }
VLANClaimStatus defines the observed state of VLANClaim
func (VLANClaimStatus) CopyTo ¶
func (r VLANClaimStatus) CopyTo(obj resource.ObjectWithStatusSubResource)
func (*VLANClaimStatus) DeepCopy ¶
func (in *VLANClaimStatus) DeepCopy() *VLANClaimStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLANClaimStatus.
func (*VLANClaimStatus) DeepCopyInto ¶
func (in *VLANClaimStatus) DeepCopyInto(out *VLANClaimStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VLANClaimStatus) Descriptor ¶
func (*VLANClaimStatus) Descriptor() ([]byte, []int)
func (*VLANClaimStatus) Marshal ¶
func (m *VLANClaimStatus) Marshal() (dAtA []byte, err error)
func (*VLANClaimStatus) MarshalToSizedBuffer ¶
func (m *VLANClaimStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VLANClaimStatus) ProtoMessage ¶
func (*VLANClaimStatus) ProtoMessage()
func (*VLANClaimStatus) Reset ¶
func (m *VLANClaimStatus) Reset()
func (*VLANClaimStatus) Size ¶
func (m *VLANClaimStatus) Size() (n int)
func (*VLANClaimStatus) String ¶
func (this *VLANClaimStatus) String() string
func (VLANClaimStatus) SubResourceName ¶
func (VLANClaimStatus) SubResourceName() string
func (*VLANClaimStatus) Unmarshal ¶
func (m *VLANClaimStatus) Unmarshal(dAtA []byte) error
func (*VLANClaimStatus) XXX_DiscardUnknown ¶
func (m *VLANClaimStatus) XXX_DiscardUnknown()
func (*VLANClaimStatus) XXX_Marshal ¶
func (m *VLANClaimStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VLANClaimStatus) XXX_Merge ¶
func (m *VLANClaimStatus) XXX_Merge(src proto.Message)
func (*VLANClaimStatus) XXX_Size ¶
func (m *VLANClaimStatus) XXX_Size() int
func (*VLANClaimStatus) XXX_Unmarshal ¶
func (m *VLANClaimStatus) XXX_Unmarshal(b []byte) error
type VLANClaimType ¶
type VLANClaimType string
const ( ClaimType_Invalid VLANClaimType = "invalid" ClaimType_StaticID VLANClaimType = "staticVLANID" ClaimType_DynamicID VLANClaimType = "dynamicVLANID" ClaimType_Range VLANClaimType = "vlanRange" )
func GetClaimTypeFromString ¶
func GetClaimTypeFromString(s string) VLANClaimType
type VLANEntry ¶
type VLANEntry struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec VLANEntrySpec `json:"spec,omitempty" yaml:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status VLANEntryStatus `json:"status,omitempty" yaml:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
VLANEntry is the Schema for the vlanentry API
+k8s:openapi-gen=true
func (*VLANEntry) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLANEntry.
func (*VLANEntry) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VLANEntry) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VLANEntry) Descriptor ¶
func (*VLANEntry) GetClaimName ¶
func (*VLANEntry) GetClaimType ¶
func (*VLANEntry) GetCondition ¶
func (r *VLANEntry) GetCondition(t conditionv1alpha1.ConditionType) conditionv1alpha1.Condition
GetCondition returns the condition based on the condition kind
func (VLANEntry) GetGroupVersionResource ¶
func (VLANEntry) GetGroupVersionResource() schema.GroupVersionResource
func (*VLANEntry) GetNamespacedName ¶
func (r *VLANEntry) GetNamespacedName() types.NamespacedName
func (*VLANEntry) GetObjectMeta ¶
func (r *VLANEntry) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object
func (*VLANEntry) GetOwnerGVK ¶
func (r *VLANEntry) GetOwnerGVK() schema.GroupVersionKind
func (*VLANEntry) GetOwnerNSN ¶
func (r *VLANEntry) GetOwnerNSN() types.NamespacedName
func (*VLANEntry) GetOwnerReference ¶
func (r *VLANEntry) GetOwnerReference() *commonv1alpha1.OwnerReference
func (*VLANEntry) GetSingularName ¶
func (VLANEntry) IsStorageVersion ¶
IsStorageVersion returns true -- v1alpha1.Config is used as the internal version. IsStorageVersion implements resource.Object.
func (*VLANEntry) MarshalToSizedBuffer ¶
func (VLANEntry) NamespaceScoped ¶
NamespaceScoped returns true to indicate Fortune is a namespaced resource. NamespaceScoped implements resource.Object.
func (*VLANEntry) NewObjList ¶ added in v0.0.2
func (r *VLANEntry) NewObjList() backend.GenericObjectList
func (*VLANEntry) ProtoMessage ¶
func (*VLANEntry) ProtoMessage()
func (*VLANEntry) SetConditions ¶
func (r *VLANEntry) 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 (*VLANEntry) ValidateSyntax ¶ added in v0.0.2
func (*VLANEntry) XXX_DiscardUnknown ¶
func (m *VLANEntry) XXX_DiscardUnknown()
func (*VLANEntry) XXX_Marshal ¶
func (*VLANEntry) XXX_Unmarshal ¶
type VLANEntryList ¶
type VLANEntryList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []VLANEntry `json:"items" yaml:"items" protobuf:"bytes,2,rep,name=items"` }
VLANEntryList contains a list of VLANEntries +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*VLANEntryList) DeepCopy ¶
func (in *VLANEntryList) DeepCopy() *VLANEntryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLANEntryList.
func (*VLANEntryList) DeepCopyInto ¶
func (in *VLANEntryList) DeepCopyInto(out *VLANEntryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VLANEntryList) DeepCopyObject ¶
func (in *VLANEntryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VLANEntryList) Descriptor ¶
func (*VLANEntryList) Descriptor() ([]byte, []int)
func (*VLANEntryList) GetItems ¶
func (r *VLANEntryList) GetItems() []backend.Object
func (*VLANEntryList) GetListMeta ¶
func (r *VLANEntryList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta
func (*VLANEntryList) GetObjects ¶ added in v0.0.2
func (r *VLANEntryList) GetObjects() []backend.GenericObject
func (*VLANEntryList) Marshal ¶
func (m *VLANEntryList) Marshal() (dAtA []byte, err error)
func (*VLANEntryList) MarshalToSizedBuffer ¶
func (m *VLANEntryList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VLANEntryList) ProtoMessage ¶
func (*VLANEntryList) ProtoMessage()
func (*VLANEntryList) Reset ¶
func (m *VLANEntryList) Reset()
func (*VLANEntryList) Size ¶
func (m *VLANEntryList) Size() (n int)
func (*VLANEntryList) String ¶
func (this *VLANEntryList) String() string
func (*VLANEntryList) Unmarshal ¶
func (m *VLANEntryList) Unmarshal(dAtA []byte) error
func (*VLANEntryList) XXX_DiscardUnknown ¶
func (m *VLANEntryList) XXX_DiscardUnknown()
func (*VLANEntryList) XXX_Marshal ¶
func (m *VLANEntryList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VLANEntryList) XXX_Merge ¶
func (m *VLANEntryList) XXX_Merge(src proto.Message)
func (*VLANEntryList) XXX_Size ¶
func (m *VLANEntryList) XXX_Size() int
func (*VLANEntryList) XXX_Unmarshal ¶
func (m *VLANEntryList) XXX_Unmarshal(b []byte) error
type VLANEntrySpec ¶
type VLANEntrySpec struct { // VLANIndex defines the vlan index for the VLAN Claim Index string `json:"index" yaml:"index" protobuf:"bytes,1,opt,name=index"` // ClaimType defines the claimType of the VLAN Entry ClaimType backend.ClaimType `json:"claimType,omitempty" yaml:"claimType,omitempty" protobuf:"bytes,2,opt,name=claimType"` // ID defines the id of the VLAN entry in the tree ID string `json:"id,omitempty" yaml:"id,omitempty" protobuf:"bytes,3,opt,name=id"` // ClaimLabels define the user defined labels and selector labels used // in resource claim commonv1alpha1.ClaimLabels `json:",inline" yaml:",inline" protobuf:"bytes,4,opt,name=claimLabels"` // Claim defines the name of the claim that is the origin of this entry Claim string `json:"claim" yaml:"claim" protobuf:"bytes,5,opt,name=claim"` // Owner defines the ownerReference of the VLANClaim // Allow for different namesapces, hence it is part of the spec Owner *commonv1alpha1.OwnerReference `json:"owner,omitempty" yaml:"owner,omitempty" protobuf:"bytes,6,opt,name=owner"` }
VLANEntrySpec defines the desired state of VLANEntry
func (*VLANEntrySpec) DeepCopy ¶
func (in *VLANEntrySpec) DeepCopy() *VLANEntrySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLANEntrySpec.
func (*VLANEntrySpec) DeepCopyInto ¶
func (in *VLANEntrySpec) DeepCopyInto(out *VLANEntrySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VLANEntrySpec) Descriptor ¶
func (*VLANEntrySpec) Descriptor() ([]byte, []int)
func (*VLANEntrySpec) Marshal ¶
func (m *VLANEntrySpec) Marshal() (dAtA []byte, err error)
func (*VLANEntrySpec) MarshalToSizedBuffer ¶
func (m *VLANEntrySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VLANEntrySpec) ProtoMessage ¶
func (*VLANEntrySpec) ProtoMessage()
func (*VLANEntrySpec) Reset ¶
func (m *VLANEntrySpec) Reset()
func (*VLANEntrySpec) Size ¶
func (m *VLANEntrySpec) Size() (n int)
func (*VLANEntrySpec) String ¶
func (this *VLANEntrySpec) String() string
func (*VLANEntrySpec) Unmarshal ¶
func (m *VLANEntrySpec) Unmarshal(dAtA []byte) error
func (*VLANEntrySpec) XXX_DiscardUnknown ¶
func (m *VLANEntrySpec) XXX_DiscardUnknown()
func (*VLANEntrySpec) XXX_Marshal ¶
func (m *VLANEntrySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VLANEntrySpec) XXX_Merge ¶
func (m *VLANEntrySpec) XXX_Merge(src proto.Message)
func (*VLANEntrySpec) XXX_Size ¶
func (m *VLANEntrySpec) XXX_Size() int
func (*VLANEntrySpec) XXX_Unmarshal ¶
func (m *VLANEntrySpec) XXX_Unmarshal(b []byte) error
type VLANEntryStatus ¶
type VLANEntryStatus struct { // ConditionedStatus provides the status of the VLANEntry using conditions // - a ready condition indicates the overall status of the resource conditionv1alpha1.ConditionedStatus `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=conditionedStatus"` }
VLANEntryStatus defines the observed state of VLANEntry
func (*VLANEntryStatus) DeepCopy ¶
func (in *VLANEntryStatus) DeepCopy() *VLANEntryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLANEntryStatus.
func (*VLANEntryStatus) DeepCopyInto ¶
func (in *VLANEntryStatus) DeepCopyInto(out *VLANEntryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VLANEntryStatus) Descriptor ¶
func (*VLANEntryStatus) Descriptor() ([]byte, []int)
func (*VLANEntryStatus) Marshal ¶
func (m *VLANEntryStatus) Marshal() (dAtA []byte, err error)
func (*VLANEntryStatus) MarshalToSizedBuffer ¶
func (m *VLANEntryStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VLANEntryStatus) ProtoMessage ¶
func (*VLANEntryStatus) ProtoMessage()
func (*VLANEntryStatus) Reset ¶
func (m *VLANEntryStatus) Reset()
func (*VLANEntryStatus) Size ¶
func (m *VLANEntryStatus) Size() (n int)
func (*VLANEntryStatus) String ¶
func (this *VLANEntryStatus) String() string
func (*VLANEntryStatus) Unmarshal ¶
func (m *VLANEntryStatus) Unmarshal(dAtA []byte) error
func (*VLANEntryStatus) XXX_DiscardUnknown ¶
func (m *VLANEntryStatus) XXX_DiscardUnknown()
func (*VLANEntryStatus) XXX_Marshal ¶
func (m *VLANEntryStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VLANEntryStatus) XXX_Merge ¶
func (m *VLANEntryStatus) XXX_Merge(src proto.Message)
func (*VLANEntryStatus) XXX_Size ¶
func (m *VLANEntryStatus) XXX_Size() int
func (*VLANEntryStatus) XXX_Unmarshal ¶
func (m *VLANEntryStatus) XXX_Unmarshal(b []byte) error
type VLANIndex ¶
type VLANIndex struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec VLANIndexSpec `json:"spec,omitempty" yaml:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status VLANIndexStatus `json:"status,omitempty" yaml:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
VLANIndex is the Schema for the VLANIndex API
+k8s:openapi-gen=true
func BuildVLANIndex ¶
func BuildVLANIndex(meta metav1.ObjectMeta, spec *VLANIndexSpec, status *VLANIndexStatus) *VLANIndex
BuildVLANIndex returns a reource from a client Object a Spec/Status
func (*VLANIndex) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLANIndex.
func (*VLANIndex) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VLANIndex) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VLANIndex) Descriptor ¶
func (*VLANIndex) GetCondition ¶
func (r *VLANIndex) GetCondition(t conditionv1alpha1.ConditionType) conditionv1alpha1.Condition
GetCondition returns the condition based on the condition kind
func (VLANIndex) GetGroupVersionResource ¶
func (VLANIndex) GetGroupVersionResource() schema.GroupVersionResource
func (*VLANIndex) GetMaxClaim ¶
func (r *VLANIndex) GetMaxClaim() backend.ClaimObject
func (*VLANIndex) GetMaxClaimNSN ¶
func (r *VLANIndex) GetMaxClaimNSN() types.NamespacedName
func (*VLANIndex) GetMinClaim ¶
func (r *VLANIndex) GetMinClaim() backend.ClaimObject
func (*VLANIndex) GetMinClaimNSN ¶
func (r *VLANIndex) GetMinClaimNSN() types.NamespacedName
func (*VLANIndex) GetNamespacedName ¶
func (r *VLANIndex) GetNamespacedName() types.NamespacedName
func (*VLANIndex) GetObjectMeta ¶
func (r *VLANIndex) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object
func (*VLANIndex) GetOwnerReference ¶
func (r *VLANIndex) GetOwnerReference() *commonv1alpha1.OwnerReference
func (*VLANIndex) GetSingularName ¶
func (VLANIndex) IsStorageVersion ¶
IsStorageVersion returns true -- v1alpha1.Config is used as the internal version. IsStorageVersion implements resource.Object.
func (*VLANIndex) MarshalToSizedBuffer ¶
func (VLANIndex) NamespaceScoped ¶
NamespaceScoped returns true to indicate Fortune is a namespaced resource. NamespaceScoped implements resource.Object.
func (*VLANIndex) NewObjList ¶ added in v0.0.2
func (r *VLANIndex) NewObjList() backend.GenericObjectList
func (*VLANIndex) ProtoMessage ¶
func (*VLANIndex) ProtoMessage()
func (*VLANIndex) SetConditions ¶
func (r *VLANIndex) 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 (*VLANIndex) XXX_DiscardUnknown ¶
func (m *VLANIndex) XXX_DiscardUnknown()
func (*VLANIndex) XXX_Marshal ¶
func (*VLANIndex) XXX_Unmarshal ¶
type VLANIndexList ¶
type VLANIndexList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []VLANIndex `json:"items" yaml:"items" protobuf:"bytes,2,rep,name=items"` }
VLANIndexList contains a list of VLANIndexs +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*VLANIndexList) DeepCopy ¶
func (in *VLANIndexList) DeepCopy() *VLANIndexList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLANIndexList.
func (*VLANIndexList) DeepCopyInto ¶
func (in *VLANIndexList) DeepCopyInto(out *VLANIndexList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VLANIndexList) DeepCopyObject ¶
func (in *VLANIndexList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VLANIndexList) Descriptor ¶
func (*VLANIndexList) Descriptor() ([]byte, []int)
func (*VLANIndexList) GetItems ¶
func (r *VLANIndexList) GetItems() []backend.Object
func (*VLANIndexList) GetListMeta ¶
func (r *VLANIndexList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta
func (*VLANIndexList) GetObjects ¶ added in v0.0.2
func (r *VLANIndexList) GetObjects() []backend.GenericObject
func (*VLANIndexList) Marshal ¶
func (m *VLANIndexList) Marshal() (dAtA []byte, err error)
func (*VLANIndexList) MarshalToSizedBuffer ¶
func (m *VLANIndexList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VLANIndexList) ProtoMessage ¶
func (*VLANIndexList) ProtoMessage()
func (*VLANIndexList) Reset ¶
func (m *VLANIndexList) Reset()
func (*VLANIndexList) Size ¶
func (m *VLANIndexList) Size() (n int)
func (*VLANIndexList) String ¶
func (this *VLANIndexList) String() string
func (*VLANIndexList) Unmarshal ¶
func (m *VLANIndexList) Unmarshal(dAtA []byte) error
func (*VLANIndexList) XXX_DiscardUnknown ¶
func (m *VLANIndexList) XXX_DiscardUnknown()
func (*VLANIndexList) XXX_Marshal ¶
func (m *VLANIndexList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VLANIndexList) XXX_Merge ¶
func (m *VLANIndexList) XXX_Merge(src proto.Message)
func (*VLANIndexList) XXX_Size ¶
func (m *VLANIndexList) XXX_Size() int
func (*VLANIndexList) XXX_Unmarshal ¶
func (m *VLANIndexList) XXX_Unmarshal(b []byte) error
type VLANIndexSpec ¶
type VLANIndexSpec struct { // MinID defines the min VLAN ID the index supports // +optional MinID *uint32 `json:"minID,omitempty" yaml:"minID,omitempty" protobuf:"bytes,1,opt,name=minID"` // MaxID defines the max VLAN ID the index supports // +optional MaxID *uint32 `json:"maxID,omitempty" yaml:"maxID,omitempty" protobuf:"bytes,2,opt,name=maxID"` // UserDefinedLabels define metadata to the resource. // defined in the spec to distingiush metadata labels from user defined labels commonv1alpha1.UserDefinedLabels `json:",inline" yaml:",inline" protobuf:"bytes,3,opt,name=userDefinedLabels"` }
VLANIndexSpec defines the desired state of VLANIndex
func (*VLANIndexSpec) DeepCopy ¶
func (in *VLANIndexSpec) DeepCopy() *VLANIndexSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLANIndexSpec.
func (*VLANIndexSpec) DeepCopyInto ¶
func (in *VLANIndexSpec) DeepCopyInto(out *VLANIndexSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VLANIndexSpec) Descriptor ¶
func (*VLANIndexSpec) Descriptor() ([]byte, []int)
func (*VLANIndexSpec) Marshal ¶
func (m *VLANIndexSpec) Marshal() (dAtA []byte, err error)
func (*VLANIndexSpec) MarshalToSizedBuffer ¶
func (m *VLANIndexSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VLANIndexSpec) ProtoMessage ¶
func (*VLANIndexSpec) ProtoMessage()
func (*VLANIndexSpec) Reset ¶
func (m *VLANIndexSpec) Reset()
func (*VLANIndexSpec) Size ¶
func (m *VLANIndexSpec) Size() (n int)
func (*VLANIndexSpec) String ¶
func (this *VLANIndexSpec) String() string
func (*VLANIndexSpec) Unmarshal ¶
func (m *VLANIndexSpec) Unmarshal(dAtA []byte) error
func (*VLANIndexSpec) XXX_DiscardUnknown ¶
func (m *VLANIndexSpec) XXX_DiscardUnknown()
func (*VLANIndexSpec) XXX_Marshal ¶
func (m *VLANIndexSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VLANIndexSpec) XXX_Merge ¶
func (m *VLANIndexSpec) XXX_Merge(src proto.Message)
func (*VLANIndexSpec) XXX_Size ¶
func (m *VLANIndexSpec) XXX_Size() int
func (*VLANIndexSpec) XXX_Unmarshal ¶
func (m *VLANIndexSpec) XXX_Unmarshal(b []byte) error
type VLANIndexStatus ¶
type VLANIndexStatus struct { // MinID defines the min VLAN ID the index supports // +optional MinID *uint32 `json:"minID,omitempty" yaml:"minID,omitempty" protobuf:"bytes,1,opt,name=minID"` // MaxID defines the max VLAN ID the index supports // +optional MaxID *uint32 `json:"maxID,omitempty" yaml:"maxID,omitempty" protobuf:"bytes,2,opt,name=maxID"` // ConditionedStatus provides the status of the VLANIndex using conditions // - a ready condition indicates the overall status of the resource conditionv1alpha1.ConditionedStatus `json:",inline" yaml:",inline" protobuf:"bytes,3,opt,name=conditionedStatus"` }
VLANIndexStatus defines the observed state of VLANIndex
func (*VLANIndexStatus) DeepCopy ¶
func (in *VLANIndexStatus) DeepCopy() *VLANIndexStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLANIndexStatus.
func (*VLANIndexStatus) DeepCopyInto ¶
func (in *VLANIndexStatus) DeepCopyInto(out *VLANIndexStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VLANIndexStatus) Descriptor ¶
func (*VLANIndexStatus) Descriptor() ([]byte, []int)
func (*VLANIndexStatus) Marshal ¶
func (m *VLANIndexStatus) Marshal() (dAtA []byte, err error)
func (*VLANIndexStatus) MarshalToSizedBuffer ¶
func (m *VLANIndexStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VLANIndexStatus) ProtoMessage ¶
func (*VLANIndexStatus) ProtoMessage()
func (*VLANIndexStatus) Reset ¶
func (m *VLANIndexStatus) Reset()
func (*VLANIndexStatus) Size ¶
func (m *VLANIndexStatus) Size() (n int)
func (*VLANIndexStatus) String ¶
func (this *VLANIndexStatus) String() string
func (*VLANIndexStatus) Unmarshal ¶
func (m *VLANIndexStatus) Unmarshal(dAtA []byte) error
func (*VLANIndexStatus) XXX_DiscardUnknown ¶
func (m *VLANIndexStatus) XXX_DiscardUnknown()
func (*VLANIndexStatus) XXX_Marshal ¶
func (m *VLANIndexStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VLANIndexStatus) XXX_Merge ¶
func (m *VLANIndexStatus) XXX_Merge(src proto.Message)
func (*VLANIndexStatus) XXX_Size ¶
func (m *VLANIndexStatus) XXX_Size() int
func (*VLANIndexStatus) XXX_Unmarshal ¶
func (m *VLANIndexStatus) XXX_Unmarshal(b []byte) error