Versions in this module Expand all Collapse all v0 v0.0.1 Jan 1, 2026 Changes in this version + type Command struct + Desc string + Input io.ReadCloser + Name string + Run *string + Script *string + Stdin bool + Timeout int + Upload []*Upload + type Commands struct + Names []string + func (c *Commands) Get(name string) (Command, bool) + func (c *Commands) Set(name string, cmd Command) + func (c *Commands) UnmarshalYAML(unmarshal func(interface{}) error) error + type EnvList []*EnvVar + func (e *EnvList) AsExport() string + func (e *EnvList) ResolveValues() error + func (e *EnvList) Set(key, value string) + func (e *EnvList) UnmarshalYAML(unmarshal func(interface{}) error) error + func (e EnvList) Slice() []string + type EnvVar struct + Key string + Value string + func (e EnvVar) AsExport() string + func (e EnvVar) String() string + type ErrMustUpdate struct + Msg string + func (e ErrMustUpdate) Error() string + type ErrUnsupportedSupfileVersion struct + Msg string + func (e ErrUnsupportedSupfileVersion) Error() string + type Network struct + Bastion string + Env EnvList + IdentityFile string + Inventory string + Remotes []*structs.L2DeviceRemoteInfo + User string + func (n Network) ParseInventory() ([]string, error) + type Networks struct + Names []string + func (n *Networks) Get(name string) (Network, bool) + func (n *Networks) UnmarshalYAML(unmarshal func(interface{}) error) error + type SupConfig struct + Commands []*Command + Env *EnvList + Targets Targets + Version string + func NewSupConfg(data []byte) (*SupConfig, error) + func (s *SupConfig) AddEnv(key, value string) + func (s *SupConfig) RunCommand(name, cmd, desc string) (err error) + func (s *SupConfig) ScriptCommand(name, script string) (err error) + func (s *SupConfig) UploadCommand(name string, urls []*Upload) (err error) + type Supfile struct + Commands Commands + Env *EnvList + Networks Networks + Targets Targets + Version string + func NewSupfile(data []byte) (*Supfile, error) + type Targets struct + Names []string + func (t *Targets) Get(name string) ([]string, bool) + func (t *Targets) UnmarshalYAML(unmarshal func(interface{}) error) error + type Upload struct + Dst *string + Exc string + Name string + Src *string + Timeout int