config

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Driver                string
	ExtraConfigPath       string
	DockerEndpoint        string
	QueryPort             int
	QueryAddr             string
	KubeConfig            string
	Standalone            bool
	SamplePeriod          time.Duration
	Hostname              string
	NodeLabels            map[string]string
	VirtualManagerPath    string
	DevicePluginPath      string
	VolumeConfigPath      string
	EnableShare           bool
	AllocationCheckPeriod time.Duration
	InClusterMode         bool
	CheckpointPath        string

	VCudaRequestsQueue chan *types.VCudaRequest
}

Config contains the necessary options for the plugin.

type ExtraConfig

type ExtraConfig struct {
	Devices []string `json:"devices,omitempty"`
}

ExtraConfig contains extra options other than Config

Jump to

Keyboard shortcuts

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