v1alpha1

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 16 Imported by: 6

Documentation

Overview

v1alpha1 is the v1alpha1 version of the API.

Index

Constants

View Source
const (
	Version = "v1alpha1"
)

Variables

View Source
var (
	ASClaimKind     = reflect.TypeOf(ASClaim{}).Name()
	ASClaimListKind = reflect.TypeOf(ASClaimList{}).Name()
)
View Source
var (
	ASEntryKind     = reflect.TypeOf(ASEntry{}).Name()
	ASEntryListKind = reflect.TypeOf(ASEntryList{}).Name()
)
View Source
var (
	ASIndexKind     = reflect.TypeOf(ASIndex{}).Name()
	ASIndexListKind = reflect.TypeOf(ASIndexList{}).Name()
)
View Source
var (
	// SchemeGroupVersion contains the API group and version information for the types in this package.
	SchemeGroupVersion = schema.GroupVersion{Group: as.GroupName, 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
)

Functions

func Convert_as_ASClaimList_To_v1alpha1_ASClaimList added in v0.0.8

func Convert_as_ASClaimList_To_v1alpha1_ASClaimList(in *as.ASClaimList, out *ASClaimList, s conversion.Scope) error

Convert_as_ASClaimList_To_v1alpha1_ASClaimList is an autogenerated conversion function.

func Convert_as_ASClaimSpec_To_v1alpha1_ASClaimSpec added in v0.0.8

func Convert_as_ASClaimSpec_To_v1alpha1_ASClaimSpec(in *as.ASClaimSpec, out *ASClaimSpec, s conversion.Scope) error

Convert_as_ASClaimSpec_To_v1alpha1_ASClaimSpec is an autogenerated conversion function.

func Convert_as_ASClaimStatus_To_v1alpha1_ASClaimStatus added in v0.0.8

func Convert_as_ASClaimStatus_To_v1alpha1_ASClaimStatus(in *as.ASClaimStatus, out *ASClaimStatus, s conversion.Scope) error

Convert_as_ASClaimStatus_To_v1alpha1_ASClaimStatus is an autogenerated conversion function.

func Convert_as_ASClaim_To_v1alpha1_ASClaim added in v0.0.8

func Convert_as_ASClaim_To_v1alpha1_ASClaim(in *as.ASClaim, out *ASClaim, s conversion.Scope) error

Convert_as_ASClaim_To_v1alpha1_ASClaim is an autogenerated conversion function.

func Convert_as_ASEntryList_To_v1alpha1_ASEntryList added in v0.0.8

func Convert_as_ASEntryList_To_v1alpha1_ASEntryList(in *as.ASEntryList, out *ASEntryList, s conversion.Scope) error

Convert_as_ASEntryList_To_v1alpha1_ASEntryList is an autogenerated conversion function.

func Convert_as_ASEntrySpec_To_v1alpha1_ASEntrySpec added in v0.0.8

func Convert_as_ASEntrySpec_To_v1alpha1_ASEntrySpec(in *as.ASEntrySpec, out *ASEntrySpec, s conversion.Scope) error

Convert_as_ASEntrySpec_To_v1alpha1_ASEntrySpec is an autogenerated conversion function.

func Convert_as_ASEntryStatus_To_v1alpha1_ASEntryStatus added in v0.0.8

func Convert_as_ASEntryStatus_To_v1alpha1_ASEntryStatus(in *as.ASEntryStatus, out *ASEntryStatus, s conversion.Scope) error

Convert_as_ASEntryStatus_To_v1alpha1_ASEntryStatus is an autogenerated conversion function.

func Convert_as_ASEntry_To_v1alpha1_ASEntry added in v0.0.8

func Convert_as_ASEntry_To_v1alpha1_ASEntry(in *as.ASEntry, out *ASEntry, s conversion.Scope) error

Convert_as_ASEntry_To_v1alpha1_ASEntry is an autogenerated conversion function.

func Convert_as_ASIndexList_To_v1alpha1_ASIndexList added in v0.0.8

func Convert_as_ASIndexList_To_v1alpha1_ASIndexList(in *as.ASIndexList, out *ASIndexList, s conversion.Scope) error

Convert_as_ASIndexList_To_v1alpha1_ASIndexList is an autogenerated conversion function.

func Convert_as_ASIndexSpec_To_v1alpha1_ASIndexSpec added in v0.0.8

func Convert_as_ASIndexSpec_To_v1alpha1_ASIndexSpec(in *as.ASIndexSpec, out *ASIndexSpec, s conversion.Scope) error

Convert_as_ASIndexSpec_To_v1alpha1_ASIndexSpec is an autogenerated conversion function.

func Convert_as_ASIndexStatus_To_v1alpha1_ASIndexStatus added in v0.0.8

func Convert_as_ASIndexStatus_To_v1alpha1_ASIndexStatus(in *as.ASIndexStatus, out *ASIndexStatus, s conversion.Scope) error

Convert_as_ASIndexStatus_To_v1alpha1_ASIndexStatus is an autogenerated conversion function.

func Convert_as_ASIndex_To_v1alpha1_ASIndex added in v0.0.8

func Convert_as_ASIndex_To_v1alpha1_ASIndex(in *as.ASIndex, out *ASIndex, s conversion.Scope) error

Convert_as_ASIndex_To_v1alpha1_ASIndex is an autogenerated conversion function.

func Convert_common_ClaimLabels_To_v1alpha1_ClaimLabels added in v0.0.8

func Convert_common_ClaimLabels_To_v1alpha1_ClaimLabels(in *common.ClaimLabels, out *commonv1alpha1.ClaimLabels, s conversion.Scope) error

Convert_v1alpha1_ConditionedStatus_To_condition_ConditionedStatus is hand made conversion function.

func Convert_common_UserDefinedLabels_To_v1alpha1_UserDefinedLabels added in v0.0.8

func Convert_common_UserDefinedLabels_To_v1alpha1_UserDefinedLabels(in *common.UserDefinedLabels, out *commonv1alpha1.UserDefinedLabels, s conversion.Scope) error

func Convert_condition_Condition_To_v1alpha1_Condition added in v0.0.8

func Convert_condition_Condition_To_v1alpha1_Condition(in *condition.Condition, out *conditionv1alpha1.Condition, s conversion.Scope) error

Convert_condition_Condition_To_v1alpha1_Condition is hand made conversion function.

func Convert_condition_ConditionedStatus_To_v1alpha1_ConditionedStatus added in v0.0.8

func Convert_condition_ConditionedStatus_To_v1alpha1_ConditionedStatus(in *condition.ConditionedStatus, out *conditionv1alpha1.ConditionedStatus, s conversion.Scope) error

Convert_v1alpha1_ConditionedStatus_To_condition_ConditionedStatus is hand made conversion function.

func Convert_v1alpha1_ASClaimList_To_as_ASClaimList added in v0.0.8

func Convert_v1alpha1_ASClaimList_To_as_ASClaimList(in *ASClaimList, out *as.ASClaimList, s conversion.Scope) error

Convert_v1alpha1_ASClaimList_To_as_ASClaimList is an autogenerated conversion function.

func Convert_v1alpha1_ASClaimSpec_To_as_ASClaimSpec added in v0.0.8

func Convert_v1alpha1_ASClaimSpec_To_as_ASClaimSpec(in *ASClaimSpec, out *as.ASClaimSpec, s conversion.Scope) error

Convert_v1alpha1_ASClaimSpec_To_as_ASClaimSpec is an autogenerated conversion function.

func Convert_v1alpha1_ASClaimStatus_To_as_ASClaimStatus added in v0.0.8

func Convert_v1alpha1_ASClaimStatus_To_as_ASClaimStatus(in *ASClaimStatus, out *as.ASClaimStatus, s conversion.Scope) error

Convert_v1alpha1_ASClaimStatus_To_as_ASClaimStatus is an autogenerated conversion function.

func Convert_v1alpha1_ASClaim_To_as_ASClaim added in v0.0.8

func Convert_v1alpha1_ASClaim_To_as_ASClaim(in *ASClaim, out *as.ASClaim, s conversion.Scope) error

Convert_v1alpha1_ASClaim_To_as_ASClaim is an autogenerated conversion function.

func Convert_v1alpha1_ASEntryList_To_as_ASEntryList added in v0.0.8

func Convert_v1alpha1_ASEntryList_To_as_ASEntryList(in *ASEntryList, out *as.ASEntryList, s conversion.Scope) error

Convert_v1alpha1_ASEntryList_To_as_ASEntryList is an autogenerated conversion function.

func Convert_v1alpha1_ASEntrySpec_To_as_ASEntrySpec added in v0.0.8

func Convert_v1alpha1_ASEntrySpec_To_as_ASEntrySpec(in *ASEntrySpec, out *as.ASEntrySpec, s conversion.Scope) error

Convert_v1alpha1_ASEntrySpec_To_as_ASEntrySpec is an autogenerated conversion function.

func Convert_v1alpha1_ASEntryStatus_To_as_ASEntryStatus added in v0.0.8

func Convert_v1alpha1_ASEntryStatus_To_as_ASEntryStatus(in *ASEntryStatus, out *as.ASEntryStatus, s conversion.Scope) error

Convert_v1alpha1_ASEntryStatus_To_as_ASEntryStatus is an autogenerated conversion function.

func Convert_v1alpha1_ASEntry_To_as_ASEntry added in v0.0.8

func Convert_v1alpha1_ASEntry_To_as_ASEntry(in *ASEntry, out *as.ASEntry, s conversion.Scope) error

Convert_v1alpha1_ASEntry_To_as_ASEntry is an autogenerated conversion function.

func Convert_v1alpha1_ASIndexList_To_as_ASIndexList added in v0.0.8

func Convert_v1alpha1_ASIndexList_To_as_ASIndexList(in *ASIndexList, out *as.ASIndexList, s conversion.Scope) error

Convert_v1alpha1_ASIndexList_To_as_ASIndexList is an autogenerated conversion function.

func Convert_v1alpha1_ASIndexSpec_To_as_ASIndexSpec added in v0.0.8

func Convert_v1alpha1_ASIndexSpec_To_as_ASIndexSpec(in *ASIndexSpec, out *as.ASIndexSpec, s conversion.Scope) error

Convert_v1alpha1_ASIndexSpec_To_as_ASIndexSpec is an autogenerated conversion function.

func Convert_v1alpha1_ASIndexStatus_To_as_ASIndexStatus added in v0.0.8

func Convert_v1alpha1_ASIndexStatus_To_as_ASIndexStatus(in *ASIndexStatus, out *as.ASIndexStatus, s conversion.Scope) error

Convert_v1alpha1_ASIndexStatus_To_as_ASIndexStatus is an autogenerated conversion function.

func Convert_v1alpha1_ASIndex_To_as_ASIndex added in v0.0.8

func Convert_v1alpha1_ASIndex_To_as_ASIndex(in *ASIndex, out *as.ASIndex, s conversion.Scope) error

Convert_v1alpha1_ASIndex_To_as_ASIndex is an autogenerated conversion function.

func Convert_v1alpha1_ClaimLabels_To_common_ClaimLabels added in v0.0.8

func Convert_v1alpha1_ClaimLabels_To_common_ClaimLabels(in *commonv1alpha1.ClaimLabels, out *common.ClaimLabels, s conversion.Scope) error

func Convert_v1alpha1_Condition_To_condition_Condition added in v0.0.8

func Convert_v1alpha1_Condition_To_condition_Condition(in *conditionv1alpha1.Condition, out *condition.Condition, s conversion.Scope) error

Convert_TargetStatus_To_config_TargetStatus is hand made conversion function.

func Convert_v1alpha1_ConditionedStatus_To_condition_ConditionedStatus added in v0.0.8

func Convert_v1alpha1_ConditionedStatus_To_condition_ConditionedStatus(in *conditionv1alpha1.ConditionedStatus, out *condition.ConditionedStatus, s conversion.Scope) error

Convert_v1alpha1_ConditionedStatus_To_condition_ConditionedStatus is hand made conversion function.

func Convert_v1alpha1_UserDefinedLabels_To_common_UserDefinedLabels added in v0.0.8

func Convert_v1alpha1_UserDefinedLabels_To_common_UserDefinedLabels(in *commonv1alpha1.UserDefinedLabels, out *common.UserDefinedLabels, s conversion.Scope) error

func RegisterConversions added in v0.0.8

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults added in v0.0.8

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type ASClaim

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

	Spec   ASClaimSpec   `json:"spec,omitempty" yaml:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status ASClaimStatus `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:subresource:status +kubebuilder:resource:categories={kuid} ASClaim is the Schema for the ASClaim API

func (*ASClaim) DeepCopy

func (in *ASClaim) DeepCopy() *ASClaim

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

func (*ASClaim) DeepCopyInto

func (in *ASClaim) DeepCopyInto(out *ASClaim)

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

func (*ASClaim) DeepCopyObject

func (in *ASClaim) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ASClaim) GetCondition

GetCondition returns the condition based on the condition kind

func (ASClaim) GetGroupVersionResource

func (ASClaim) GetGroupVersionResource() schema.GroupVersionResource

func (*ASClaim) GetKey

func (r *ASClaim) GetKey() store.Key

func (*ASClaim) GetNamespacedName

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

func (*ASClaim) GetObjectMeta

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

GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object

func (ASClaim) IsStorageVersion

func (ASClaim) IsStorageVersion() bool

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

func (ASClaim) NamespaceScoped

func (ASClaim) NamespaceScoped() bool

NamespaceScoped returns true to indicate Fortune is a namespaced resource. NamespaceScoped implements resource.Object

func (ASClaim) New

func (ASClaim) New() runtime.Object

New return an empty resource New implements resource.Object

func (ASClaim) NewList

func (ASClaim) NewList() runtime.Object

NewList return an empty resourceList NewList implements resource.Object

func (ASClaim) RegisterConversions added in v0.0.8

func (ASClaim) RegisterConversions() func(s *runtime.Scheme) error

RegisterConversions registers the conversions. RegisterConversions implements resource.MultiVersionObject

func (*ASClaim) SetConditions

func (r *ASClaim) SetConditions(c ...condv1alpha1.Condition)

SetConditions sets the conditions on the resource. it allows for 0, 1 or more conditions to be set at once

type ASClaimList

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

ASClaimList contains a list of ASClaims

func (*ASClaimList) DeepCopy

func (in *ASClaimList) DeepCopy() *ASClaimList

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

func (*ASClaimList) DeepCopyInto

func (in *ASClaimList) DeepCopyInto(out *ASClaimList)

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

func (*ASClaimList) DeepCopyObject

func (in *ASClaimList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ASClaimList) GetListMeta

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

GetListMeta returns the ListMeta GetListMeta implements resource.ObjectList

type ASClaimSpec

type ASClaimSpec struct {
	// Index defines the index for the AS Claim
	Index string `json:"index" yaml:"index" protobuf:"bytes,1,opt,name=index"`
	// ASID defines the AS for the AS claim
	ID *uint32 `json:"id,omitempty" yaml:"id,omitempty" protobuf:"bytes,2,opt,name=id"`
	// Range defines the AS range for the AS claim
	// The following notation is used: start-end <start-ASID>-<end-ASID>
	// the ASs 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"`
}

ASClaimSpec defines the desired state of ASClaim

func (*ASClaimSpec) DeepCopy

func (in *ASClaimSpec) DeepCopy() *ASClaimSpec

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

func (*ASClaimSpec) DeepCopyInto

func (in *ASClaimSpec) DeepCopyInto(out *ASClaimSpec)

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

type ASClaimStatus

type ASClaimStatus struct {
	// ConditionedStatus provides the status of the ASClain using conditions
	// - a ready condition indicates the overall status of the resource
	condv1alpha1.ConditionedStatus `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=conditionedStatus"`
	// ASID defines the AS for the AS claim
	// +optional
	ID *uint32 `json:"id,omitempty" yaml:"id,omitempty" protobuf:"bytes,2,opt,name=id"`
	// ASRange defines the AS range for the AS 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"`
}

ASClaimStatus defines the observed state of ASClaim

func (*ASClaimStatus) DeepCopy

func (in *ASClaimStatus) DeepCopy() *ASClaimStatus

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

func (*ASClaimStatus) DeepCopyInto

func (in *ASClaimStatus) DeepCopyInto(out *ASClaimStatus)

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

type ASEntry

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

	Spec   ASEntrySpec   `json:"spec,omitempty" yaml:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status ASEntryStatus `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:subresource:status +kubebuilder:resource:categories={kuid} ASEntry is the Schema for the ASentry API

func (*ASEntry) DeepCopy

func (in *ASEntry) DeepCopy() *ASEntry

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

func (*ASEntry) DeepCopyInto

func (in *ASEntry) DeepCopyInto(out *ASEntry)

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

func (*ASEntry) DeepCopyObject

func (in *ASEntry) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (ASEntry) GetGroupVersionResource

func (ASEntry) GetGroupVersionResource() schema.GroupVersionResource

func (*ASEntry) GetObjectMeta

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

GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object

func (ASEntry) IsStorageVersion

func (ASEntry) IsStorageVersion() bool

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

func (ASEntry) NamespaceScoped

func (ASEntry) NamespaceScoped() bool

NamespaceScoped returns true to indicate Fortune is a namespaced resource. NamespaceScoped implements resource.Object

func (ASEntry) New

func (ASEntry) New() runtime.Object

New return an empty resource New implements resource.Object

func (ASEntry) NewList

func (ASEntry) NewList() runtime.Object

NewList return an empty resourceList NewList implements resource.Object

func (ASEntry) RegisterConversions added in v0.0.8

func (ASEntry) RegisterConversions() func(s *runtime.Scheme) error

RegisterConversions registers the conversions. RegisterConversions implements resource.MultiVersionObject

type ASEntryList

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

ASEntryList contains a list of ASEntries

func (*ASEntryList) DeepCopy

func (in *ASEntryList) DeepCopy() *ASEntryList

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

func (*ASEntryList) DeepCopyInto

func (in *ASEntryList) DeepCopyInto(out *ASEntryList)

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

func (*ASEntryList) DeepCopyObject

func (in *ASEntryList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ASEntryList) GetListMeta

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

GetListMeta returns the ListMeta GetListMeta implements resource.ObjectList

type ASEntrySpec

type ASEntrySpec struct {
	// Index defines the index for the resource
	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 resource
	ClaimType backend.ClaimType `json:"claimType,omitempty" yaml:"claimType,omitempty" protobuf:"bytes,3,opt,name=claimType"`
	// ID defines the id of the resource 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
	commonv1alpha1.ClaimLabels `json:",inline" yaml:",inline" protobuf:"bytes,5,opt,name=claimLabels"`
}

ASEntrySpec defines the desired state of ASEntry

func (*ASEntrySpec) DeepCopy

func (in *ASEntrySpec) DeepCopy() *ASEntrySpec

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

func (*ASEntrySpec) DeepCopyInto

func (in *ASEntrySpec) DeepCopyInto(out *ASEntrySpec)

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

type ASEntryStatus

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

ASEntryStatus defines the observed state of ASEntry

func (*ASEntryStatus) DeepCopy

func (in *ASEntryStatus) DeepCopy() *ASEntryStatus

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

func (*ASEntryStatus) DeepCopyInto

func (in *ASEntryStatus) DeepCopyInto(out *ASEntryStatus)

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

type ASIndex

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

	Spec   ASIndexSpec   `json:"spec,omitempty" yaml:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status ASIndexStatus `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:subresource:status +kubebuilder:resource:categories={kuid} ASIndex is the Schema for the ASIndex API

func (*ASIndex) DeepCopy

func (in *ASIndex) DeepCopy() *ASIndex

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

func (*ASIndex) DeepCopyInto

func (in *ASIndex) DeepCopyInto(out *ASIndex)

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

func (*ASIndex) DeepCopyObject

func (in *ASIndex) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ASIndex) GetCondition

GetCondition returns the condition based on the condition kind

func (ASIndex) GetGroupVersionResource

func (ASIndex) GetGroupVersionResource() schema.GroupVersionResource

func (*ASIndex) GetKey

func (r *ASIndex) GetKey() store.Key

func (*ASIndex) GetNamespacedName

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

func (*ASIndex) GetObjectMeta

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

GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object

func (ASIndex) IsStorageVersion

func (ASIndex) IsStorageVersion() bool

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

func (ASIndex) NamespaceScoped

func (ASIndex) NamespaceScoped() bool

NamespaceScoped returns true to indicate Fortune is a namespaced resource. NamespaceScoped implements resource.Object

func (ASIndex) New

func (ASIndex) New() runtime.Object

New return an empty resource New implements resource.Object

func (ASIndex) NewList

func (ASIndex) NewList() runtime.Object

NewList return an empty resourceList NewList implements resource.Object

func (ASIndex) RegisterConversions added in v0.0.8

func (ASIndex) RegisterConversions() func(s *runtime.Scheme) error

RegisterConversions registers the conversions. RegisterConversions implements resource.MultiVersionObject

func (*ASIndex) SetConditions

func (r *ASIndex) SetConditions(c ...condv1alpha1.Condition)

SetConditions sets the conditions on the resource. it allows for 0, 1 or more conditions to be set at once

type ASIndexList

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

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true ASIndexList contains a list of ASIndex

func (*ASIndexList) DeepCopy

func (in *ASIndexList) DeepCopy() *ASIndexList

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

func (*ASIndexList) DeepCopyInto

func (in *ASIndexList) DeepCopyInto(out *ASIndexList)

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

func (*ASIndexList) DeepCopyObject

func (in *ASIndexList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ASIndexList) GetListMeta

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

GetListMeta returns the ListMeta GetListMeta implements resource.ObjectList

type ASIndexSpec

type ASIndexSpec struct {
	// MinID defines the min VLAN ID the index supports
	// +optional
	MinID *uint32 `json:"minID,omitempty" yaml:"minID,omitempty" protobuf:"bytes,1,opt,name=minID"`
	// MaxID defines the max VLAN ID the index supports
	// +optional
	MaxID *uint32 `json:"maxID,omitempty" yaml:"maxID,omitempty" protobuf:"bytes,2,opt,name=maxID"`
	// UserDefinedLabels define metadata to the resource.
	// defined in the spec to distingiush metadata labels from user defined labels
	commonv1alpha1.UserDefinedLabels `json:",inline" yaml:",inline" protobuf:"bytes,3,opt,name=userDefinedLabels"`
}

ASIndexSpec defines the desired state of ASIndex

func (*ASIndexSpec) DeepCopy

func (in *ASIndexSpec) DeepCopy() *ASIndexSpec

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

func (*ASIndexSpec) DeepCopyInto

func (in *ASIndexSpec) DeepCopyInto(out *ASIndexSpec)

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

type ASIndexStatus

type ASIndexStatus struct {
	// MinID defines the min VLAN ID the index supports
	// +optional
	MinID *uint32 `json:"minID,omitempty" yaml:"minID,omitempty" protobuf:"bytes,1,opt,name=minID"`
	// MaxID defines the max VLAN ID the index supports
	// +optional
	MaxID *uint32 `json:"maxID,omitempty" yaml:"maxID,omitempty" protobuf:"bytes,2,opt,name=maxID"`
	// ConditionedStatus provides the status of the VLANIndex using conditions
	// - a ready condition indicates the overall status of the resource
	condv1alpha1.ConditionedStatus `json:",inline" yaml:",inline" protobuf:"bytes,3,opt,name=conditionedStatus"`
}

ASIndexStatus defines the observed state of ASIndex

func (*ASIndexStatus) DeepCopy

func (in *ASIndexStatus) DeepCopy() *ASIndexStatus

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

func (*ASIndexStatus) DeepCopyInto

func (in *ASIndexStatus) DeepCopyInto(out *ASIndexStatus)

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

Jump to

Keyboard shortcuts

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