Documentation ¶
Index ¶
- type CurlCommand
- func (curlCmd *CurlCommand) CommandName() string
- func (curlCmd *CurlCommand) GetArtifactoryDetails() (*config.ArtifactoryDetails, error)
- func (curlCmd *CurlCommand) GetCmd() *exec.Cmd
- func (curlCmd *CurlCommand) GetEnv() map[string]string
- func (curlCmd *CurlCommand) GetErrWriter() io.WriteCloser
- func (curlCmd *CurlCommand) GetStdWriter() io.WriteCloser
- func (curlCmd *CurlCommand) RtDetails() (*config.ArtifactoryDetails, error)
- func (curlCmd *CurlCommand) Run() error
- func (curlCmd *CurlCommand) SetArguments(arguments []string) *CurlCommand
- func (curlCmd *CurlCommand) SetExecutablePath(executablePath string) *CurlCommand
- func (curlCmd *CurlCommand) SetRtDetails(rtDetails *config.ArtifactoryDetails) *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) GetArtifactoryDetails ¶
func (curlCmd *CurlCommand) GetArtifactoryDetails() (*config.ArtifactoryDetails, error)
Returns Artifactory details
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) GetStdWriter ¶
func (curlCmd *CurlCommand) GetStdWriter() io.WriteCloser
func (*CurlCommand) RtDetails ¶
func (curlCmd *CurlCommand) RtDetails() (*config.ArtifactoryDetails, error)
func (*CurlCommand) Run ¶
func (curlCmd *CurlCommand) Run() error
func (*CurlCommand) SetArguments ¶
func (curlCmd *CurlCommand) SetArguments(arguments []string) *CurlCommand
func (*CurlCommand) SetExecutablePath ¶
func (curlCmd *CurlCommand) SetExecutablePath(executablePath string) *CurlCommand
func (*CurlCommand) SetRtDetails ¶
func (curlCmd *CurlCommand) SetRtDetails(rtDetails *config.ArtifactoryDetails) *CurlCommand
Click to show internal directories.
Click to hide internal directories.