Documentation ¶
Overview ¶
Package genid is the internal version of the API.
Index ¶
- Constants
- Variables
- func BuildGENIDClaim(meta metav1.ObjectMeta, spec *GENIDClaimSpec, status *GENIDClaimStatus) backend.ClaimObject
- func BuildGENIDEntry(meta metav1.ObjectMeta, spec *GENIDEntrySpec, status *GENIDEntryStatus) backend.EntryObject
- func GENIDClaimFromRuntime(ru runtime.Object) (backend.ClaimObject, error)
- func GENIDClaimFromUnstructured(ru runtime.Unstructured) (backend.ClaimObject, error)
- func GENIDEntryFromRuntime(ru runtime.Object) (backend.EntryObject, error)
- func GENIDEntryFromUnstructured(ru runtime.Unstructured) (backend.EntryObject, error)
- func GENIDIndexFromRuntime(ru runtime.Object) (backend.IndexObject, error)
- func GetGENIDEntry(k store.Key, vrange, id string, labels map[string]string) backend.EntryObject
- func GetMaxClaimRange(genidType GENIDType, id uint64) string
- func GetMinClaimRange(id uint64) string
- func Kind(kind string) schema.GroupKind
- func NewChoreoClaimInvoker(be backend.Backend) options.BackendInvoker
- func NewChoreoIndexInvoker(be backend.Backend) options.BackendInvoker
- func Resource(resource string) schema.GroupResource
- type GENIDClaim
- func (in *GENIDClaim) DeepCopy() *GENIDClaim
- func (in *GENIDClaim) DeepCopyInto(out *GENIDClaim)
- func (in *GENIDClaim) DeepCopyObject() runtime.Object
- func (r *GENIDClaim) FieldLabelConversion() runtime.FieldLabelConversionFunc
- func (r *GENIDClaim) FieldSelector() ...
- func (GENIDClaim) GetCategories() []string
- func (r *GENIDClaim) GetChoreoAPIVersion() string
- func (r *GENIDClaim) GetClaimID(typ string, id uint64) tree.ID
- func (r *GENIDClaim) GetClaimLabels() labels.Set
- func (r *GENIDClaim) GetClaimRequest() string
- func (r *GENIDClaim) GetClaimResponse() string
- func (r *GENIDClaim) GetClaimSet(typ string) (map[string]tree.ID, sets.Set[string], error)
- func (r *GENIDClaim) GetClaimType() backend.ClaimType
- func (r *GENIDClaim) GetCondition(t condition.ConditionType) condition.Condition
- func (GENIDClaim) GetGroupVersionResource() schema.GroupVersionResource
- func (r *GENIDClaim) GetIndex() string
- func (r *GENIDClaim) GetKey() store.Key
- func (r *GENIDClaim) GetLabelSelector() (labels.Selector, error)
- func (r *GENIDClaim) GetNamespacedName() types.NamespacedName
- func (r *GENIDClaim) GetObjectMeta() *metav1.ObjectMeta
- func (r *GENIDClaim) GetOwnerSelector() (labels.Selector, error)
- func (r *GENIDClaim) GetRange() *string
- func (r *GENIDClaim) GetRangeID(typ string) (tree.Range, error)
- func (r *GENIDClaim) GetSelector() *metav1.LabelSelector
- func (GENIDClaim) GetShortNames() []string
- func (GENIDClaim) GetSingularName() string
- func (r *GENIDClaim) GetStaticID() *uint64
- func (r *GENIDClaim) GetStaticTreeID(typ string) tree.ID
- func (r *GENIDClaim) GetStatus() resource.StatusSubResource
- func (r *GENIDClaim) GetStatusClaimID(typ string) tree.ID
- func (r *GENIDClaim) GetStatusID() *uint64
- func (r *GENIDClaim) GetTable(typ string, to, from uint64) table.Table
- func (r *GENIDClaim) IsEqual(ctx context.Context, obj, old runtime.Object) bool
- func (r *GENIDClaim) IsOwner(labels labels.Set) bool
- func (r *GENIDClaim) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool
- func (GENIDClaim) IsStorageVersion() bool
- func (GENIDClaim) NamespaceScoped() bool
- func (GENIDClaim) New() runtime.Object
- func (GENIDClaim) NewList() runtime.Object
- func (r *GENIDClaim) PrepareForCreate(ctx context.Context, obj runtime.Object)
- func (r *GENIDClaim) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)
- func (r *GENIDClaim) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
- func (r *GENIDClaim) SetConditions(c ...condition.Condition)
- func (r *GENIDClaim) SetStatusID(s *uint64)
- func (r *GENIDClaim) SetStatusRange(s *string)
- func (r *GENIDClaim) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor
- func (r *GENIDClaim) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList
- func (r *GENIDClaim) ValidateGENIDClaimType() error
- func (r *GENIDClaim) ValidateGENIDID(genidType GENIDType) error
- func (r *GENIDClaim) ValidateGENIDRange(genidType GENIDType) error
- func (r *GENIDClaim) ValidateOwner(labels labels.Set) error
- func (r *GENIDClaim) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- func (r *GENIDClaim) ValidateSyntax(s string) field.ErrorList
- func (r *GENIDClaim) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- type GENIDClaimFilter
- type GENIDClaimList
- type GENIDClaimSpec
- type GENIDClaimStatus
- type GENIDDynamicIDSyntaxValidator
- type GENIDEntry
- func (in *GENIDEntry) DeepCopy() *GENIDEntry
- func (in *GENIDEntry) DeepCopyInto(out *GENIDEntry)
- func (in *GENIDEntry) DeepCopyObject() runtime.Object
- func (r *GENIDEntry) FieldLabelConversion() runtime.FieldLabelConversionFunc
- func (r *GENIDEntry) FieldSelector() ...
- func (GENIDEntry) GetCategories() []string
- func (r *GENIDEntry) GetChoreoAPIVersion() string
- func (r *GENIDEntry) GetClaimType() backend.ClaimType
- func (r *GENIDEntry) GetCondition(t condition.ConditionType) condition.Condition
- func (GENIDEntry) GetGroupVersionResource() schema.GroupVersionResource
- func (r *GENIDEntry) GetIndex() string
- func (r *GENIDEntry) GetKey() store.Key
- func (r *GENIDEntry) GetNamespacedName() types.NamespacedName
- func (r *GENIDEntry) GetObjectMeta() *metav1.ObjectMeta
- func (GENIDEntry) GetShortNames() []string
- func (GENIDEntry) GetSingularName() string
- func (r *GENIDEntry) GetSpecID() string
- func (r *GENIDEntry) GetStatus() resource.StatusSubResource
- func (r *GENIDEntry) IsEqual(ctx context.Context, obj, old runtime.Object) bool
- func (r *GENIDEntry) IsIndexEntry() bool
- func (r *GENIDEntry) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool
- func (GENIDEntry) IsStorageVersion() bool
- func (GENIDEntry) NamespaceScoped() bool
- func (GENIDEntry) New() runtime.Object
- func (GENIDEntry) NewList() runtime.Object
- func (r *GENIDEntry) PrepareForCreate(ctx context.Context, obj runtime.Object)
- func (r *GENIDEntry) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)
- func (r *GENIDEntry) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
- func (r *GENIDEntry) SetConditions(c ...condition.Condition)
- func (r *GENIDEntry) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor
- func (r *GENIDEntry) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList
- func (r *GENIDEntry) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- func (r *GENIDEntry) ValidateSyntax(s string) field.ErrorList
- func (r *GENIDEntry) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- type GENIDEntryFilter
- type GENIDEntryList
- type GENIDEntrySpec
- type GENIDEntryStatus
- type GENIDIndex
- func (in *GENIDIndex) DeepCopy() *GENIDIndex
- func (in *GENIDIndex) DeepCopyInto(out *GENIDIndex)
- func (in *GENIDIndex) DeepCopyObject() runtime.Object
- func (r *GENIDIndex) FieldLabelConversion() runtime.FieldLabelConversionFunc
- func (r *GENIDIndex) FieldSelector() ...
- func (GENIDIndex) GetCategories() []string
- func (r *GENIDIndex) GetClaim(claim GENIDIndexClaim) backend.ClaimObject
- func (r *GENIDIndex) GetClaims() []backend.ClaimObject
- func (r *GENIDIndex) GetCondition(t condition.ConditionType) condition.Condition
- func (GENIDIndex) GetGroupVersionResource() schema.GroupVersionResource
- func (r *GENIDIndex) GetKey() store.Key
- func (r *GENIDIndex) GetMax() uint64
- func (r *GENIDIndex) GetMaxClaim() backend.ClaimObject
- func (r *GENIDIndex) GetMaxClaimNSN() types.NamespacedName
- func (r *GENIDIndex) GetMaxID() *uint64
- func (r *GENIDIndex) GetMinClaim() backend.ClaimObject
- func (r *GENIDIndex) GetMinClaimNSN() types.NamespacedName
- func (r *GENIDIndex) GetMinID() *uint64
- func (r *GENIDIndex) GetNamespacedName() types.NamespacedName
- func (r *GENIDIndex) GetObjectMeta() *metav1.ObjectMeta
- func (GENIDIndex) GetShortNames() []string
- func (GENIDIndex) GetSingularName() string
- func (r *GENIDIndex) GetStatus() resource.StatusSubResource
- func (r *GENIDIndex) GetTree() gtree.GTree
- func (r *GENIDIndex) GetType() string
- func (r *GENIDIndex) IsEqual(ctx context.Context, obj, old runtime.Object) bool
- func (r *GENIDIndex) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool
- func (GENIDIndex) IsStorageVersion() bool
- func (GENIDIndex) NamespaceScoped() bool
- func (GENIDIndex) New() runtime.Object
- func (GENIDIndex) NewList() runtime.Object
- func (r *GENIDIndex) PrepareForCreate(ctx context.Context, obj runtime.Object)
- func (r *GENIDIndex) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)
- func (r *GENIDIndex) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
- func (r *GENIDIndex) SetConditions(c ...condition.Condition)
- func (r *GENIDIndex) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor
- func (r *GENIDIndex) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList
- func (r *GENIDIndex) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- func (r *GENIDIndex) ValidateSyntax(s string) field.ErrorList
- func (r *GENIDIndex) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- type GENIDIndexClaim
- type GENIDIndexFilter
- type GENIDIndexList
- type GENIDIndexSpec
- type GENIDIndexStatus
- type GENIDRangeSyntaxValidator
- type GENIDStaticIDSyntaxValidator
- type GENIDType
- type SyntaxValidator
Constants ¶
const ( GENIDClaimPlural = "genidclaims" GENIDClaimSingular = "genidclaim" )
const ( GENIDEntryPlural = "vlanentries" GENIDEntrySingular = "GENIDEntry" )
const ( GENIDIndexPlural = "genidindices" GENIDIndexSingular = "genidindex" )
const ( GroupName = "genid.be.kuid.dev" Version = runtime.APIVersionInternal )
const GENIDID_Min = 0
Variables ¶
var ( GENIDClaimShortNames = []string{} GENIDClaimCategories = []string{"kuid", "knet"} )
var ( GENIDClaimKind = reflect.TypeOf(GENIDClaim{}).Name() GENIDClaimListKind = reflect.TypeOf(GENIDClaimList{}).Name() )
var ( GENIDEntryShortNames = []string{} GENIDEntryCategories = []string{"kuid", "knet"} )
var ( GENIDEntryKind = reflect.TypeOf(GENIDEntry{}).Name() GENIDEntryListKind = reflect.TypeOf(GENIDEntryList{}).Name() )
var ( GENIDIndexShortNames = []string{} GENIDIndexCategories = []string{"kuid", "knet"} )
var ( GENIDIndexKind = reflect.TypeOf(GENIDIndex{}).Name() GENIDIndexListKind = reflect.TypeOf(GENIDIndexList{}).Name() )
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var GENIDID_MaxBits = map[GENIDType]int{
GENIDType_Invalid: 0,
GENIDType_16bit: 16,
GENIDType_32bit: 32,
GENIDType_48bit: 48,
GENIDType_64bit: 64,
}
var GENIDID_MaxValue = map[GENIDType]uint64{ GENIDType_Invalid: 0, GENIDType_16bit: 1<<GENIDID_MaxBits[GENIDType_16bit] - 1, GENIDType_32bit: 1<<GENIDID_MaxBits[GENIDType_32bit] - 1, GENIDType_48bit: 1<<GENIDID_MaxBits[GENIDType_48bit] - 1, GENIDType_64bit: 1<<GENIDID_MaxBits[GENIDType_64bit] - 1, }
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}
Functions ¶
func BuildGENIDClaim ¶
func BuildGENIDClaim(meta metav1.ObjectMeta, spec *GENIDClaimSpec, status *GENIDClaimStatus) backend.ClaimObject
BuildGENIDClaim returns a reource from a client Object a Spec/Status
func BuildGENIDEntry ¶
func BuildGENIDEntry(meta metav1.ObjectMeta, spec *GENIDEntrySpec, status *GENIDEntryStatus) backend.EntryObject
func GENIDClaimFromRuntime ¶
func GENIDClaimFromRuntime(ru runtime.Object) (backend.ClaimObject, error)
func GENIDClaimFromUnstructured ¶
func GENIDClaimFromUnstructured(ru runtime.Unstructured) (backend.ClaimObject, error)
func GENIDEntryFromRuntime ¶
func GENIDEntryFromRuntime(ru runtime.Object) (backend.EntryObject, error)
func GENIDEntryFromUnstructured ¶
func GENIDEntryFromUnstructured(ru runtime.Unstructured) (backend.EntryObject, error)
func GENIDIndexFromRuntime ¶
func GENIDIndexFromRuntime(ru runtime.Object) (backend.IndexObject, error)
func GetGENIDEntry ¶
func GetMaxClaimRange ¶
func GetMinClaimRange ¶
func NewChoreoClaimInvoker ¶
func NewChoreoClaimInvoker(be backend.Backend) options.BackendInvoker
func NewChoreoIndexInvoker ¶
func NewChoreoIndexInvoker(be backend.Backend) options.BackendInvoker
func Resource ¶
func Resource(resource string) schema.GroupResource
Types ¶
type GENIDClaim ¶
type GENIDClaim struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec GENIDClaimSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status GENIDClaimStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true +kubebuilder:storageversion +kubebuilder:subresource:status +kubebuilder:resource:categories={kuid} GENIDClaim is the Schema for the GENIDClaim API
func (*GENIDClaim) DeepCopy ¶
func (in *GENIDClaim) DeepCopy() *GENIDClaim
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GENIDClaim.
func (*GENIDClaim) DeepCopyInto ¶
func (in *GENIDClaim) DeepCopyInto(out *GENIDClaim)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GENIDClaim) DeepCopyObject ¶
func (in *GENIDClaim) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*GENIDClaim) FieldLabelConversion ¶
func (r *GENIDClaim) FieldLabelConversion() runtime.FieldLabelConversionFunc
FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource
func (*GENIDClaim) FieldSelector ¶
func (GENIDClaim) GetCategories ¶
func (GENIDClaim) GetCategories() []string
GetCategories return the categories of the resource GetCategories implements resource.Object
func (*GENIDClaim) GetChoreoAPIVersion ¶
func (r *GENIDClaim) GetChoreoAPIVersion() string
func (*GENIDClaim) GetClaimID ¶
func (r *GENIDClaim) GetClaimID(typ string, id uint64) tree.ID
func (*GENIDClaim) GetClaimLabels ¶
func (r *GENIDClaim) GetClaimLabels() labels.Set
func (*GENIDClaim) GetClaimRequest ¶
func (r *GENIDClaim) GetClaimRequest() string
func (*GENIDClaim) GetClaimResponse ¶
func (r *GENIDClaim) GetClaimResponse() string
func (*GENIDClaim) GetClaimSet ¶
func (*GENIDClaim) GetClaimType ¶
func (r *GENIDClaim) GetClaimType() backend.ClaimType
func (*GENIDClaim) GetCondition ¶
func (r *GENIDClaim) GetCondition(t condition.ConditionType) condition.Condition
GetCondition returns the condition bVLANed on the condition kind
func (GENIDClaim) GetGroupVersionResource ¶
func (GENIDClaim) GetGroupVersionResource() schema.GroupVersionResource
func (*GENIDClaim) GetIndex ¶
func (r *GENIDClaim) GetIndex() string
func (*GENIDClaim) GetKey ¶
func (r *GENIDClaim) GetKey() store.Key
func (*GENIDClaim) GetLabelSelector ¶
func (r *GENIDClaim) GetLabelSelector() (labels.Selector, error)
func (*GENIDClaim) GetNamespacedName ¶
func (r *GENIDClaim) GetNamespacedName() types.NamespacedName
func (*GENIDClaim) GetObjectMeta ¶
func (r *GENIDClaim) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object
func (*GENIDClaim) GetOwnerSelector ¶
func (r *GENIDClaim) GetOwnerSelector() (labels.Selector, error)
GetOwnerSelector selects the route bVLANed on the name of the claim
func (*GENIDClaim) GetRange ¶
func (r *GENIDClaim) GetRange() *string
func (*GENIDClaim) GetRangeID ¶
func (r *GENIDClaim) GetRangeID(typ string) (tree.Range, error)
func (*GENIDClaim) GetSelector ¶
func (r *GENIDClaim) GetSelector() *metav1.LabelSelector
func (GENIDClaim) GetShortNames ¶
func (GENIDClaim) GetShortNames() []string
GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object
func (GENIDClaim) GetSingularName ¶
func (GENIDClaim) GetSingularName() string
GetSingularName returns the singular name of the resource GetSingularName implements resource.Object
func (*GENIDClaim) GetStaticID ¶
func (r *GENIDClaim) GetStaticID() *uint64
func (*GENIDClaim) GetStaticTreeID ¶
func (r *GENIDClaim) GetStaticTreeID(typ string) tree.ID
func (*GENIDClaim) GetStatus ¶
func (r *GENIDClaim) GetStatus() resource.StatusSubResource
GetStatus return the resource.StatusSubResource interface
func (*GENIDClaim) GetStatusClaimID ¶ added in v0.0.10
func (r *GENIDClaim) GetStatusClaimID(typ string) tree.ID
func (*GENIDClaim) GetStatusID ¶
func (r *GENIDClaim) GetStatusID() *uint64
func (*GENIDClaim) GetTable ¶
func (r *GENIDClaim) GetTable(typ string, to, from uint64) table.Table
func (*GENIDClaim) IsEqual ¶
IsEqual returns a bool indicating if the desired state of both resources is equal or not
func (*GENIDClaim) IsStatusEqual ¶
IsStatusEqual returns a bool indicating if the status of both resources is equal or not
func (GENIDClaim) IsStorageVersion ¶
func (GENIDClaim) IsStorageVersion() bool
IsStorageVersion returns true -- Config is used VLAN the internal version. IsStorageVersion implements resource.Object
func (GENIDClaim) NamespaceScoped ¶
func (GENIDClaim) NamespaceScoped() bool
NamespaceScoped returns true to indicate Fortune is a namespaced resource. NamespaceScoped implements resource.Object
func (GENIDClaim) New ¶
func (GENIDClaim) New() runtime.Object
New return an empty resource New implements resource.Object
func (GENIDClaim) NewList ¶
func (GENIDClaim) NewList() runtime.Object
NewList return an empty resourceList NewList implements resource.Object
func (*GENIDClaim) PrepareForCreate ¶
func (r *GENIDClaim) PrepareForCreate(ctx context.Context, obj runtime.Object)
func (*GENIDClaim) PrepareForStatusUpdate ¶
func (r *GENIDClaim) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)
PrepareForStatusUpdate prepares the status update
func (*GENIDClaim) PrepareForUpdate ¶
func (r *GENIDClaim) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
func (*GENIDClaim) SetConditions ¶
func (r *GENIDClaim) SetConditions(c ...condition.Condition)
SetConditions sets the conditions on the resource. it allows for 0, 1 or more conditions to be set at once
func (*GENIDClaim) SetStatusID ¶
func (r *GENIDClaim) SetStatusID(s *uint64)
func (*GENIDClaim) SetStatusRange ¶
func (r *GENIDClaim) SetStatusRange(s *string)
func (*GENIDClaim) TableConvertor ¶
func (r *GENIDClaim) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor
TableConvertor return the table format of the resource
func (*GENIDClaim) ValidateCreate ¶
ValidateCreate statically validates
func (*GENIDClaim) ValidateGENIDClaimType ¶
func (r *GENIDClaim) ValidateGENIDClaimType() error
func (*GENIDClaim) ValidateGENIDID ¶
func (r *GENIDClaim) ValidateGENIDID(genidType GENIDType) error
func (*GENIDClaim) ValidateGENIDRange ¶
func (r *GENIDClaim) ValidateGENIDRange(genidType GENIDType) error
func (*GENIDClaim) ValidateOwner ¶
func (r *GENIDClaim) ValidateOwner(labels labels.Set) error
func (*GENIDClaim) ValidateStatusUpdate ¶
func (r *GENIDClaim) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
ValidateStatusUpdate validates status updates
func (*GENIDClaim) ValidateSyntax ¶
func (r *GENIDClaim) ValidateSyntax(s string) field.ErrorList
func (*GENIDClaim) ValidateUpdate ¶
type GENIDClaimFilter ¶
type GENIDClaimFilter struct { // Name filters by the name of the objects Name string `protobuf:"bytes,1,opt,name=name"` // Namespace filters by the namespace of the objects Namespace string `protobuf:"bytes,2,opt,name=namespace"` }
func (*GENIDClaimFilter) DeepCopy ¶
func (in *GENIDClaimFilter) DeepCopy() *GENIDClaimFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GENIDClaimFilter.
func (*GENIDClaimFilter) DeepCopyInto ¶
func (in *GENIDClaimFilter) DeepCopyInto(out *GENIDClaimFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GENIDClaimList ¶
type GENIDClaimList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []GENIDClaim `json:"items" protobuf:"bytes,2,rep,name=items"` }
GENIDClaimList contains a list of GENIDClaims +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*GENIDClaimList) DeepCopy ¶
func (in *GENIDClaimList) DeepCopy() *GENIDClaimList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GENIDClaimList.
func (*GENIDClaimList) DeepCopyInto ¶
func (in *GENIDClaimList) DeepCopyInto(out *GENIDClaimList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GENIDClaimList) DeepCopyObject ¶
func (in *GENIDClaimList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*GENIDClaimList) GetListMeta ¶
func (r *GENIDClaimList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList
type GENIDClaimSpec ¶
type GENIDClaimSpec struct { // Index defines the index for the resource Index string `json:"index" protobuf:"bytes,1,opt,name=index"` // ID defines the id of the resource ID *uint64 `json:"id,omitempty" protobuf:"bytes,2,opt,name=id"` // Range defines the range of the resource // The following notation is used: start-end <start-ID>-<end-ID> // the IDs in the range must be consecutive Range *string `json:"range,omitempty" protobuf:"bytes,3,opt,name=range"` // ClaimLabels define the user defined labels and selector labels used // in resource claim common.ClaimLabels `json:",inline" protobuf:"bytes,4,opt,name=claimLabels"` }
GENIDClaimSpec defines the desired state of GENIDClaim
func (*GENIDClaimSpec) DeepCopy ¶
func (in *GENIDClaimSpec) DeepCopy() *GENIDClaimSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GENIDClaimSpec.
func (*GENIDClaimSpec) DeepCopyInto ¶
func (in *GENIDClaimSpec) DeepCopyInto(out *GENIDClaimSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GENIDClaimStatus ¶
type GENIDClaimStatus struct { // ConditionedStatus provides the status of the VLANClain using conditions // - a ready condition indicates the overall status of the resource condition.ConditionedStatus `json:",inline" protobuf:"bytes,1,opt,name=conditionedStatus"` // ID defines the ID assigned to the resource // +optional ID *uint64 `json:"id,omitempty" protobuf:"bytes,2,opt,name=id"` // Range defines the range assigned to the resource // +optional Range *string `json:"range,omitempty" protobuf:"bytes,3,opt,name=range"` // ExpiryTime defines when the claim expires // +kubebuilder:validation:Optional // +optional ExpiryTime *string `json:"expiryTime,omitempty" protobuf:"bytes,4,opt,name=expiryTime"` }
GENIDClaimStatus defines the observed state of GENIDClaim
func (GENIDClaimStatus) CopyTo ¶
func (r GENIDClaimStatus) CopyTo(obj resource.ObjectWithStatusSubResource)
CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource
func (*GENIDClaimStatus) DeepCopy ¶
func (in *GENIDClaimStatus) DeepCopy() *GENIDClaimStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GENIDClaimStatus.
func (*GENIDClaimStatus) DeepCopyInto ¶
func (in *GENIDClaimStatus) DeepCopyInto(out *GENIDClaimStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (GENIDClaimStatus) SubResourceName ¶
func (GENIDClaimStatus) SubResourceName() string
SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource
type GENIDDynamicIDSyntaxValidator ¶
type GENIDDynamicIDSyntaxValidator struct {
// contains filtered or unexported fields
}
func (*GENIDDynamicIDSyntaxValidator) DeepCopy ¶
func (in *GENIDDynamicIDSyntaxValidator) DeepCopy() *GENIDDynamicIDSyntaxValidator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GENIDDynamicIDSyntaxValidator.
func (*GENIDDynamicIDSyntaxValidator) DeepCopyInto ¶
func (in *GENIDDynamicIDSyntaxValidator) DeepCopyInto(out *GENIDDynamicIDSyntaxValidator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GENIDDynamicIDSyntaxValidator) Validate ¶
func (r *GENIDDynamicIDSyntaxValidator) Validate(claim *GENIDClaim, genidType GENIDType) field.ErrorList
type GENIDEntry ¶
type GENIDEntry struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec GENIDEntrySpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status GENIDEntryStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true +kubebuilder:storageversion +kubebuilder:subresource:status +kubebuilder:resource:categories={kuid} GENIDEntry is the Schema for the GENIDEntry API
func (*GENIDEntry) DeepCopy ¶
func (in *GENIDEntry) DeepCopy() *GENIDEntry
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GENIDEntry.
func (*GENIDEntry) DeepCopyInto ¶
func (in *GENIDEntry) DeepCopyInto(out *GENIDEntry)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GENIDEntry) DeepCopyObject ¶
func (in *GENIDEntry) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*GENIDEntry) FieldLabelConversion ¶
func (r *GENIDEntry) FieldLabelConversion() runtime.FieldLabelConversionFunc
FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource
func (*GENIDEntry) FieldSelector ¶
func (GENIDEntry) GetCategories ¶
func (GENIDEntry) GetCategories() []string
GetCategories return the categories of the resource GetCategories implements resource.Object
func (*GENIDEntry) GetChoreoAPIVersion ¶
func (r *GENIDEntry) GetChoreoAPIVersion() string
func (*GENIDEntry) GetClaimType ¶
func (r *GENIDEntry) GetClaimType() backend.ClaimType
func (*GENIDEntry) GetCondition ¶
func (r *GENIDEntry) GetCondition(t condition.ConditionType) condition.Condition
GetCondition returns the condition based on the condition kind
func (GENIDEntry) GetGroupVersionResource ¶
func (GENIDEntry) GetGroupVersionResource() schema.GroupVersionResource
func (*GENIDEntry) GetIndex ¶
func (r *GENIDEntry) GetIndex() string
func (*GENIDEntry) GetKey ¶
func (r *GENIDEntry) GetKey() store.Key
func (*GENIDEntry) GetNamespacedName ¶
func (r *GENIDEntry) GetNamespacedName() types.NamespacedName
func (*GENIDEntry) GetObjectMeta ¶
func (r *GENIDEntry) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object
func (GENIDEntry) GetShortNames ¶
func (GENIDEntry) GetShortNames() []string
GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object
func (GENIDEntry) GetSingularName ¶
func (GENIDEntry) GetSingularName() string
GetSingularName returns the singular name of the resource GetSingularName implements resource.Object
func (*GENIDEntry) GetSpecID ¶
func (r *GENIDEntry) GetSpecID() string
func (*GENIDEntry) GetStatus ¶
func (r *GENIDEntry) GetStatus() resource.StatusSubResource
GetStatus return the resource.StatusSubResource interface
func (*GENIDEntry) IsEqual ¶
IsEqual returns a bool indicating if the desired state of both resources is equal or not
func (*GENIDEntry) IsIndexEntry ¶ added in v0.0.10
func (r *GENIDEntry) IsIndexEntry() bool
func (*GENIDEntry) IsStatusEqual ¶
IsStatusEqual returns a bool indicating if the status of both resources is equal or not
func (GENIDEntry) IsStorageVersion ¶
func (GENIDEntry) IsStorageVersion() bool
IsStorageVersion returns true -- Config is used as the internal version. IsStorageVersion implements resource.Object
func (GENIDEntry) NamespaceScoped ¶
func (GENIDEntry) NamespaceScoped() bool
NamespaceScoped returns true to indicate Fortune is a namespaced resource. NamespaceScoped implements resource.Object
func (GENIDEntry) New ¶
func (GENIDEntry) New() runtime.Object
New return an empty resource New implements resource.Object
func (GENIDEntry) NewList ¶
func (GENIDEntry) NewList() runtime.Object
NewList return an empty resourceList NewList implements resource.Object
func (*GENIDEntry) PrepareForCreate ¶
func (r *GENIDEntry) PrepareForCreate(ctx context.Context, obj runtime.Object)
func (*GENIDEntry) PrepareForStatusUpdate ¶
func (r *GENIDEntry) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)
PrepareForStatusUpdate prepares the status update
func (*GENIDEntry) PrepareForUpdate ¶
func (r *GENIDEntry) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
func (*GENIDEntry) SetConditions ¶
func (r *GENIDEntry) SetConditions(c ...condition.Condition)
SetConditions sets the conditions on the resource. it allows for 0, 1 or more conditions to be set at once
func (*GENIDEntry) TableConvertor ¶
func (r *GENIDEntry) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor
TableConvertor return the table format of the resource
func (*GENIDEntry) ValidateCreate ¶
ValidateCreate statically validates
func (*GENIDEntry) ValidateStatusUpdate ¶
func (r *GENIDEntry) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
ValidateStatusUpdate validates status updates
func (*GENIDEntry) ValidateSyntax ¶
func (r *GENIDEntry) ValidateSyntax(s string) field.ErrorList
func (*GENIDEntry) ValidateUpdate ¶
type GENIDEntryFilter ¶
type GENIDEntryFilter struct { // Name filters by the name of the objects Name string `protobuf:"bytes,1,opt,name=name"` // Namespace filters by the namespace of the objects Namespace string `protobuf:"bytes,2,opt,name=namespace"` }
func (*GENIDEntryFilter) DeepCopy ¶
func (in *GENIDEntryFilter) DeepCopy() *GENIDEntryFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GENIDEntryFilter.
func (*GENIDEntryFilter) DeepCopyInto ¶
func (in *GENIDEntryFilter) DeepCopyInto(out *GENIDEntryFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GENIDEntryList ¶
type GENIDEntryList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []GENIDEntry `json:"items" protobuf:"bytes,2,rep,name=items"` }
GENIDEntryList contains a list of VLANEntries +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*GENIDEntryList) DeepCopy ¶
func (in *GENIDEntryList) DeepCopy() *GENIDEntryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GENIDEntryList.
func (*GENIDEntryList) DeepCopyInto ¶
func (in *GENIDEntryList) DeepCopyInto(out *GENIDEntryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GENIDEntryList) DeepCopyObject ¶
func (in *GENIDEntryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*GENIDEntryList) GetListMeta ¶
func (r *GENIDEntryList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList
type GENIDEntrySpec ¶
type GENIDEntrySpec struct { // Index defines the index for the resource Index string `json:"index" protobuf:"bytes,1,opt,name=index"` // IndexEntry identifies if the entry is originated from an IP Index IndexEntry bool `json:"indexEntry" protobuf:"bytes,2,opt,name=indexEntry"` // ClaimType defines the claimType of the resource ClaimType backend.ClaimType `json:"claimType,omitempty" protobuf:"bytes,3,opt,name=claimType"` // ID defines the id of the resource in the tree ID string `json:"id,omitempty" protobuf:"bytes,4,opt,name=id"` // ClaimLabels define the user defined labels and selector labels used // in resource claim common.ClaimLabels `json:",inline" protobuf:"bytes,5,opt,name=claimLabels"` }
GENIDEntrySpec defines the desired state of GENIDEntry
func (*GENIDEntrySpec) DeepCopy ¶
func (in *GENIDEntrySpec) DeepCopy() *GENIDEntrySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GENIDEntrySpec.
func (*GENIDEntrySpec) DeepCopyInto ¶
func (in *GENIDEntrySpec) DeepCopyInto(out *GENIDEntrySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GENIDEntryStatus ¶
type GENIDEntryStatus struct { // ConditionedStatus provides the status of the GENIDEntry using conditions // - a ready condition indicates the overall status of the resource condition.ConditionedStatus `json:",inline" protobuf:"bytes,1,opt,name=conditionedStatus"` }
GENIDEntryStatus defines the observed state of GENIDEntry
func (GENIDEntryStatus) CopyTo ¶
func (r GENIDEntryStatus) CopyTo(obj resource.ObjectWithStatusSubResource)
CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource
func (*GENIDEntryStatus) DeepCopy ¶
func (in *GENIDEntryStatus) DeepCopy() *GENIDEntryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GENIDEntryStatus.
func (*GENIDEntryStatus) DeepCopyInto ¶
func (in *GENIDEntryStatus) DeepCopyInto(out *GENIDEntryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (GENIDEntryStatus) SubResourceName ¶
func (GENIDEntryStatus) SubResourceName() string
SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource
type GENIDIndex ¶
type GENIDIndex struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec GENIDIndexSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status GENIDIndexStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true +kubebuilder:storageversion +kubebuilder:subresource:status +kubebuilder:resource:categories={kuid} GENIDIndex is the Schema for the GENIDIndex API
func BuildGENIDIndex ¶
func BuildGENIDIndex(meta metav1.ObjectMeta, spec *GENIDIndexSpec, status *GENIDIndexStatus) *GENIDIndex
BuildGENIDIndex returns a reource from a client Object a Spec/Status
func (*GENIDIndex) DeepCopy ¶
func (in *GENIDIndex) DeepCopy() *GENIDIndex
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GENIDIndex.
func (*GENIDIndex) DeepCopyInto ¶
func (in *GENIDIndex) DeepCopyInto(out *GENIDIndex)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GENIDIndex) DeepCopyObject ¶
func (in *GENIDIndex) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*GENIDIndex) FieldLabelConversion ¶
func (r *GENIDIndex) FieldLabelConversion() runtime.FieldLabelConversionFunc
FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource
func (*GENIDIndex) FieldSelector ¶
func (GENIDIndex) GetCategories ¶
func (GENIDIndex) GetCategories() []string
GetCategories return the categories of the resource GetCategories implements resource.Object
func (*GENIDIndex) GetClaim ¶ added in v0.0.13
func (r *GENIDIndex) GetClaim(claim GENIDIndexClaim) backend.ClaimObject
func (*GENIDIndex) GetClaims ¶ added in v0.0.10
func (r *GENIDIndex) GetClaims() []backend.ClaimObject
func (*GENIDIndex) GetCondition ¶
func (r *GENIDIndex) GetCondition(t condition.ConditionType) condition.Condition
GetCondition returns the condition based on the condition kind
func (GENIDIndex) GetGroupVersionResource ¶
func (GENIDIndex) GetGroupVersionResource() schema.GroupVersionResource
func (*GENIDIndex) GetKey ¶
func (r *GENIDIndex) GetKey() store.Key
func (*GENIDIndex) GetMax ¶
func (r *GENIDIndex) GetMax() uint64
func (*GENIDIndex) GetMaxClaim ¶
func (r *GENIDIndex) GetMaxClaim() backend.ClaimObject
func (*GENIDIndex) GetMaxClaimNSN ¶
func (r *GENIDIndex) GetMaxClaimNSN() types.NamespacedName
func (*GENIDIndex) GetMaxID ¶
func (r *GENIDIndex) GetMaxID() *uint64
func (*GENIDIndex) GetMinClaim ¶
func (r *GENIDIndex) GetMinClaim() backend.ClaimObject
func (*GENIDIndex) GetMinClaimNSN ¶
func (r *GENIDIndex) GetMinClaimNSN() types.NamespacedName
func (*GENIDIndex) GetMinID ¶
func (r *GENIDIndex) GetMinID() *uint64
func (*GENIDIndex) GetNamespacedName ¶
func (r *GENIDIndex) GetNamespacedName() types.NamespacedName
func (*GENIDIndex) GetObjectMeta ¶
func (r *GENIDIndex) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object
func (GENIDIndex) GetShortNames ¶
func (GENIDIndex) GetShortNames() []string
GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object
func (GENIDIndex) GetSingularName ¶
func (GENIDIndex) GetSingularName() string
GetSingularName returns the singular name of the resource GetSingularName implements resource.Object
func (*GENIDIndex) GetStatus ¶
func (r *GENIDIndex) GetStatus() resource.StatusSubResource
GetStatus return the resource.StatusSubResource interface
func (*GENIDIndex) GetTree ¶
func (r *GENIDIndex) GetTree() gtree.GTree
func (*GENIDIndex) GetType ¶
func (r *GENIDIndex) GetType() string
func (*GENIDIndex) IsEqual ¶
IsEqual returns a bool indicating if the desired state of both resources is equal or not
func (*GENIDIndex) IsStatusEqual ¶
IsStatusEqual returns a bool indicating if the status of both resources is equal or not
func (GENIDIndex) IsStorageVersion ¶
func (GENIDIndex) IsStorageVersion() bool
IsStorageVersion returns true -- Config is used as the internal version. IsStorageVersion implements resource.Object
func (GENIDIndex) NamespaceScoped ¶
func (GENIDIndex) NamespaceScoped() bool
NamespaceScoped returns true to indicate Fortune is a namespaced resource. NamespaceScoped implements resource.Object
func (GENIDIndex) New ¶
func (GENIDIndex) New() runtime.Object
New return an empty resource New implements resource.Object
func (GENIDIndex) NewList ¶
func (GENIDIndex) NewList() runtime.Object
NewList return an empty resourceList NewList implements resource.Object
func (*GENIDIndex) PrepareForCreate ¶
func (r *GENIDIndex) PrepareForCreate(ctx context.Context, obj runtime.Object)
func (*GENIDIndex) PrepareForStatusUpdate ¶
func (r *GENIDIndex) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)
PrepareForStatusUpdate prepares the status update
func (*GENIDIndex) PrepareForUpdate ¶
func (r *GENIDIndex) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
func (*GENIDIndex) SetConditions ¶
func (r *GENIDIndex) SetConditions(c ...condition.Condition)
SetConditions sets the conditions on the resource. it allows for 0, 1 or more conditions to be set at once
func (*GENIDIndex) TableConvertor ¶
func (r *GENIDIndex) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor
TableConvertor return the table format of the resource
func (*GENIDIndex) ValidateCreate ¶
ValidateCreate statically validates
func (*GENIDIndex) ValidateStatusUpdate ¶
func (r *GENIDIndex) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
ValidateStatusUpdate validates status updates
func (*GENIDIndex) ValidateSyntax ¶
func (r *GENIDIndex) ValidateSyntax(s string) field.ErrorList
func (*GENIDIndex) ValidateUpdate ¶
type GENIDIndexClaim ¶ added in v0.0.13
type GENIDIndexClaim struct { // Name of the Claim Name string `json:"name" protobuf:"bytes,1,opt,name=name"` // ID defines the id of the resource ID *uint64 `json:"id,omitempty" protobuf:"bytes,2,opt,name=id"` // Range defines the range of the resource // The following notation is used: start-end <start-ID>-<end-ID> // the IDs in the range must be consecutive Range *string `json:"range,omitempty" protobuf:"bytes,3,opt,name=range"` // UserDefinedLabels define metadata to the resource. // defined in the spec to distingiush metadata labels from user defined labels common.UserDefinedLabels `json:",inline" protobuf:"bytes,4,opt,name=userDefinedLabels"` }
type GENIDIndexFilter ¶
type GENIDIndexFilter struct { // Name filters by the name of the objects Name string `protobuf:"bytes,1,opt,name=name"` // Namespace filters by the namespace of the objects Namespace string `protobuf:"bytes,2,opt,name=namespace"` }
func (*GENIDIndexFilter) DeepCopy ¶
func (in *GENIDIndexFilter) DeepCopy() *GENIDIndexFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GENIDIndexFilter.
func (*GENIDIndexFilter) DeepCopyInto ¶
func (in *GENIDIndexFilter) DeepCopyInto(out *GENIDIndexFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GENIDIndexList ¶
type GENIDIndexList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []GENIDIndex `json:"items" protobuf:"bytes,2,rep,name=items"` }
GENIDIndexList contains a list of GENIDIndexs +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*GENIDIndexList) DeepCopy ¶
func (in *GENIDIndexList) DeepCopy() *GENIDIndexList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GENIDIndexList.
func (*GENIDIndexList) DeepCopyInto ¶
func (in *GENIDIndexList) DeepCopyInto(out *GENIDIndexList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GENIDIndexList) DeepCopyObject ¶
func (in *GENIDIndexList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*GENIDIndexList) GetListMeta ¶
func (r *GENIDIndexList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList
type GENIDIndexSpec ¶
type GENIDIndexSpec struct { // MinID defines the min ID the index supports // +optional MinID *uint64 `json:"minID,omitempty" protobuf:"bytes,1,opt,name=minID"` // MaxID defines the max ID the index supports // +optional MaxID *uint64 `json:"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 common.UserDefinedLabels `json:",inline" protobuf:"bytes,3,opt,name=userDefinedLabels"` // Type defines the type of the GENID // 16bit, 32bit, 48bit, 64bit Type string `json:"type,omitempty" protobuf:"bytes,4,opt,name=type"` // Claims define the embedded claims in the Index Claims []GENIDIndexClaim `json:"claims,omitempty" protobuf:"bytes,5,rep,name=claims"` }
GENIDIndexSpec defines the desired state of GENIDIndex
func (*GENIDIndexSpec) DeepCopy ¶
func (in *GENIDIndexSpec) DeepCopy() *GENIDIndexSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GENIDIndexSpec.
func (*GENIDIndexSpec) DeepCopyInto ¶
func (in *GENIDIndexSpec) DeepCopyInto(out *GENIDIndexSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GENIDIndexStatus ¶
type GENIDIndexStatus struct { // MinID defines the min ID the index supports // +optional MinID *uint64 `json:"minID,omitempty" protobuf:"bytes,1,opt,name=minID"` // MaxID defines the max ID the index supports // +optional MaxID *uint64 `json:"maxID,omitempty" protobuf:"bytes,2,opt,name=maxID"` // ConditionedStatus provides the status of the GENIDIndex using conditions // - a ready condition indicates the overall status of the resource condition.ConditionedStatus `json:",inline" protobuf:"bytes,3,opt,name=conditionedStatus"` }
GENIDIndexStatus defines the observed state of GENIDIndex
func (GENIDIndexStatus) CopyTo ¶
func (r GENIDIndexStatus) CopyTo(obj resource.ObjectWithStatusSubResource)
CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource
func (*GENIDIndexStatus) DeepCopy ¶
func (in *GENIDIndexStatus) DeepCopy() *GENIDIndexStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GENIDIndexStatus.
func (*GENIDIndexStatus) DeepCopyInto ¶
func (in *GENIDIndexStatus) DeepCopyInto(out *GENIDIndexStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (GENIDIndexStatus) SubResourceName ¶
func (GENIDIndexStatus) SubResourceName() string
SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource
type GENIDRangeSyntaxValidator ¶
type GENIDRangeSyntaxValidator struct {
// contains filtered or unexported fields
}
func (*GENIDRangeSyntaxValidator) DeepCopy ¶
func (in *GENIDRangeSyntaxValidator) DeepCopy() *GENIDRangeSyntaxValidator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GENIDRangeSyntaxValidator.
func (*GENIDRangeSyntaxValidator) DeepCopyInto ¶
func (in *GENIDRangeSyntaxValidator) DeepCopyInto(out *GENIDRangeSyntaxValidator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GENIDRangeSyntaxValidator) Validate ¶
func (r *GENIDRangeSyntaxValidator) Validate(claim *GENIDClaim, genidType GENIDType) field.ErrorList
type GENIDStaticIDSyntaxValidator ¶
type GENIDStaticIDSyntaxValidator struct {
// contains filtered or unexported fields
}
func (*GENIDStaticIDSyntaxValidator) DeepCopy ¶
func (in *GENIDStaticIDSyntaxValidator) DeepCopy() *GENIDStaticIDSyntaxValidator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GENIDStaticIDSyntaxValidator.
func (*GENIDStaticIDSyntaxValidator) DeepCopyInto ¶
func (in *GENIDStaticIDSyntaxValidator) DeepCopyInto(out *GENIDStaticIDSyntaxValidator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GENIDStaticIDSyntaxValidator) Validate ¶
func (r *GENIDStaticIDSyntaxValidator) Validate(claim *GENIDClaim, genidType GENIDType) field.ErrorList
type SyntaxValidator ¶
type SyntaxValidator interface {
Validate(claim *GENIDClaim, genidType GENIDType) field.ErrorList
}
+kubebuilder:object:generate=false
Source Files ¶
- doc.go
- genid_types.go
- genidclaim_object.go
- genidclaim_resource.go
- genidclaim_syntaxvalidator.go
- genidclaim_types.go
- genidentry_object.go
- genidentry_resource.go
- genidentry_types.go
- genidindex_helpers.go
- genidindex_object.go
- genidindex_resource.go
- genidindex_types.go
- helper.go
- invoker_claim.go
- invoker_index.go
- register.go
- zz_generated.deepcopy.go