Documentation ¶
Index ¶
Constants ¶
View Source
const ( ResourceGPU = "nvidia.com/gpu" IndexNodeName = "spec.nodeName" IndexPhase = "status.phase" GPUType = "aliyun.accelerator/nvidia_name" )
View Source
const ( DefaultPeId = "pe-1234" DefaultUserId = "user-1234" DefaultUserName = "user-abcd" )
View Source
const ApiV1Routes = "/api/v1alpha1"
View Source
const (
JobInfoTimeFormat = "2006-01-02 15:04:05"
)
Variables ¶
View Source
var ( PreservedNS = [...]string{"kube-system", "kube-public"} DefaultUINamespace = GetEnvOrDefault("MORPHLING_UI_NAMESPACE", "morphling-system") )
Functions ¶
func GetEnvOrDefault ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.