v1alpha1

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2024 License: Apache-2.0 Imports: 37 Imported by: 6

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API.

+kubebuilder:object:generate=true +groupName=genid.be.kuid.dev

Index

Constants

View Source
const (
	Group   = "genid.be.kuid.dev"
	Version = "v1alpha1"
)
View Source
const GENIDClaimPlural = "genidclaims"
View Source
const GENIDClaimSingular = "genidclaim"
View Source
const GENIDEntryPlural = "genidentries"
View Source
const GENIDEntrySingular = "genidentry"
View Source
const GENIDID_Min = 0
View Source
const GENIDIndexPlural = "genidindices"
View Source
const GENIDIndexSingular = "genidindex"

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	GENIDClaimKind     = reflect.TypeOf(GENIDClaim{}).Name()
	GENIDClaimListKind = reflect.TypeOf(GENIDClaimList{}).Name()
)
View Source
var (
	GENIDEntryKind     = reflect.TypeOf(GENIDEntry{}).Name()
	GENIDEntryListKind = reflect.TypeOf(GENIDEntryList{}).Name()
)
View Source
var (
	GENIDIndexKind     = reflect.TypeOf(GENIDIndex{}).Name()
	GENIDIndexListKind = reflect.TypeOf(GENIDIndexList{}).Name()
)
View Source
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
)
View Source
var GENIDID_MaxBits = map[GENIDType]int{
	GENIDType_Invalid: 0,
	GENIDType_16bit:   16,
	GENIDType_32bit:   32,
	GENIDType_48bit:   48,
	GENIDType_64bit:   63,
}
View Source
var GENIDID_MaxValue = map[GENIDType]int64{
	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,
}

Functions

func GENIDClaimConvertFieldSelector

func GENIDClaimConvertFieldSelector(label, value string) (internalLabel, internalValue string, err error)

GENIDConvertClaimFieldSelector is the schema conversion function for normalizing the FieldSelector for GENIDClaim

func GENIDEntryConvertFieldSelector

func GENIDEntryConvertFieldSelector(label, value string) (internalLabel, internalValue string, err error)

GENIDEntryConvertFieldSelector is the schema conversion function for normalizing the FieldSelector for GENIDEntry

func GENIDIndexConvertFieldSelector

func GENIDIndexConvertFieldSelector(label, value string) (internalLabel, internalValue string, err error)

GENIDIndexConvertFieldSelector is the schema conversion function for normalizing the FieldSelector for GENIDIndex

func GENIDIndexTableConvertor

func GENIDIndexTableConvertor(gr schema.GroupResource) registry.TableConvertor

func GetGENIDEntry

func GetGENIDEntry(k store.Key, vrange, id string, labels map[string]string) backend.EntryObject

func GetMaxClaimRange

func GetMaxClaimRange(genidType GENIDType, id int64) string

func GetMinClaimRange

func GetMinClaimRange(id int64) string

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type GENIDClaim

type GENIDClaim struct {
	metav1.TypeMeta   `json:",inline" yaml:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   GENIDClaimSpec   `json:"spec,omitempty" yaml:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status GENIDClaimStatus `json:"status,omitempty" yaml:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

GENIDClaim is the Schema for the GENIDClaim API

+k8s:openapi-gen=true

func BuildGENIDClaim

func BuildGENIDClaim(meta metav1.ObjectMeta, spec *GENIDClaimSpec, status *GENIDClaimStatus) *GENIDClaim

BuildGENIDClaim returns a reource from a client Object a Spec/Status

func (*GENIDClaim) CalculateHash

func (r *GENIDClaim) CalculateHash() ([sha1.Size]byte, error)

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) Descriptor

func (*GENIDClaim) Descriptor() ([]byte, []int)

func (*GENIDClaim) GetClaimID

func (r *GENIDClaim) GetClaimID(s 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) GetClaimType

func (r *GENIDClaim) GetClaimType() backend.ClaimType

func (*GENIDClaim) GetCondition

GetCondition returns the condition based on the condition kind

func (*GENIDClaim) GetGENIDRange

func (r *GENIDClaim) GetGENIDRange() (int, int)

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)

GetLabelSelector returns a labels selector based on the label selector

func (*GENIDClaim) GetNamespacedName

func (r *GENIDClaim) GetNamespacedName() types.NamespacedName

func (*GENIDClaim) GetObjectMeta

func (r *GENIDClaim) GetObjectMeta() *metav1.ObjectMeta

GetObjectMeta implements resource.Object

func (*GENIDClaim) GetOwnerReference

func (r *GENIDClaim) GetOwnerReference() *commonv1alpha1.OwnerReference

func (*GENIDClaim) GetOwnerSelector

func (r *GENIDClaim) GetOwnerSelector() (labels.Selector, error)

GetOwnerSelector returns a label selector to select the owner of the claim in the backend

func (*GENIDClaim) GetRange

func (r *GENIDClaim) GetRange() *string

func (*GENIDClaim) GetRangeID

func (r *GENIDClaim) GetRangeID(s string) (tree.Range, error)

func (*GENIDClaim) GetSelector

func (r *GENIDClaim) GetSelector() *metav1.LabelSelector

func (*GENIDClaim) GetSingularName

func (r *GENIDClaim) GetSingularName() string

func (*GENIDClaim) GetSpec added in v0.0.2

func (r *GENIDClaim) GetSpec() any

func (*GENIDClaim) GetStaticID

func (r *GENIDClaim) GetStaticID() *uint64

func (*GENIDClaim) GetStaticTreeID

func (r *GENIDClaim) GetStaticTreeID(s string) tree.ID

func (*GENIDClaim) GetStatus

func (r *GENIDClaim) GetStatus() resource.StatusSubResource

func (*GENIDClaim) GetStatusID

func (r *GENIDClaim) GetStatusID() *uint64

func (*GENIDClaim) GetTable

func (r *GENIDClaim) GetTable(s string, to, from uint64) table.Table

func (GENIDClaim) IsStorageVersion

func (GENIDClaim) IsStorageVersion() bool

IsStorageVersion returns true -- v1alpha1.Config is used as the internal version. IsStorageVersion implements resource.Object.

func (*GENIDClaim) Marshal

func (m *GENIDClaim) Marshal() (dAtA []byte, err error)

func (*GENIDClaim) MarshalTo

func (m *GENIDClaim) MarshalTo(dAtA []byte) (int, error)

func (*GENIDClaim) MarshalToSizedBuffer

func (m *GENIDClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)

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 implements resource.Object

func (GENIDClaim) NewList

func (GENIDClaim) NewList() runtime.Object

NewList implements resource.Object

func (*GENIDClaim) NewObjList added in v0.0.2

func (r *GENIDClaim) NewObjList() backend.GenericObjectList

func (*GENIDClaim) ProtoMessage

func (*GENIDClaim) ProtoMessage()

func (*GENIDClaim) Reset

func (m *GENIDClaim) Reset()

func (*GENIDClaim) SetConditions

func (r *GENIDClaim) 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 (*GENIDClaim) SetSpec added in v0.0.2

func (r *GENIDClaim) SetSpec(s any)

func (*GENIDClaim) SetStatusID

func (r *GENIDClaim) SetStatusID(s *uint64)

func (*GENIDClaim) SetStatusRange

func (r *GENIDClaim) SetStatusRange(s *string)

func (*GENIDClaim) Size

func (m *GENIDClaim) Size() (n int)

func (*GENIDClaim) String

func (this *GENIDClaim) String() string

func (*GENIDClaim) Unmarshal

func (m *GENIDClaim) Unmarshal(dAtA []byte) error

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) ValidateSyntax

func (r *GENIDClaim) ValidateSyntax(s string) field.ErrorList

func (*GENIDClaim) XXX_DiscardUnknown

func (m *GENIDClaim) XXX_DiscardUnknown()

func (*GENIDClaim) XXX_Marshal

func (m *GENIDClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GENIDClaim) XXX_Merge

func (m *GENIDClaim) XXX_Merge(src proto.Message)

func (*GENIDClaim) XXX_Size

func (m *GENIDClaim) XXX_Size() int

func (*GENIDClaim) XXX_Unmarshal

func (m *GENIDClaim) XXX_Unmarshal(b []byte) error

type GENIDClaimList

type GENIDClaimList struct {
	metav1.TypeMeta `json:",inline" yaml:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []GENIDClaim `json:"items" yaml:"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) Descriptor

func (*GENIDClaimList) Descriptor() ([]byte, []int)

func (*GENIDClaimList) GetItems

func (r *GENIDClaimList) GetItems() []backend.Object

func (*GENIDClaimList) GetListMeta

func (r *GENIDClaimList) GetListMeta() *metav1.ListMeta

GetListMeta returns the ListMeta

func (*GENIDClaimList) GetObjects added in v0.0.2

func (r *GENIDClaimList) GetObjects() []backend.GenericObject

func (*GENIDClaimList) Marshal

func (m *GENIDClaimList) Marshal() (dAtA []byte, err error)

func (*GENIDClaimList) MarshalTo

func (m *GENIDClaimList) MarshalTo(dAtA []byte) (int, error)

func (*GENIDClaimList) MarshalToSizedBuffer

func (m *GENIDClaimList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GENIDClaimList) ProtoMessage

func (*GENIDClaimList) ProtoMessage()

func (*GENIDClaimList) Reset

func (m *GENIDClaimList) Reset()

func (*GENIDClaimList) Size

func (m *GENIDClaimList) Size() (n int)

func (*GENIDClaimList) String

func (this *GENIDClaimList) String() string

func (*GENIDClaimList) Unmarshal

func (m *GENIDClaimList) Unmarshal(dAtA []byte) error

func (*GENIDClaimList) XXX_DiscardUnknown

func (m *GENIDClaimList) XXX_DiscardUnknown()

func (*GENIDClaimList) XXX_Marshal

func (m *GENIDClaimList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GENIDClaimList) XXX_Merge

func (m *GENIDClaimList) XXX_Merge(src proto.Message)

func (*GENIDClaimList) XXX_Size

func (m *GENIDClaimList) XXX_Size() int

func (*GENIDClaimList) XXX_Unmarshal

func (m *GENIDClaimList) XXX_Unmarshal(b []byte) error

type GENIDClaimSpec

type GENIDClaimSpec struct {
	// GENIDIndex defines the GENID index for the GENID Claim
	Index string `json:"index" yaml:"index" protobuf:"bytes,1,opt,name=index"`
	// GENIDID defines the GENID for the GENID claim
	ID *int64 `json:"id,omitempty" yaml:"id,omitempty" protobuf:"bytes,2,opt,name=id"`
	// Range defines the GENID range for the GENID claim
	// The following notation is used: start-end <start-GENIDID>-<end-GENIDID>
	// the GENIDs in the range must be consecutive
	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 GENIDClaim
	// 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"`
}

GENIDClaimSpec defines the dGENIDred 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.

func (*GENIDClaimSpec) Descriptor

func (*GENIDClaimSpec) Descriptor() ([]byte, []int)

func (*GENIDClaimSpec) Marshal

func (m *GENIDClaimSpec) Marshal() (dAtA []byte, err error)

func (*GENIDClaimSpec) MarshalTo

func (m *GENIDClaimSpec) MarshalTo(dAtA []byte) (int, error)

func (*GENIDClaimSpec) MarshalToSizedBuffer

func (m *GENIDClaimSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GENIDClaimSpec) ProtoMessage

func (*GENIDClaimSpec) ProtoMessage()

func (*GENIDClaimSpec) Reset

func (m *GENIDClaimSpec) Reset()

func (*GENIDClaimSpec) Size

func (m *GENIDClaimSpec) Size() (n int)

func (*GENIDClaimSpec) String

func (this *GENIDClaimSpec) String() string

func (*GENIDClaimSpec) Unmarshal

func (m *GENIDClaimSpec) Unmarshal(dAtA []byte) error

func (*GENIDClaimSpec) XXX_DiscardUnknown

func (m *GENIDClaimSpec) XXX_DiscardUnknown()

func (*GENIDClaimSpec) XXX_Marshal

func (m *GENIDClaimSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GENIDClaimSpec) XXX_Merge

func (m *GENIDClaimSpec) XXX_Merge(src proto.Message)

func (*GENIDClaimSpec) XXX_Size

func (m *GENIDClaimSpec) XXX_Size() int

func (*GENIDClaimSpec) XXX_Unmarshal

func (m *GENIDClaimSpec) XXX_Unmarshal(b []byte) error

type GENIDClaimStatus

type GENIDClaimStatus struct {
	// ConditionedStatus provides the status of the IPClain using conditions
	// - a ready condition indicates the overall status of the resource
	conditionv1alpha1.ConditionedStatus `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=conditionedStatus"`
	// GENIDID defines the GENID for the GENID claim
	// +optional
	ID *int64 `json:"id,omitempty" yaml:"id,omitempty" protobuf:"bytes,2,opt,name=id"`
	// GENIDRange defines the GENID range for the GENID 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"`
}

GENIDClaimStatus defines the observed state of GENIDClaim

func (GENIDClaimStatus) CopyTo

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) Descriptor

func (*GENIDClaimStatus) Descriptor() ([]byte, []int)

func (*GENIDClaimStatus) Marshal

func (m *GENIDClaimStatus) Marshal() (dAtA []byte, err error)

func (*GENIDClaimStatus) MarshalTo

func (m *GENIDClaimStatus) MarshalTo(dAtA []byte) (int, error)

func (*GENIDClaimStatus) MarshalToSizedBuffer

func (m *GENIDClaimStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GENIDClaimStatus) ProtoMessage

func (*GENIDClaimStatus) ProtoMessage()

func (*GENIDClaimStatus) Reset

func (m *GENIDClaimStatus) Reset()

func (*GENIDClaimStatus) Size

func (m *GENIDClaimStatus) Size() (n int)

func (*GENIDClaimStatus) String

func (this *GENIDClaimStatus) String() string

func (GENIDClaimStatus) SubResourceName

func (GENIDClaimStatus) SubResourceName() string

func (*GENIDClaimStatus) Unmarshal

func (m *GENIDClaimStatus) Unmarshal(dAtA []byte) error

func (*GENIDClaimStatus) XXX_DiscardUnknown

func (m *GENIDClaimStatus) XXX_DiscardUnknown()

func (*GENIDClaimStatus) XXX_Marshal

func (m *GENIDClaimStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GENIDClaimStatus) XXX_Merge

func (m *GENIDClaimStatus) XXX_Merge(src proto.Message)

func (*GENIDClaimStatus) XXX_Size

func (m *GENIDClaimStatus) XXX_Size() int

func (*GENIDClaimStatus) XXX_Unmarshal

func (m *GENIDClaimStatus) XXX_Unmarshal(b []byte) error

type GENIDDynamicIDSyntaxValidator

type GENIDDynamicIDSyntaxValidator struct {
	// contains filtered or unexported fields
}

func (*GENIDDynamicIDSyntaxValidator) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GENIDDynamicIDSyntaxValidator.

func (*GENIDDynamicIDSyntaxValidator) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GENIDDynamicIDSyntaxValidator) Descriptor

func (*GENIDDynamicIDSyntaxValidator) Descriptor() ([]byte, []int)

func (*GENIDDynamicIDSyntaxValidator) Marshal

func (m *GENIDDynamicIDSyntaxValidator) Marshal() (dAtA []byte, err error)

func (*GENIDDynamicIDSyntaxValidator) MarshalTo

func (m *GENIDDynamicIDSyntaxValidator) MarshalTo(dAtA []byte) (int, error)

func (*GENIDDynamicIDSyntaxValidator) MarshalToSizedBuffer

func (m *GENIDDynamicIDSyntaxValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GENIDDynamicIDSyntaxValidator) ProtoMessage

func (*GENIDDynamicIDSyntaxValidator) ProtoMessage()

func (*GENIDDynamicIDSyntaxValidator) Reset

func (m *GENIDDynamicIDSyntaxValidator) Reset()

func (*GENIDDynamicIDSyntaxValidator) Size

func (m *GENIDDynamicIDSyntaxValidator) Size() (n int)

func (*GENIDDynamicIDSyntaxValidator) String

func (this *GENIDDynamicIDSyntaxValidator) String() string

func (*GENIDDynamicIDSyntaxValidator) Unmarshal

func (m *GENIDDynamicIDSyntaxValidator) Unmarshal(dAtA []byte) error

func (*GENIDDynamicIDSyntaxValidator) Validate

func (r *GENIDDynamicIDSyntaxValidator) Validate(claim *GENIDClaim, genidType GENIDType) field.ErrorList

func (*GENIDDynamicIDSyntaxValidator) XXX_DiscardUnknown

func (m *GENIDDynamicIDSyntaxValidator) XXX_DiscardUnknown()

func (*GENIDDynamicIDSyntaxValidator) XXX_Marshal

func (m *GENIDDynamicIDSyntaxValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GENIDDynamicIDSyntaxValidator) XXX_Merge

func (m *GENIDDynamicIDSyntaxValidator) XXX_Merge(src proto.Message)

func (*GENIDDynamicIDSyntaxValidator) XXX_Size

func (m *GENIDDynamicIDSyntaxValidator) XXX_Size() int

func (*GENIDDynamicIDSyntaxValidator) XXX_Unmarshal

func (m *GENIDDynamicIDSyntaxValidator) XXX_Unmarshal(b []byte) error

type GENIDEntry

type GENIDEntry struct {
	metav1.TypeMeta   `json:",inline" yaml:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   GENIDEntrySpec   `json:"spec,omitempty" yaml:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status GENIDEntryStatus `json:"status,omitempty" yaml:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

GENIDEntry is the Schema for the GENIDentry API

+k8s:openapi-gen=true

func BuildGENIDEntry

func BuildGENIDEntry(meta metav1.ObjectMeta, spec *GENIDEntrySpec, status *GENIDEntryStatus) *GENIDEntry

BuildGENIDEntry returns a reource from a client Object a Spec/Status

func (*GENIDEntry) CalculateHash

func (r *GENIDEntry) CalculateHash() ([sha1.Size]byte, error)

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) Descriptor

func (*GENIDEntry) Descriptor() ([]byte, []int)

func (*GENIDEntry) GetClaimName

func (r *GENIDEntry) GetClaimName() string

func (*GENIDEntry) GetClaimType

func (r *GENIDEntry) GetClaimType() backend.ClaimType

func (*GENIDEntry) GetCondition

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

func (*GENIDEntry) GetOwnerGVK

func (r *GENIDEntry) GetOwnerGVK() schema.GroupVersionKind

func (*GENIDEntry) GetOwnerNSN

func (r *GENIDEntry) GetOwnerNSN() types.NamespacedName

func (*GENIDEntry) GetOwnerReference

func (r *GENIDEntry) GetOwnerReference() *commonv1alpha1.OwnerReference

func (*GENIDEntry) GetSingularName

func (r *GENIDEntry) GetSingularName() string

func (*GENIDEntry) GetSpec

func (r *GENIDEntry) GetSpec() any

func (*GENIDEntry) GetSpecID

func (r *GENIDEntry) GetSpecID() string

func (GENIDEntry) IsStorageVersion

func (GENIDEntry) IsStorageVersion() bool

IsStorageVersion returns true -- v1alpha1.Config is used as the internal version. IsStorageVersion implements resource.Object.

func (*GENIDEntry) Marshal

func (m *GENIDEntry) Marshal() (dAtA []byte, err error)

func (*GENIDEntry) MarshalTo

func (m *GENIDEntry) MarshalTo(dAtA []byte) (int, error)

func (*GENIDEntry) MarshalToSizedBuffer

func (m *GENIDEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

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 implements resource.Object

func (GENIDEntry) NewList

func (GENIDEntry) NewList() runtime.Object

NewList implements resource.Object

func (*GENIDEntry) NewObjList added in v0.0.2

func (r *GENIDEntry) NewObjList() backend.GenericObjectList

func (*GENIDEntry) ProtoMessage

func (*GENIDEntry) ProtoMessage()

func (*GENIDEntry) Reset

func (m *GENIDEntry) Reset()

func (*GENIDEntry) SetConditions

func (r *GENIDEntry) 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 (*GENIDEntry) SetSpec

func (r *GENIDEntry) SetSpec(s any)

func (*GENIDEntry) Size

func (m *GENIDEntry) Size() (n int)

func (*GENIDEntry) String

func (this *GENIDEntry) String() string

func (*GENIDEntry) Unmarshal

func (m *GENIDEntry) Unmarshal(dAtA []byte) error

func (*GENIDEntry) ValidateSyntax added in v0.0.2

func (r *GENIDEntry) ValidateSyntax(_ string) field.ErrorList

func (*GENIDEntry) XXX_DiscardUnknown

func (m *GENIDEntry) XXX_DiscardUnknown()

func (*GENIDEntry) XXX_Marshal

func (m *GENIDEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GENIDEntry) XXX_Merge

func (m *GENIDEntry) XXX_Merge(src proto.Message)

func (*GENIDEntry) XXX_Size

func (m *GENIDEntry) XXX_Size() int

func (*GENIDEntry) XXX_Unmarshal

func (m *GENIDEntry) XXX_Unmarshal(b []byte) error

type GENIDEntryList

type GENIDEntryList struct {
	metav1.TypeMeta `json:",inline" yaml:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []GENIDEntry `json:"items" yaml:"items" protobuf:"bytes,2,rep,name=items"`
}

GENIDEntryList contains a list of GENIDEntries +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) Descriptor

func (*GENIDEntryList) Descriptor() ([]byte, []int)

func (*GENIDEntryList) GetItems

func (r *GENIDEntryList) GetItems() []backend.Object

func (*GENIDEntryList) GetListMeta

func (r *GENIDEntryList) GetListMeta() *metav1.ListMeta

GetListMeta returns the ListMeta

func (*GENIDEntryList) GetObjects added in v0.0.2

func (r *GENIDEntryList) GetObjects() []backend.GenericObject

func (*GENIDEntryList) Marshal

func (m *GENIDEntryList) Marshal() (dAtA []byte, err error)

func (*GENIDEntryList) MarshalTo

func (m *GENIDEntryList) MarshalTo(dAtA []byte) (int, error)

func (*GENIDEntryList) MarshalToSizedBuffer

func (m *GENIDEntryList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GENIDEntryList) ProtoMessage

func (*GENIDEntryList) ProtoMessage()

func (*GENIDEntryList) Reset

func (m *GENIDEntryList) Reset()

func (*GENIDEntryList) Size

func (m *GENIDEntryList) Size() (n int)

func (*GENIDEntryList) String

func (this *GENIDEntryList) String() string

func (*GENIDEntryList) Unmarshal

func (m *GENIDEntryList) Unmarshal(dAtA []byte) error

func (*GENIDEntryList) XXX_DiscardUnknown

func (m *GENIDEntryList) XXX_DiscardUnknown()

func (*GENIDEntryList) XXX_Marshal

func (m *GENIDEntryList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GENIDEntryList) XXX_Merge

func (m *GENIDEntryList) XXX_Merge(src proto.Message)

func (*GENIDEntryList) XXX_Size

func (m *GENIDEntryList) XXX_Size() int

func (*GENIDEntryList) XXX_Unmarshal

func (m *GENIDEntryList) XXX_Unmarshal(b []byte) error

type GENIDEntrySpec

type GENIDEntrySpec struct {
	// GENIDIndex defines the GENID index for the GENID Claim
	Index string `json:"index" yaml:"index" protobuf:"bytes,1,opt,name=index"`
	// ClaimType defines the claimType of the GENID Entry
	ClaimType backend.ClaimType `json:"claimType,omitempty" yaml:"claimType,omitempty" protobuf:"bytes,2,opt,name=claimType"`
	// ID defines the id of the GENID 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 GENIDClaim
	// 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"`
}

GENIDEntrySpec defines the dGENIDred 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.

func (*GENIDEntrySpec) Descriptor

func (*GENIDEntrySpec) Descriptor() ([]byte, []int)

func (*GENIDEntrySpec) Marshal

func (m *GENIDEntrySpec) Marshal() (dAtA []byte, err error)

func (*GENIDEntrySpec) MarshalTo

func (m *GENIDEntrySpec) MarshalTo(dAtA []byte) (int, error)

func (*GENIDEntrySpec) MarshalToSizedBuffer

func (m *GENIDEntrySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GENIDEntrySpec) ProtoMessage

func (*GENIDEntrySpec) ProtoMessage()

func (*GENIDEntrySpec) Reset

func (m *GENIDEntrySpec) Reset()

func (*GENIDEntrySpec) Size

func (m *GENIDEntrySpec) Size() (n int)

func (*GENIDEntrySpec) String

func (this *GENIDEntrySpec) String() string

func (*GENIDEntrySpec) Unmarshal

func (m *GENIDEntrySpec) Unmarshal(dAtA []byte) error

func (*GENIDEntrySpec) XXX_DiscardUnknown

func (m *GENIDEntrySpec) XXX_DiscardUnknown()

func (*GENIDEntrySpec) XXX_Marshal

func (m *GENIDEntrySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GENIDEntrySpec) XXX_Merge

func (m *GENIDEntrySpec) XXX_Merge(src proto.Message)

func (*GENIDEntrySpec) XXX_Size

func (m *GENIDEntrySpec) XXX_Size() int

func (*GENIDEntrySpec) XXX_Unmarshal

func (m *GENIDEntrySpec) XXX_Unmarshal(b []byte) error

type GENIDEntryStatus

type GENIDEntryStatus struct {
	// ConditionedStatus provides the status of the GENIDEntry using conditions
	// - a ready condition indicates the overall status of the resource
	conditionv1alpha1.ConditionedStatus `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=conditionedStatus"`
}

GENIDEntryStatus defines the observed state of GENIDEntry

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) Descriptor

func (*GENIDEntryStatus) Descriptor() ([]byte, []int)

func (*GENIDEntryStatus) Marshal

func (m *GENIDEntryStatus) Marshal() (dAtA []byte, err error)

func (*GENIDEntryStatus) MarshalTo

func (m *GENIDEntryStatus) MarshalTo(dAtA []byte) (int, error)

func (*GENIDEntryStatus) MarshalToSizedBuffer

func (m *GENIDEntryStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GENIDEntryStatus) ProtoMessage

func (*GENIDEntryStatus) ProtoMessage()

func (*GENIDEntryStatus) Reset

func (m *GENIDEntryStatus) Reset()

func (*GENIDEntryStatus) Size

func (m *GENIDEntryStatus) Size() (n int)

func (*GENIDEntryStatus) String

func (this *GENIDEntryStatus) String() string

func (*GENIDEntryStatus) Unmarshal

func (m *GENIDEntryStatus) Unmarshal(dAtA []byte) error

func (*GENIDEntryStatus) XXX_DiscardUnknown

func (m *GENIDEntryStatus) XXX_DiscardUnknown()

func (*GENIDEntryStatus) XXX_Marshal

func (m *GENIDEntryStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GENIDEntryStatus) XXX_Merge

func (m *GENIDEntryStatus) XXX_Merge(src proto.Message)

func (*GENIDEntryStatus) XXX_Size

func (m *GENIDEntryStatus) XXX_Size() int

func (*GENIDEntryStatus) XXX_Unmarshal

func (m *GENIDEntryStatus) XXX_Unmarshal(b []byte) error

type GENIDIndex

type GENIDIndex struct {
	metav1.TypeMeta   `json:",inline" yaml:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   GENIDIndexSpec   `json:"spec,omitempty" yaml:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status GENIDIndexStatus `json:"status,omitempty" yaml:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

GENIDIndex is the Schema for the GENIDIndex API

+k8s:openapi-gen=true

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) CalculateHash

func (r *GENIDIndex) CalculateHash() ([sha1.Size]byte, error)

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) Descriptor

func (*GENIDIndex) Descriptor() ([]byte, []int)

func (*GENIDIndex) GetCondition

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) 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

func (*GENIDIndex) GetOwnerReference

func (r *GENIDIndex) GetOwnerReference() *commonv1alpha1.OwnerReference

func (*GENIDIndex) GetSingularName

func (r *GENIDIndex) GetSingularName() string

func (*GENIDIndex) GetSpec added in v0.0.2

func (r *GENIDIndex) GetSpec() any

func (*GENIDIndex) GetTree

func (r *GENIDIndex) GetTree() gtree.GTree

func (*GENIDIndex) GetType

func (r *GENIDIndex) GetType() string

func (GENIDIndex) IsStorageVersion

func (GENIDIndex) IsStorageVersion() bool

IsStorageVersion returns true -- v1alpha1.Config is used as the internal version. IsStorageVersion implements resource.Object.

func (*GENIDIndex) Marshal

func (m *GENIDIndex) Marshal() (dAtA []byte, err error)

func (*GENIDIndex) MarshalTo

func (m *GENIDIndex) MarshalTo(dAtA []byte) (int, error)

func (*GENIDIndex) MarshalToSizedBuffer

func (m *GENIDIndex) MarshalToSizedBuffer(dAtA []byte) (int, error)

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 implements resource.Object

func (GENIDIndex) NewList

func (GENIDIndex) NewList() runtime.Object

NewList implements resource.Object

func (*GENIDIndex) NewObjList added in v0.0.2

func (r *GENIDIndex) NewObjList() backend.GenericObjectList

func (*GENIDIndex) ProtoMessage

func (*GENIDIndex) ProtoMessage()

func (*GENIDIndex) Reset

func (m *GENIDIndex) Reset()

func (*GENIDIndex) SetConditions

func (r *GENIDIndex) 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 (*GENIDIndex) SetSpec added in v0.0.2

func (r *GENIDIndex) SetSpec(s any)

func (*GENIDIndex) Size

func (m *GENIDIndex) Size() (n int)

func (*GENIDIndex) String

func (this *GENIDIndex) String() string

func (*GENIDIndex) Unmarshal

func (m *GENIDIndex) Unmarshal(dAtA []byte) error

func (*GENIDIndex) ValidateSyntax

func (r *GENIDIndex) ValidateSyntax(_ string) field.ErrorList

func (*GENIDIndex) XXX_DiscardUnknown

func (m *GENIDIndex) XXX_DiscardUnknown()

func (*GENIDIndex) XXX_Marshal

func (m *GENIDIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GENIDIndex) XXX_Merge

func (m *GENIDIndex) XXX_Merge(src proto.Message)

func (*GENIDIndex) XXX_Size

func (m *GENIDIndex) XXX_Size() int

func (*GENIDIndex) XXX_Unmarshal

func (m *GENIDIndex) XXX_Unmarshal(b []byte) error

type GENIDIndexList

type GENIDIndexList struct {
	metav1.TypeMeta `json:",inline" yaml:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []GENIDIndex `json:"items" yaml:"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) Descriptor

func (*GENIDIndexList) Descriptor() ([]byte, []int)

func (*GENIDIndexList) GetItems

func (r *GENIDIndexList) GetItems() []backend.Object

func (*GENIDIndexList) GetListMeta

func (r *GENIDIndexList) GetListMeta() *metav1.ListMeta

GetListMeta returns the ListMeta

func (*GENIDIndexList) GetObjects added in v0.0.2

func (r *GENIDIndexList) GetObjects() []backend.GenericObject

func (*GENIDIndexList) Marshal

func (m *GENIDIndexList) Marshal() (dAtA []byte, err error)

func (*GENIDIndexList) MarshalTo

func (m *GENIDIndexList) MarshalTo(dAtA []byte) (int, error)

func (*GENIDIndexList) MarshalToSizedBuffer

func (m *GENIDIndexList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GENIDIndexList) ProtoMessage

func (*GENIDIndexList) ProtoMessage()

func (*GENIDIndexList) Reset

func (m *GENIDIndexList) Reset()

func (*GENIDIndexList) Size

func (m *GENIDIndexList) Size() (n int)

func (*GENIDIndexList) String

func (this *GENIDIndexList) String() string

func (*GENIDIndexList) Unmarshal

func (m *GENIDIndexList) Unmarshal(dAtA []byte) error

func (*GENIDIndexList) XXX_DiscardUnknown

func (m *GENIDIndexList) XXX_DiscardUnknown()

func (*GENIDIndexList) XXX_Marshal

func (m *GENIDIndexList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GENIDIndexList) XXX_Merge

func (m *GENIDIndexList) XXX_Merge(src proto.Message)

func (*GENIDIndexList) XXX_Size

func (m *GENIDIndexList) XXX_Size() int

func (*GENIDIndexList) XXX_Unmarshal

func (m *GENIDIndexList) XXX_Unmarshal(b []byte) error

type GENIDIndexSpec

type GENIDIndexSpec struct {
	// MinID defines the min GENID ID the index supports
	// +optional
	MinID *int64 `json:"minID,omitempty" yaml:"minID,omitempty" protobuf:"bytes,1,opt,name=minID"`
	// MaxID defines the max GENID ID the index supports
	// +optional
	MaxID *int64 `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"`
	// Type defines the type of the GENID
	// 16bit, 32bit, 48bit, 64bit
	Type string `json:"type,omitempty" yaml:"type,omitempty" protobuf:"bytes,4,opt,name=type"`
}

GENIDIndexSpec defines the dGENIDred 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.

func (*GENIDIndexSpec) Descriptor

func (*GENIDIndexSpec) Descriptor() ([]byte, []int)

func (*GENIDIndexSpec) Marshal

func (m *GENIDIndexSpec) Marshal() (dAtA []byte, err error)

func (*GENIDIndexSpec) MarshalTo

func (m *GENIDIndexSpec) MarshalTo(dAtA []byte) (int, error)

func (*GENIDIndexSpec) MarshalToSizedBuffer

func (m *GENIDIndexSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GENIDIndexSpec) ProtoMessage

func (*GENIDIndexSpec) ProtoMessage()

func (*GENIDIndexSpec) Reset

func (m *GENIDIndexSpec) Reset()

func (*GENIDIndexSpec) Size

func (m *GENIDIndexSpec) Size() (n int)

func (*GENIDIndexSpec) String

func (this *GENIDIndexSpec) String() string

func (*GENIDIndexSpec) Unmarshal

func (m *GENIDIndexSpec) Unmarshal(dAtA []byte) error

func (*GENIDIndexSpec) XXX_DiscardUnknown

func (m *GENIDIndexSpec) XXX_DiscardUnknown()

func (*GENIDIndexSpec) XXX_Marshal

func (m *GENIDIndexSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GENIDIndexSpec) XXX_Merge

func (m *GENIDIndexSpec) XXX_Merge(src proto.Message)

func (*GENIDIndexSpec) XXX_Size

func (m *GENIDIndexSpec) XXX_Size() int

func (*GENIDIndexSpec) XXX_Unmarshal

func (m *GENIDIndexSpec) XXX_Unmarshal(b []byte) error

type GENIDIndexStatus

type GENIDIndexStatus struct {
	// MinID defines the min GENID ID the index supports
	// +optional
	MinID *int64 `json:"minID,omitempty" yaml:"minID,omitempty" protobuf:"bytes,1,opt,name=minID"`
	// MaxID defines the max GENID ID the index supports
	// +optional
	MaxID *int64 `json:"maxID,omitempty" yaml:"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
	conditionv1alpha1.ConditionedStatus `json:",inline" yaml:",inline" protobuf:"bytes,3,opt,name=conditionedStatus"`
}

GENIDIndexStatus defines the observed state of GENIDIndex

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) Descriptor

func (*GENIDIndexStatus) Descriptor() ([]byte, []int)

func (*GENIDIndexStatus) Marshal

func (m *GENIDIndexStatus) Marshal() (dAtA []byte, err error)

func (*GENIDIndexStatus) MarshalTo

func (m *GENIDIndexStatus) MarshalTo(dAtA []byte) (int, error)

func (*GENIDIndexStatus) MarshalToSizedBuffer

func (m *GENIDIndexStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GENIDIndexStatus) ProtoMessage

func (*GENIDIndexStatus) ProtoMessage()

func (*GENIDIndexStatus) Reset

func (m *GENIDIndexStatus) Reset()

func (*GENIDIndexStatus) Size

func (m *GENIDIndexStatus) Size() (n int)

func (*GENIDIndexStatus) String

func (this *GENIDIndexStatus) String() string

func (*GENIDIndexStatus) Unmarshal

func (m *GENIDIndexStatus) Unmarshal(dAtA []byte) error

func (*GENIDIndexStatus) XXX_DiscardUnknown

func (m *GENIDIndexStatus) XXX_DiscardUnknown()

func (*GENIDIndexStatus) XXX_Marshal

func (m *GENIDIndexStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GENIDIndexStatus) XXX_Merge

func (m *GENIDIndexStatus) XXX_Merge(src proto.Message)

func (*GENIDIndexStatus) XXX_Size

func (m *GENIDIndexStatus) XXX_Size() int

func (*GENIDIndexStatus) XXX_Unmarshal

func (m *GENIDIndexStatus) XXX_Unmarshal(b []byte) error

type GENIDRangeSyntaxValidator

type GENIDRangeSyntaxValidator struct {
	// contains filtered or unexported fields
}

func (*GENIDRangeSyntaxValidator) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GENIDRangeSyntaxValidator.

func (*GENIDRangeSyntaxValidator) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GENIDRangeSyntaxValidator) Descriptor

func (*GENIDRangeSyntaxValidator) Descriptor() ([]byte, []int)

func (*GENIDRangeSyntaxValidator) Marshal

func (m *GENIDRangeSyntaxValidator) Marshal() (dAtA []byte, err error)

func (*GENIDRangeSyntaxValidator) MarshalTo

func (m *GENIDRangeSyntaxValidator) MarshalTo(dAtA []byte) (int, error)

func (*GENIDRangeSyntaxValidator) MarshalToSizedBuffer

func (m *GENIDRangeSyntaxValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GENIDRangeSyntaxValidator) ProtoMessage

func (*GENIDRangeSyntaxValidator) ProtoMessage()

func (*GENIDRangeSyntaxValidator) Reset

func (m *GENIDRangeSyntaxValidator) Reset()

func (*GENIDRangeSyntaxValidator) Size

func (m *GENIDRangeSyntaxValidator) Size() (n int)

func (*GENIDRangeSyntaxValidator) String

func (this *GENIDRangeSyntaxValidator) String() string

func (*GENIDRangeSyntaxValidator) Unmarshal

func (m *GENIDRangeSyntaxValidator) Unmarshal(dAtA []byte) error

func (*GENIDRangeSyntaxValidator) Validate

func (r *GENIDRangeSyntaxValidator) Validate(claim *GENIDClaim, genidType GENIDType) field.ErrorList

func (*GENIDRangeSyntaxValidator) XXX_DiscardUnknown

func (m *GENIDRangeSyntaxValidator) XXX_DiscardUnknown()

func (*GENIDRangeSyntaxValidator) XXX_Marshal

func (m *GENIDRangeSyntaxValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GENIDRangeSyntaxValidator) XXX_Merge

func (m *GENIDRangeSyntaxValidator) XXX_Merge(src proto.Message)

func (*GENIDRangeSyntaxValidator) XXX_Size

func (m *GENIDRangeSyntaxValidator) XXX_Size() int

func (*GENIDRangeSyntaxValidator) XXX_Unmarshal

func (m *GENIDRangeSyntaxValidator) XXX_Unmarshal(b []byte) error

type GENIDStaticIDSyntaxValidator

type GENIDStaticIDSyntaxValidator struct {
	// contains filtered or unexported fields
}

func (*GENIDStaticIDSyntaxValidator) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GENIDStaticIDSyntaxValidator.

func (*GENIDStaticIDSyntaxValidator) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GENIDStaticIDSyntaxValidator) Descriptor

func (*GENIDStaticIDSyntaxValidator) Descriptor() ([]byte, []int)

func (*GENIDStaticIDSyntaxValidator) Marshal

func (m *GENIDStaticIDSyntaxValidator) Marshal() (dAtA []byte, err error)

func (*GENIDStaticIDSyntaxValidator) MarshalTo

func (m *GENIDStaticIDSyntaxValidator) MarshalTo(dAtA []byte) (int, error)

func (*GENIDStaticIDSyntaxValidator) MarshalToSizedBuffer

func (m *GENIDStaticIDSyntaxValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GENIDStaticIDSyntaxValidator) ProtoMessage

func (*GENIDStaticIDSyntaxValidator) ProtoMessage()

func (*GENIDStaticIDSyntaxValidator) Reset

func (m *GENIDStaticIDSyntaxValidator) Reset()

func (*GENIDStaticIDSyntaxValidator) Size

func (m *GENIDStaticIDSyntaxValidator) Size() (n int)

func (*GENIDStaticIDSyntaxValidator) String

func (this *GENIDStaticIDSyntaxValidator) String() string

func (*GENIDStaticIDSyntaxValidator) Unmarshal

func (m *GENIDStaticIDSyntaxValidator) Unmarshal(dAtA []byte) error

func (*GENIDStaticIDSyntaxValidator) Validate

func (r *GENIDStaticIDSyntaxValidator) Validate(claim *GENIDClaim, genidType GENIDType) field.ErrorList

func (*GENIDStaticIDSyntaxValidator) XXX_DiscardUnknown

func (m *GENIDStaticIDSyntaxValidator) XXX_DiscardUnknown()

func (*GENIDStaticIDSyntaxValidator) XXX_Marshal

func (m *GENIDStaticIDSyntaxValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GENIDStaticIDSyntaxValidator) XXX_Merge

func (m *GENIDStaticIDSyntaxValidator) XXX_Merge(src proto.Message)

func (*GENIDStaticIDSyntaxValidator) XXX_Size

func (m *GENIDStaticIDSyntaxValidator) XXX_Size() int

func (*GENIDStaticIDSyntaxValidator) XXX_Unmarshal

func (m *GENIDStaticIDSyntaxValidator) XXX_Unmarshal(b []byte) error

type GENIDType

type GENIDType string
const (
	GENIDType_Invalid GENIDType = "invalid"
	GENIDType_16bit   GENIDType = "16bit"
	GENIDType_32bit   GENIDType = "32bit"
	GENIDType_48bit   GENIDType = "48bit"
	GENIDType_64bit   GENIDType = "64bit"
)

func GetGenIDType

func GetGenIDType(s string) GENIDType

type SyntaxValidator

type SyntaxValidator interface {
	Validate(claim *GENIDClaim, genidType GENIDType) field.ErrorList
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL