Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the intel v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=intel.com
Package v1alpha1 contains API Schema definitions for the intel v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=intel.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "intel.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
This section is empty.
Types ¶
type Cache ¶
Cache defines cache parameters for workload
func (*Cache) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cache.
func (*Cache) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Pstate ¶
type Pstate struct { Ratio string `json:"ratio,omniempty"` Monitoring string `json:"monitoring,omniempty"` }
Pstate defines pstate parametes for workload
func (*Pstate) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pstate.
func (*Pstate) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RmdNodeState ¶
type RmdNodeState struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RmdNodeStateSpec `json:"spec,omitempty"` Status RmdNodeStateStatus `json:"status,omitempty"` }
RmdNodeState is the Schema for the rmdnodestates API +kubebuilder:subresource:status +kubebuilder:resource:path=rmdnodestates,scope=Namespaced
func (*RmdNodeState) DeepCopy ¶
func (in *RmdNodeState) DeepCopy() *RmdNodeState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RmdNodeState.
func (*RmdNodeState) DeepCopyInto ¶
func (in *RmdNodeState) DeepCopyInto(out *RmdNodeState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RmdNodeState) DeepCopyObject ¶
func (in *RmdNodeState) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RmdNodeStateList ¶
type RmdNodeStateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RmdNodeState `json:"items"` }
RmdNodeStateList contains a list of RmdNodeState
func (*RmdNodeStateList) DeepCopy ¶
func (in *RmdNodeStateList) DeepCopy() *RmdNodeStateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RmdNodeStateList.
func (*RmdNodeStateList) DeepCopyInto ¶
func (in *RmdNodeStateList) DeepCopyInto(out *RmdNodeStateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RmdNodeStateList) DeepCopyObject ¶
func (in *RmdNodeStateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RmdNodeStateSpec ¶
type RmdNodeStateSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html Node string `json:"node"` NodeUID string `json:"nodeUid"` }
RmdNodeStateSpec defines the desired state of RmdNodeState
func (*RmdNodeStateSpec) DeepCopy ¶
func (in *RmdNodeStateSpec) DeepCopy() *RmdNodeStateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RmdNodeStateSpec.
func (*RmdNodeStateSpec) DeepCopyInto ¶
func (in *RmdNodeStateSpec) DeepCopyInto(out *RmdNodeStateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RmdNodeStateStatus ¶
type RmdNodeStateStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html Workloads map[string]WorkloadMap `json:"workloads"` }
RmdNodeStateStatus defines the observed state of RmdNodeState
func (*RmdNodeStateStatus) DeepCopy ¶
func (in *RmdNodeStateStatus) DeepCopy() *RmdNodeStateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RmdNodeStateStatus.
func (*RmdNodeStateStatus) DeepCopyInto ¶
func (in *RmdNodeStateStatus) DeepCopyInto(out *RmdNodeStateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RmdWorkload ¶
type RmdWorkload struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RmdWorkloadSpec `json:"spec,omitempty"` Status RmdWorkloadStatus `json:"status,omitempty"` }
RmdWorkload is the Schema for the rmdworkloads API +kubebuilder:subresource:status +kubebuilder:resource:path=rmdworkloads,scope=Namespaced
func (*RmdWorkload) DeepCopy ¶
func (in *RmdWorkload) DeepCopy() *RmdWorkload
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RmdWorkload.
func (*RmdWorkload) DeepCopyInto ¶
func (in *RmdWorkload) DeepCopyInto(out *RmdWorkload)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RmdWorkload) DeepCopyObject ¶
func (in *RmdWorkload) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RmdWorkloadList ¶
type RmdWorkloadList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RmdWorkload `json:"items"` }
RmdWorkloadList contains a list of RmdWorkload
func (*RmdWorkloadList) DeepCopy ¶
func (in *RmdWorkloadList) DeepCopy() *RmdWorkloadList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RmdWorkloadList.
func (*RmdWorkloadList) DeepCopyInto ¶
func (in *RmdWorkloadList) DeepCopyInto(out *RmdWorkloadList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RmdWorkloadList) DeepCopyObject ¶
func (in *RmdWorkloadList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RmdWorkloadSpec ¶
type RmdWorkloadSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html CoreIds []string `json:"coreIds"` Policy string `json:"policy,omniempty"` Cache Cache `json:"cache"` Pstate Pstate `json:"pstate,omniempty"` Nodes []string `json:"nodes"` }
RmdWorkloadSpec defines the desired state of RmdWorkload
func (*RmdWorkloadSpec) DeepCopy ¶
func (in *RmdWorkloadSpec) DeepCopy() *RmdWorkloadSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RmdWorkloadSpec.
func (*RmdWorkloadSpec) DeepCopyInto ¶
func (in *RmdWorkloadSpec) DeepCopyInto(out *RmdWorkloadSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RmdWorkloadStatus ¶
type RmdWorkloadStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html WorkloadStates map[string]WorkloadState `json:"workloadStates"` }
RmdWorkloadStatus defines the observed state of RmdWorkload
func (*RmdWorkloadStatus) DeepCopy ¶
func (in *RmdWorkloadStatus) DeepCopy() *RmdWorkloadStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RmdWorkloadStatus.
func (*RmdWorkloadStatus) DeepCopyInto ¶
func (in *RmdWorkloadStatus) DeepCopyInto(out *RmdWorkloadStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadMap ¶
WorkloadMap stores string values of workload data for RmdNodeStatus
func (WorkloadMap) DeepCopy ¶
func (in WorkloadMap) DeepCopy() WorkloadMap
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadMap.
func (WorkloadMap) DeepCopyInto ¶
func (in WorkloadMap) DeepCopyInto(out *WorkloadMap)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadState ¶
type WorkloadState struct { Response string `json:"response"` ID string `json:"id"` CosName string `json:"cosName"` Status string `json:"status"` }
WorkloadState defines state of a workload for a single node
func (*WorkloadState) DeepCopy ¶
func (in *WorkloadState) DeepCopy() *WorkloadState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadState.
func (*WorkloadState) DeepCopyInto ¶
func (in *WorkloadState) DeepCopyInto(out *WorkloadState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.