Documentation ¶
Overview ¶
Package genid is the internal version of the API.
Index ¶
- Constants
- Variables
- func BuildEXTCOMMClaim(meta metav1.ObjectMeta, spec *EXTCOMMClaimSpec, status *EXTCOMMClaimStatus) backend.ClaimObject
- func BuildEXTCOMMEntry(meta metav1.ObjectMeta, spec *EXTCOMMEntrySpec, status *EXTCOMMEntryStatus) backend.EntryObject
- func EXTCOMMClaimFromRuntime(ru runtime.Object) (backend.ClaimObject, error)
- func EXTCOMMClaimFromUnstructured(ru runtime.Unstructured) (backend.ClaimObject, error)
- func EXTCOMMEntryFromRuntime(ru runtime.Object) (backend.EntryObject, error)
- func EXTCOMMEntryFromUnstructured(ru runtime.Unstructured) (backend.EntryObject, error)
- func EXTCOMMIndexFromRuntime(ru runtime.Object) (backend.IndexObject, error)
- func GetEXTCOMMEntry(k store.Key, vrange, id string, labels map[string]string) backend.EntryObject
- func GetMaxClaimRange(extCommType ExtendedCommunityType, 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 EXTCOMMClaim
- func (in *EXTCOMMClaim) DeepCopy() *EXTCOMMClaim
- func (in *EXTCOMMClaim) DeepCopyInto(out *EXTCOMMClaim)
- func (in *EXTCOMMClaim) DeepCopyObject() runtime.Object
- func (r *EXTCOMMClaim) FieldLabelConversion() runtime.FieldLabelConversionFunc
- func (r *EXTCOMMClaim) FieldSelector() ...
- func (EXTCOMMClaim) GetCategories() []string
- func (r *EXTCOMMClaim) GetChoreoAPIVersion() string
- func (r *EXTCOMMClaim) GetClaimID(typ string, id uint64) tree.ID
- func (r *EXTCOMMClaim) GetClaimLabels() labels.Set
- func (r *EXTCOMMClaim) GetClaimRequest() string
- func (r *EXTCOMMClaim) GetClaimResponse() string
- func (r *EXTCOMMClaim) GetClaimSet(typ string) (map[string]tree.ID, sets.Set[string], error)
- func (r *EXTCOMMClaim) GetClaimType() backend.ClaimType
- func (r *EXTCOMMClaim) GetCondition(t condition.ConditionType) condition.Condition
- func (EXTCOMMClaim) GetGroupVersionResource() schema.GroupVersionResource
- func (r *EXTCOMMClaim) GetIndex() string
- func (r *EXTCOMMClaim) GetKey() store.Key
- func (r *EXTCOMMClaim) GetLabelSelector() (labels.Selector, error)
- func (r *EXTCOMMClaim) GetNamespacedName() types.NamespacedName
- func (r *EXTCOMMClaim) GetObjectMeta() *metav1.ObjectMeta
- func (r *EXTCOMMClaim) GetOwnerSelector() (labels.Selector, error)
- func (r *EXTCOMMClaim) GetRange() *string
- func (r *EXTCOMMClaim) GetRangeID(typ string) (tree.Range, error)
- func (r *EXTCOMMClaim) GetSelector() *metav1.LabelSelector
- func (EXTCOMMClaim) GetShortNames() []string
- func (EXTCOMMClaim) GetSingularName() string
- func (r *EXTCOMMClaim) GetStaticID() *uint64
- func (r *EXTCOMMClaim) GetStaticTreeID(typ string) tree.ID
- func (r *EXTCOMMClaim) GetStatus() resource.StatusSubResource
- func (r *EXTCOMMClaim) GetStatusClaimID(typ string) tree.ID
- func (r *EXTCOMMClaim) GetStatusID() *uint64
- func (r *EXTCOMMClaim) GetTable(typ string, to, from uint64) table.Table
- func (r *EXTCOMMClaim) IsEqual(ctx context.Context, obj, old runtime.Object) bool
- func (r *EXTCOMMClaim) IsOwner(labels labels.Set) bool
- func (r *EXTCOMMClaim) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool
- func (EXTCOMMClaim) IsStorageVersion() bool
- func (EXTCOMMClaim) NamespaceScoped() bool
- func (EXTCOMMClaim) New() runtime.Object
- func (EXTCOMMClaim) NewList() runtime.Object
- func (r *EXTCOMMClaim) PrepareForCreate(ctx context.Context, obj runtime.Object)
- func (r *EXTCOMMClaim) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)
- func (r *EXTCOMMClaim) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
- func (r *EXTCOMMClaim) SetConditions(c ...condition.Condition)
- func (r *EXTCOMMClaim) SetStatusID(s *uint64)
- func (r *EXTCOMMClaim) SetStatusRange(s *string)
- func (r *EXTCOMMClaim) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor
- func (r *EXTCOMMClaim) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList
- func (r *EXTCOMMClaim) ValidateEXTCOMMClaimType() error
- func (r *EXTCOMMClaim) ValidateEXTCOMMID(extCommType ExtendedCommunityType) error
- func (r *EXTCOMMClaim) ValidateEXTCOMMRange(extCommType ExtendedCommunityType) error
- func (r *EXTCOMMClaim) ValidateOwner(labels labels.Set) error
- func (r *EXTCOMMClaim) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- func (r *EXTCOMMClaim) ValidateSyntax(s string) field.ErrorList
- func (r *EXTCOMMClaim) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- type EXTCOMMClaimFilter
- type EXTCOMMClaimList
- type EXTCOMMClaimSpec
- type EXTCOMMClaimStatus
- type EXTCOMMDynamicIDSyntaxValidator
- func (in *EXTCOMMDynamicIDSyntaxValidator) DeepCopy() *EXTCOMMDynamicIDSyntaxValidator
- func (in *EXTCOMMDynamicIDSyntaxValidator) DeepCopyInto(out *EXTCOMMDynamicIDSyntaxValidator)
- func (r *EXTCOMMDynamicIDSyntaxValidator) Validate(claim *EXTCOMMClaim, extCommType ExtendedCommunityType) field.ErrorList
- type EXTCOMMEntry
- func (in *EXTCOMMEntry) DeepCopy() *EXTCOMMEntry
- func (in *EXTCOMMEntry) DeepCopyInto(out *EXTCOMMEntry)
- func (in *EXTCOMMEntry) DeepCopyObject() runtime.Object
- func (r *EXTCOMMEntry) FieldLabelConversion() runtime.FieldLabelConversionFunc
- func (r *EXTCOMMEntry) FieldSelector() ...
- func (EXTCOMMEntry) GetCategories() []string
- func (r *EXTCOMMEntry) GetChoreoAPIVersion() string
- func (r *EXTCOMMEntry) GetClaimType() backend.ClaimType
- func (r *EXTCOMMEntry) GetCondition(t condition.ConditionType) condition.Condition
- func (EXTCOMMEntry) GetGroupVersionResource() schema.GroupVersionResource
- func (r *EXTCOMMEntry) GetIndex() string
- func (r *EXTCOMMEntry) GetKey() store.Key
- func (r *EXTCOMMEntry) GetNamespacedName() types.NamespacedName
- func (r *EXTCOMMEntry) GetObjectMeta() *metav1.ObjectMeta
- func (EXTCOMMEntry) GetShortNames() []string
- func (EXTCOMMEntry) GetSingularName() string
- func (r *EXTCOMMEntry) GetSpecID() string
- func (r *EXTCOMMEntry) GetStatus() resource.StatusSubResource
- func (r *EXTCOMMEntry) IsEqual(ctx context.Context, obj, old runtime.Object) bool
- func (r *EXTCOMMEntry) IsIndexEntry() bool
- func (r *EXTCOMMEntry) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool
- func (EXTCOMMEntry) IsStorageVersion() bool
- func (EXTCOMMEntry) NamespaceScoped() bool
- func (EXTCOMMEntry) New() runtime.Object
- func (EXTCOMMEntry) NewList() runtime.Object
- func (r *EXTCOMMEntry) PrepareForCreate(ctx context.Context, obj runtime.Object)
- func (r *EXTCOMMEntry) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)
- func (r *EXTCOMMEntry) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
- func (r *EXTCOMMEntry) SetConditions(c ...condition.Condition)
- func (r *EXTCOMMEntry) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor
- func (r *EXTCOMMEntry) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList
- func (r *EXTCOMMEntry) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- func (r *EXTCOMMEntry) ValidateSyntax(s string) field.ErrorList
- func (r *EXTCOMMEntry) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- type EXTCOMMEntryFilter
- type EXTCOMMEntryList
- type EXTCOMMEntrySpec
- type EXTCOMMEntryStatus
- type EXTCOMMIndex
- func (in *EXTCOMMIndex) DeepCopy() *EXTCOMMIndex
- func (in *EXTCOMMIndex) DeepCopyInto(out *EXTCOMMIndex)
- func (in *EXTCOMMIndex) DeepCopyObject() runtime.Object
- func (r *EXTCOMMIndex) FieldLabelConversion() runtime.FieldLabelConversionFunc
- func (r *EXTCOMMIndex) FieldSelector() ...
- func (EXTCOMMIndex) GetCategories() []string
- func (r *EXTCOMMIndex) GetClaims() []backend.ClaimObject
- func (r *EXTCOMMIndex) GetCondition(t condition.ConditionType) condition.Condition
- func (EXTCOMMIndex) GetGroupVersionResource() schema.GroupVersionResource
- func (r *EXTCOMMIndex) GetKey() store.Key
- func (r *EXTCOMMIndex) GetMax() uint64
- func (r *EXTCOMMIndex) GetMaxClaim() backend.ClaimObject
- func (r *EXTCOMMIndex) GetMaxClaimNSN() types.NamespacedName
- func (r *EXTCOMMIndex) GetMaxID() *uint64
- func (r *EXTCOMMIndex) GetMinClaim() backend.ClaimObject
- func (r *EXTCOMMIndex) GetMinClaimNSN() types.NamespacedName
- func (r *EXTCOMMIndex) GetMinID() *uint64
- func (r *EXTCOMMIndex) GetNamespacedName() types.NamespacedName
- func (r *EXTCOMMIndex) GetObjectMeta() *metav1.ObjectMeta
- func (EXTCOMMIndex) GetShortNames() []string
- func (EXTCOMMIndex) GetSingularName() string
- func (r *EXTCOMMIndex) GetStatus() resource.StatusSubResource
- func (r *EXTCOMMIndex) GetTree() gtree.GTree
- func (r *EXTCOMMIndex) GetType() string
- func (r *EXTCOMMIndex) IsEqual(ctx context.Context, obj, old runtime.Object) bool
- func (r *EXTCOMMIndex) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool
- func (EXTCOMMIndex) IsStorageVersion() bool
- func (EXTCOMMIndex) NamespaceScoped() bool
- func (EXTCOMMIndex) New() runtime.Object
- func (EXTCOMMIndex) NewList() runtime.Object
- func (r *EXTCOMMIndex) PrepareForCreate(ctx context.Context, obj runtime.Object)
- func (r *EXTCOMMIndex) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)
- func (r *EXTCOMMIndex) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
- func (r *EXTCOMMIndex) SetConditions(c ...condition.Condition)
- func (r *EXTCOMMIndex) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor
- func (r *EXTCOMMIndex) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList
- func (r *EXTCOMMIndex) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- func (r *EXTCOMMIndex) ValidateSyntax(s string) field.ErrorList
- func (r *EXTCOMMIndex) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- type EXTCOMMIndexFilter
- type EXTCOMMIndexList
- type EXTCOMMIndexSpec
- type EXTCOMMIndexStatus
- type EXTCOMMRangeSyntaxValidator
- type EXTCOMMStaticIDSyntaxValidator
- type ExtendedCommunitySubType
- type ExtendedCommunityType
- type SyntaxValidator
Constants ¶
const ( EXTCOMMClaimPlural = "extcommclaims" EXTCOMMClaimSingular = "extcommclaim" )
const ( EXTCOMMEntryPlural = "extcommentries" EXTCOMMEntrySingular = "extcommentry" )
const ( EXTCOMMIndexPlural = "extcommindices" EXTCOMMIndexSingular = "extcommndex" )
const ( GroupName = "extcomm.be.kuid.dev" Version = runtime.APIVersionInternal )
const EXTCOMMID_Min = 0
Variables ¶
var ( EXTCOMMClaimShortNames = []string{} EXTCOMMClaimCategories = []string{"kuid", "knet"} )
var ( EXTCOMMClaimKind = reflect.TypeOf(EXTCOMMClaim{}).Name() EXTCOMMClaimListKind = reflect.TypeOf(EXTCOMMClaimList{}).Name() )
var ( EXTCOMMEntryShortNames = []string{} EXTCOMMEntryCategories = []string{"kuid", "knet"} )
var ( EXTCOMMEntryKind = reflect.TypeOf(EXTCOMMEntry{}).Name() EXTCOMMEntryListKind = reflect.TypeOf(EXTCOMMEntryList{}).Name() )
var ( EXTCOMMIndexShortNames = []string{} EXTCOMMIndexCategories = []string{"kuid", "knet"} )
var ( EXTCOMMIndexKind = reflect.TypeOf(EXTCOMMIndex{}).Name() EXTCOMMIndexListKind = reflect.TypeOf(EXTCOMMIndexList{}).Name() )
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var EXTCOMMID_MaxBits = map[ExtendedCommunityType]int{
ExtendedCommunityType_Invalid: 0,
ExtendedCommunityType_2byteAS: 32,
ExtendedCommunityType_4byteAS: 16,
ExtendedCommunityType_IPv4Address: 16,
ExtendedCommunityType_Opaque: 48,
}
var EXTCOMMID_MaxValue = map[ExtendedCommunityType]uint64{ ExtendedCommunityType_Invalid: 1<<EXTCOMMID_MaxBits[ExtendedCommunityType_Invalid] - 1, ExtendedCommunityType_2byteAS: 1<<EXTCOMMID_MaxBits[ExtendedCommunityType_2byteAS] - 1, ExtendedCommunityType_4byteAS: 1<<EXTCOMMID_MaxBits[ExtendedCommunityType_4byteAS] - 1, ExtendedCommunityType_IPv4Address: 1<<EXTCOMMID_MaxBits[ExtendedCommunityType_IPv4Address] - 1, ExtendedCommunityType_Opaque: 1<<EXTCOMMID_MaxBits[ExtendedCommunityType_Opaque] - 1, }
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}
Functions ¶
func BuildEXTCOMMClaim ¶
func BuildEXTCOMMClaim(meta metav1.ObjectMeta, spec *EXTCOMMClaimSpec, status *EXTCOMMClaimStatus) backend.ClaimObject
BuildEXTCOMMClaim returns a reource from a client Object a Spec/Status
func BuildEXTCOMMEntry ¶
func BuildEXTCOMMEntry(meta metav1.ObjectMeta, spec *EXTCOMMEntrySpec, status *EXTCOMMEntryStatus) backend.EntryObject
func EXTCOMMClaimFromRuntime ¶
func EXTCOMMClaimFromRuntime(ru runtime.Object) (backend.ClaimObject, error)
func EXTCOMMClaimFromUnstructured ¶
func EXTCOMMClaimFromUnstructured(ru runtime.Unstructured) (backend.ClaimObject, error)
func EXTCOMMEntryFromRuntime ¶
func EXTCOMMEntryFromRuntime(ru runtime.Object) (backend.EntryObject, error)
func EXTCOMMEntryFromUnstructured ¶
func EXTCOMMEntryFromUnstructured(ru runtime.Unstructured) (backend.EntryObject, error)
func EXTCOMMIndexFromRuntime ¶
func EXTCOMMIndexFromRuntime(ru runtime.Object) (backend.IndexObject, error)
func GetEXTCOMMEntry ¶
func GetMaxClaimRange ¶
func GetMaxClaimRange(extCommType ExtendedCommunityType, id uint64) string
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 EXTCOMMClaim ¶
type EXTCOMMClaim struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec EXTCOMMClaimSpec `json:"spec,omitempty" yaml:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status EXTCOMMClaimStatus `json:"status,omitempty" yaml:"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} EXTCOMMClaim is the Schema for the EXTCOMMClaim API
func (*EXTCOMMClaim) DeepCopy ¶
func (in *EXTCOMMClaim) DeepCopy() *EXTCOMMClaim
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EXTCOMMClaim.
func (*EXTCOMMClaim) DeepCopyInto ¶
func (in *EXTCOMMClaim) DeepCopyInto(out *EXTCOMMClaim)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EXTCOMMClaim) DeepCopyObject ¶
func (in *EXTCOMMClaim) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*EXTCOMMClaim) FieldLabelConversion ¶
func (r *EXTCOMMClaim) FieldLabelConversion() runtime.FieldLabelConversionFunc
FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource
func (*EXTCOMMClaim) FieldSelector ¶
func (EXTCOMMClaim) GetCategories ¶
func (EXTCOMMClaim) GetCategories() []string
GetCategories return the categories of the resource GetCategories implements resource.Object
func (*EXTCOMMClaim) GetChoreoAPIVersion ¶
func (r *EXTCOMMClaim) GetChoreoAPIVersion() string
func (*EXTCOMMClaim) GetClaimID ¶
func (r *EXTCOMMClaim) GetClaimID(typ string, id uint64) tree.ID
func (*EXTCOMMClaim) GetClaimLabels ¶
func (r *EXTCOMMClaim) GetClaimLabels() labels.Set
func (*EXTCOMMClaim) GetClaimRequest ¶
func (r *EXTCOMMClaim) GetClaimRequest() string
func (*EXTCOMMClaim) GetClaimResponse ¶
func (r *EXTCOMMClaim) GetClaimResponse() string
func (*EXTCOMMClaim) GetClaimSet ¶
func (*EXTCOMMClaim) GetClaimType ¶
func (r *EXTCOMMClaim) GetClaimType() backend.ClaimType
func (*EXTCOMMClaim) GetCondition ¶
func (r *EXTCOMMClaim) GetCondition(t condition.ConditionType) condition.Condition
GetCondition returns the condition bVLANed on the condition kind
func (EXTCOMMClaim) GetGroupVersionResource ¶
func (EXTCOMMClaim) GetGroupVersionResource() schema.GroupVersionResource
func (*EXTCOMMClaim) GetIndex ¶
func (r *EXTCOMMClaim) GetIndex() string
func (*EXTCOMMClaim) GetKey ¶
func (r *EXTCOMMClaim) GetKey() store.Key
func (*EXTCOMMClaim) GetLabelSelector ¶
func (r *EXTCOMMClaim) GetLabelSelector() (labels.Selector, error)
func (*EXTCOMMClaim) GetNamespacedName ¶
func (r *EXTCOMMClaim) GetNamespacedName() types.NamespacedName
func (*EXTCOMMClaim) GetObjectMeta ¶
func (r *EXTCOMMClaim) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object
func (*EXTCOMMClaim) GetOwnerSelector ¶
func (r *EXTCOMMClaim) GetOwnerSelector() (labels.Selector, error)
GetOwnerSelector selects the route bVLANed on the name of the claim
func (*EXTCOMMClaim) GetRange ¶
func (r *EXTCOMMClaim) GetRange() *string
func (*EXTCOMMClaim) GetRangeID ¶
func (r *EXTCOMMClaim) GetRangeID(typ string) (tree.Range, error)
func (*EXTCOMMClaim) GetSelector ¶
func (r *EXTCOMMClaim) GetSelector() *metav1.LabelSelector
func (EXTCOMMClaim) GetShortNames ¶
func (EXTCOMMClaim) GetShortNames() []string
GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object
func (EXTCOMMClaim) GetSingularName ¶
func (EXTCOMMClaim) GetSingularName() string
GetSingularName returns the singular name of the resource GetSingularName implements resource.Object
func (*EXTCOMMClaim) GetStaticID ¶
func (r *EXTCOMMClaim) GetStaticID() *uint64
func (*EXTCOMMClaim) GetStaticTreeID ¶
func (r *EXTCOMMClaim) GetStaticTreeID(typ string) tree.ID
func (*EXTCOMMClaim) GetStatus ¶
func (r *EXTCOMMClaim) GetStatus() resource.StatusSubResource
GetStatus return the resource.StatusSubResource interface
func (*EXTCOMMClaim) GetStatusClaimID ¶ added in v0.0.10
func (r *EXTCOMMClaim) GetStatusClaimID(typ string) tree.ID
func (*EXTCOMMClaim) GetStatusID ¶
func (r *EXTCOMMClaim) GetStatusID() *uint64
func (*EXTCOMMClaim) GetTable ¶
func (r *EXTCOMMClaim) GetTable(typ string, to, from uint64) table.Table
func (*EXTCOMMClaim) IsEqual ¶
IsEqual returns a bool indicating if the desired state of both resources is equal or not
func (*EXTCOMMClaim) IsStatusEqual ¶
IsStatusEqual returns a bool indicating if the status of both resources is equal or not
func (EXTCOMMClaim) IsStorageVersion ¶
func (EXTCOMMClaim) IsStorageVersion() bool
IsStorageVersion returns true -- Config is used VLAN the internal version. IsStorageVersion implements resource.Object
func (EXTCOMMClaim) NamespaceScoped ¶
func (EXTCOMMClaim) NamespaceScoped() bool
NamespaceScoped returns true to indicate Fortune is a namespaced resource. NamespaceScoped implements resource.Object
func (EXTCOMMClaim) New ¶
func (EXTCOMMClaim) New() runtime.Object
New return an empty resource New implements resource.Object
func (EXTCOMMClaim) NewList ¶
func (EXTCOMMClaim) NewList() runtime.Object
NewList return an empty resourceList NewList implements resource.Object
func (*EXTCOMMClaim) PrepareForCreate ¶
func (r *EXTCOMMClaim) PrepareForCreate(ctx context.Context, obj runtime.Object)
func (*EXTCOMMClaim) PrepareForStatusUpdate ¶
func (r *EXTCOMMClaim) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)
PrepareForStatusUpdate prepares the status update
func (*EXTCOMMClaim) PrepareForUpdate ¶
func (r *EXTCOMMClaim) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
func (*EXTCOMMClaim) SetConditions ¶
func (r *EXTCOMMClaim) 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 (*EXTCOMMClaim) SetStatusID ¶
func (r *EXTCOMMClaim) SetStatusID(s *uint64)
func (*EXTCOMMClaim) SetStatusRange ¶
func (r *EXTCOMMClaim) SetStatusRange(s *string)
func (*EXTCOMMClaim) TableConvertor ¶
func (r *EXTCOMMClaim) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor
TableConvertor return the table format of the resource
func (*EXTCOMMClaim) ValidateCreate ¶
ValidateCreate statically validates
func (*EXTCOMMClaim) ValidateEXTCOMMClaimType ¶
func (r *EXTCOMMClaim) ValidateEXTCOMMClaimType() error
func (*EXTCOMMClaim) ValidateEXTCOMMID ¶
func (r *EXTCOMMClaim) ValidateEXTCOMMID(extCommType ExtendedCommunityType) error
func (*EXTCOMMClaim) ValidateEXTCOMMRange ¶
func (r *EXTCOMMClaim) ValidateEXTCOMMRange(extCommType ExtendedCommunityType) error
func (*EXTCOMMClaim) ValidateOwner ¶
func (r *EXTCOMMClaim) ValidateOwner(labels labels.Set) error
func (*EXTCOMMClaim) ValidateStatusUpdate ¶
func (r *EXTCOMMClaim) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
ValidateStatusUpdate validates status updates
func (*EXTCOMMClaim) ValidateSyntax ¶
func (r *EXTCOMMClaim) ValidateSyntax(s string) field.ErrorList
func (*EXTCOMMClaim) ValidateUpdate ¶
type EXTCOMMClaimFilter ¶
type EXTCOMMClaimFilter 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 (*EXTCOMMClaimFilter) DeepCopy ¶
func (in *EXTCOMMClaimFilter) DeepCopy() *EXTCOMMClaimFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EXTCOMMClaimFilter.
func (*EXTCOMMClaimFilter) DeepCopyInto ¶
func (in *EXTCOMMClaimFilter) DeepCopyInto(out *EXTCOMMClaimFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EXTCOMMClaimList ¶
type EXTCOMMClaimList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []EXTCOMMClaim `json:"items" yaml:"items" protobuf:"bytes,2,rep,name=items"` }
EXTCOMMClaimList contains a list of EXTCOMMClaims +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*EXTCOMMClaimList) DeepCopy ¶
func (in *EXTCOMMClaimList) DeepCopy() *EXTCOMMClaimList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EXTCOMMClaimList.
func (*EXTCOMMClaimList) DeepCopyInto ¶
func (in *EXTCOMMClaimList) DeepCopyInto(out *EXTCOMMClaimList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EXTCOMMClaimList) DeepCopyObject ¶
func (in *EXTCOMMClaimList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*EXTCOMMClaimList) GetListMeta ¶
func (r *EXTCOMMClaimList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList
type EXTCOMMClaimSpec ¶
type EXTCOMMClaimSpec struct { // EXTCOMMIndex defines the EXTCOMM index for the EXTCOMM Claim Index string `json:"index" yaml:"index" protobuf:"bytes,1,opt,name=index"` // EXTCOMMID defines the EXTCOMM for the EXTCOMM claim ID *uint64 `json:"id,omitempty" yaml:"id,omitempty" protobuf:"bytes,2,opt,name=id"` // Range defines the EXTCOMM range for the EXTCOMM claim // The following notation is used: start-end <start-EXTCOMMID>-<end-EXTCOMMID> // the EXTCOMMs 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 common.ClaimLabels `json:",inline" yaml:",inline" protobuf:"bytes,4,opt,name=claimLabels"` }
EXTCOMMClaimSpec defines the dEXTCOMMred state of EXTCOMMClaim
func (*EXTCOMMClaimSpec) DeepCopy ¶
func (in *EXTCOMMClaimSpec) DeepCopy() *EXTCOMMClaimSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EXTCOMMClaimSpec.
func (*EXTCOMMClaimSpec) DeepCopyInto ¶
func (in *EXTCOMMClaimSpec) DeepCopyInto(out *EXTCOMMClaimSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EXTCOMMClaimStatus ¶
type EXTCOMMClaimStatus struct { // ConditionedStatus provides the status of the IPClain using conditions // - a ready condition indicates the overall status of the resource condition.ConditionedStatus `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=conditionedStatus"` // EXTCOMMID defines the EXTCOMM for the EXTCOMM claim // +optional ID *uint64 `json:"id,omitempty" yaml:"id,omitempty" protobuf:"bytes,2,opt,name=id"` // EXTCOMMRange defines the EXTCOMM range for the EXTCOMM 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"` }
EXTCOMMClaimStatus defines the observed state of EXTCOMMClaim
func (EXTCOMMClaimStatus) CopyTo ¶
func (r EXTCOMMClaimStatus) CopyTo(obj resource.ObjectWithStatusSubResource)
CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource
func (*EXTCOMMClaimStatus) DeepCopy ¶
func (in *EXTCOMMClaimStatus) DeepCopy() *EXTCOMMClaimStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EXTCOMMClaimStatus.
func (*EXTCOMMClaimStatus) DeepCopyInto ¶
func (in *EXTCOMMClaimStatus) DeepCopyInto(out *EXTCOMMClaimStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (EXTCOMMClaimStatus) SubResourceName ¶
func (EXTCOMMClaimStatus) SubResourceName() string
SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource
type EXTCOMMDynamicIDSyntaxValidator ¶
type EXTCOMMDynamicIDSyntaxValidator struct {
// contains filtered or unexported fields
}
func (*EXTCOMMDynamicIDSyntaxValidator) DeepCopy ¶
func (in *EXTCOMMDynamicIDSyntaxValidator) DeepCopy() *EXTCOMMDynamicIDSyntaxValidator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EXTCOMMDynamicIDSyntaxValidator.
func (*EXTCOMMDynamicIDSyntaxValidator) DeepCopyInto ¶
func (in *EXTCOMMDynamicIDSyntaxValidator) DeepCopyInto(out *EXTCOMMDynamicIDSyntaxValidator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EXTCOMMDynamicIDSyntaxValidator) Validate ¶
func (r *EXTCOMMDynamicIDSyntaxValidator) Validate(claim *EXTCOMMClaim, extCommType ExtendedCommunityType) field.ErrorList
type EXTCOMMEntry ¶
type EXTCOMMEntry struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec EXTCOMMEntrySpec `json:"spec,omitempty" yaml:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status EXTCOMMEntryStatus `json:"status,omitempty" yaml:"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} EXTCOMMEntry is the Schema for the EXTCOMMentry API
func (*EXTCOMMEntry) DeepCopy ¶
func (in *EXTCOMMEntry) DeepCopy() *EXTCOMMEntry
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EXTCOMMEntry.
func (*EXTCOMMEntry) DeepCopyInto ¶
func (in *EXTCOMMEntry) DeepCopyInto(out *EXTCOMMEntry)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EXTCOMMEntry) DeepCopyObject ¶
func (in *EXTCOMMEntry) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*EXTCOMMEntry) FieldLabelConversion ¶
func (r *EXTCOMMEntry) FieldLabelConversion() runtime.FieldLabelConversionFunc
FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource
func (*EXTCOMMEntry) FieldSelector ¶
func (EXTCOMMEntry) GetCategories ¶
func (EXTCOMMEntry) GetCategories() []string
GetCategories return the categories of the resource GetCategories implements resource.Object
func (*EXTCOMMEntry) GetChoreoAPIVersion ¶
func (r *EXTCOMMEntry) GetChoreoAPIVersion() string
func (*EXTCOMMEntry) GetClaimType ¶
func (r *EXTCOMMEntry) GetClaimType() backend.ClaimType
func (*EXTCOMMEntry) GetCondition ¶
func (r *EXTCOMMEntry) GetCondition(t condition.ConditionType) condition.Condition
GetCondition returns the condition based on the condition kind
func (EXTCOMMEntry) GetGroupVersionResource ¶
func (EXTCOMMEntry) GetGroupVersionResource() schema.GroupVersionResource
func (*EXTCOMMEntry) GetIndex ¶
func (r *EXTCOMMEntry) GetIndex() string
func (*EXTCOMMEntry) GetKey ¶
func (r *EXTCOMMEntry) GetKey() store.Key
func (*EXTCOMMEntry) GetNamespacedName ¶
func (r *EXTCOMMEntry) GetNamespacedName() types.NamespacedName
func (*EXTCOMMEntry) GetObjectMeta ¶
func (r *EXTCOMMEntry) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object
func (EXTCOMMEntry) GetShortNames ¶
func (EXTCOMMEntry) GetShortNames() []string
GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object
func (EXTCOMMEntry) GetSingularName ¶
func (EXTCOMMEntry) GetSingularName() string
GetSingularName returns the singular name of the resource GetSingularName implements resource.Object
func (*EXTCOMMEntry) GetSpecID ¶
func (r *EXTCOMMEntry) GetSpecID() string
func (*EXTCOMMEntry) GetStatus ¶
func (r *EXTCOMMEntry) GetStatus() resource.StatusSubResource
GetStatus return the resource.StatusSubResource interface
func (*EXTCOMMEntry) IsEqual ¶
IsEqual returns a bool indicating if the desired state of both resources is equal or not
func (*EXTCOMMEntry) IsIndexEntry ¶ added in v0.0.10
func (r *EXTCOMMEntry) IsIndexEntry() bool
func (*EXTCOMMEntry) IsStatusEqual ¶
IsStatusEqual returns a bool indicating if the status of both resources is equal or not
func (EXTCOMMEntry) IsStorageVersion ¶
func (EXTCOMMEntry) IsStorageVersion() bool
IsStorageVersion returns true -- Config is used as the internal version. IsStorageVersion implements resource.Object
func (EXTCOMMEntry) NamespaceScoped ¶
func (EXTCOMMEntry) NamespaceScoped() bool
NamespaceScoped returns true to indicate Fortune is a namespaced resource. NamespaceScoped implements resource.Object
func (EXTCOMMEntry) New ¶
func (EXTCOMMEntry) New() runtime.Object
New return an empty resource New implements resource.Object
func (EXTCOMMEntry) NewList ¶
func (EXTCOMMEntry) NewList() runtime.Object
NewList return an empty resourceList NewList implements resource.Object
func (*EXTCOMMEntry) PrepareForCreate ¶
func (r *EXTCOMMEntry) PrepareForCreate(ctx context.Context, obj runtime.Object)
func (*EXTCOMMEntry) PrepareForStatusUpdate ¶
func (r *EXTCOMMEntry) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)
PrepareForStatusUpdate prepares the status update
func (*EXTCOMMEntry) PrepareForUpdate ¶
func (r *EXTCOMMEntry) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
func (*EXTCOMMEntry) SetConditions ¶
func (r *EXTCOMMEntry) 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 (*EXTCOMMEntry) TableConvertor ¶
func (r *EXTCOMMEntry) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor
TableConvertor return the table format of the resource
func (*EXTCOMMEntry) ValidateCreate ¶
ValidateCreate statically validates
func (*EXTCOMMEntry) ValidateStatusUpdate ¶
func (r *EXTCOMMEntry) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
ValidateStatusUpdate validates status updates
func (*EXTCOMMEntry) ValidateSyntax ¶
func (r *EXTCOMMEntry) ValidateSyntax(s string) field.ErrorList
func (*EXTCOMMEntry) ValidateUpdate ¶
type EXTCOMMEntryFilter ¶
type EXTCOMMEntryFilter 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 (*EXTCOMMEntryFilter) DeepCopy ¶
func (in *EXTCOMMEntryFilter) DeepCopy() *EXTCOMMEntryFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EXTCOMMEntryFilter.
func (*EXTCOMMEntryFilter) DeepCopyInto ¶
func (in *EXTCOMMEntryFilter) DeepCopyInto(out *EXTCOMMEntryFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EXTCOMMEntryList ¶
type EXTCOMMEntryList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []EXTCOMMEntry `json:"items" yaml:"items" protobuf:"bytes,2,rep,name=items"` }
EXTCOMMEntryList contains a list of EXTCOMMEntries +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*EXTCOMMEntryList) DeepCopy ¶
func (in *EXTCOMMEntryList) DeepCopy() *EXTCOMMEntryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EXTCOMMEntryList.
func (*EXTCOMMEntryList) DeepCopyInto ¶
func (in *EXTCOMMEntryList) DeepCopyInto(out *EXTCOMMEntryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EXTCOMMEntryList) DeepCopyObject ¶
func (in *EXTCOMMEntryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*EXTCOMMEntryList) GetListMeta ¶
func (r *EXTCOMMEntryList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList
type EXTCOMMEntrySpec ¶
type EXTCOMMEntrySpec struct { // EXTCOMMIndex defines the EXTCOMM index for the EXTCOMM Claim Index string `json:"index" yaml:"index" protobuf:"bytes,1,opt,name=index"` // IndexEntry identifies if the entry is originated from an IP Index IndexEntry bool `json:"indexEntry" yaml:"indexEntry" protobuf:"bytes,2,opt,name=indexEntry"` // ClaimType defines the claimType of the EXTCOMM Entry ClaimType backend.ClaimType `json:"claimType,omitempty" yaml:"claimType,omitempty" protobuf:"bytes,3,opt,name=claimType"` // ID defines the id of the EXTCOMM entry in the tree ID string `json:"id,omitempty" yaml:"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" yaml:",inline" protobuf:"bytes,5,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,6,opt,name=claim"` }
EXTCOMMEntrySpec defines the dEXTCOMMred state of EXTCOMMEntry
func (*EXTCOMMEntrySpec) DeepCopy ¶
func (in *EXTCOMMEntrySpec) DeepCopy() *EXTCOMMEntrySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EXTCOMMEntrySpec.
func (*EXTCOMMEntrySpec) DeepCopyInto ¶
func (in *EXTCOMMEntrySpec) DeepCopyInto(out *EXTCOMMEntrySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EXTCOMMEntryStatus ¶
type EXTCOMMEntryStatus struct { // ConditionedStatus provides the status of the EXTCOMMEntry using conditions // - a ready condition indicates the overall status of the resource condition.ConditionedStatus `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=conditionedStatus"` }
EXTCOMMEntryStatus defines the observed state of EXTCOMMEntry
func (EXTCOMMEntryStatus) CopyTo ¶
func (r EXTCOMMEntryStatus) CopyTo(obj resource.ObjectWithStatusSubResource)
CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource
func (*EXTCOMMEntryStatus) DeepCopy ¶
func (in *EXTCOMMEntryStatus) DeepCopy() *EXTCOMMEntryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EXTCOMMEntryStatus.
func (*EXTCOMMEntryStatus) DeepCopyInto ¶
func (in *EXTCOMMEntryStatus) DeepCopyInto(out *EXTCOMMEntryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (EXTCOMMEntryStatus) SubResourceName ¶
func (EXTCOMMEntryStatus) SubResourceName() string
SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource
type EXTCOMMIndex ¶
type EXTCOMMIndex struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec EXTCOMMIndexSpec `json:"spec,omitempty" yaml:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status EXTCOMMIndexStatus `json:"status,omitempty" yaml:"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} EXTCOMMIndex is the Schema for the EXTCOMMIndex API
func BuildEXTCOMMIndex ¶
func BuildEXTCOMMIndex(meta metav1.ObjectMeta, spec *EXTCOMMIndexSpec, status *EXTCOMMIndexStatus) *EXTCOMMIndex
BuildEXTCOMMIndex returns a reource from a client Object a Spec/Status
func (*EXTCOMMIndex) DeepCopy ¶
func (in *EXTCOMMIndex) DeepCopy() *EXTCOMMIndex
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EXTCOMMIndex.
func (*EXTCOMMIndex) DeepCopyInto ¶
func (in *EXTCOMMIndex) DeepCopyInto(out *EXTCOMMIndex)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EXTCOMMIndex) DeepCopyObject ¶
func (in *EXTCOMMIndex) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*EXTCOMMIndex) FieldLabelConversion ¶
func (r *EXTCOMMIndex) FieldLabelConversion() runtime.FieldLabelConversionFunc
FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource
func (*EXTCOMMIndex) FieldSelector ¶
func (EXTCOMMIndex) GetCategories ¶
func (EXTCOMMIndex) GetCategories() []string
GetCategories return the categories of the resource GetCategories implements resource.Object
func (*EXTCOMMIndex) GetClaims ¶ added in v0.0.10
func (r *EXTCOMMIndex) GetClaims() []backend.ClaimObject
func (*EXTCOMMIndex) GetCondition ¶
func (r *EXTCOMMIndex) GetCondition(t condition.ConditionType) condition.Condition
GetCondition returns the condition based on the condition kind
func (EXTCOMMIndex) GetGroupVersionResource ¶
func (EXTCOMMIndex) GetGroupVersionResource() schema.GroupVersionResource
func (*EXTCOMMIndex) GetKey ¶
func (r *EXTCOMMIndex) GetKey() store.Key
func (*EXTCOMMIndex) GetMax ¶
func (r *EXTCOMMIndex) GetMax() uint64
func (*EXTCOMMIndex) GetMaxClaim ¶
func (r *EXTCOMMIndex) GetMaxClaim() backend.ClaimObject
func (*EXTCOMMIndex) GetMaxClaimNSN ¶
func (r *EXTCOMMIndex) GetMaxClaimNSN() types.NamespacedName
func (*EXTCOMMIndex) GetMaxID ¶
func (r *EXTCOMMIndex) GetMaxID() *uint64
func (*EXTCOMMIndex) GetMinClaim ¶
func (r *EXTCOMMIndex) GetMinClaim() backend.ClaimObject
func (*EXTCOMMIndex) GetMinClaimNSN ¶
func (r *EXTCOMMIndex) GetMinClaimNSN() types.NamespacedName
func (*EXTCOMMIndex) GetMinID ¶
func (r *EXTCOMMIndex) GetMinID() *uint64
func (*EXTCOMMIndex) GetNamespacedName ¶
func (r *EXTCOMMIndex) GetNamespacedName() types.NamespacedName
func (*EXTCOMMIndex) GetObjectMeta ¶
func (r *EXTCOMMIndex) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object
func (EXTCOMMIndex) GetShortNames ¶
func (EXTCOMMIndex) GetShortNames() []string
GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object
func (EXTCOMMIndex) GetSingularName ¶
func (EXTCOMMIndex) GetSingularName() string
GetSingularName returns the singular name of the resource GetSingularName implements resource.Object
func (*EXTCOMMIndex) GetStatus ¶
func (r *EXTCOMMIndex) GetStatus() resource.StatusSubResource
GetStatus return the resource.StatusSubResource interface
func (*EXTCOMMIndex) GetTree ¶
func (r *EXTCOMMIndex) GetTree() gtree.GTree
func (*EXTCOMMIndex) GetType ¶
func (r *EXTCOMMIndex) GetType() string
func (*EXTCOMMIndex) IsEqual ¶
IsEqual returns a bool indicating if the desired state of both resources is equal or not
func (*EXTCOMMIndex) IsStatusEqual ¶
IsStatusEqual returns a bool indicating if the status of both resources is equal or not
func (EXTCOMMIndex) IsStorageVersion ¶
func (EXTCOMMIndex) IsStorageVersion() bool
IsStorageVersion returns true -- Config is used as the internal version. IsStorageVersion implements resource.Object
func (EXTCOMMIndex) NamespaceScoped ¶
func (EXTCOMMIndex) NamespaceScoped() bool
NamespaceScoped returns true to indicate Fortune is a namespaced resource. NamespaceScoped implements resource.Object
func (EXTCOMMIndex) New ¶
func (EXTCOMMIndex) New() runtime.Object
New return an empty resource New implements resource.Object
func (EXTCOMMIndex) NewList ¶
func (EXTCOMMIndex) NewList() runtime.Object
NewList return an empty resourceList NewList implements resource.Object
func (*EXTCOMMIndex) PrepareForCreate ¶
func (r *EXTCOMMIndex) PrepareForCreate(ctx context.Context, obj runtime.Object)
func (*EXTCOMMIndex) PrepareForStatusUpdate ¶
func (r *EXTCOMMIndex) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)
PrepareForStatusUpdate prepares the status update
func (*EXTCOMMIndex) PrepareForUpdate ¶
func (r *EXTCOMMIndex) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
func (*EXTCOMMIndex) SetConditions ¶
func (r *EXTCOMMIndex) 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 (*EXTCOMMIndex) TableConvertor ¶
func (r *EXTCOMMIndex) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor
TableConvertor return the table format of the resource
func (*EXTCOMMIndex) ValidateCreate ¶
ValidateCreate statically validates
func (*EXTCOMMIndex) ValidateStatusUpdate ¶
func (r *EXTCOMMIndex) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
ValidateStatusUpdate validates status updates
func (*EXTCOMMIndex) ValidateSyntax ¶
func (r *EXTCOMMIndex) ValidateSyntax(s string) field.ErrorList
func (*EXTCOMMIndex) ValidateUpdate ¶
type EXTCOMMIndexFilter ¶
type EXTCOMMIndexFilter 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 (*EXTCOMMIndexFilter) DeepCopy ¶
func (in *EXTCOMMIndexFilter) DeepCopy() *EXTCOMMIndexFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EXTCOMMIndexFilter.
func (*EXTCOMMIndexFilter) DeepCopyInto ¶
func (in *EXTCOMMIndexFilter) DeepCopyInto(out *EXTCOMMIndexFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EXTCOMMIndexList ¶
type EXTCOMMIndexList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []EXTCOMMIndex `json:"items" yaml:"items" protobuf:"bytes,2,rep,name=items"` }
EXTCOMMIndexList contains a list of EXTCOMMIndexs +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*EXTCOMMIndexList) DeepCopy ¶
func (in *EXTCOMMIndexList) DeepCopy() *EXTCOMMIndexList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EXTCOMMIndexList.
func (*EXTCOMMIndexList) DeepCopyInto ¶
func (in *EXTCOMMIndexList) DeepCopyInto(out *EXTCOMMIndexList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EXTCOMMIndexList) DeepCopyObject ¶
func (in *EXTCOMMIndexList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*EXTCOMMIndexList) GetListMeta ¶
func (r *EXTCOMMIndexList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList
type EXTCOMMIndexSpec ¶
type EXTCOMMIndexSpec struct { // MinID defines the min EXTCOMM ID the index supports // +optional MinID *uint64 `json:"minID,omitempty" yaml:"minID,omitempty" protobuf:"bytes,1,opt,name=minID"` // MaxID defines the max EXTCOMM ID the index supports // +optional MaxID *uint64 `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 common.UserDefinedLabels `json:",inline" yaml:",inline" protobuf:"bytes,3,opt,name=userDefinedLabels"` // Transitive defines the transative nature of the extended community Transitive bool `json:"transitive,omitempty" yaml:"transitive,omitempty" protobuf:"bytes,4,opt,name=transitive"` // Type defines the type of the extended community // 2byteAS, 4byteAS, ipv4Address, opaque Type string `json:"type" yaml:"type" protobuf:"bytes,5,opt,name=type"` // SubType defines the subTyoe of the extended community // routeTarget, routeOrigin; SubType string `json:"subType" yaml:"subType" protobuf:"bytes,6,opt,name=subType"` // GlobalID is interpreted dependeing on the type // AS in case of 2byteAS, 4byteAS // IPV4 addrress // irrelevant for the opaque type GlobalID string `json:"globalID,omitempty" yaml:"globalID,omitempty" protobuf:"bytes,7,opt,name=globalID"` }
EXTCOMMIndexSpec defines the dEXTCOMMred state of EXTCOMMIndex
func (*EXTCOMMIndexSpec) DeepCopy ¶
func (in *EXTCOMMIndexSpec) DeepCopy() *EXTCOMMIndexSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EXTCOMMIndexSpec.
func (*EXTCOMMIndexSpec) DeepCopyInto ¶
func (in *EXTCOMMIndexSpec) DeepCopyInto(out *EXTCOMMIndexSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EXTCOMMIndexStatus ¶
type EXTCOMMIndexStatus struct { // MinID defines the min EXTCOMM ID the index supports // +optional MinID *int64 `json:"minID,omitempty" yaml:"minID,omitempty" protobuf:"bytes,1,opt,name=minID"` // MaxID defines the max EXTCOMM 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 EXTCOMMIndex using conditions // - a ready condition indicates the overall status of the resource condition.ConditionedStatus `json:",inline" yaml:",inline" protobuf:"bytes,3,opt,name=conditionedStatus"` }
EXTCOMMIndexStatus defines the observed state of EXTCOMMIndex
func (EXTCOMMIndexStatus) CopyTo ¶
func (r EXTCOMMIndexStatus) CopyTo(obj resource.ObjectWithStatusSubResource)
CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource
func (*EXTCOMMIndexStatus) DeepCopy ¶
func (in *EXTCOMMIndexStatus) DeepCopy() *EXTCOMMIndexStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EXTCOMMIndexStatus.
func (*EXTCOMMIndexStatus) DeepCopyInto ¶
func (in *EXTCOMMIndexStatus) DeepCopyInto(out *EXTCOMMIndexStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (EXTCOMMIndexStatus) SubResourceName ¶
func (EXTCOMMIndexStatus) SubResourceName() string
SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource
type EXTCOMMRangeSyntaxValidator ¶
type EXTCOMMRangeSyntaxValidator struct {
// contains filtered or unexported fields
}
func (*EXTCOMMRangeSyntaxValidator) DeepCopy ¶
func (in *EXTCOMMRangeSyntaxValidator) DeepCopy() *EXTCOMMRangeSyntaxValidator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EXTCOMMRangeSyntaxValidator.
func (*EXTCOMMRangeSyntaxValidator) DeepCopyInto ¶
func (in *EXTCOMMRangeSyntaxValidator) DeepCopyInto(out *EXTCOMMRangeSyntaxValidator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EXTCOMMRangeSyntaxValidator) Validate ¶
func (r *EXTCOMMRangeSyntaxValidator) Validate(claim *EXTCOMMClaim, extCommType ExtendedCommunityType) field.ErrorList
type EXTCOMMStaticIDSyntaxValidator ¶
type EXTCOMMStaticIDSyntaxValidator struct {
// contains filtered or unexported fields
}
func (*EXTCOMMStaticIDSyntaxValidator) DeepCopy ¶
func (in *EXTCOMMStaticIDSyntaxValidator) DeepCopy() *EXTCOMMStaticIDSyntaxValidator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EXTCOMMStaticIDSyntaxValidator.
func (*EXTCOMMStaticIDSyntaxValidator) DeepCopyInto ¶
func (in *EXTCOMMStaticIDSyntaxValidator) DeepCopyInto(out *EXTCOMMStaticIDSyntaxValidator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EXTCOMMStaticIDSyntaxValidator) Validate ¶
func (r *EXTCOMMStaticIDSyntaxValidator) Validate(claim *EXTCOMMClaim, extCommType ExtendedCommunityType) field.ErrorList
type ExtendedCommunitySubType ¶
type ExtendedCommunitySubType string
const ( ExtendedCommunitySubType_Invalid ExtendedCommunitySubType = "invalid" ExtendedCommunitySubType_RouteTarget ExtendedCommunitySubType = "target" // 0x02 ExtendedCommunitySubType_RouteOrigin ExtendedCommunitySubType = "origin" // 0x03 )
func GetExtendedCommunitySubType ¶
func GetExtendedCommunitySubType(s string) ExtendedCommunitySubType
type ExtendedCommunityType ¶
type ExtendedCommunityType string
const ( ExtendedCommunityType_Invalid ExtendedCommunityType = "invalid" ExtendedCommunityType_2byteAS ExtendedCommunityType = "2byteAS" // 0x00, 0x40 -> 4 byte local admin ExtendedCommunityType_IPv4Address ExtendedCommunityType = "ipv4Address" // 0x01, 0x41 -> 2 byte local admin ExtendedCommunityType_4byteAS ExtendedCommunityType = "4byteAS" // 0x02, 0x42 -> 2 byte local admin ExtendedCommunityType_Opaque ExtendedCommunityType = "opaque" // 0x03, 0x43 -> 6 byte local admin )
func GetEXTCOMMType ¶
func GetEXTCOMMType(s string) ExtendedCommunityType
type SyntaxValidator ¶
type SyntaxValidator interface {
Validate(claim *EXTCOMMClaim, extCommType ExtendedCommunityType) field.ErrorList
}
Source Files ¶
- doc.go
- extcomm_types.go
- extcommclaim_object.go
- extcommclaim_resource.go
- extcommclaim_syntaxvalidator.go
- extcommclaim_types.go
- extcommentry_object.go
- extcommentry_resource.go
- extcommentry_types.go
- extcommindex_helpers.go
- extcommindex_object.go
- extcommindex_resource.go
- extcommindex_types.go
- helper.go
- invoker_claim.go
- invoker_index.go
- register.go
- zz_generated.deepcopy.go