resource

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2019 License: Apache-2.0 Imports: 2 Imported by: 3

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL