config

package
v0.0.0-...-bc5839e Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runtime

type Runtime struct {
	// contains filtered or unexported fields
}

Runtime defines runtimes information

func NewRuntime

func NewRuntime(rts *map[string]types.Runtime) *Runtime

NewRuntime initials a Runtime struct

func (*Runtime) Set

func (r *Runtime) Set(val string) error

Set implement Runtime as pflag.Value interface

func (*Runtime) String

func (r *Runtime) String() string

String implement Runtime as pflag.Value interface

func (*Runtime) Type

func (r *Runtime) Type() string

Type implement Runtime as pflag.Value interface

type ThrottleBpsDevice

type ThrottleBpsDevice struct {
	// contains filtered or unexported fields
}

ThrottleBpsDevice defines throttle bps device

func (*ThrottleBpsDevice) Set

func (t *ThrottleBpsDevice) Set(val string) error

Set implement ThrottleBpsDevice as pflag.Value interface

func (*ThrottleBpsDevice) String

func (t *ThrottleBpsDevice) String() string

String implement ThrottleBpsDevice as pflag.Value interface

func (*ThrottleBpsDevice) Type

func (t *ThrottleBpsDevice) Type() string

Type implement ThrottleBpsDevice as pflag.Value interface

func (*ThrottleBpsDevice) Value

func (t *ThrottleBpsDevice) Value() []*types.ThrottleDevice

Value returns all values as type ThrottleDevice

type ThrottleIOpsDevice

type ThrottleIOpsDevice struct {
	// contains filtered or unexported fields
}

ThrottleIOpsDevice defines throttle iops device

func (*ThrottleIOpsDevice) Set

func (t *ThrottleIOpsDevice) Set(val string) error

Set implement ThrottleIOpsDevice as pflag.Value interface

func (*ThrottleIOpsDevice) String

func (t *ThrottleIOpsDevice) String() string

String implement ThrottleIOpsDevice as pflag.Value interface

func (*ThrottleIOpsDevice) Type

func (t *ThrottleIOpsDevice) Type() string

Type implement ThrottleIOpsDevice as pflag.Value interface

func (*ThrottleIOpsDevice) Value

func (t *ThrottleIOpsDevice) Value() []*types.ThrottleDevice

Value returns all values

type Ulimit

type Ulimit struct {
	// contains filtered or unexported fields
}

Ulimit defines ulimit options.

func (*Ulimit) Set

func (u *Ulimit) Set(val string) error

Set implement Ulimit as pflag.Value interface.

func (*Ulimit) String

func (u *Ulimit) String() string

String implement Ulimit as pflag.Value interface.

func (*Ulimit) Type

func (u *Ulimit) Type() string

Type implement Ulimit as pflag.Value interface.

func (*Ulimit) Value

func (u *Ulimit) Value() []*types.Ulimit

Value return ulimit values as type Ulimit

type Volumes

type Volumes struct {
	// contains filtered or unexported fields
}

Volumes holds a list of values.

func NewVolumes

func NewVolumes(v *Volumes) *Volumes

NewVolumes creates a new Volumes.

func (*Volumes) Set

func (v *Volumes) Set(val string) error

Set implement Volumes as pflag.Value interface.

func (*Volumes) String

func (v *Volumes) String() string

String implement Volumes as pflag.Value interface.

func (*Volumes) Type

func (v *Volumes) Type() string

Type implement Volumes as pflag.Value interface.

func (*Volumes) Value

func (v *Volumes) Value() []string

Value return values as type Volumes

type WeightDevice

type WeightDevice struct {
	// contains filtered or unexported fields
}

WeightDevice defines weight device

func (*WeightDevice) Set

func (w *WeightDevice) Set(val string) error

Set implement WeightDevice as pflag.Value interface

func (*WeightDevice) String

func (w *WeightDevice) String() string

String implement WeightDevice as pflag.Value interface

func (*WeightDevice) Type

func (w *WeightDevice) Type() string

Type implement WeightDevice as pflag.Value interface

func (*WeightDevice) Value

func (w *WeightDevice) Value() []*types.WeightDevice

Value returns all values as type WeightDevice

Jump to

Keyboard shortcuts

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