Documentation ¶
Index ¶
- func MakeWriterTo(rs RemoteScript, env map[string]string, args ...string) (wt *writerTo, err error)
- func MakeWriterToWithStdin(rs RemoteScript, env map[string]string, r io.Reader, args ...string) (wt *writerTo, err error)
- type RemoteScript
- type RemoteScriptWithEnv
- type ScriptConfig
- type WithOutputFormat
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RemoteScriptWithEnv ¶
type RemoteScriptWithEnv interface { RemoteScript Environ() map[string]string }
type ScriptConfig ¶
type ScriptConfig struct { Description string `toml:"description"` Shell []string `toml:"shell,omitempty"` Script string `toml:"script,omitempty,multiline"` Env map[string]string `toml:"env,omitempty"` }
func (*ScriptConfig) Environ ¶
func (a *ScriptConfig) Environ() map[string]string
func (ScriptConfig) Equals ¶
func (a ScriptConfig) Equals(b ScriptConfig) bool
func (*ScriptConfig) Merge ¶
func (s *ScriptConfig) Merge(s2 ScriptConfig)
func (*ScriptConfig) Reset ¶
func (a *ScriptConfig) Reset()
type WithOutputFormat ¶
type WithOutputFormat struct { ScriptConfig UTI string `toml:"uti"` // deprecated UTIS []string `toml:"utis"` FileExtension string `toml:"file-extension"` }
func (WithOutputFormat) Equals ¶
func (a WithOutputFormat) Equals(b WithOutputFormat) bool
func (*WithOutputFormat) Merge ¶
func (s *WithOutputFormat) Merge(s2 WithOutputFormat)
Click to show internal directories.
Click to hide internal directories.