golang

package
v2.53.2 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: Apache-2.0 Imports: 37 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetArtifactoryAsResolutionServer added in v2.48.0

func SetArtifactoryAsResolutionServer(serverDetails *config.ServerDetails, depsRepo string, goProxyParams goutils.GoProxyUrlParams) (err error)

func SetGoModCache added in v2.53.1

func SetGoModCache(cacheFolder string) error

Types

type File added in v2.5.0

type File interface {
	// Path returns a clean slash-separated relative path from the module root
	// directory to the file.
	Path() string

	// Lstat returns information about the file. If the file is a symbolic link,
	// Lstat returns information about the link itself, not the file it points to.
	Lstat() (os.FileInfo, error)

	// Open provides access to the data within a regular file. Open may return
	// an error if called on a directory or symbolic link.
	Open() (io.ReadCloser, error)
}

File provides an abstraction for a file in a directory, zip, or anything else that looks like a file.

type GoCommand

type GoCommand struct {
	// contains filtered or unexported fields
}

func NewGoCommand

func NewGoCommand() *GoCommand

func (*GoCommand) CommandName

func (gc *GoCommand) CommandName() string

func (*GoCommand) Run

func (gc *GoCommand) Run() error

func (*GoCommand) ServerDetails

func (gc *GoCommand) ServerDetails() (*config.ServerDetails, error)

func (*GoCommand) SetBuildConfiguration

func (gc *GoCommand) SetBuildConfiguration(buildConfiguration *buildUtils.BuildConfiguration) *GoCommand

func (*GoCommand) SetConfigFilePath

func (gc *GoCommand) SetConfigFilePath(configFilePath string) *GoCommand

func (*GoCommand) SetDeployerParams

func (gc *GoCommand) SetDeployerParams(deployerParams *project.RepositoryConfig) *GoCommand

func (*GoCommand) SetGoArg

func (gc *GoCommand) SetGoArg(goArg []string) *GoCommand

func (*GoCommand) SetResolverParams

func (gc *GoCommand) SetResolverParams(resolverParams *project.RepositoryConfig) *GoCommand

type GoPublishCommand

type GoPublishCommand struct {
	*GoPublishCommandArgs
	// contains filtered or unexported fields
}

func NewGoPublishCommand

func NewGoPublishCommand() *GoPublishCommand

func (*GoPublishCommand) CommandName

func (gpc *GoPublishCommand) CommandName() string

func (*GoPublishCommand) GetExcludedPatterns added in v2.39.0

func (gpc *GoPublishCommand) GetExcludedPatterns() []string

func (*GoPublishCommand) Run

func (gpc *GoPublishCommand) Run() error

func (*GoPublishCommand) SetConfigFilePath

func (gpc *GoPublishCommand) SetConfigFilePath(configFilePath string) *GoPublishCommand

type GoPublishCommandArgs

type GoPublishCommandArgs struct {
	project.RepositoryConfig
	// contains filtered or unexported fields
}

func (*GoPublishCommandArgs) IsDetailedSummary

func (gpc *GoPublishCommandArgs) IsDetailedSummary() bool

func (*GoPublishCommandArgs) Result

func (gpc *GoPublishCommandArgs) Result() *commandutils.Result

func (*GoPublishCommandArgs) SetBuildConfiguration

func (gpc *GoPublishCommandArgs) SetBuildConfiguration(buildConfiguration *buildUtils.BuildConfiguration) *GoPublishCommandArgs

func (*GoPublishCommandArgs) SetDetailedSummary

func (gpc *GoPublishCommandArgs) SetDetailedSummary(detailedSummary bool) *GoPublishCommandArgs

func (*GoPublishCommandArgs) SetExcludedPatterns added in v2.39.0

func (gpc *GoPublishCommandArgs) SetExcludedPatterns(excludedPatterns []string) *GoPublishCommandArgs

func (*GoPublishCommandArgs) SetVersion

func (gpc *GoPublishCommandArgs) SetVersion(version string) *GoPublishCommandArgs

type PackageVersionResponseContent added in v2.7.4

type PackageVersionResponseContent struct {
	Version string `json:"Version,omitempty"`
}

Jump to

Keyboard shortcuts

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