types

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CgroupKey is the string used in resources map to represent cgroup resource
	CgroupKey = "cgroup"
	// DockerVolumeKey is the string used in resources map to represent docker volume
	DockerVolumeKey = "dockerVolume"
	ASMAuthKey      = asmauthres.ResourceName
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ResourcesMap

type ResourcesMap map[string][]taskresource.TaskResource

ResourcesMap represents the map of resource type to the corresponding resource objects

func (*ResourcesMap) UnmarshalJSON

func (rm *ResourcesMap) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals ResourcesMap object

Jump to

Keyboard shortcuts

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