curl

package
v1.2.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL