Documentation ¶
Index ¶
Constants ¶
View Source
const ( CPU = "cpu" Memory = "memory" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JobResource ¶
type JobResource struct { WorkerCPU string WorkerMemory string PSCPU string PSMemory string MasterCPU string MasterMemory string }
func (JobResource) MasterLimits ¶
func (res JobResource) MasterLimits() (v1.ResourceList, error)
func (JobResource) PSLimits ¶
func (res JobResource) PSLimits() (v1.ResourceList, error)
func (JobResource) WorkerLimits ¶
func (res JobResource) WorkerLimits() (v1.ResourceList, error)
Click to show internal directories.
Click to hide internal directories.