model

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StepEnumValue

type StepEnumValue struct {
	Enum     []schema.Step
	Default  schema.Step
	Selected schema.Step
}

StepEnumValue defines the values domain of --step option

func (*StepEnumValue) Set

func (s *StepEnumValue) Set(value string) error

Set the --step value, from raw string to StepEnumValue

func (StepEnumValue) String

func (s StepEnumValue) String() string

String representation of the step

Jump to

Keyboard shortcuts

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