Documentation ¶
Overview ¶
Package v1 is the v1 version of the API. +groupName=inspur.com
Index ¶
Constants ¶
const ( // GroupName is the group name used in this package. GroupName = "inspur.com" // GroupVersion is the version of scheduling group GroupVersion = "v1" )
Variables ¶
var ( // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: GroupVersion}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func RegisterDeepCopies
deprecated
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type NodeCache ¶
type NodeCache struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec NodeCacheSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // The status of NCDataSet. // +optional Status NodeCacheStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
func (*NodeCache) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeCache.
func (*NodeCache) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeCache) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeCacheList ¶
type NodeCacheList struct { metav1.TypeMeta `json:",inline"` // Standard list metadata // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // items is the list of NCDataSet Items []NodeCache `json:"items" protobuf:"bytes,2,rep,name=items"` }
NodeCacheList is a collection of NodeCache.
func (*NodeCacheList) DeepCopy ¶
func (in *NodeCacheList) DeepCopy() *NodeCacheList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeCacheList.
func (*NodeCacheList) DeepCopyInto ¶
func (in *NodeCacheList) DeepCopyInto(out *NodeCacheList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeCacheList) DeepCopyObject ¶
func (in *NodeCacheList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeCacheSpec ¶
type NodeCacheSpec struct { // dataset list //Datasets []DataSetSummary `json:"datasets,omitempty" protobuf:"bytes,1,opt,name=datasets"` Datasets string `json:"datasets,omitempty" protobuf:"bytes,1,opt,name=datasets"` // Disk size unit :GB FreeSize int64 `json:"freesize,omitempty" protobuf:"bytes,2,opt,name=freesize"` // Disk size unit :GB AllocatableSize int64 `json:"allocatablesize,omitempty" protobuf:"bytes,2,opt,name=allocatablesize"` }
func (*NodeCacheSpec) DeepCopy ¶
func (in *NodeCacheSpec) DeepCopy() *NodeCacheSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeCacheSpec.
func (*NodeCacheSpec) DeepCopyInto ¶
func (in *NodeCacheSpec) DeepCopyInto(out *NodeCacheSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeCacheStatus ¶
type NodeCacheStatus struct { // The number of 'Unknonw' NodeCache in this Node. Unknown int32 `json:"unknown,omitempty" protobuf:"bytes,1,opt,name=unknown"` // The number of 'Pending' NodeCache in this queue. Pending int32 `json:"pending,omitempty" protobuf:"bytes,2,opt,name=pending"` // The number of 'Running' NodeCache in this queue. Running int32 `json:"running,omitempty" protobuf:"bytes,3,opt,name=running"` }
NodeCacheStatus represents the status of NodeCche.
func (*NodeCacheStatus) DeepCopy ¶
func (in *NodeCacheStatus) DeepCopy() *NodeCacheStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeCacheStatus.
func (*NodeCacheStatus) DeepCopyInto ¶
func (in *NodeCacheStatus) DeepCopyInto(out *NodeCacheStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.