Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllPlugins ¶
AllPlugins executes specified plugins in a loop
func CLIContext ¶
func CLIContext()
CLIContext executes all plugins with handling for the command line
func GetPackBinary ¶
GetPackBinary finds provided service pack in installation folder and return binary name
Types ¶
type ServicePackError ¶
ServicePackError retains an error object and the name of the pack that generated it
func Plugin ¶
func Plugin(cmd *exec.Cmd, spErrors []ServicePackError) ([]ServicePackError, error)
Plugin executes single plugin based on the provided command
type ServicePackErrors ¶
type ServicePackErrors struct {
Errors []ServicePackError
}
ServicePackErrors holds a list of errors and an Error() method so it adheres to the standard Error interface
func (*ServicePackErrors) Error ¶
func (e *ServicePackErrors) Error() string
Click to show internal directories.
Click to hide internal directories.