Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the nodeinfo v1alpha1 API group +kubebuilder:object:generate=true +groupName=nodeinfo.volcano.sh
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "nodeinfo.volcano.sh", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = GroupVersion
SchemeGroupVersion is group version used to register these objects.
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Types ¶
type Numatopo ¶
type Numatopo struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the numa information of the worker node Spec NumatopoSpec `json:"spec,omitempty"` }
Numatopo is the Schema for the numatopoes API
func (*Numatopo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Numatopo.
func (*Numatopo) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Numatopo) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NumatopoList ¶
type NumatopoList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Numatopo `json:"items"` }
NumatopoList contains a list of Numatopo
func (*NumatopoList) DeepCopy ¶
func (in *NumatopoList) DeepCopy() *NumatopoList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NumatopoList.
func (*NumatopoList) DeepCopyInto ¶
func (in *NumatopoList) DeepCopyInto(out *NumatopoList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NumatopoList) DeepCopyObject ¶
func (in *NumatopoList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NumatopoSpec ¶
type NumatopoSpec struct { // Specifies the policy of the manager // +optional Policies map[PolicyName]string `json:"policies,omitempty"` // Specifies the numa info for the resource // Key is resource name // +optional NumaResMap map[ResourceName]ResourceInfoMap `json:"numares,omitempty"` }
NumatopoSpec defines the desired state of Numatopo
func (*NumatopoSpec) DeepCopy ¶
func (in *NumatopoSpec) DeepCopy() *NumatopoSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NumatopoSpec.
func (*NumatopoSpec) DeepCopyInto ¶
func (in *NumatopoSpec) DeepCopyInto(out *NumatopoSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyName ¶
type PolicyName string
const ( CPUManagerPolicy PolicyName = "CPUManagerPolicy" TopologyManagerPolicy PolicyName = "TopologyManagerPolicy" )
type ResourceInfo ¶
type ResourceName ¶
type ResourceName string