Documentation ¶
Index ¶
- type CurlCommand
- func (curlCmd *CurlCommand) CommandName() string
- func (curlCmd *CurlCommand) GetCmd() *exec.Cmd
- func (curlCmd *CurlCommand) GetEnv() map[string]string
- func (curlCmd *CurlCommand) GetErrWriter() io.WriteCloser
- func (curlCmd *CurlCommand) GetServerDetails() (*config.ServerDetails, error)
- func (curlCmd *CurlCommand) GetStdWriter() io.WriteCloser
- func (curlCmd *CurlCommand) Run() error
- func (curlCmd *CurlCommand) ServerDetails() (*config.ServerDetails, error)
- func (curlCmd *CurlCommand) SetArguments(arguments []string) *CurlCommand
- func (curlCmd *CurlCommand) SetExecutablePath(executablePath string) *CurlCommand
- func (curlCmd *CurlCommand) SetServerDetails(serverDetails *config.ServerDetails) *CurlCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CurlCommand ¶
type CurlCommand struct {
// contains filtered or unexported fields
}
func NewCurlCommand ¶
func NewCurlCommand() *CurlCommand
func (*CurlCommand) CommandName ¶
func (curlCmd *CurlCommand) CommandName() string
func (*CurlCommand) GetCmd ¶
func (curlCmd *CurlCommand) GetCmd() *exec.Cmd
func (*CurlCommand) GetEnv ¶
func (curlCmd *CurlCommand) GetEnv() map[string]string
func (*CurlCommand) GetErrWriter ¶
func (curlCmd *CurlCommand) GetErrWriter() io.WriteCloser
func (*CurlCommand) GetServerDetails ¶ added in v1.4.0
func (curlCmd *CurlCommand) GetServerDetails() (*config.ServerDetails, error)
Returns Artifactory details
func (*CurlCommand) GetStdWriter ¶
func (curlCmd *CurlCommand) GetStdWriter() io.WriteCloser
func (*CurlCommand) Run ¶
func (curlCmd *CurlCommand) Run() error
func (*CurlCommand) ServerDetails ¶ added in v1.4.0
func (curlCmd *CurlCommand) ServerDetails() (*config.ServerDetails, error)
func (*CurlCommand) SetArguments ¶
func (curlCmd *CurlCommand) SetArguments(arguments []string) *CurlCommand
func (*CurlCommand) SetExecutablePath ¶
func (curlCmd *CurlCommand) SetExecutablePath(executablePath string) *CurlCommand
func (*CurlCommand) SetServerDetails ¶ added in v1.4.0
func (curlCmd *CurlCommand) SetServerDetails(serverDetails *config.ServerDetails) *CurlCommand
Click to show internal directories.
Click to hide internal directories.