Documentation ¶
Index ¶
- Variables
- type ScriptDefault
- type Variant
- func (receiver *Variant) AsBasicByteEnumContractsBinder() coreinterface.BasicByteEnumContractsBinder
- func (receiver *Variant) AsBasicEnumContractsBinder() coreinterface.BasicEnumContractsBinder
- func (receiver *Variant) MarshalJSON() ([]byte, error)
- func (receiver *Variant) MaxByte() byte
- func (receiver *Variant) MinByte() byte
- func (receiver *Variant) Name() string
- func (receiver *Variant) RangesByte() []byte
- func (receiver *Variant) RangesVariants() []Variant
- func (receiver *Variant) ScriptDefault() *ScriptDefault
- func (receiver *Variant) String() string
- func (receiver *Variant) ToNumberString() string
- func (receiver *Variant) UnmarshalJSON(data []byte) error
- func (receiver *Variant) UnmarshallEnumToValue(jsonUnmarshallingValue []byte) (byte, error)
- func (receiver *Variant) ValueByte() byte
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RangesMap = map[Variant]*ScriptDefault{ Uninitialized: { ScriptType: Uninitialized, IsImplemented: false, }, Shell: { ScriptType: Shell, ProcessName: constants.BinShellCmd, DefaultArguments: []string{ constants.NonInteractiveFlag, }, IsImplemented: true, }, Bash: { ScriptType: Bash, ProcessName: constants.BashDefaultPath, DefaultArguments: []string{ constants.NonInteractiveFlag, }, IsImplemented: true, }, Perl: { ScriptType: Perl, ProcessName: "perl", DefaultArguments: []string{ "-e", }, IsImplemented: true, }, Python: { ScriptType: Python, ProcessName: "python", DefaultArguments: []string{ constants.NonInteractiveFlag, }, IsImplemented: false, }, Python2: { ScriptType: Python2, ProcessName: "python2", DefaultArguments: []string{ constants.NonInteractiveFlag, }, IsImplemented: false, }, Python3: { ScriptType: Python3, ProcessName: "python3", DefaultArguments: []string{ constants.NonInteractiveFlag, }, IsImplemented: true, }, CLang: { ScriptType: CLang, ProcessName: "gcc", DefaultArguments: []string{ constants.NonInteractiveFlag, }, IsImplemented: false, }, MakeScript: { ScriptType: MakeScript, ProcessName: "python3", DefaultArguments: []string{ constants.NonInteractiveFlag, }, IsImplemented: false, }, Powershell: { ScriptType: Powershell, ProcessName: "pwsh", DefaultArguments: []string{ constants.NonInteractiveFlag, }, IsImplemented: true, }, Cmd: { ScriptType: Cmd, ProcessName: "cmd", DefaultArguments: []string{ "/c", }, IsImplemented: true, }, } )
Functions ¶
This section is empty.
Types ¶
type ScriptDefault ¶
type ScriptDefault struct { ScriptType Variant ProcessName string DefaultArguments []string IsImplemented bool }
func (*ScriptDefault) String ¶
func (receiver *ScriptDefault) String() string
type Variant ¶
type Variant byte
func (*Variant) AsBasicByteEnumContractsBinder ¶
func (receiver *Variant) AsBasicByteEnumContractsBinder() coreinterface.BasicByteEnumContractsBinder
func (*Variant) AsBasicEnumContractsBinder ¶
func (receiver *Variant) AsBasicEnumContractsBinder() coreinterface.BasicEnumContractsBinder
func (*Variant) MarshalJSON ¶
func (*Variant) RangesByte ¶
func (*Variant) RangesVariants ¶
func (*Variant) ScriptDefault ¶
func (receiver *Variant) ScriptDefault() *ScriptDefault
func (*Variant) ToNumberString ¶ added in v0.5.3
func (*Variant) UnmarshalJSON ¶
func (*Variant) UnmarshallEnumToValue ¶ added in v0.5.3
Click to show internal directories.
Click to hide internal directories.