Documentation ¶
Index ¶
- func RunTypeStrings() []string
- type RunType
- func (i RunType) IsARunType() bool
- func (i RunType) MarshalJSON() ([]byte, error)
- func (i RunType) MarshalText() ([]byte, error)
- func (i RunType) MarshalYAML() (interface{}, error)
- func (i RunType) String() string
- func (i *RunType) UnmarshalJSON(data []byte) error
- func (i *RunType) UnmarshalText(text []byte) error
- func (i *RunType) UnmarshalYAML(unmarshal func(interface{}) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunTypeStrings ¶
func RunTypeStrings() []string
RunTypeStrings returns a slice of all String values of the enum
Types ¶
type RunType ¶
type RunType int
NOTE: make sure the enum values include and match those in RunType in dcs.pb.go
func RunTypeString ¶
RunTypeString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func (RunType) IsARunType ¶
IsARunType returns "true" if the value is listed in the enum definition. "false" otherwise
func (RunType) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for RunType
func (RunType) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface for RunType
func (RunType) MarshalYAML ¶
MarshalYAML implements a YAML Marshaler for RunType
func (*RunType) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for RunType
func (*RunType) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface for RunType
func (*RunType) UnmarshalYAML ¶
UnmarshalYAML implements a YAML Unmarshaler for RunType