Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
Factory of shell commands executors. Depending on the options, will create local or SSH executors.
func NewFactory ¶
func NewFactory(opts Options, logger *zap.SugaredLogger) (Factory, error)
func NewTestFactory ¶
func NewTestFactory() Factory
NewTestFactory creates a factory for testing, that only returns local command executors.
Click to show internal directories.
Click to hide internal directories.