flags

package
v0.51.1 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 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 Device

type Device struct {
	config.Device
	Changed bool
}

Device represents the RDC device configuration.

func (*Device) Set

func (d *Device) Set(s string) error

Set sets the device to the values present in s. The input has to be a comma separated string in the format of "key=value,key2=value2". This method is called by cobra when CLI flags are parsed.

func (Device) String

func (d Device) String() string

String returns a string represenation of the device.

func (Device) Type

func (d Device) Type() string

Type returns the value type.

type Emulator

type Emulator struct {
	config.Emulator
	Changed bool
}

Emulator represents the emulator configuration.

func (*Emulator) Set

func (e *Emulator) Set(s string) error

Set sets the emulator to the values present in s. The input has to be a comma separated string in the format of "key=value,key2=value2". This method is called by cobra when CLI flags are parsed.

func (Emulator) String

func (e Emulator) String() string

String returns a string represenation of the emulator.

func (Emulator) Type

func (e Emulator) Type() string

Type returns the value type.

type Simulator

type Simulator struct {
	config.Simulator
	Changed bool
}

Simulator represents the simulator configuration.

func (*Simulator) Set

func (e *Simulator) Set(s string) error

Set sets the simulator to the values present in s. The input has to be a comma separated string in the format of "key=value,key2=value2". This method is called by cobra when CLI flags are parsed.

func (Simulator) String

func (e Simulator) String() string

String returns a string represenation of the simulator.

func (Simulator) Type

func (e Simulator) Type() string

Type returns the value type.

Jump to

Keyboard shortcuts

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