types

package
v1.20.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2018 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 2 more 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