Documentation
¶
Index ¶
- func AppendCommandEnvsToTask(cmd *supfile.Command, task *entity.Task)
- func CheckInitialArgs(network *supfile.Network, initialArgs *entity.InitialArgs)
- func CreateTasks(cmd *supfile.Command, clients []entity.ClientFacade, env supfile.EnvList, ...) ([]*entity.Task, error)
- func EnsureLocalhost(supFile *supfile.Supfile)
- func FilterNonPrintable(r io.Reader) (string, error)
- func ResolveLocalPath(cwd, path, env string) (string, error)
- func ResolvePath(path string) string
- type Stackup
- func (sup *Stackup) ConnectToBastionHostHelper(network *supfile.Network) (entity.ClientFacade, error)
- func (sup *Stackup) ConnectToHostsHelper(network *supfile.Network, bastion entity.ClientFacade) ([]entity.ClientFacade, int, []string)
- func (sup *Stackup) Debug(value bool)
- func (sup *Stackup) Prefix(value bool)
- func (sup *Stackup) Run(runOrder entity.RunOrder) error
- func (sup *Stackup) WrapError(traceID, hint string, err error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendCommandEnvsToTask ¶
func CheckInitialArgs ¶
func CheckInitialArgs(network *supfile.Network, initialArgs *entity.InitialArgs)
func CreateTasks ¶
func EnsureLocalhost ¶
func FilterNonPrintable ¶ added in v0.7.1
@this original 81A0C135-69EA-4736-AFD4-1D132A2DB91E@
func ResolveLocalPath ¶
ResolveLocalPath - Use bash to resolve $ENV_VARs. like: `~/dir` or `$HOME/dir`
func ResolvePath ¶
ResolvePath resolves a path relative to the current working directory
Types ¶
type Stackup ¶
type Stackup struct {
Args *entity.InitialArgs
// contains filtered or unexported fields
}
func NewStackup ¶
NewStackup creates a new Stackup instance.
func (*Stackup) ConnectToBastionHostHelper ¶ added in v0.7.1
func (sup *Stackup) ConnectToBastionHostHelper(network *supfile.Network) (entity.ClientFacade, error)
Helper function to connect to the bastion host.
func (*Stackup) ConnectToHostsHelper ¶ added in v0.7.1
func (sup *Stackup) ConnectToHostsHelper(network *supfile.Network, bastion entity.ClientFacade) ([]entity.ClientFacade, int, []string)
ConnectToHostsHelper is a helper function to connect to all hosts.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.