Documentation ¶
Overview ¶
v1alpha1 is the v1alpha1 version of the API.
Index ¶
- Constants
- Variables
- func Convert_v1alpha1_VLANClaimList_To_vlan_VLANClaimList(in *VLANClaimList, out *vlan.VLANClaimList, s conversion.Scope) error
- func Convert_v1alpha1_VLANClaimSpec_To_vlan_VLANClaimSpec(in *VLANClaimSpec, out *vlan.VLANClaimSpec, s conversion.Scope) error
- func Convert_v1alpha1_VLANClaimStatus_To_vlan_VLANClaimStatus(in *VLANClaimStatus, out *vlan.VLANClaimStatus, s conversion.Scope) error
- func Convert_v1alpha1_VLANClaim_To_vlan_VLANClaim(in *VLANClaim, out *vlan.VLANClaim, s conversion.Scope) error
- func Convert_v1alpha1_VLANEntryList_To_vlan_VLANEntryList(in *VLANEntryList, out *vlan.VLANEntryList, s conversion.Scope) error
- func Convert_v1alpha1_VLANEntrySpec_To_vlan_VLANEntrySpec(in *VLANEntrySpec, out *vlan.VLANEntrySpec, s conversion.Scope) error
- func Convert_v1alpha1_VLANEntryStatus_To_vlan_VLANEntryStatus(in *VLANEntryStatus, out *vlan.VLANEntryStatus, s conversion.Scope) error
- func Convert_v1alpha1_VLANEntry_To_vlan_VLANEntry(in *VLANEntry, out *vlan.VLANEntry, s conversion.Scope) error
- func Convert_v1alpha1_VLANIndexList_To_vlan_VLANIndexList(in *VLANIndexList, out *vlan.VLANIndexList, s conversion.Scope) error
- func Convert_v1alpha1_VLANIndexSpec_To_vlan_VLANIndexSpec(in *VLANIndexSpec, out *vlan.VLANIndexSpec, s conversion.Scope) error
- func Convert_v1alpha1_VLANIndexStatus_To_vlan_VLANIndexStatus(in *VLANIndexStatus, out *vlan.VLANIndexStatus, s conversion.Scope) error
- func Convert_v1alpha1_VLANIndex_To_vlan_VLANIndex(in *VLANIndex, out *vlan.VLANIndex, s conversion.Scope) error
- func Convert_vlan_VLANClaimList_To_v1alpha1_VLANClaimList(in *vlan.VLANClaimList, out *VLANClaimList, s conversion.Scope) error
- func Convert_vlan_VLANClaimSpec_To_v1alpha1_VLANClaimSpec(in *vlan.VLANClaimSpec, out *VLANClaimSpec, s conversion.Scope) error
- func Convert_vlan_VLANClaimStatus_To_v1alpha1_VLANClaimStatus(in *vlan.VLANClaimStatus, out *VLANClaimStatus, s conversion.Scope) error
- func Convert_vlan_VLANClaim_To_v1alpha1_VLANClaim(in *vlan.VLANClaim, out *VLANClaim, s conversion.Scope) error
- func Convert_vlan_VLANEntryList_To_v1alpha1_VLANEntryList(in *vlan.VLANEntryList, out *VLANEntryList, s conversion.Scope) error
- func Convert_vlan_VLANEntrySpec_To_v1alpha1_VLANEntrySpec(in *vlan.VLANEntrySpec, out *VLANEntrySpec, s conversion.Scope) error
- func Convert_vlan_VLANEntryStatus_To_v1alpha1_VLANEntryStatus(in *vlan.VLANEntryStatus, out *VLANEntryStatus, s conversion.Scope) error
- func Convert_vlan_VLANEntry_To_v1alpha1_VLANEntry(in *vlan.VLANEntry, out *VLANEntry, s conversion.Scope) error
- func Convert_vlan_VLANIndexList_To_v1alpha1_VLANIndexList(in *vlan.VLANIndexList, out *VLANIndexList, s conversion.Scope) error
- func Convert_vlan_VLANIndexSpec_To_v1alpha1_VLANIndexSpec(in *vlan.VLANIndexSpec, out *VLANIndexSpec, s conversion.Scope) error
- func Convert_vlan_VLANIndexStatus_To_v1alpha1_VLANIndexStatus(in *vlan.VLANIndexStatus, out *VLANIndexStatus, s conversion.Scope) error
- func Convert_vlan_VLANIndex_To_v1alpha1_VLANIndex(in *vlan.VLANIndex, out *VLANIndex, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type VLANClaim
- func (in *VLANClaim) DeepCopy() *VLANClaim
- func (in *VLANClaim) DeepCopyInto(out *VLANClaim)
- func (in *VLANClaim) DeepCopyObject() runtime.Object
- func (r *VLANClaim) GetCondition(t condv1alpha1.ConditionType) condv1alpha1.Condition
- func (VLANClaim) GetGroupVersionResource() schema.GroupVersionResource
- func (r *VLANClaim) GetKey() store.Key
- func (r *VLANClaim) GetNamespacedName() types.NamespacedName
- func (r *VLANClaim) GetObjectMeta() *metav1.ObjectMeta
- func (VLANClaim) IsStorageVersion() bool
- func (VLANClaim) NamespaceScoped() bool
- func (VLANClaim) New() runtime.Object
- func (VLANClaim) NewList() runtime.Object
- func (VLANClaim) RegisterConversions() func(s *runtime.Scheme) error
- func (r *VLANClaim) SetConditions(c ...condv1alpha1.Condition)
- type VLANClaimList
- type VLANClaimSpec
- type VLANClaimStatus
- type VLANEntry
- func (in *VLANEntry) DeepCopy() *VLANEntry
- func (in *VLANEntry) DeepCopyInto(out *VLANEntry)
- func (in *VLANEntry) DeepCopyObject() runtime.Object
- func (VLANEntry) GetGroupVersionResource() schema.GroupVersionResource
- func (r *VLANEntry) GetObjectMeta() *metav1.ObjectMeta
- func (VLANEntry) IsStorageVersion() bool
- func (VLANEntry) NamespaceScoped() bool
- func (VLANEntry) New() runtime.Object
- func (VLANEntry) NewList() runtime.Object
- func (VLANEntry) RegisterConversions() func(s *runtime.Scheme) error
- type VLANEntryList
- type VLANEntrySpec
- type VLANEntryStatus
- type VLANIndex
- func (in *VLANIndex) DeepCopy() *VLANIndex
- func (in *VLANIndex) DeepCopyInto(out *VLANIndex)
- func (in *VLANIndex) DeepCopyObject() runtime.Object
- func (r *VLANIndex) GetCondition(t condv1alpha1.ConditionType) condv1alpha1.Condition
- func (VLANIndex) GetGroupVersionResource() schema.GroupVersionResource
- func (r *VLANIndex) GetKey() store.Key
- func (r *VLANIndex) GetNamespacedName() types.NamespacedName
- func (r *VLANIndex) GetObjectMeta() *metav1.ObjectMeta
- func (VLANIndex) IsStorageVersion() bool
- func (VLANIndex) NamespaceScoped() bool
- func (VLANIndex) New() runtime.Object
- func (VLANIndex) NewList() runtime.Object
- func (VLANIndex) RegisterConversions() func(s *runtime.Scheme) error
- func (r *VLANIndex) SetConditions(c ...condv1alpha1.Condition)
- type VLANIndexList
- type VLANIndexSpec
- type VLANIndexStatus
Constants ¶
const (
Version = "v1alpha1"
)
Variables ¶
var ( // SchemeGroupVersion contains the API group and version information for the types in this package. SchemeGroupVersion = schema.GroupVersion{Group: vlan.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 )
var ( VLANClaimKind = reflect.TypeOf(VLANClaim{}).Name() VLANClaimListKind = reflect.TypeOf(VLANClaimList{}).Name() )
var ( VLANEntryKind = reflect.TypeOf(VLANEntry{}).Name() VLANEntryListKind = reflect.TypeOf(VLANEntryList{}).Name() )
var ( VLANIndexKind = reflect.TypeOf(VLANIndex{}).Name() VLANIndexListKind = reflect.TypeOf(VLANIndexList{}).Name() )
Functions ¶
func Convert_v1alpha1_VLANClaimList_To_vlan_VLANClaimList ¶ added in v0.0.8
func Convert_v1alpha1_VLANClaimList_To_vlan_VLANClaimList(in *VLANClaimList, out *vlan.VLANClaimList, s conversion.Scope) error
Convert_v1alpha1_VLANClaimList_To_vlan_VLANClaimList is an autogenerated conversion function.
func Convert_v1alpha1_VLANClaimSpec_To_vlan_VLANClaimSpec ¶ added in v0.0.8
func Convert_v1alpha1_VLANClaimSpec_To_vlan_VLANClaimSpec(in *VLANClaimSpec, out *vlan.VLANClaimSpec, s conversion.Scope) error
Convert_v1alpha1_VLANClaimSpec_To_vlan_VLANClaimSpec is an autogenerated conversion function.
func Convert_v1alpha1_VLANClaimStatus_To_vlan_VLANClaimStatus ¶ added in v0.0.8
func Convert_v1alpha1_VLANClaimStatus_To_vlan_VLANClaimStatus(in *VLANClaimStatus, out *vlan.VLANClaimStatus, s conversion.Scope) error
Convert_v1alpha1_VLANClaimStatus_To_vlan_VLANClaimStatus is an autogenerated conversion function.
func Convert_v1alpha1_VLANClaim_To_vlan_VLANClaim ¶ added in v0.0.8
func Convert_v1alpha1_VLANClaim_To_vlan_VLANClaim(in *VLANClaim, out *vlan.VLANClaim, s conversion.Scope) error
Convert_v1alpha1_VLANClaim_To_vlan_VLANClaim is an autogenerated conversion function.
func Convert_v1alpha1_VLANEntryList_To_vlan_VLANEntryList ¶ added in v0.0.8
func Convert_v1alpha1_VLANEntryList_To_vlan_VLANEntryList(in *VLANEntryList, out *vlan.VLANEntryList, s conversion.Scope) error
Convert_v1alpha1_VLANEntryList_To_vlan_VLANEntryList is an autogenerated conversion function.
func Convert_v1alpha1_VLANEntrySpec_To_vlan_VLANEntrySpec ¶ added in v0.0.8
func Convert_v1alpha1_VLANEntrySpec_To_vlan_VLANEntrySpec(in *VLANEntrySpec, out *vlan.VLANEntrySpec, s conversion.Scope) error
Convert_v1alpha1_VLANEntrySpec_To_vlan_VLANEntrySpec is an autogenerated conversion function.
func Convert_v1alpha1_VLANEntryStatus_To_vlan_VLANEntryStatus ¶ added in v0.0.8
func Convert_v1alpha1_VLANEntryStatus_To_vlan_VLANEntryStatus(in *VLANEntryStatus, out *vlan.VLANEntryStatus, s conversion.Scope) error
Convert_v1alpha1_VLANEntryStatus_To_vlan_VLANEntryStatus is an autogenerated conversion function.
func Convert_v1alpha1_VLANEntry_To_vlan_VLANEntry ¶ added in v0.0.8
func Convert_v1alpha1_VLANEntry_To_vlan_VLANEntry(in *VLANEntry, out *vlan.VLANEntry, s conversion.Scope) error
Convert_v1alpha1_VLANEntry_To_vlan_VLANEntry is an autogenerated conversion function.
func Convert_v1alpha1_VLANIndexList_To_vlan_VLANIndexList ¶ added in v0.0.8
func Convert_v1alpha1_VLANIndexList_To_vlan_VLANIndexList(in *VLANIndexList, out *vlan.VLANIndexList, s conversion.Scope) error
Convert_v1alpha1_VLANIndexList_To_vlan_VLANIndexList is an autogenerated conversion function.
func Convert_v1alpha1_VLANIndexSpec_To_vlan_VLANIndexSpec ¶ added in v0.0.8
func Convert_v1alpha1_VLANIndexSpec_To_vlan_VLANIndexSpec(in *VLANIndexSpec, out *vlan.VLANIndexSpec, s conversion.Scope) error
Convert_v1alpha1_VLANIndexSpec_To_vlan_VLANIndexSpec is an autogenerated conversion function.
func Convert_v1alpha1_VLANIndexStatus_To_vlan_VLANIndexStatus ¶ added in v0.0.8
func Convert_v1alpha1_VLANIndexStatus_To_vlan_VLANIndexStatus(in *VLANIndexStatus, out *vlan.VLANIndexStatus, s conversion.Scope) error
Convert_v1alpha1_VLANIndexStatus_To_vlan_VLANIndexStatus is an autogenerated conversion function.
func Convert_v1alpha1_VLANIndex_To_vlan_VLANIndex ¶ added in v0.0.8
func Convert_v1alpha1_VLANIndex_To_vlan_VLANIndex(in *VLANIndex, out *vlan.VLANIndex, s conversion.Scope) error
Convert_v1alpha1_VLANIndex_To_vlan_VLANIndex is an autogenerated conversion function.
func Convert_vlan_VLANClaimList_To_v1alpha1_VLANClaimList ¶ added in v0.0.8
func Convert_vlan_VLANClaimList_To_v1alpha1_VLANClaimList(in *vlan.VLANClaimList, out *VLANClaimList, s conversion.Scope) error
Convert_vlan_VLANClaimList_To_v1alpha1_VLANClaimList is an autogenerated conversion function.
func Convert_vlan_VLANClaimSpec_To_v1alpha1_VLANClaimSpec ¶ added in v0.0.8
func Convert_vlan_VLANClaimSpec_To_v1alpha1_VLANClaimSpec(in *vlan.VLANClaimSpec, out *VLANClaimSpec, s conversion.Scope) error
Convert_vlan_VLANClaimSpec_To_v1alpha1_VLANClaimSpec is an autogenerated conversion function.
func Convert_vlan_VLANClaimStatus_To_v1alpha1_VLANClaimStatus ¶ added in v0.0.8
func Convert_vlan_VLANClaimStatus_To_v1alpha1_VLANClaimStatus(in *vlan.VLANClaimStatus, out *VLANClaimStatus, s conversion.Scope) error
Convert_vlan_VLANClaimStatus_To_v1alpha1_VLANClaimStatus is an autogenerated conversion function.
func Convert_vlan_VLANClaim_To_v1alpha1_VLANClaim ¶ added in v0.0.8
func Convert_vlan_VLANClaim_To_v1alpha1_VLANClaim(in *vlan.VLANClaim, out *VLANClaim, s conversion.Scope) error
Convert_vlan_VLANClaim_To_v1alpha1_VLANClaim is an autogenerated conversion function.
func Convert_vlan_VLANEntryList_To_v1alpha1_VLANEntryList ¶ added in v0.0.8
func Convert_vlan_VLANEntryList_To_v1alpha1_VLANEntryList(in *vlan.VLANEntryList, out *VLANEntryList, s conversion.Scope) error
Convert_vlan_VLANEntryList_To_v1alpha1_VLANEntryList is an autogenerated conversion function.
func Convert_vlan_VLANEntrySpec_To_v1alpha1_VLANEntrySpec ¶ added in v0.0.8
func Convert_vlan_VLANEntrySpec_To_v1alpha1_VLANEntrySpec(in *vlan.VLANEntrySpec, out *VLANEntrySpec, s conversion.Scope) error
Convert_vlan_VLANEntrySpec_To_v1alpha1_VLANEntrySpec is an autogenerated conversion function.
func Convert_vlan_VLANEntryStatus_To_v1alpha1_VLANEntryStatus ¶ added in v0.0.8
func Convert_vlan_VLANEntryStatus_To_v1alpha1_VLANEntryStatus(in *vlan.VLANEntryStatus, out *VLANEntryStatus, s conversion.Scope) error
Convert_vlan_VLANEntryStatus_To_v1alpha1_VLANEntryStatus is an autogenerated conversion function.
func Convert_vlan_VLANEntry_To_v1alpha1_VLANEntry ¶ added in v0.0.8
func Convert_vlan_VLANEntry_To_v1alpha1_VLANEntry(in *vlan.VLANEntry, out *VLANEntry, s conversion.Scope) error
Convert_vlan_VLANEntry_To_v1alpha1_VLANEntry is an autogenerated conversion function.
func Convert_vlan_VLANIndexList_To_v1alpha1_VLANIndexList ¶ added in v0.0.8
func Convert_vlan_VLANIndexList_To_v1alpha1_VLANIndexList(in *vlan.VLANIndexList, out *VLANIndexList, s conversion.Scope) error
Convert_vlan_VLANIndexList_To_v1alpha1_VLANIndexList is an autogenerated conversion function.
func Convert_vlan_VLANIndexSpec_To_v1alpha1_VLANIndexSpec ¶ added in v0.0.8
func Convert_vlan_VLANIndexSpec_To_v1alpha1_VLANIndexSpec(in *vlan.VLANIndexSpec, out *VLANIndexSpec, s conversion.Scope) error
Convert_vlan_VLANIndexSpec_To_v1alpha1_VLANIndexSpec is an autogenerated conversion function.
func Convert_vlan_VLANIndexStatus_To_v1alpha1_VLANIndexStatus ¶ added in v0.0.8
func Convert_vlan_VLANIndexStatus_To_v1alpha1_VLANIndexStatus(in *vlan.VLANIndexStatus, out *VLANIndexStatus, s conversion.Scope) error
Convert_vlan_VLANIndexStatus_To_v1alpha1_VLANIndexStatus is an autogenerated conversion function.
func Convert_vlan_VLANIndex_To_v1alpha1_VLANIndex ¶ added in v0.0.8
func Convert_vlan_VLANIndex_To_v1alpha1_VLANIndex(in *vlan.VLANIndex, out *VLANIndex, s conversion.Scope) error
Convert_vlan_VLANIndex_To_v1alpha1_VLANIndex is an autogenerated conversion function.
func RegisterConversions ¶ added in v0.0.8
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶ added in v0.0.8
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 VLANClaim ¶
type VLANClaim struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec VLANClaimSpec `json:"spec,omitempty" yaml:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status VLANClaimStatus `json:"status,omitempty" yaml:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:categories={kuid} VLANClaim is the Schema for the VLANClaim API
func (*VLANClaim) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLANClaim.
func (*VLANClaim) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VLANClaim) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VLANClaim) GetCondition ¶
func (r *VLANClaim) GetCondition(t condv1alpha1.ConditionType) condv1alpha1.Condition
GetCondition returns the condition based on the condition kind
func (VLANClaim) GetGroupVersionResource ¶
func (VLANClaim) GetGroupVersionResource() schema.GroupVersionResource
func (*VLANClaim) GetNamespacedName ¶
func (r *VLANClaim) GetNamespacedName() types.NamespacedName
func (*VLANClaim) GetObjectMeta ¶
func (r *VLANClaim) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object
func (VLANClaim) IsStorageVersion ¶
IsStorageVersion returns true -- Config is used as the internal version. IsStorageVersion implements resource.Object
func (VLANClaim) NamespaceScoped ¶
NamespaceScoped returns true to indicate Fortune is a namespaced resource. NamespaceScoped implements resource.Object
func (VLANClaim) RegisterConversions ¶ added in v0.0.8
RegisterConversions registers the conversions. RegisterConversions implements resource.MultiVersionObject
func (*VLANClaim) SetConditions ¶
func (r *VLANClaim) 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 VLANClaimList ¶
type VLANClaimList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []VLANClaim `json:"items" yaml:"items" protobuf:"bytes,2,rep,name=items"` }
VLANClaimList contains a list of VLANClaims +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*VLANClaimList) DeepCopy ¶
func (in *VLANClaimList) DeepCopy() *VLANClaimList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLANClaimList.
func (*VLANClaimList) DeepCopyInto ¶
func (in *VLANClaimList) DeepCopyInto(out *VLANClaimList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VLANClaimList) DeepCopyObject ¶
func (in *VLANClaimList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VLANClaimList) GetListMeta ¶
func (r *VLANClaimList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta GetListMeta implements resource.ObjectList
type VLANClaimSpec ¶
type VLANClaimSpec struct { // Index defines the index for the resource Index string `json:"index" yaml:"index" protobuf:"bytes,1,opt,name=index"` // ID defines the id of the resource ID *uint32 `json:"id,omitempty" yaml:"id,omitempty" protobuf:"bytes,2,opt,name=id"` // Range defines the VLAN range of the resource // The following notation is used: start-end <start-VLANID>-<end-VLANID> // the VLANs 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"` }
VLANClaimSpec defines the desired state of VLANClaim
func (*VLANClaimSpec) DeepCopy ¶
func (in *VLANClaimSpec) DeepCopy() *VLANClaimSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLANClaimSpec.
func (*VLANClaimSpec) DeepCopyInto ¶
func (in *VLANClaimSpec) DeepCopyInto(out *VLANClaimSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VLANClaimStatus ¶
type VLANClaimStatus struct { // ConditionedStatus provides the status of the VLANClain using conditions // - a ready condition indicates the overall status of the resource condv1alpha1.ConditionedStatus `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=conditionedStatus"` // VLANID defines the VLAN for the VLAN claim // +optional ID *uint32 `json:"id,omitempty" yaml:"id,omitempty" protobuf:"bytes,2,opt,name=id"` // VLANRange defines the VLAN range for the VLAN claim // +optional Range *string `json:"range,omitempty" yaml:"range,omitempty" protobuf:"bytes,3,opt,name=range"` // ExpiryTime defines when the claim expires // +kubebuilder:validation:Optional // +optional ExpiryTime *string `json:"expiryTime,omitempty" yaml:"expiryTime,omitempty" protobuf:"bytes,4,opt,name=expiryTime"` }
VLANClaimStatus defines the observed state of VLANClaim
func (*VLANClaimStatus) DeepCopy ¶
func (in *VLANClaimStatus) DeepCopy() *VLANClaimStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLANClaimStatus.
func (*VLANClaimStatus) DeepCopyInto ¶
func (in *VLANClaimStatus) DeepCopyInto(out *VLANClaimStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VLANEntry ¶
type VLANEntry struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec VLANEntrySpec `json:"spec,omitempty" yaml:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status VLANEntryStatus `json:"status,omitempty" yaml:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:categories={kuid} VLANEntry is the Schema for the VLANentry API
func (*VLANEntry) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLANEntry.
func (*VLANEntry) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VLANEntry) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (VLANEntry) GetGroupVersionResource ¶
func (VLANEntry) GetGroupVersionResource() schema.GroupVersionResource
func (*VLANEntry) GetObjectMeta ¶
func (r *VLANEntry) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object
func (VLANEntry) IsStorageVersion ¶
IsStorageVersion returns true -- Config is used as the internal version. IsStorageVersion implements resource.Object
func (VLANEntry) NamespaceScoped ¶
NamespaceScoped returns true to indicate Fortune is a namespaced resource. NamespaceScoped implements resource.Object
type VLANEntryList ¶
type VLANEntryList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []VLANEntry `json:"items" yaml:"items" protobuf:"bytes,2,rep,name=items"` }
VLANEntryList contains a list of VLANEntries +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*VLANEntryList) DeepCopy ¶
func (in *VLANEntryList) DeepCopy() *VLANEntryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLANEntryList.
func (*VLANEntryList) DeepCopyInto ¶
func (in *VLANEntryList) DeepCopyInto(out *VLANEntryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VLANEntryList) DeepCopyObject ¶
func (in *VLANEntryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VLANEntryList) GetListMeta ¶
func (r *VLANEntryList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta GetListMeta implements resource.ObjectList
type VLANEntrySpec ¶
type VLANEntrySpec 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"` }
VLANEntrySpec defines the desired state of VLANEntry
func (*VLANEntrySpec) DeepCopy ¶
func (in *VLANEntrySpec) DeepCopy() *VLANEntrySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLANEntrySpec.
func (*VLANEntrySpec) DeepCopyInto ¶
func (in *VLANEntrySpec) DeepCopyInto(out *VLANEntrySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VLANEntryStatus ¶
type VLANEntryStatus struct { // ConditionedStatus provides the status of the VLANEntry using conditions // - a ready condition indicates the overall status of the resource condv1alpha1.ConditionedStatus `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=conditionedStatus"` }
VLANEntryStatus defines the observed state of VLANEntry
func (*VLANEntryStatus) DeepCopy ¶
func (in *VLANEntryStatus) DeepCopy() *VLANEntryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLANEntryStatus.
func (*VLANEntryStatus) DeepCopyInto ¶
func (in *VLANEntryStatus) DeepCopyInto(out *VLANEntryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VLANIndex ¶
type VLANIndex struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec VLANIndexSpec `json:"spec,omitempty" yaml:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status VLANIndexStatus `json:"status,omitempty" yaml:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:categories={kuid} VLANIndex is the Schema for the VLANIndex API
func (*VLANIndex) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLANIndex.
func (*VLANIndex) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VLANIndex) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VLANIndex) GetCondition ¶
func (r *VLANIndex) GetCondition(t condv1alpha1.ConditionType) condv1alpha1.Condition
GetCondition returns the condition based on the condition kind
func (VLANIndex) GetGroupVersionResource ¶
func (VLANIndex) GetGroupVersionResource() schema.GroupVersionResource
func (*VLANIndex) GetNamespacedName ¶
func (r *VLANIndex) GetNamespacedName() types.NamespacedName
func (*VLANIndex) GetObjectMeta ¶
func (r *VLANIndex) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object
func (VLANIndex) IsStorageVersion ¶
IsStorageVersion returns true -- Config is used as the internal version. IsStorageVersion implements resource.Object
func (VLANIndex) NamespaceScoped ¶
NamespaceScoped returns true to indicate Fortune is a namespaced resource. NamespaceScoped implements resource.Object
func (VLANIndex) RegisterConversions ¶ added in v0.0.8
RegisterConversions registers the conversions. RegisterConversions implements resource.MultiVersionObject
func (*VLANIndex) SetConditions ¶
func (r *VLANIndex) 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 VLANIndexList ¶
type VLANIndexList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []VLANIndex `json:"items" yaml:"items" protobuf:"bytes,2,rep,name=items"` }
VLANIndexList contains a list of VLANIndexs +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*VLANIndexList) DeepCopy ¶
func (in *VLANIndexList) DeepCopy() *VLANIndexList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLANIndexList.
func (*VLANIndexList) DeepCopyInto ¶
func (in *VLANIndexList) DeepCopyInto(out *VLANIndexList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VLANIndexList) DeepCopyObject ¶
func (in *VLANIndexList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VLANIndexList) GetListMeta ¶
func (r *VLANIndexList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta GetListMeta implements resource.ObjectList
type VLANIndexSpec ¶
type VLANIndexSpec struct { // MinID defines the min VLAN ID the index supports // +optional MinID *uint32 `json:"minID,omitempty" yaml:"minID,omitempty" protobuf:"bytes,1,opt,name=minID"` // MaxID defines the max VLAN ID the index supports // +optional MaxID *uint32 `json:"maxID,omitempty" yaml:"maxID,omitempty" protobuf:"bytes,2,opt,name=maxID"` // UserDefinedLabels define metadata to the resource. // defined in the spec to distingiush metadata labels from user defined labels commonv1alpha1.UserDefinedLabels `json:",inline" yaml:",inline" protobuf:"bytes,3,opt,name=userDefinedLabels"` }
VLANIndexSpec defines the desired state of VLANIndex
func (*VLANIndexSpec) DeepCopy ¶
func (in *VLANIndexSpec) DeepCopy() *VLANIndexSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLANIndexSpec.
func (*VLANIndexSpec) DeepCopyInto ¶
func (in *VLANIndexSpec) DeepCopyInto(out *VLANIndexSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VLANIndexStatus ¶
type VLANIndexStatus struct { // MinID defines the min VLAN ID the index supports // +optional MinID *uint32 `json:"minID,omitempty" yaml:"minID,omitempty" protobuf:"bytes,1,opt,name=minID"` // MaxID defines the max VLAN ID the index supports // +optional MaxID *uint32 `json:"maxID,omitempty" yaml:"maxID,omitempty" protobuf:"bytes,2,opt,name=maxID"` // ConditionedStatus provides the status of the VLANIndex using conditions // - a ready condition indicates the overall status of the resource condv1alpha1.ConditionedStatus `json:",inline" yaml:",inline" protobuf:"bytes,3,opt,name=conditionedStatus"` }
VLANIndexStatus defines the observed state of VLANIndex
func (*VLANIndexStatus) DeepCopy ¶
func (in *VLANIndexStatus) DeepCopy() *VLANIndexStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLANIndexStatus.
func (*VLANIndexStatus) DeepCopyInto ¶
func (in *VLANIndexStatus) DeepCopyInto(out *VLANIndexStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.