Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = types.APIVersion{ Version: "v1", Group: "workload.cattle.io", Path: "/v1-workload", SubContexts: map[string]bool{ "projects": true, }, } Schemas = factory.Schemas(&Version). Init(namespaceTypes). Init(podTypes). Init(nodeTypes). Init(deploymentTypes). Init(statefulSetTypes). Init(replicaSet). Init(replicationController). Init(daemonSet). Init(workloadTypes) )
Functions ¶
This section is empty.
Types ¶
type EnvironmentFrom ¶
type KubernetesInfo ¶
type MemoryInfo ¶
type MemoryInfo struct {
MemTotalKiB int64
}
type NodeInfo ¶
type NodeInfo struct { CPU CPUInfo Memory MemoryInfo OS OSInfo Kubernetes KubernetesInfo }
type NodeScheduling ¶
type ResourceRequest ¶
type Resources ¶
type Resources struct { CPU *ResourceRequest Memory *ResourceRequest NvidiaGPU *ResourceRequest }
type ScalingGroup ¶
type ScalingGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec interface{} `json:"spec"` Status interface{} `json:"status"` }
type Scheduling ¶
Click to show internal directories.
Click to hide internal directories.