infra

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package infra is the internal version of the API.

+kubebuilder:object:generate=true +groupName=infra.kuid.dev

Index

Constants

View Source
const (
	AdaptorPlural   = "adaptors"
	AdaptorSingular = "adaptor"
)
View Source
const (
	ClusterPlural   = "clusters"
	ClusterSingular = "cluster"
)
View Source
const (
	EndpointPlural   = "endpoints"
	EndpointSingular = "endpoint"
)
View Source
const (
	EndpointSetPlural   = "endpointsets"
	EndpointSetSingular = "endpointset"
)
View Source
const (
	LinkPlural   = "links"
	LinkSingular = "links"
)
View Source
const (
	LinkSetPlural   = "linksets"
	LinkSetSingular = "linkset"
)
View Source
const (
	ModulePlural   = "modules"
	ModuleSingular = "module"
)
View Source
const (
	ModuleBayPlural   = "modulebays"
	ModuleBaySingular = "modulebay"
)
View Source
const (
	NodePlural   = "nodes"
	NodeSingular = "node"
)
View Source
const (
	NodeItemPlural   = "nodeitems"
	NodeItemSingular = "nodeitem"
)
View Source
const (
	NodeSetPlural   = "nodesets"
	NodeSetSingular = "nodeset"
)
View Source
const (
	PartitionPlural   = "partitions"
	PartitionSingular = "partition"
)
View Source
const (
	PortPlural   = "ports"
	PortSingular = "port"
)
View Source
const (
	RackPlural   = "racks"
	RackSingular = "rack"
)
View Source
const (
	RegionPlural   = "regions"
	RegionSingular = "region"
)
View Source
const (
	GroupName = "infra.kuid.dev"
	Version   = runtime.APIVersionInternal
)
View Source
const (
	SitePlural   = "sites"
	SiteSingular = "site"
)

Variables

View Source
var (
	AdaptorShortNames = []string{}
	AdaptorCategories = []string{"kuid", "knet"}
)
View Source
var (
	AdaptorKind     = reflect.TypeOf(Adaptor{}).Name()
	AdaptorKindList = reflect.TypeOf(AdaptorList{}).Name()
)
View Source
var (
	ClusterShortNames = []string{}
	ClusterCategories = []string{"kuid", "knet"}
)
View Source
var (
	ClusterKind     = reflect.TypeOf(Cluster{}).Name()
	ClusterKindList = reflect.TypeOf(ClusterList{}).Name()
)
View Source
var (
	EndpointShortNames = []string{}
	EndpointCategories = []string{"kuid", "knet"}
)
View Source
var (
	EndpointKind     = reflect.TypeOf(Endpoint{}).Name()
	EndpointKindList = reflect.TypeOf(EndpointList{}).Name()
)
View Source
var (
	EndpointSetShortNames = []string{}
	EndpointSetCategories = []string{"kuid", "knet"}
)
View Source
var (
	EndpointSetKind     = reflect.TypeOf(EndpointSet{}).Name()
	EndpointSetKindList = reflect.TypeOf(EndpointSetList{}).Name()
)
View Source
var (
	LinkShortNames = []string{}
	LinkCategories = []string{"kuid", "knet"}
)
View Source
var (
	LinkKind     = reflect.TypeOf(Link{}).Name()
	LinkKindList = reflect.TypeOf(LinkList{}).Name()
)
View Source
var (
	LinkSetShortNames = []string{}
	LinkSetCategories = []string{"kuid", "knet"}
)
View Source
var (
	LinkSetKind     = reflect.TypeOf(LinkSet{}).Name()
	LinkSetKindList = reflect.TypeOf(LinkSetList{}).Name()
)
View Source
var (
	ModuleShortNames = []string{}
	ModuleCategories = []string{"kuid", "knet"}
)
View Source
var (
	ModuleKind     = reflect.TypeOf(Module{}).Name()
	ModuleKindList = reflect.TypeOf(ModuleList{}).Name()
)
View Source
var (
	ModuleBayShortNames = []string{}
	ModuleBayCategories = []string{"kuid", "knet"}
)
View Source
var (
	ModuleBayKind     = reflect.TypeOf(ModuleBay{}).Name()
	ModuleBayKindList = reflect.TypeOf(ModuleBayList{}).Name()
)
View Source
var (
	NodeShortNames = []string{}
	NodeCategories = []string{"kuid", "knet"}
)
View Source
var (
	NodeKind     = reflect.TypeOf(Node{}).Name()
	NodeKindList = reflect.TypeOf(NodeList{}).Name()
)
View Source
var (
	NodeItemShortNames = []string{}
	NodeItemCategories = []string{"kuid", "knet"}
)
View Source
var (
	NodeItemKind     = reflect.TypeOf(NodeItem{}).Name()
	NodeItemKindList = reflect.TypeOf(NodeItemList{}).Name()
)
View Source
var (
	NodeSetShortNames = []string{}
	NodeSetCategories = []string{"kuid", "knet"}
)
View Source
var (
	NodeSetKind     = reflect.TypeOf(NodeSet{}).Name()
	NodeSetKindList = reflect.TypeOf(NodeSetList{}).Name()
)
View Source
var (
	PartitionShortNames = []string{}
	PartitionCategories = []string{"kuid", "knet"}
)
View Source
var (
	PartitionKind     = reflect.TypeOf(Partition{}).Name()
	PartitionKindList = reflect.TypeOf(PartitionList{}).Name()
)
View Source
var (
	PortShortNames = []string{}
	PortCategories = []string{"kuid", "knet"}
)
View Source
var (
	PortKind     = reflect.TypeOf(Port{}).Name()
	PortKindList = reflect.TypeOf(PortList{}).Name()
)
View Source
var (
	RackShortNames = []string{}
	RackCategories = []string{"kuid", "knet"}
)
View Source
var (
	RackKind     = reflect.TypeOf(Rack{}).Name()
	RackKindList = reflect.TypeOf(RackList{}).Name()
)
View Source
var (
	RegionShortNames = []string{}
	RegionCategories = []string{"kuid", "knet"}
)
View Source
var (
	RegionKind     = reflect.TypeOf(Region{}).Name()
	RegionKindList = reflect.TypeOf(RegionList{}).Name()
)
View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var (
	SiteShortNames = []string{}
	SiteCategories = []string{"kuid", "knet"}
)
View Source
var (
	SiteKind     = reflect.TypeOf(Site{}).Name()
	SiteKindList = reflect.TypeOf(SiteList{}).Name()
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}

Functions

func Kind

func Kind(kind string) schema.GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Types

type Adaptor

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

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

+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:skipversion An Adaptor represents a communication interface or connection point within a Node, facilitating network communication and data transfer between different components or systems within the environment. `Adaptors` serve as gateways for transmitting and receiving data, enabling seamless communication between Nodes.

func (*Adaptor) DeepCopy

func (in *Adaptor) DeepCopy() *Adaptor

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

func (*Adaptor) DeepCopyInto

func (in *Adaptor) DeepCopyInto(out *Adaptor)

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

func (*Adaptor) DeepCopyObject

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

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

func (*Adaptor) FieldLabelConversion

func (r *Adaptor) FieldLabelConversion() runtime.FieldLabelConversionFunc

FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource

func (*Adaptor) FieldSelector

func (r *Adaptor) FieldSelector() func(ctx context.Context, fieldSelector fields.Selector) (resource.Filter, error)

func (Adaptor) GetCategories

func (Adaptor) GetCategories() []string

GetCategories return the categories of the resource GetCategories implements resource.Object

func (*Adaptor) GetCondition

func (r *Adaptor) GetCondition(t condition.ConditionType) condition.Condition

GetCondition returns the condition based on the condition kind

func (Adaptor) GetGroupVersionResource

func (Adaptor) GetGroupVersionResource() schema.GroupVersionResource

func (*Adaptor) GetObjectMeta

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

GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object

func (Adaptor) GetShortNames

func (Adaptor) GetShortNames() []string

GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object

func (Adaptor) GetSingularName

func (Adaptor) GetSingularName() string

GetSingularName returns the singular name of the resource GetSingularName implements resource.Object

func (*Adaptor) GetStatus

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

GetStatus return the resource.StatusSubResource interface

func (*Adaptor) IsEqual

func (r *Adaptor) IsEqual(ctx context.Context, obj, old runtime.Object) bool

IsEqual returns a bool indicating if the desired state of both resources is equal or not

func (*Adaptor) IsStatusEqual

func (r *Adaptor) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool

IsStatusEqual returns a bool indicating if the status of both resources is equal or not

func (Adaptor) IsStorageVersion

func (Adaptor) IsStorageVersion() bool

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

func (Adaptor) NamespaceScoped

func (Adaptor) NamespaceScoped() bool

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

func (Adaptor) New

func (Adaptor) New() runtime.Object

New return an empty resource New implements resource.Object

func (Adaptor) NewList

func (Adaptor) NewList() runtime.Object

NewList return an empty resourceList NewList implements resource.Object

func (*Adaptor) PrepareForCreate

func (r *Adaptor) PrepareForCreate(ctx context.Context, obj runtime.Object)

func (*Adaptor) PrepareForStatusUpdate

func (r *Adaptor) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)

PrepareForStatusUpdate prepares the status update

func (*Adaptor) PrepareForUpdate

func (r *Adaptor) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)

func (*Adaptor) SetConditions

func (r *Adaptor) 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 (*Adaptor) TableConvertor

func (r *Adaptor) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor

TableConvertor return the table format of the resource

func (*Adaptor) ValidateCreate

func (r *Adaptor) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList

ValidateCreate statically validates

func (*Adaptor) ValidateStatusUpdate

func (r *Adaptor) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

ValidateStatusUpdate validates status updates

func (*Adaptor) ValidateUpdate

func (r *Adaptor) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

type AdaptorFilter

type AdaptorFilter 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 (*AdaptorFilter) DeepCopy

func (in *AdaptorFilter) DeepCopy() *AdaptorFilter

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

func (*AdaptorFilter) DeepCopyInto

func (in *AdaptorFilter) DeepCopyInto(out *AdaptorFilter)

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

func (*AdaptorFilter) Filter

func (r *AdaptorFilter) Filter(ctx context.Context, obj runtime.Object) bool

type AdaptorList

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

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:skipversion AdaptorList contains a list of Adaptors

func (*AdaptorList) DeepCopy

func (in *AdaptorList) DeepCopy() *AdaptorList

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

func (*AdaptorList) DeepCopyInto

func (in *AdaptorList) DeepCopyInto(out *AdaptorList)

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

func (*AdaptorList) DeepCopyObject

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

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

func (*AdaptorList) GetListMeta

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

GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList

type AdaptorSpec

type AdaptorSpec struct {
	// PartitionAdaptorID the Adaptor identity this resource belongs to
	id.PartitionAdaptorID `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=partitionAdaptorID"`
	// 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"`
}

AdaptorSpec defines the desired state of Adaptor

func (*AdaptorSpec) DeepCopy

func (in *AdaptorSpec) DeepCopy() *AdaptorSpec

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

func (*AdaptorSpec) DeepCopyInto

func (in *AdaptorSpec) DeepCopyInto(out *AdaptorSpec)

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

type AdaptorStatus

type AdaptorStatus 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"`
}

AdaptorStatus defines the observed state of Adaptor

func (AdaptorStatus) CopyTo

CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource

func (*AdaptorStatus) DeepCopy

func (in *AdaptorStatus) DeepCopy() *AdaptorStatus

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

func (*AdaptorStatus) DeepCopyInto

func (in *AdaptorStatus) DeepCopyInto(out *AdaptorStatus)

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

func (AdaptorStatus) SubResourceName

func (AdaptorStatus) SubResourceName() string

SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource

type Cluster

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

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

+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:skipversion A Cluster represents a kubernetes cluster and is typically used as a nodeGroup identifier.

func (*Cluster) DeepCopy

func (in *Cluster) DeepCopy() *Cluster

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

func (*Cluster) DeepCopyInto

func (in *Cluster) DeepCopyInto(out *Cluster)

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

func (*Cluster) DeepCopyObject

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

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

func (*Cluster) FieldLabelConversion

func (r *Cluster) FieldLabelConversion() runtime.FieldLabelConversionFunc

FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource

func (*Cluster) FieldSelector

func (r *Cluster) FieldSelector() func(ctx context.Context, fieldSelector fields.Selector) (resource.Filter, error)

func (Cluster) GetCategories

func (Cluster) GetCategories() []string

GetCategories return the categories of the resource GetCategories implements resource.Object

func (*Cluster) GetCondition

func (r *Cluster) GetCondition(t condition.ConditionType) condition.Condition

GetCondition returns the condition based on the condition kind

func (Cluster) GetGroupVersionResource

func (Cluster) GetGroupVersionResource() schema.GroupVersionResource

func (*Cluster) GetObjectMeta

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

GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object

func (Cluster) GetShortNames

func (Cluster) GetShortNames() []string

GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object

func (Cluster) GetSingularName

func (Cluster) GetSingularName() string

GetSingularName returns the singular name of the resource GetSingularName implements resource.Object

func (*Cluster) GetStatus

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

GetStatus return the resource.StatusSubResource interface

func (*Cluster) IsEqual

func (r *Cluster) IsEqual(ctx context.Context, obj, old runtime.Object) bool

IsEqual returns a bool indicating if the desired state of both resources is equal or not

func (*Cluster) IsStatusEqual

func (r *Cluster) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool

IsStatusEqual returns a bool indicating if the status of both resources is equal or not

func (Cluster) IsStorageVersion

func (Cluster) IsStorageVersion() bool

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

func (Cluster) NamespaceScoped

func (Cluster) NamespaceScoped() bool

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

func (Cluster) New

func (Cluster) New() runtime.Object

New return an empty resource New implements resource.Object

func (Cluster) NewList

func (Cluster) NewList() runtime.Object

NewList return an empty resourceList NewList implements resource.Object

func (*Cluster) PrepareForCreate

func (r *Cluster) PrepareForCreate(ctx context.Context, obj runtime.Object)

func (*Cluster) PrepareForStatusUpdate

func (r *Cluster) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)

PrepareForStatusUpdate prepares the status update

func (*Cluster) PrepareForUpdate

func (r *Cluster) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)

func (*Cluster) SetConditions

func (r *Cluster) 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 (*Cluster) TableConvertor

func (r *Cluster) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor

TableConvertor return the table format of the resource

func (*Cluster) ValidateCreate

func (r *Cluster) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList

ValidateCreate statically validates

func (*Cluster) ValidateStatusUpdate

func (r *Cluster) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

ValidateStatusUpdate validates status updates

func (*Cluster) ValidateUpdate

func (r *Cluster) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

type ClusterFilter

type ClusterFilter 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 (*ClusterFilter) DeepCopy

func (in *ClusterFilter) DeepCopy() *ClusterFilter

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

func (*ClusterFilter) DeepCopyInto

func (in *ClusterFilter) DeepCopyInto(out *ClusterFilter)

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

func (*ClusterFilter) Filter

func (r *ClusterFilter) Filter(ctx context.Context, obj runtime.Object) bool

type ClusterList

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

ClusterList contains a list of Clusters +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:skipversion

func (*ClusterList) DeepCopy

func (in *ClusterList) DeepCopy() *ClusterList

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

func (*ClusterList) DeepCopyInto

func (in *ClusterList) DeepCopyInto(out *ClusterList)

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

func (*ClusterList) DeepCopyObject

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

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

func (*ClusterList) GetListMeta

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

GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList

type ClusterSpec

type ClusterSpec struct {
	// PartitionClusterID defines the cluster partition
	id.PartitionClusterID `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=nodeID"`
	// Provider defines the provider implementing this resource.
	Provider string `json:"provider" yaml:"provider" protobuf:"bytes,2,opt,name=provider"`
	// Location defines the location information where this resource is located
	// in lon/lat coordinates
	Location *Location `json:"location,omitempty" yaml:"location,omitempty" protobuf:"bytes,3,opt,name=location"`
	// 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,4,opt,name=userDefinedLabels"`
}

ClusterSpec defines the desired state of Cluster

func (*ClusterSpec) DeepCopy

func (in *ClusterSpec) DeepCopy() *ClusterSpec

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

func (*ClusterSpec) DeepCopyInto

func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)

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

type ClusterStatus

type ClusterStatus 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"`
}

ClusterStatus defines the observed state of Cluster

func (ClusterStatus) CopyTo

CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource

func (*ClusterStatus) DeepCopy

func (in *ClusterStatus) DeepCopy() *ClusterStatus

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

func (*ClusterStatus) DeepCopyInto

func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)

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

func (ClusterStatus) SubResourceName

func (ClusterStatus) SubResourceName() string

SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource

type Endpoint

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

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

+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:skipversion An Endpoint represents a communication interface or connection point within a Node, facilitating network communication and data transfer between different components or systems within the environment. `Endpoints` serve as gateways for transmitting and receiving data, enabling seamless communication between Nodes.

func (*Endpoint) DeepCopy

func (in *Endpoint) DeepCopy() *Endpoint

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

func (*Endpoint) DeepCopyInto

func (in *Endpoint) DeepCopyInto(out *Endpoint)

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

func (*Endpoint) DeepCopyObject

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

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

func (*Endpoint) FieldLabelConversion

func (r *Endpoint) FieldLabelConversion() runtime.FieldLabelConversionFunc

FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource

func (*Endpoint) FieldSelector

func (r *Endpoint) FieldSelector() func(ctx context.Context, fieldSelector fields.Selector) (resource.Filter, error)

func (Endpoint) GetCategories

func (Endpoint) GetCategories() []string

GetCategories return the categories of the resource GetCategories implements resource.Object

func (*Endpoint) GetCondition

func (r *Endpoint) GetCondition(t condition.ConditionType) condition.Condition

GetCondition returns the condition based on the condition kind

func (Endpoint) GetGroupVersionResource

func (Endpoint) GetGroupVersionResource() schema.GroupVersionResource

func (*Endpoint) GetObjectMeta

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

GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object

func (Endpoint) GetShortNames

func (Endpoint) GetShortNames() []string

GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object

func (Endpoint) GetSingularName

func (Endpoint) GetSingularName() string

GetSingularName returns the singular name of the resource GetSingularName implements resource.Object

func (*Endpoint) GetStatus

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

GetStatus return the resource.StatusSubResource interface

func (*Endpoint) IsEqual

func (r *Endpoint) IsEqual(ctx context.Context, obj, old runtime.Object) bool

IsEqual returns a bool indicating if the desired state of both resources is equal or not

func (*Endpoint) IsStatusEqual

func (r *Endpoint) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool

IsStatusEqual returns a bool indicating if the status of both resources is equal or not

func (Endpoint) IsStorageVersion

func (Endpoint) IsStorageVersion() bool

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

func (Endpoint) NamespaceScoped

func (Endpoint) NamespaceScoped() bool

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

func (Endpoint) New

func (Endpoint) New() runtime.Object

New return an empty resource New implements resource.Object

func (Endpoint) NewList

func (Endpoint) NewList() runtime.Object

NewList return an empty resourceList NewList implements resource.Object

func (*Endpoint) PrepareForCreate

func (r *Endpoint) PrepareForCreate(ctx context.Context, obj runtime.Object)

func (*Endpoint) PrepareForStatusUpdate

func (r *Endpoint) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)

PrepareForStatusUpdate prepares the status update

func (*Endpoint) PrepareForUpdate

func (r *Endpoint) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)

func (*Endpoint) SetConditions

func (r *Endpoint) 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 (*Endpoint) TableConvertor

func (r *Endpoint) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor

TableConvertor return the table format of the resource

func (*Endpoint) ValidateCreate

func (r *Endpoint) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList

ValidateCreate statically validates

func (*Endpoint) ValidateStatusUpdate

func (r *Endpoint) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

ValidateStatusUpdate validates status updates

func (*Endpoint) ValidateUpdate

func (r *Endpoint) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

type EndpointFilter

type EndpointFilter 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 (*EndpointFilter) DeepCopy

func (in *EndpointFilter) DeepCopy() *EndpointFilter

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

func (*EndpointFilter) DeepCopyInto

func (in *EndpointFilter) DeepCopyInto(out *EndpointFilter)

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

func (*EndpointFilter) Filter

func (r *EndpointFilter) Filter(ctx context.Context, obj runtime.Object) bool

type EndpointList

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

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:skipversion EndpointList contains a list of Endpoints

func (*EndpointList) DeepCopy

func (in *EndpointList) DeepCopy() *EndpointList

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

func (*EndpointList) DeepCopyInto

func (in *EndpointList) DeepCopyInto(out *EndpointList)

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

func (*EndpointList) DeepCopyObject

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

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

func (*EndpointList) GetListMeta

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

GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList

type EndpointSet

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

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

+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:skipversion A EndpointSet represents a set of endpoints that belong together within a nodeGroup. E.g. it can be used to model a logical Link Aggregation group within a node or it can be used to represent a logical multi-homing construction between a set of nodes belonging to a single nodeGroup.

func (*EndpointSet) DeepCopy

func (in *EndpointSet) DeepCopy() *EndpointSet

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

func (*EndpointSet) DeepCopyInto

func (in *EndpointSet) DeepCopyInto(out *EndpointSet)

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

func (*EndpointSet) DeepCopyObject

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

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

func (*EndpointSet) FieldLabelConversion

func (r *EndpointSet) FieldLabelConversion() runtime.FieldLabelConversionFunc

FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource

func (*EndpointSet) FieldSelector

func (r *EndpointSet) FieldSelector() func(ctx context.Context, fieldSelector fields.Selector) (resource.Filter, error)

func (EndpointSet) GetCategories

func (EndpointSet) GetCategories() []string

GetCategories return the categories of the resource GetCategories implements resource.Object

func (*EndpointSet) GetCondition

GetCondition returns the condition based on the condition kind

func (EndpointSet) GetGroupVersionResource

func (EndpointSet) GetGroupVersionResource() schema.GroupVersionResource

func (*EndpointSet) GetObjectMeta

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

GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object

func (EndpointSet) GetShortNames

func (EndpointSet) GetShortNames() []string

GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object

func (EndpointSet) GetSingularName

func (EndpointSet) GetSingularName() string

GetSingularName returns the singular name of the resource GetSingularName implements resource.Object

func (*EndpointSet) GetStatus

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

GetStatus return the resource.StatusSubResource interface

func (*EndpointSet) IsEqual

func (r *EndpointSet) IsEqual(ctx context.Context, obj, old runtime.Object) bool

IsEqual returns a bool indicating if the desired state of both resources is equal or not

func (*EndpointSet) IsStatusEqual

func (r *EndpointSet) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool

IsStatusEqual returns a bool indicating if the status of both resources is equal or not

func (EndpointSet) IsStorageVersion

func (EndpointSet) IsStorageVersion() bool

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

func (EndpointSet) NamespaceScoped

func (EndpointSet) NamespaceScoped() bool

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

func (EndpointSet) New

func (EndpointSet) New() runtime.Object

New return an empty resource New implements resource.Object

func (EndpointSet) NewList

func (EndpointSet) NewList() runtime.Object

NewList return an empty resourceList NewList implements resource.Object

func (*EndpointSet) PrepareForCreate

func (r *EndpointSet) PrepareForCreate(ctx context.Context, obj runtime.Object)

func (*EndpointSet) PrepareForStatusUpdate

func (r *EndpointSet) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)

PrepareForStatusUpdate prepares the status update

func (*EndpointSet) PrepareForUpdate

func (r *EndpointSet) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)

func (*EndpointSet) SetConditions

func (r *EndpointSet) 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 (*EndpointSet) TableConvertor

func (r *EndpointSet) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor

TableConvertor return the table format of the resource

func (*EndpointSet) ValidateCreate

func (r *EndpointSet) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList

ValidateCreate statically validates

func (*EndpointSet) ValidateStatusUpdate

func (r *EndpointSet) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

ValidateStatusUpdate validates status updates

func (*EndpointSet) ValidateUpdate

func (r *EndpointSet) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

type EndpointSetFilter

type EndpointSetFilter 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 (*EndpointSetFilter) DeepCopy

func (in *EndpointSetFilter) DeepCopy() *EndpointSetFilter

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

func (*EndpointSetFilter) DeepCopyInto

func (in *EndpointSetFilter) DeepCopyInto(out *EndpointSetFilter)

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

func (*EndpointSetFilter) Filter

func (r *EndpointSetFilter) Filter(ctx context.Context, obj runtime.Object) bool

type EndpointSetList

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

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:skipversion EndpointSetList contains a list of EndpointSets

func (*EndpointSetList) DeepCopy

func (in *EndpointSetList) DeepCopy() *EndpointSetList

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

func (*EndpointSetList) DeepCopyInto

func (in *EndpointSetList) DeepCopyInto(out *EndpointSetList)

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

func (*EndpointSetList) DeepCopyObject

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

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

func (*EndpointSetList) GetListMeta

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

GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList

type EndpointSetSpec

type EndpointSetSpec struct {
	// Endpoints defines the Endpoints that are part of the EndpointSet
	// Min 1, Max 16
	Endpoints []*id.PartitionEndpointID `json:"endpoints" yaml:"endpoints" protobuf:"bytes,1,opt,name=endpoints"`
	// Lacp defines if the lag enabled LACP
	// +optional
	Lacp *bool `json:"lacp,omitempty" yaml:"lacp,omitempty" protobuf:"bytes,2,opt,name=lacp"`
	// 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"`
}

EndpointSetSpec defines the desired state of EndpointSet An EndpointSet can be a LAG (single Homed) or ESI (multiHomed). The EndpointSet can only belong to a single NodeGroup

func (*EndpointSetSpec) DeepCopy

func (in *EndpointSetSpec) DeepCopy() *EndpointSetSpec

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

func (*EndpointSetSpec) DeepCopyInto

func (in *EndpointSetSpec) DeepCopyInto(out *EndpointSetSpec)

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

type EndpointSetStatus

type EndpointSetStatus 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"`
	// ESI defines the ethernet segment identifier of the logical link
	// if set this is a multi-homed logical endpoint
	// the ESI is a global unique identifier within the administrative domain
	// +optional
	ESI *uint32 `json:"esi,omitempty" yaml:"esi,omitempty" protobuf:"bytes,2,opt,name=esi"`
	// LagId defines the lag id for the logical single-homed or multi-homed
	// endpoint
	// +optional
	LagId *uint32 `json:"lagID,omitempty" yaml:"lagID,omitempty" protobuf:"bytes,3,opt,name=lagID"`
}

EndpointSetStatus defines the observed state of EndpointSet

func (EndpointSetStatus) CopyTo

CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource

func (*EndpointSetStatus) DeepCopy

func (in *EndpointSetStatus) DeepCopy() *EndpointSetStatus

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

func (*EndpointSetStatus) DeepCopyInto

func (in *EndpointSetStatus) DeepCopyInto(out *EndpointSetStatus)

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

func (EndpointSetStatus) SubResourceName

func (EndpointSetStatus) SubResourceName() string

SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource

type EndpointSpec

type EndpointSpec struct {
	// NodeGroupEndpointID identifies the endpoint identity this resource belongs to
	id.PartitionEndpointID `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=nodeGroupEndpointID"`
	// 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"`
	// (Gbps)
	Speed *string `json:"speed,omitempty" yaml:"speed,omitempty" protobuf:"bytes,4,opt,name=speed"`
	// VLANTagging defines if VLAN tagging is enabled or disabled on the interface
	VLANTagging bool `json:"vlanTagging,omitempty" yaml:"vlanTagging,omitempty" protobuf:"bytes,5,opt,name=vlanTagging"`
}

EndpointSpec defines the desired state of Endpoint

func (*EndpointSpec) DeepCopy

func (in *EndpointSpec) DeepCopy() *EndpointSpec

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

func (*EndpointSpec) DeepCopyInto

func (in *EndpointSpec) DeepCopyInto(out *EndpointSpec)

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

type EndpointStatus

type EndpointStatus 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"`
}

EndpointStatus defines the observed state of Endpoint

func (EndpointStatus) CopyTo

CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource

func (*EndpointStatus) DeepCopy

func (in *EndpointStatus) DeepCopy() *EndpointStatus

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

func (*EndpointStatus) DeepCopyInto

func (in *EndpointStatus) DeepCopyInto(out *EndpointStatus)

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

func (EndpointStatus) SubResourceName

func (EndpointStatus) SubResourceName() string

SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource

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

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

+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:skipversion A link represents a physical/logical connection that enables communication and data transfer between 2 endpoints of a node.

func (*Link) DeepCopy

func (in *Link) DeepCopy() *Link

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

func (*Link) DeepCopyInto

func (in *Link) DeepCopyInto(out *Link)

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

func (*Link) DeepCopyObject

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

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

func (*Link) FieldLabelConversion

func (r *Link) FieldLabelConversion() runtime.FieldLabelConversionFunc

FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource

func (*Link) FieldSelector

func (r *Link) FieldSelector() func(ctx context.Context, fieldSelector fields.Selector) (resource.Filter, error)

func (Link) GetCategories

func (Link) GetCategories() []string

GetCategories return the categories of the resource GetCategories implements resource.Object

func (*Link) GetCondition

func (r *Link) GetCondition(t condition.ConditionType) condition.Condition

GetCondition returns the condition based on the condition kind

func (Link) GetGroupVersionResource

func (Link) GetGroupVersionResource() schema.GroupVersionResource

func (*Link) GetObjectMeta

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

GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object

func (Link) GetShortNames

func (Link) GetShortNames() []string

GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object

func (Link) GetSingularName

func (Link) GetSingularName() string

GetSingularName returns the singular name of the resource GetSingularName implements resource.Object

func (*Link) GetStatus

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

GetStatus return the resource.StatusSubResource interface

func (*Link) IsEqual

func (r *Link) IsEqual(ctx context.Context, obj, old runtime.Object) bool

IsEqual returns a bool indicating if the desired state of both resources is equal or not

func (*Link) IsStatusEqual

func (r *Link) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool

IsStatusEqual returns a bool indicating if the status of both resources is equal or not

func (Link) IsStorageVersion

func (Link) IsStorageVersion() bool

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

func (Link) NamespaceScoped

func (Link) NamespaceScoped() bool

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

func (Link) New

func (Link) New() runtime.Object

New return an empty resource New implements resource.Object

func (Link) NewList

func (Link) NewList() runtime.Object

NewList return an empty resourceList NewList implements resource.Object

func (*Link) PrepareForCreate

func (r *Link) PrepareForCreate(ctx context.Context, obj runtime.Object)

func (*Link) PrepareForStatusUpdate

func (r *Link) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)

PrepareForStatusUpdate prepares the status update

func (*Link) PrepareForUpdate

func (r *Link) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)

func (*Link) SetConditions

func (r *Link) 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 (*Link) TableConvertor

func (r *Link) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor

TableConvertor return the table format of the resource

func (*Link) ValidateCreate

func (r *Link) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList

ValidateCreate statically validates

func (*Link) ValidateStatusUpdate

func (r *Link) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

ValidateStatusUpdate validates status updates

func (*Link) ValidateUpdate

func (r *Link) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

type LinkFilter

type LinkFilter 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 (*LinkFilter) DeepCopy

func (in *LinkFilter) DeepCopy() *LinkFilter

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

func (*LinkFilter) DeepCopyInto

func (in *LinkFilter) DeepCopyInto(out *LinkFilter)

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

func (*LinkFilter) Filter

func (r *LinkFilter) Filter(ctx context.Context, obj runtime.Object) bool
type LinkList struct {
	metav1.TypeMeta `json:",inline" yaml:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []Link `json:"items" yaml:"items" protobuf:"bytes,2,rep,name=items"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:skipversion LinkList contains a list of Links

func (*LinkList) DeepCopy

func (in *LinkList) DeepCopy() *LinkList

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

func (*LinkList) DeepCopyInto

func (in *LinkList) DeepCopyInto(out *LinkList)

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

func (*LinkList) DeepCopyObject

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

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

func (*LinkList) GetListMeta

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

GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList

type LinkSet

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

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

+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:skipversion A linkSet represents a set of links that belong together within a node group or accross nodeGroups. E.g. it can be used to model a logical Link Aggregation group between 2 nodes or it can be used to represent a logical multi-homing construction between a set of nodes belonging to 1 or multiple nodeGroups/Topologies.

func (*LinkSet) DeepCopy

func (in *LinkSet) DeepCopy() *LinkSet

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

func (*LinkSet) DeepCopyInto

func (in *LinkSet) DeepCopyInto(out *LinkSet)

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

func (*LinkSet) DeepCopyObject

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

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

func (*LinkSet) FieldLabelConversion

func (r *LinkSet) FieldLabelConversion() runtime.FieldLabelConversionFunc

FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource

func (*LinkSet) FieldSelector

func (r *LinkSet) FieldSelector() func(ctx context.Context, fieldSelector fields.Selector) (resource.Filter, error)

func (LinkSet) GetCategories

func (LinkSet) GetCategories() []string

GetCategories return the categories of the resource GetCategories implements resource.Object

func (*LinkSet) GetCondition

func (r *LinkSet) GetCondition(t condition.ConditionType) condition.Condition

GetCondition returns the condition based on the condition kind

func (LinkSet) GetGroupVersionResource

func (LinkSet) GetGroupVersionResource() schema.GroupVersionResource

func (*LinkSet) GetObjectMeta

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

GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object

func (LinkSet) GetShortNames

func (LinkSet) GetShortNames() []string

GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object

func (LinkSet) GetSingularName

func (LinkSet) GetSingularName() string

GetSingularName returns the singular name of the resource GetSingularName implements resource.Object

func (*LinkSet) GetStatus

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

GetStatus return the resource.StatusSubResource interface

func (*LinkSet) IsEqual

func (r *LinkSet) IsEqual(ctx context.Context, obj, old runtime.Object) bool

IsEqual returns a bool indicating if the desired state of both resources is equal or not

func (*LinkSet) IsStatusEqual

func (r *LinkSet) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool

IsStatusEqual returns a bool indicating if the status of both resources is equal or not

func (LinkSet) IsStorageVersion

func (LinkSet) IsStorageVersion() bool

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

func (LinkSet) NamespaceScoped

func (LinkSet) NamespaceScoped() bool

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

func (LinkSet) New

func (LinkSet) New() runtime.Object

New return an empty resource New implements resource.Object

func (LinkSet) NewList

func (LinkSet) NewList() runtime.Object

NewList return an empty resourceList NewList implements resource.Object

func (*LinkSet) PrepareForCreate

func (r *LinkSet) PrepareForCreate(ctx context.Context, obj runtime.Object)

func (*LinkSet) PrepareForStatusUpdate

func (r *LinkSet) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)

PrepareForStatusUpdate prepares the status update

func (*LinkSet) PrepareForUpdate

func (r *LinkSet) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)

func (*LinkSet) SetConditions

func (r *LinkSet) 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 (*LinkSet) TableConvertor

func (r *LinkSet) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor

TableConvertor return the table format of the resource

func (*LinkSet) ValidateCreate

func (r *LinkSet) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList

ValidateCreate statically validates

func (*LinkSet) ValidateStatusUpdate

func (r *LinkSet) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

ValidateStatusUpdate validates status updates

func (*LinkSet) ValidateUpdate

func (r *LinkSet) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

type LinkSetFilter

type LinkSetFilter 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 (*LinkSetFilter) DeepCopy

func (in *LinkSetFilter) DeepCopy() *LinkSetFilter

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

func (*LinkSetFilter) DeepCopyInto

func (in *LinkSetFilter) DeepCopyInto(out *LinkSetFilter)

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

func (*LinkSetFilter) Filter

func (r *LinkSetFilter) Filter(ctx context.Context, obj runtime.Object) bool

type LinkSetList

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

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:skipversion LinkSetList contains a list of LinkSets

func (*LinkSetList) DeepCopy

func (in *LinkSetList) DeepCopy() *LinkSetList

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

func (*LinkSetList) DeepCopyInto

func (in *LinkSetList) DeepCopyInto(out *LinkSetList)

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

func (*LinkSetList) DeepCopyObject

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

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

func (*LinkSetList) GetListMeta

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

GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList

type LinkSetSpec

type LinkSetSpec struct {
	// Endpoints define the endpoint identifiers of the LinkSet
	Endpoints []*id.PartitionEndpointID `json:"endpoints" yaml:"endpoints" protobuf:"bytes,1,opt,name=endpoints"`
	// 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,2,opt,name=userDefinedLabels"`
}

LinkSetSpec defines the desired state of LinkSet

func (*LinkSetSpec) DeepCopy

func (in *LinkSetSpec) DeepCopy() *LinkSetSpec

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

func (*LinkSetSpec) DeepCopyInto

func (in *LinkSetSpec) DeepCopyInto(out *LinkSetSpec)

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

type LinkSetStatus

type LinkSetStatus 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"`
	// ESI defines the ethernet segment identifier of the logical link
	// if set this is a multi-homed linkset
	// the ESI is a global unique identifier within the administrative domain/topology
	ESI *uint32 `json:"esi,omitempty" yaml:"esi,omitempty" protobuf:"varint,2,opt,name=esi"`
	// LagId defines the lag id for the logical single-homed or multi-homed
	// endpoint
	LagId *uint32 `json:"lagId,omitempty" yaml:"lagId,omitempty" protobuf:"varint,3,opt,name=lagId"`
}

LinkSetStatus defines the observed state of LinkSet

func (LinkSetStatus) CopyTo

CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource

func (*LinkSetStatus) DeepCopy

func (in *LinkSetStatus) DeepCopy() *LinkSetStatus

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

func (*LinkSetStatus) DeepCopyInto

func (in *LinkSetStatus) DeepCopyInto(out *LinkSetStatus)

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

func (LinkSetStatus) SubResourceName

func (LinkSetStatus) SubResourceName() string

SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource

type LinkSpec

type LinkSpec struct {

	// Endpoints define the 2 endpoint identifiers of the link
	// Can only have 2 endpoints
	Endpoints []*id.PartitionEndpointID `json:"endpoints" yaml:"endpoints" protobuf:"bytes,1,opt,name=endpoints"`
	// 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,2,opt,name=userDefinedLabels"`
	// BFD defines the BFD specific parameters on the link
	// +optional
	BFD *corenetworkv1alpha1.BFDLinkParameters `json:"bfd,omitempty" yaml:"bfd,omitempty" protobuf:"bytes,3,opt,name=bfd"`
	// OSPF defines the OSPF specific parameters on the link
	// +optional
	OSPF *corenetworkv1alpha1.OSPFLinkParameters `json:"ospf,omitempty" yaml:"ospf,omitempty" protobuf:"bytes,4,opt,name=ospf"`
	// ISIS defines the ISIS specific parameters on the link
	// +optional
	ISIS *corenetworkv1alpha1.ISISLinkParameters `json:"isis,omitempty" yaml:"isis,omitempty" protobuf:"bytes,5,opt,name=isis"`
	// BGP defines the BGP specific parameters on the link
	// +optional
	BGP *corenetworkv1alpha1.BGPLinkParameters `json:"bgp,omitempty" yaml:"bgp,omitempty" protobuf:"bytes,6,opt,name=bgp"`
}

LinkSpec defines the desired state of Link

func (*LinkSpec) DeepCopy

func (in *LinkSpec) DeepCopy() *LinkSpec

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

func (*LinkSpec) DeepCopyInto

func (in *LinkSpec) DeepCopyInto(out *LinkSpec)

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

type LinkStatus

type LinkStatus 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"`
}

LinkStatus defines the observed state of Link

func (LinkStatus) CopyTo

CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource

func (*LinkStatus) DeepCopy

func (in *LinkStatus) DeepCopy() *LinkStatus

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

func (*LinkStatus) DeepCopyInto

func (in *LinkStatus) DeepCopyInto(out *LinkStatus)

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

func (LinkStatus) SubResourceName

func (LinkStatus) SubResourceName() string

SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource

type Location

type Location struct {
	Latitude  string `json:"latitude" yaml:"latitude" protobuf:"bytes,1,opt,name=latitude"`
	Longitude string `json:"longitude" yaml:"longitude" protobuf:"bytes,2,opt,name=longitude"`
}

func (*Location) DeepCopy

func (in *Location) DeepCopy() *Location

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

func (*Location) DeepCopyInto

func (in *Location) DeepCopyInto(out *Location)

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

type Module

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

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

A module refers to a hardware component or expansion module that can be installed within a ModuleBay of a Node. Modules provide additional functionality and capabilities to the infrastructure environment, allowing users to enhance and customize their deployments according to specific requirements.

func (*Module) DeepCopy

func (in *Module) DeepCopy() *Module

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

func (*Module) DeepCopyInto

func (in *Module) DeepCopyInto(out *Module)

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

func (*Module) DeepCopyObject

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

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

func (*Module) FieldLabelConversion

func (r *Module) FieldLabelConversion() runtime.FieldLabelConversionFunc

FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource

func (*Module) FieldSelector

func (r *Module) FieldSelector() func(ctx context.Context, fieldSelector fields.Selector) (resource.Filter, error)

func (Module) GetCategories

func (Module) GetCategories() []string

GetCategories return the categories of the resource GetCategories implements resource.Object

func (*Module) GetCondition

func (r *Module) GetCondition(t condition.ConditionType) condition.Condition

GetCondition returns the condition based on the condition kind

func (Module) GetGroupVersionResource

func (Module) GetGroupVersionResource() schema.GroupVersionResource

func (*Module) GetObjectMeta

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

GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object

func (Module) GetShortNames

func (Module) GetShortNames() []string

GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object

func (Module) GetSingularName

func (Module) GetSingularName() string

GetSingularName returns the singular name of the resource GetSingularName implements resource.Object

func (*Module) GetStatus

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

GetStatus return the resource.StatusSubResource interface

func (*Module) IsEqual

func (r *Module) IsEqual(ctx context.Context, obj, old runtime.Object) bool

IsEqual returns a bool indicating if the desired state of both resources is equal or not

func (*Module) IsStatusEqual

func (r *Module) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool

IsStatusEqual returns a bool indicating if the status of both resources is equal or not

func (Module) IsStorageVersion

func (Module) IsStorageVersion() bool

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

func (Module) NamespaceScoped

func (Module) NamespaceScoped() bool

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

func (Module) New

func (Module) New() runtime.Object

New return an empty resource New implements resource.Object

func (Module) NewList

func (Module) NewList() runtime.Object

NewList return an empty resourceList NewList implements resource.Object

func (*Module) PrepareForCreate

func (r *Module) PrepareForCreate(ctx context.Context, obj runtime.Object)

func (*Module) PrepareForStatusUpdate

func (r *Module) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)

PrepareForStatusUpdate prepares the status update

func (*Module) PrepareForUpdate

func (r *Module) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)

func (*Module) SetConditions

func (r *Module) 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 (*Module) TableConvertor

func (r *Module) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor

TableConvertor return the table format of the resource

func (*Module) ValidateCreate

func (r *Module) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList

ValidateCreate statically validates

func (*Module) ValidateStatusUpdate

func (r *Module) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

ValidateStatusUpdate validates status updates

func (*Module) ValidateUpdate

func (r *Module) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

type ModuleBay

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

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

A ModuleBay serves as a modular slot or enclosure within a Node, designed to accommodate additional modules. ModuleBays provide a flexible and scalable approach to extending the capabilities of Nodes, allowing users to customize and enhance their infrastructure deployments according to specific requirements.

func (*ModuleBay) DeepCopy

func (in *ModuleBay) DeepCopy() *ModuleBay

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

func (*ModuleBay) DeepCopyInto

func (in *ModuleBay) DeepCopyInto(out *ModuleBay)

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

func (*ModuleBay) DeepCopyObject

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

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

func (*ModuleBay) FieldLabelConversion

func (r *ModuleBay) FieldLabelConversion() runtime.FieldLabelConversionFunc

FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource

func (*ModuleBay) FieldSelector

func (r *ModuleBay) FieldSelector() func(ctx context.Context, fieldSelector fields.Selector) (resource.Filter, error)

func (ModuleBay) GetCategories

func (ModuleBay) GetCategories() []string

GetCategories return the categories of the resource GetCategories implements resource.Object

func (*ModuleBay) GetCondition

GetCondition returns the condition based on the condition kind

func (ModuleBay) GetGroupVersionResource

func (ModuleBay) GetGroupVersionResource() schema.GroupVersionResource

func (*ModuleBay) GetObjectMeta

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

GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object

func (ModuleBay) GetShortNames

func (ModuleBay) GetShortNames() []string

GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object

func (ModuleBay) GetSingularName

func (ModuleBay) GetSingularName() string

GetSingularName returns the singular name of the resource GetSingularName implements resource.Object

func (*ModuleBay) GetStatus

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

GetStatus return the resource.StatusSubResource interface

func (*ModuleBay) IsEqual

func (r *ModuleBay) IsEqual(ctx context.Context, obj, old runtime.Object) bool

IsEqual returns a bool indicating if the desired state of both resources is equal or not

func (*ModuleBay) IsStatusEqual

func (r *ModuleBay) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool

IsStatusEqual returns a bool indicating if the status of both resources is equal or not

func (ModuleBay) IsStorageVersion

func (ModuleBay) IsStorageVersion() bool

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

func (ModuleBay) NamespaceScoped

func (ModuleBay) NamespaceScoped() bool

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

func (ModuleBay) New

func (ModuleBay) New() runtime.Object

New return an empty resource New implements resource.Object

func (ModuleBay) NewList

func (ModuleBay) NewList() runtime.Object

NewList return an empty resourceList NewList implements resource.Object

func (*ModuleBay) PrepareForCreate

func (r *ModuleBay) PrepareForCreate(ctx context.Context, obj runtime.Object)

func (*ModuleBay) PrepareForStatusUpdate

func (r *ModuleBay) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)

PrepareForStatusUpdate prepares the status update

func (*ModuleBay) PrepareForUpdate

func (r *ModuleBay) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)

func (*ModuleBay) SetConditions

func (r *ModuleBay) 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 (*ModuleBay) TableConvertor

func (r *ModuleBay) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor

TableConvertor return the table format of the resource

func (*ModuleBay) ValidateCreate

func (r *ModuleBay) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList

ValidateCreate statically validates

func (*ModuleBay) ValidateStatusUpdate

func (r *ModuleBay) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

ValidateStatusUpdate validates status updates

func (*ModuleBay) ValidateUpdate

func (r *ModuleBay) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

type ModuleBayFilter

type ModuleBayFilter 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 (*ModuleBayFilter) DeepCopy

func (in *ModuleBayFilter) DeepCopy() *ModuleBayFilter

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

func (*ModuleBayFilter) DeepCopyInto

func (in *ModuleBayFilter) DeepCopyInto(out *ModuleBayFilter)

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

func (*ModuleBayFilter) Filter

func (r *ModuleBayFilter) Filter(ctx context.Context, obj runtime.Object) bool

type ModuleBayList

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

func (*ModuleBayList) DeepCopy

func (in *ModuleBayList) DeepCopy() *ModuleBayList

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

func (*ModuleBayList) DeepCopyInto

func (in *ModuleBayList) DeepCopyInto(out *ModuleBayList)

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

func (*ModuleBayList) DeepCopyObject

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

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

func (*ModuleBayList) GetListMeta

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

GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList

type ModuleBaySpec

type ModuleBaySpec struct {
	// NodeID identifies the node identity this resource belongs to
	id.PartitionNodeID `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=nodeID"`
	// Position defines the position in the node the moduleBay is deployed
	Position int `json:"psoition" yaml:"psoition" protobuf:"bytes,2,opt,name=psoition"`
	// 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"`
}

ModuleBaySpec defines the desired state of ModuleBay

func (*ModuleBaySpec) DeepCopy

func (in *ModuleBaySpec) DeepCopy() *ModuleBaySpec

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

func (*ModuleBaySpec) DeepCopyInto

func (in *ModuleBaySpec) DeepCopyInto(out *ModuleBaySpec)

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

type ModuleBayStatus

type ModuleBayStatus 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"`
}

ModuleBayStatus defines the observed state of ModuleBay

func (ModuleBayStatus) CopyTo

CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource

func (*ModuleBayStatus) DeepCopy

func (in *ModuleBayStatus) DeepCopy() *ModuleBayStatus

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

func (*ModuleBayStatus) DeepCopyInto

func (in *ModuleBayStatus) DeepCopyInto(out *ModuleBayStatus)

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

func (ModuleBayStatus) SubResourceName

func (ModuleBayStatus) SubResourceName() string

SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource

type ModuleFilter

type ModuleFilter 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 (*ModuleFilter) DeepCopy

func (in *ModuleFilter) DeepCopy() *ModuleFilter

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

func (*ModuleFilter) DeepCopyInto

func (in *ModuleFilter) DeepCopyInto(out *ModuleFilter)

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

func (*ModuleFilter) Filter

func (r *ModuleFilter) Filter(ctx context.Context, obj runtime.Object) bool

type ModuleList

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

func (*ModuleList) DeepCopy

func (in *ModuleList) DeepCopy() *ModuleList

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

func (*ModuleList) DeepCopyInto

func (in *ModuleList) DeepCopyInto(out *ModuleList)

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

func (*ModuleList) DeepCopyObject

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

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

func (*ModuleList) GetListMeta

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

GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList

type ModuleSpec

type ModuleSpec struct {
	// NodeID identifies the node identity this resource belongs to
	id.PartitionNodeID `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=nodeID"`
	// ModuelBay defines the bay in which the module is deployed
	ModuleBay int `json:"moduleBay" yaml:"moduleBay" protobuf:"bytes,2,opt,name=moduleBay"`
	// 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"`
}

ModuleSpec defines the desired state of Module

func (*ModuleSpec) DeepCopy

func (in *ModuleSpec) DeepCopy() *ModuleSpec

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

func (*ModuleSpec) DeepCopyInto

func (in *ModuleSpec) DeepCopyInto(out *ModuleSpec)

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

type ModuleStatus

type ModuleStatus 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"`
}

ModuleStatus defines the observed state of Module

func (ModuleStatus) CopyTo

CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource

func (*ModuleStatus) DeepCopy

func (in *ModuleStatus) DeepCopy() *ModuleStatus

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

func (*ModuleStatus) DeepCopyInto

func (in *ModuleStatus) DeepCopyInto(out *ModuleStatus)

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

func (ModuleStatus) SubResourceName

func (ModuleStatus) SubResourceName() string

SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource

type Node

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

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

+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:skipversion A Node represents a fundamental unit that implements compute, storage, and/or networking within your environment. Nodes can embody physical, virtual, or containerized entities, offering versatility in deployment options to suit diverse infrastructure requirements. Nodes are logically organized within racks and sites/regions, establishing a hierarchical structure for efficient resource management and organization. Additionally, Nodes are associated with nodeGroups, facilitating centralized management and control within defined administrative boundaries. Each Node is assigned a provider, representing the entity responsible for implementing the specifics of the Node.

func (*Node) DeepCopy

func (in *Node) DeepCopy() *Node

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

func (*Node) DeepCopyInto

func (in *Node) DeepCopyInto(out *Node)

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

func (*Node) DeepCopyObject

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

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

func (*Node) FieldLabelConversion

func (r *Node) FieldLabelConversion() runtime.FieldLabelConversionFunc

FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource

func (*Node) FieldSelector

func (r *Node) FieldSelector() func(ctx context.Context, fieldSelector fields.Selector) (resource.Filter, error)

func (Node) GetCategories

func (Node) GetCategories() []string

GetCategories return the categories of the resource GetCategories implements resource.Object

func (*Node) GetCondition

func (r *Node) GetCondition(t condition.ConditionType) condition.Condition

GetCondition returns the condition based on the condition kind

func (Node) GetGroupVersionResource

func (Node) GetGroupVersionResource() schema.GroupVersionResource

func (*Node) GetObjectMeta

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

GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object

func (Node) GetShortNames

func (Node) GetShortNames() []string

GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object

func (Node) GetSingularName

func (Node) GetSingularName() string

GetSingularName returns the singular name of the resource GetSingularName implements resource.Object

func (*Node) GetStatus

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

GetStatus return the resource.StatusSubResource interface

func (*Node) IsEqual

func (r *Node) IsEqual(ctx context.Context, obj, old runtime.Object) bool

IsEqual returns a bool indicating if the desired state of both resources is equal or not

func (*Node) IsStatusEqual

func (r *Node) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool

IsStatusEqual returns a bool indicating if the status of both resources is equal or not

func (Node) IsStorageVersion

func (Node) IsStorageVersion() bool

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

func (Node) NamespaceScoped

func (Node) NamespaceScoped() bool

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

func (Node) New

func (Node) New() runtime.Object

New return an empty resource New implements resource.Object

func (Node) NewList

func (Node) NewList() runtime.Object

NewList return an empty resourceList NewList implements resource.Object

func (*Node) PrepareForCreate

func (r *Node) PrepareForCreate(ctx context.Context, obj runtime.Object)

func (*Node) PrepareForStatusUpdate

func (r *Node) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)

PrepareForStatusUpdate prepares the status update

func (*Node) PrepareForUpdate

func (r *Node) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)

func (*Node) SetConditions

func (r *Node) 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 (*Node) TableConvertor

func (r *Node) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor

TableConvertor return the table format of the resource

func (*Node) ValidateCreate

func (r *Node) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList

ValidateCreate statically validates

func (*Node) ValidateStatusUpdate

func (r *Node) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

ValidateStatusUpdate validates status updates

func (*Node) ValidateUpdate

func (r *Node) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

type NodeFilter

type NodeFilter 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 (*NodeFilter) DeepCopy

func (in *NodeFilter) DeepCopy() *NodeFilter

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

func (*NodeFilter) DeepCopyInto

func (in *NodeFilter) DeepCopyInto(out *NodeFilter)

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

func (*NodeFilter) Filter

func (r *NodeFilter) Filter(ctx context.Context, obj runtime.Object) bool

type NodeItem

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

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

+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:skipversion A NodeItem represents a specific hardware component or accessory associated with a Node. NodeItems represent a wide range of hardware elements, e.g Fan(s), PowerUnit(s), CPU(s), and other peripheral devices essential for the operation of the Node. NodeItem is used to represent the modular components of a node.

func (*NodeItem) DeepCopy

func (in *NodeItem) DeepCopy() *NodeItem

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

func (*NodeItem) DeepCopyInto

func (in *NodeItem) DeepCopyInto(out *NodeItem)

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

func (*NodeItem) DeepCopyObject

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

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

func (*NodeItem) FieldLabelConversion

func (r *NodeItem) FieldLabelConversion() runtime.FieldLabelConversionFunc

FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource

func (*NodeItem) FieldSelector

func (r *NodeItem) FieldSelector() func(ctx context.Context, fieldSelector fields.Selector) (resource.Filter, error)

func (NodeItem) GetCategories

func (NodeItem) GetCategories() []string

GetCategories return the categories of the resource GetCategories implements resource.Object

func (*NodeItem) GetCondition

func (r *NodeItem) GetCondition(t condition.ConditionType) condition.Condition

GetCondition returns the condition based on the condition kind

func (NodeItem) GetGroupVersionResource

func (NodeItem) GetGroupVersionResource() schema.GroupVersionResource

func (*NodeItem) GetObjectMeta

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

GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object

func (NodeItem) GetShortNames

func (NodeItem) GetShortNames() []string

GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object

func (NodeItem) GetSingularName

func (NodeItem) GetSingularName() string

GetSingularName returns the singular name of the resource GetSingularName implements resource.Object

func (*NodeItem) GetStatus

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

GetStatus return the resource.StatusSubResource interface

func (*NodeItem) IsEqual

func (r *NodeItem) IsEqual(ctx context.Context, obj, old runtime.Object) bool

IsEqual returns a bool indicating if the desired state of both resources is equal or not

func (*NodeItem) IsStatusEqual

func (r *NodeItem) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool

IsStatusEqual returns a bool indicating if the status of both resources is equal or not

func (NodeItem) IsStorageVersion

func (NodeItem) IsStorageVersion() bool

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

func (NodeItem) NamespaceScoped

func (NodeItem) NamespaceScoped() bool

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

func (NodeItem) New

func (NodeItem) New() runtime.Object

New return an empty resource New implements resource.Object

func (NodeItem) NewList

func (NodeItem) NewList() runtime.Object

NewList return an empty resourceList NewList implements resource.Object

func (*NodeItem) PrepareForCreate

func (r *NodeItem) PrepareForCreate(ctx context.Context, obj runtime.Object)

func (*NodeItem) PrepareForStatusUpdate

func (r *NodeItem) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)

PrepareForStatusUpdate prepares the status update

func (*NodeItem) PrepareForUpdate

func (r *NodeItem) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)

func (*NodeItem) SetConditions

func (r *NodeItem) 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 (*NodeItem) TableConvertor

func (r *NodeItem) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor

TableConvertor return the table format of the resource

func (*NodeItem) ValidateCreate

func (r *NodeItem) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList

ValidateCreate statically validates

func (*NodeItem) ValidateStatusUpdate

func (r *NodeItem) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

ValidateStatusUpdate validates status updates

func (*NodeItem) ValidateUpdate

func (r *NodeItem) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

type NodeItemFilter

type NodeItemFilter 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 (*NodeItemFilter) DeepCopy

func (in *NodeItemFilter) DeepCopy() *NodeItemFilter

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

func (*NodeItemFilter) DeepCopyInto

func (in *NodeItemFilter) DeepCopyInto(out *NodeItemFilter)

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

func (*NodeItemFilter) Filter

func (r *NodeItemFilter) Filter(ctx context.Context, obj runtime.Object) bool

type NodeItemList

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

NodeItemList contains a list of NodeItems +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*NodeItemList) DeepCopy

func (in *NodeItemList) DeepCopy() *NodeItemList

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

func (*NodeItemList) DeepCopyInto

func (in *NodeItemList) DeepCopyInto(out *NodeItemList)

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

func (*NodeItemList) DeepCopyObject

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

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

func (*NodeItemList) GetListMeta

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

GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList

type NodeItemSpec

type NodeItemSpec struct {
	// NodeID identifies the node identity this resource belongs to
	id.PartitionNodeID `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=nodeID"`
	// 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,2,opt,name=userDefinedLabels"`
}

NodeItemSpec defines the desired state of NodeItem

func (*NodeItemSpec) DeepCopy

func (in *NodeItemSpec) DeepCopy() *NodeItemSpec

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

func (*NodeItemSpec) DeepCopyInto

func (in *NodeItemSpec) DeepCopyInto(out *NodeItemSpec)

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

type NodeItemStatus

type NodeItemStatus 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"`
}

NodeItemStatus defines the observed state of NodeItem

func (NodeItemStatus) CopyTo

CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource

func (*NodeItemStatus) DeepCopy

func (in *NodeItemStatus) DeepCopy() *NodeItemStatus

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

func (*NodeItemStatus) DeepCopyInto

func (in *NodeItemStatus) DeepCopyInto(out *NodeItemStatus)

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

func (NodeItemStatus) SubResourceName

func (NodeItemStatus) SubResourceName() string

SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource

type NodeList

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

NodeList contains a list of Nodes +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:skipversion

func (*NodeList) DeepCopy

func (in *NodeList) DeepCopy() *NodeList

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

func (*NodeList) DeepCopyInto

func (in *NodeList) DeepCopyInto(out *NodeList)

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

func (*NodeList) DeepCopyObject

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

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

func (*NodeList) GetListMeta

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

GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList

type NodeSet

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

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

+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:skipversion A NodeSet represents a set of nodes. E.g. it can be used to model a set of nodes in a NodeSet that share the same charecteristics wrt, Numa, interfaces, etc. Another usage of NodeSet is the representation of a virtual Node that consists of multiple nodes.

func (*NodeSet) DeepCopy

func (in *NodeSet) DeepCopy() *NodeSet

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

func (*NodeSet) DeepCopyInto

func (in *NodeSet) DeepCopyInto(out *NodeSet)

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

func (*NodeSet) DeepCopyObject

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

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

func (*NodeSet) FieldLabelConversion

func (r *NodeSet) FieldLabelConversion() runtime.FieldLabelConversionFunc

FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource

func (*NodeSet) FieldSelector

func (r *NodeSet) FieldSelector() func(ctx context.Context, fieldSelector fields.Selector) (resource.Filter, error)

func (NodeSet) GetCategories

func (NodeSet) GetCategories() []string

GetCategories return the categories of the resource GetCategories implements resource.Object

func (*NodeSet) GetCondition

func (r *NodeSet) GetCondition(t condition.ConditionType) condition.Condition

GetCondition returns the condition based on the condition kind

func (NodeSet) GetGroupVersionResource

func (NodeSet) GetGroupVersionResource() schema.GroupVersionResource

func (*NodeSet) GetObjectMeta

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

GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object

func (NodeSet) GetShortNames

func (NodeSet) GetShortNames() []string

GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object

func (NodeSet) GetSingularName

func (NodeSet) GetSingularName() string

GetSingularName returns the singular name of the resource GetSingularName implements resource.Object

func (*NodeSet) GetStatus

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

GetStatus return the resource.StatusSubResource interface

func (*NodeSet) IsEqual

func (r *NodeSet) IsEqual(ctx context.Context, obj, old runtime.Object) bool

IsEqual returns a bool indicating if the desired state of both resources is equal or not

func (*NodeSet) IsStatusEqual

func (r *NodeSet) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool

IsStatusEqual returns a bool indicating if the status of both resources is equal or not

func (NodeSet) IsStorageVersion

func (NodeSet) IsStorageVersion() bool

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

func (NodeSet) NamespaceScoped

func (NodeSet) NamespaceScoped() bool

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

func (NodeSet) New

func (NodeSet) New() runtime.Object

New return an empty resource New implements resource.Object

func (NodeSet) NewList

func (NodeSet) NewList() runtime.Object

NewList return an empty resourceList NewList implements resource.Object

func (*NodeSet) PrepareForCreate

func (r *NodeSet) PrepareForCreate(ctx context.Context, obj runtime.Object)

func (*NodeSet) PrepareForStatusUpdate

func (r *NodeSet) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)

PrepareForStatusUpdate prepares the status update

func (*NodeSet) PrepareForUpdate

func (r *NodeSet) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)

func (*NodeSet) SetConditions

func (r *NodeSet) 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 (*NodeSet) TableConvertor

func (r *NodeSet) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor

TableConvertor return the table format of the resource

func (*NodeSet) ValidateCreate

func (r *NodeSet) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList

ValidateCreate statically validates

func (*NodeSet) ValidateStatusUpdate

func (r *NodeSet) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

ValidateStatusUpdate validates status updates

func (*NodeSet) ValidateUpdate

func (r *NodeSet) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

type NodeSetFilter

type NodeSetFilter 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 (*NodeSetFilter) DeepCopy

func (in *NodeSetFilter) DeepCopy() *NodeSetFilter

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

func (*NodeSetFilter) DeepCopyInto

func (in *NodeSetFilter) DeepCopyInto(out *NodeSetFilter)

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

func (*NodeSetFilter) Filter

func (r *NodeSetFilter) Filter(ctx context.Context, obj runtime.Object) bool

type NodeSetList

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

NodeSetList contains a list of NodeSets +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:skipversion

func (*NodeSetList) DeepCopy

func (in *NodeSetList) DeepCopy() *NodeSetList

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

func (*NodeSetList) DeepCopyInto

func (in *NodeSetList) DeepCopyInto(out *NodeSetList)

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

func (*NodeSetList) DeepCopyObject

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

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

func (*NodeSetList) GetListMeta

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

GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList

type NodeSetSpec

type NodeSetSpec struct {
	NodeSet string `json:"nodeSet" yaml:"nodeSet" protobuf:"bytes,1,opt,name=nodeSet"`
	// PartitionClusterID defines the cluster partition
	id.PartitionClusterID `json:",inline" yaml:",inline" protobuf:"bytes,2,opt,name=nodeID"`
	// UserDefinedLabels define metadata to the resource.
	// defined in the spec to distingiush metadata labels from user defined labels
	common.ClaimLabels `json:",inline" yaml:",inline" protobuf:"bytes,3,opt,name=userDefinedLabels"`
}

NodeSetSetSpec defines the desired state of NodeSet

func (*NodeSetSpec) DeepCopy

func (in *NodeSetSpec) DeepCopy() *NodeSetSpec

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

func (*NodeSetSpec) DeepCopyInto

func (in *NodeSetSpec) DeepCopyInto(out *NodeSetSpec)

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

type NodeSetStatus

type NodeSetStatus 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"`
}

NodeSetStatus defines the observed state of NodeSet

func (NodeSetStatus) CopyTo

CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource

func (*NodeSetStatus) DeepCopy

func (in *NodeSetStatus) DeepCopy() *NodeSetStatus

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

func (*NodeSetStatus) DeepCopyInto

func (in *NodeSetStatus) DeepCopyInto(out *NodeSetStatus)

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

func (NodeSetStatus) SubResourceName

func (NodeSetStatus) SubResourceName() string

SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource

type NodeSpec

type NodeSpec struct {
	// NodeGroupNodeID identifies the nodeGroup identity this resource belongs to
	id.PartitionNodeID `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=nodeID"`
	// Rack defines the rack in which the node is deployed
	// +optional
	Rack *string `json:"rack,omitempty" yaml:"rack,omitempty" protobuf:"bytes,2,opt,name=rack"`
	// relative position in the rack
	// +optional
	Position *string `json:"position,omitempty" yaml:"position,omitempty" protobuf:"bytes,3,opt,name=position"`
	// Location defines the location information where this resource is located
	// in lon/lat coordinates
	// +optional
	Location *Location `json:"location,omitempty" yaml:"location,omitempty" protobuf:"bytes,4,opt,name=location"`
	// Provider defines the provider implementing this resource.
	Provider string `json:"provider" yaml:"provider" protobuf:"bytes,5,opt,name=provider"`
	// PlatformType define the type of platform implementing the nodespec
	PlatformType string `json:"platformType" yaml:"platformType" protobuf:"bytes,6,opt,name=platformType"`
	// 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,7,opt,name=userDefinedLabels"`
}

NodeSpec defines the desired state of Node

func (*NodeSpec) DeepCopy

func (in *NodeSpec) DeepCopy() *NodeSpec

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

func (*NodeSpec) DeepCopyInto

func (in *NodeSpec) DeepCopyInto(out *NodeSpec)

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

type NodeStatus

type NodeStatus 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"`
	// System ID define the unique system id of the node
	// +optional
	SystemID *string `json:"systemID,omitempty" yaml:"systemID,omitempty" protobuf:"bytes,2,opt,name=systemID"`
}

NodeStatus defines the observed state of Node

func (NodeStatus) CopyTo

CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource

func (*NodeStatus) DeepCopy

func (in *NodeStatus) DeepCopy() *NodeStatus

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

func (*NodeStatus) DeepCopyInto

func (in *NodeStatus) DeepCopyInto(out *NodeStatus)

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

func (NodeStatus) SubResourceName

func (NodeStatus) SubResourceName() string

SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource

type Partition

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

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

+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:skipversion

func (*Partition) DeepCopy

func (in *Partition) DeepCopy() *Partition

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

func (*Partition) DeepCopyInto

func (in *Partition) DeepCopyInto(out *Partition)

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

func (*Partition) DeepCopyObject

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

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

func (*Partition) FieldLabelConversion

func (r *Partition) FieldLabelConversion() runtime.FieldLabelConversionFunc

FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource

func (*Partition) FieldSelector

func (r *Partition) FieldSelector() func(ctx context.Context, fieldSelector fields.Selector) (resource.Filter, error)

func (Partition) GetCategories

func (Partition) GetCategories() []string

GetCategories return the categories of the resource GetCategories implements resource.Object

func (*Partition) GetCondition

GetCondition returns the condition based on the condition kind

func (Partition) GetGroupVersionResource

func (Partition) GetGroupVersionResource() schema.GroupVersionResource

func (*Partition) GetObjectMeta

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

GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object

func (Partition) GetShortNames

func (Partition) GetShortNames() []string

GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object

func (Partition) GetSingularName

func (Partition) GetSingularName() string

GetSingularName returns the singular name of the resource GetSingularName implements resource.Object

func (*Partition) GetStatus

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

GetStatus return the resource.StatusSubResource interface

func (*Partition) IsEqual

func (r *Partition) IsEqual(ctx context.Context, obj, old runtime.Object) bool

IsEqual returns a bool indicating if the desired state of both resources is equal or not

func (*Partition) IsStatusEqual

func (r *Partition) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool

IsStatusEqual returns a bool indicating if the status of both resources is equal or not

func (Partition) IsStorageVersion

func (Partition) IsStorageVersion() bool

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

func (Partition) NamespaceScoped

func (Partition) NamespaceScoped() bool

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

func (Partition) New

func (Partition) New() runtime.Object

New return an empty resource New implements resource.Object

func (Partition) NewList

func (Partition) NewList() runtime.Object

NewList return an empty resourceList NewList implements resource.Object

func (*Partition) PrepareForCreate

func (r *Partition) PrepareForCreate(ctx context.Context, obj runtime.Object)

func (*Partition) PrepareForStatusUpdate

func (r *Partition) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)

PrepareForStatusUpdate prepares the status update

func (*Partition) PrepareForUpdate

func (r *Partition) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)

func (*Partition) SetConditions

func (r *Partition) 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 (*Partition) TableConvertor

func (r *Partition) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor

TableConvertor return the table format of the resource

func (*Partition) ValidateCreate

func (r *Partition) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList

ValidateCreate statically validates

func (*Partition) ValidateStatusUpdate

func (r *Partition) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

ValidateStatusUpdate validates status updates

func (*Partition) ValidateUpdate

func (r *Partition) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

type PartitionFilter

type PartitionFilter 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 (*PartitionFilter) DeepCopy

func (in *PartitionFilter) DeepCopy() *PartitionFilter

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

func (*PartitionFilter) DeepCopyInto

func (in *PartitionFilter) DeepCopyInto(out *PartitionFilter)

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

func (*PartitionFilter) Filter

func (r *PartitionFilter) Filter(ctx context.Context, obj runtime.Object) bool

type PartitionList

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

PartitionList contains a list of Partitions +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:skipversion

func (*PartitionList) DeepCopy

func (in *PartitionList) DeepCopy() *PartitionList

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

func (*PartitionList) DeepCopyInto

func (in *PartitionList) DeepCopyInto(out *PartitionList)

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

func (*PartitionList) DeepCopyObject

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

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

func (*PartitionList) GetListMeta

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

GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList

type PartitionSpec

type PartitionSpec struct {
	// 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,7,opt,name=userDefinedLabels"`
}

PartitionSpec defines the desired state of the partition

func (*PartitionSpec) DeepCopy

func (in *PartitionSpec) DeepCopy() *PartitionSpec

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

func (*PartitionSpec) DeepCopyInto

func (in *PartitionSpec) DeepCopyInto(out *PartitionSpec)

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

type PartitionStatus

type PartitionStatus 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"`
}

PartitionStatus defines the observed state of Partition

func (PartitionStatus) CopyTo

CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource

func (*PartitionStatus) DeepCopy

func (in *PartitionStatus) DeepCopy() *PartitionStatus

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

func (*PartitionStatus) DeepCopyInto

func (in *PartitionStatus) DeepCopyInto(out *PartitionStatus)

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

func (PartitionStatus) SubResourceName

func (PartitionStatus) SubResourceName() string

SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource

type Port

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

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

+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:skipversion An Port represents a communication interface or connection point within a Node, facilitating network communication and data transfer between different components or systems within the environment. `Ports` serve as gateways for transmitting and receiving data, enabling seamless communication between Nodes.

func (*Port) DeepCopy

func (in *Port) DeepCopy() *Port

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

func (*Port) DeepCopyInto

func (in *Port) DeepCopyInto(out *Port)

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

func (*Port) DeepCopyObject

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

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

func (*Port) FieldLabelConversion

func (r *Port) FieldLabelConversion() runtime.FieldLabelConversionFunc

FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource

func (*Port) FieldSelector

func (r *Port) FieldSelector() func(ctx context.Context, fieldSelector fields.Selector) (resource.Filter, error)

func (Port) GetCategories

func (Port) GetCategories() []string

GetCategories return the categories of the resource GetCategories implements resource.Object

func (*Port) GetCondition

func (r *Port) GetCondition(t condition.ConditionType) condition.Condition

GetCondition returns the condition based on the condition kind

func (Port) GetGroupVersionResource

func (Port) GetGroupVersionResource() schema.GroupVersionResource

func (*Port) GetObjectMeta

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

GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object

func (Port) GetShortNames

func (Port) GetShortNames() []string

GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object

func (Port) GetSingularName

func (Port) GetSingularName() string

GetSingularName returns the singular name of the resource GetSingularName implements resource.Object

func (*Port) GetStatus

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

GetStatus return the resource.StatusSubResource interface

func (*Port) IsEqual

func (r *Port) IsEqual(ctx context.Context, obj, old runtime.Object) bool

IsEqual returns a bool indicating if the desired state of both resources is equal or not

func (*Port) IsStatusEqual

func (r *Port) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool

IsStatusEqual returns a bool indicating if the status of both resources is equal or not

func (Port) IsStorageVersion

func (Port) IsStorageVersion() bool

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

func (Port) NamespaceScoped

func (Port) NamespaceScoped() bool

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

func (Port) New

func (Port) New() runtime.Object

New return an empty resource New implements resource.Object

func (Port) NewList

func (Port) NewList() runtime.Object

NewList return an empty resourceList NewList implements resource.Object

func (*Port) PrepareForCreate

func (r *Port) PrepareForCreate(ctx context.Context, obj runtime.Object)

func (*Port) PrepareForStatusUpdate

func (r *Port) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)

PrepareForStatusUpdate prepares the status update

func (*Port) PrepareForUpdate

func (r *Port) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)

func (*Port) SetConditions

func (r *Port) 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 (*Port) TableConvertor

func (r *Port) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor

TableConvertor return the table format of the resource

func (*Port) ValidateCreate

func (r *Port) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList

ValidateCreate statically validates

func (*Port) ValidateStatusUpdate

func (r *Port) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

ValidateStatusUpdate validates status updates

func (*Port) ValidateUpdate

func (r *Port) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

type PortFilter

type PortFilter 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 (*PortFilter) DeepCopy

func (in *PortFilter) DeepCopy() *PortFilter

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

func (*PortFilter) DeepCopyInto

func (in *PortFilter) DeepCopyInto(out *PortFilter)

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

func (*PortFilter) Filter

func (r *PortFilter) Filter(ctx context.Context, obj runtime.Object) bool

type PortList

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

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:skipversion PortList contains a list of Ports

func (*PortList) DeepCopy

func (in *PortList) DeepCopy() *PortList

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

func (*PortList) DeepCopyInto

func (in *PortList) DeepCopyInto(out *PortList)

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

func (*PortList) DeepCopyObject

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

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

func (*PortList) GetListMeta

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

GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList

type PortSpec

type PortSpec struct {
	// PartitionPortID the Port identity this resource belongs to
	id.PartitionPortID `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=partitionPortID"`
	// 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"`
}

PortSpec defines the desired state of Port

func (*PortSpec) DeepCopy

func (in *PortSpec) DeepCopy() *PortSpec

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

func (*PortSpec) DeepCopyInto

func (in *PortSpec) DeepCopyInto(out *PortSpec)

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

type PortStatus

type PortStatus 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"`
}

PortStatus defines the observed state of Port

func (PortStatus) CopyTo

CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource

func (*PortStatus) DeepCopy

func (in *PortStatus) DeepCopy() *PortStatus

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

func (*PortStatus) DeepCopyInto

func (in *PortStatus) DeepCopyInto(out *PortStatus)

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

func (PortStatus) SubResourceName

func (PortStatus) SubResourceName() string

SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource

type Rack

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

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

+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:skipversion A rack represents a physical equipment rack within your environment. Each rack is designed to accommodate the installation of devices and equipment.

func (*Rack) DeepCopy

func (in *Rack) DeepCopy() *Rack

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

func (*Rack) DeepCopyInto

func (in *Rack) DeepCopyInto(out *Rack)

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

func (*Rack) DeepCopyObject

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

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

func (*Rack) FieldLabelConversion

func (r *Rack) FieldLabelConversion() runtime.FieldLabelConversionFunc

FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource

func (*Rack) FieldSelector

func (r *Rack) FieldSelector() func(ctx context.Context, fieldSelector fields.Selector) (resource.Filter, error)

func (Rack) GetCategories

func (Rack) GetCategories() []string

GetCategories return the categories of the resource GetCategories implements resource.Object

func (*Rack) GetCondition

func (r *Rack) GetCondition(t condition.ConditionType) condition.Condition

GetCondition returns the condition based on the condition kind

func (Rack) GetGroupVersionResource

func (Rack) GetGroupVersionResource() schema.GroupVersionResource

func (*Rack) GetObjectMeta

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

GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object

func (Rack) GetShortNames

func (Rack) GetShortNames() []string

GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object

func (Rack) GetSingularName

func (Rack) GetSingularName() string

GetSingularName returns the singular name of the resource GetSingularName implements resource.Object

func (*Rack) GetStatus

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

GetStatus return the resource.StatusSubResource interface

func (*Rack) IsEqual

func (r *Rack) IsEqual(ctx context.Context, obj, old runtime.Object) bool

IsEqual returns a bool indicating if the desired state of both resources is equal or not

func (*Rack) IsStatusEqual

func (r *Rack) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool

IsStatusEqual returns a bool indicating if the status of both resources is equal or not

func (Rack) IsStorageVersion

func (Rack) IsStorageVersion() bool

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

func (Rack) NamespaceScoped

func (Rack) NamespaceScoped() bool

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

func (Rack) New

func (Rack) New() runtime.Object

New return an empty resource New implements resource.Object

func (Rack) NewList

func (Rack) NewList() runtime.Object

NewList return an empty resourceList NewList implements resource.Object

func (*Rack) PrepareForCreate

func (r *Rack) PrepareForCreate(ctx context.Context, obj runtime.Object)

func (*Rack) PrepareForStatusUpdate

func (r *Rack) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)

PrepareForStatusUpdate prepares the status update

func (*Rack) PrepareForUpdate

func (r *Rack) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)

func (*Rack) SetConditions

func (r *Rack) 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 (*Rack) TableConvertor

func (r *Rack) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor

TableConvertor return the table format of the resource

func (*Rack) ValidateCreate

func (r *Rack) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList

ValidateCreate statically validates

func (*Rack) ValidateStatusUpdate

func (r *Rack) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

ValidateStatusUpdate validates status updates

func (*Rack) ValidateUpdate

func (r *Rack) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

type RackFilter

type RackFilter 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 (*RackFilter) DeepCopy

func (in *RackFilter) DeepCopy() *RackFilter

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

func (*RackFilter) DeepCopyInto

func (in *RackFilter) DeepCopyInto(out *RackFilter)

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

func (*RackFilter) Filter

func (r *RackFilter) Filter(ctx context.Context, obj runtime.Object) bool

type RackList

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

RackList contains a list of Racks +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:skipversion

func (*RackList) DeepCopy

func (in *RackList) DeepCopy() *RackList

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

func (*RackList) DeepCopyInto

func (in *RackList) DeepCopyInto(out *RackList)

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

func (*RackList) DeepCopyObject

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

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

func (*RackList) GetListMeta

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

GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList

type RackSpec

type RackSpec struct {
	// SiteID identifies the siteID this resource belongs to
	id.SiteID `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=siteID"`
	// Location defines the location information where this resource is located
	// in lon/lat coordinates
	Location *Location `json:"location,omitempty" yaml:"location,omitempty" protobuf:"bytes,2,opt,name=location"`
	// The height of the rack, measured in units.
	Height string `json:"height,omitempty" yaml:"height,omitempty" protobuf:"bytes,3,opt,name=height"`
	// The canonical distance between the two vertical rails on a face. In inch
	Width string `json:"width,omitempty" yaml:"width,omitempty" protobuf:"bytes,4,opt,name=width"`
	// UserDefinedLabels define metadata to the resource.
	// defined in the spec to distingiush metadata labels from user defined label
	common.UserDefinedLabels `json:",inline" yaml:",inline" protobuf:"bytes,5,opt,name=userDefinedLabels"`
}

RackSpec defines the desired state of Rack

func (*RackSpec) DeepCopy

func (in *RackSpec) DeepCopy() *RackSpec

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

func (*RackSpec) DeepCopyInto

func (in *RackSpec) DeepCopyInto(out *RackSpec)

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

type RackStatus

type RackStatus 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"`
}

RackStatus defines the observed state of Rack

func (RackStatus) CopyTo

CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource

func (*RackStatus) DeepCopy

func (in *RackStatus) DeepCopy() *RackStatus

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

func (*RackStatus) DeepCopyInto

func (in *RackStatus) DeepCopyInto(out *RackStatus)

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

func (RackStatus) SubResourceName

func (RackStatus) SubResourceName() string

SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource

type Region

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

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

+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:skipversion A Region represent a geography in which multiple infrastructure resources are grouped A Region might represent a continent, country, city, campus, or other area depending on your environment.

func (*Region) DeepCopy

func (in *Region) DeepCopy() *Region

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

func (*Region) DeepCopyInto

func (in *Region) DeepCopyInto(out *Region)

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

func (*Region) DeepCopyObject

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

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

func (*Region) FieldLabelConversion

func (r *Region) FieldLabelConversion() runtime.FieldLabelConversionFunc

FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource

func (*Region) FieldSelector

func (r *Region) FieldSelector() func(ctx context.Context, fieldSelector fields.Selector) (resource.Filter, error)

func (Region) GetCategories

func (Region) GetCategories() []string

GetCategories return the categories of the resource GetCategories implements resource.Object

func (*Region) GetCondition

func (r *Region) GetCondition(t condition.ConditionType) condition.Condition

GetCondition returns the condition based on the condition kind

func (Region) GetGroupVersionResource

func (Region) GetGroupVersionResource() schema.GroupVersionResource

func (*Region) GetObjectMeta

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

GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object

func (Region) GetShortNames

func (Region) GetShortNames() []string

GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object

func (Region) GetSingularName

func (Region) GetSingularName() string

GetSingularName returns the singular name of the resource GetSingularName implements resource.Object

func (*Region) GetStatus

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

GetStatus return the resource.StatusSubResource interface

func (*Region) IsEqual

func (r *Region) IsEqual(ctx context.Context, obj, old runtime.Object) bool

IsEqual returns a bool indicating if the desired state of both resources is equal or not

func (*Region) IsStatusEqual

func (r *Region) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool

IsStatusEqual returns a bool indicating if the status of both resources is equal or not

func (Region) IsStorageVersion

func (Region) IsStorageVersion() bool

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

func (Region) NamespaceScoped

func (Region) NamespaceScoped() bool

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

func (Region) New

func (Region) New() runtime.Object

New return an empty resource New implements resource.Object

func (Region) NewList

func (Region) NewList() runtime.Object

NewList return an empty resourceList NewList implements resource.Object

func (*Region) PrepareForCreate

func (r *Region) PrepareForCreate(ctx context.Context, obj runtime.Object)

func (*Region) PrepareForStatusUpdate

func (r *Region) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)

PrepareForStatusUpdate prepares the status update

func (*Region) PrepareForUpdate

func (r *Region) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)

func (*Region) SetConditions

func (r *Region) 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 (*Region) TableConvertor

func (r *Region) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor

TableConvertor return the table format of the resource

func (*Region) ValidateCreate

func (r *Region) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList

ValidateCreate statically validates

func (*Region) ValidateStatusUpdate

func (r *Region) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

ValidateStatusUpdate validates status updates

func (*Region) ValidateUpdate

func (r *Region) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

type RegionFilter

type RegionFilter 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 (*RegionFilter) DeepCopy

func (in *RegionFilter) DeepCopy() *RegionFilter

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

func (*RegionFilter) DeepCopyInto

func (in *RegionFilter) DeepCopyInto(out *RegionFilter)

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

func (*RegionFilter) Filter

func (r *RegionFilter) Filter(ctx context.Context, obj runtime.Object) bool

type RegionList

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

RegionList contains a list of Regions +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:skipversion

func (*RegionList) DeepCopy

func (in *RegionList) DeepCopy() *RegionList

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

func (*RegionList) DeepCopyInto

func (in *RegionList) DeepCopyInto(out *RegionList)

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

func (*RegionList) DeepCopyObject

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

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

func (*RegionList) GetListMeta

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

GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList

type RegionSpec

type RegionSpec struct {
	// 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,1,opt,name=userDefinedLabels"`
}

RegionSpec defines the desired state of Region

func (*RegionSpec) DeepCopy

func (in *RegionSpec) DeepCopy() *RegionSpec

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

func (*RegionSpec) DeepCopyInto

func (in *RegionSpec) DeepCopyInto(out *RegionSpec)

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

type RegionStatus

type RegionStatus 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"`
}

RegionStatus defines the observed state of Region

func (RegionStatus) CopyTo

CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource

func (*RegionStatus) DeepCopy

func (in *RegionStatus) DeepCopy() *RegionStatus

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

func (*RegionStatus) DeepCopyInto

func (in *RegionStatus) DeepCopyInto(out *RegionStatus)

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

func (RegionStatus) SubResourceName

func (RegionStatus) SubResourceName() string

SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource

type Site

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

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

+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:skipversion A site serves as a fundamental organizational unit for managing infrastructure resources within your environment. The utilization of sites may vary based on the organizational structure and requirements, but in essence, each site typically corresponds to a distinct building or campus. +k8s:openapi-gen=true

func (*Site) DeepCopy

func (in *Site) DeepCopy() *Site

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

func (*Site) DeepCopyInto

func (in *Site) DeepCopyInto(out *Site)

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

func (*Site) DeepCopyObject

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

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

func (*Site) FieldLabelConversion

func (r *Site) FieldLabelConversion() runtime.FieldLabelConversionFunc

FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource

func (*Site) FieldSelector

func (r *Site) FieldSelector() func(ctx context.Context, fieldSelector fields.Selector) (resource.Filter, error)

func (Site) GetCategories

func (Site) GetCategories() []string

GetCategories return the categories of the resource GetCategories implements resource.Object

func (*Site) GetCondition

func (r *Site) GetCondition(t condition.ConditionType) condition.Condition

GetCondition returns the condition based on the condition kind

func (Site) GetGroupVersionResource

func (Site) GetGroupVersionResource() schema.GroupVersionResource

func (*Site) GetObjectMeta

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

GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object

func (Site) GetShortNames

func (Site) GetShortNames() []string

GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object

func (Site) GetSingularName

func (Site) GetSingularName() string

GetSingularName returns the singular name of the resource GetSingularName implements resource.Object

func (*Site) GetStatus

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

GetStatus return the resource.StatusSubResource interface

func (*Site) IsEqual

func (r *Site) IsEqual(ctx context.Context, obj, old runtime.Object) bool

IsEqual returns a bool indicating if the desired state of both resources is equal or not

func (*Site) IsStatusEqual

func (r *Site) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool

IsStatusEqual returns a bool indicating if the status of both resources is equal or not

func (Site) IsStorageVersion

func (Site) IsStorageVersion() bool

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

func (Site) NamespaceScoped

func (Site) NamespaceScoped() bool

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

func (Site) New

func (Site) New() runtime.Object

New return an empty resource New implements resource.Object

func (Site) NewList

func (Site) NewList() runtime.Object

NewList return an empty resourceList NewList implements resource.Object

func (*Site) PrepareForCreate

func (r *Site) PrepareForCreate(ctx context.Context, obj runtime.Object)

func (*Site) PrepareForStatusUpdate

func (r *Site) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)

PrepareForStatusUpdate prepares the status update

func (*Site) PrepareForUpdate

func (r *Site) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)

func (*Site) SetConditions

func (r *Site) 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 (*Site) TableConvertor

func (r *Site) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor

TableConvertor return the table format of the resource

func (*Site) ValidateCreate

func (r *Site) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList

ValidateCreate statically validates

func (*Site) ValidateStatusUpdate

func (r *Site) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

ValidateStatusUpdate validates status updates

func (*Site) ValidateUpdate

func (r *Site) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

type SiteFilter

type SiteFilter 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 (*SiteFilter) DeepCopy

func (in *SiteFilter) DeepCopy() *SiteFilter

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

func (*SiteFilter) DeepCopyInto

func (in *SiteFilter) DeepCopyInto(out *SiteFilter)

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

func (*SiteFilter) Filter

func (r *SiteFilter) Filter(ctx context.Context, obj runtime.Object) bool

type SiteList

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

SiteList contains a list of Sites +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:skipversion

func (*SiteList) DeepCopy

func (in *SiteList) DeepCopy() *SiteList

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

func (*SiteList) DeepCopyInto

func (in *SiteList) DeepCopyInto(out *SiteList)

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

func (*SiteList) DeepCopyObject

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

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

func (*SiteList) GetListMeta

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

GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList

type SiteSpec

type SiteSpec struct {
	// SiteID defines the siteID
	id.SiteID `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=siteID"`
	// Location defines the location information where this resource is located
	// in lon/lat coordinates
	Location *Location `json:"location,omitempty" yaml:"location,omitempty" protobuf:"bytes,2,opt,name=location"`
	// 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"`
}

SiteSpec defines the desired state of Site

func (*SiteSpec) DeepCopy

func (in *SiteSpec) DeepCopy() *SiteSpec

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

func (*SiteSpec) DeepCopyInto

func (in *SiteSpec) DeepCopyInto(out *SiteSpec)

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

type SiteStatus

type SiteStatus 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"`
}

SiteStatus defines the observed state of Site

func (SiteStatus) CopyTo

CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource

func (*SiteStatus) DeepCopy

func (in *SiteStatus) DeepCopy() *SiteStatus

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

func (*SiteStatus) DeepCopyInto

func (in *SiteStatus) DeepCopyInto(out *SiteStatus)

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

func (SiteStatus) SubResourceName

func (SiteStatus) SubResourceName() string

SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource

Directories

Path Synopsis
v1alpha1 is the v1alpha1 version of the API.
v1alpha1 is the v1alpha1 version of the API.

Jump to

Keyboard shortcuts

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