Documentation ¶
Index ¶
- func SetArtifactoryAsResolutionServer(serverDetails *config.ServerDetails, depsRepo string, ...) (err error)
- func SetGoModCache(cacheFolder string) error
- type File
- type GoCommand
- func (gc *GoCommand) CommandName() string
- func (gc *GoCommand) Run() error
- func (gc *GoCommand) ServerDetails() (*config.ServerDetails, error)
- func (gc *GoCommand) SetBuildConfiguration(buildConfiguration *buildUtils.BuildConfiguration) *GoCommand
- func (gc *GoCommand) SetConfigFilePath(configFilePath string) *GoCommand
- func (gc *GoCommand) SetDeployerParams(deployerParams *project.RepositoryConfig) *GoCommand
- func (gc *GoCommand) SetGoArg(goArg []string) *GoCommand
- func (gc *GoCommand) SetResolverParams(resolverParams *project.RepositoryConfig) *GoCommand
- type GoPublishCommand
- type GoPublishCommandArgs
- func (gpc *GoPublishCommandArgs) IsDetailedSummary() bool
- func (gpc *GoPublishCommandArgs) Result() *commandutils.Result
- func (gpc *GoPublishCommandArgs) SetBuildConfiguration(buildConfiguration *buildUtils.BuildConfiguration) *GoPublishCommandArgs
- func (gpc *GoPublishCommandArgs) SetDetailedSummary(detailedSummary bool) *GoPublishCommandArgs
- func (gpc *GoPublishCommandArgs) SetExcludedPatterns(excludedPatterns []string) *GoPublishCommandArgs
- func (gpc *GoPublishCommandArgs) SetVersion(version string) *GoPublishCommandArgs
- type PackageVersionResponseContent
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
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 (*GoCommand) ServerDetails ¶
func (gc *GoCommand) ServerDetails() (*config.ServerDetails, error)
func (*GoCommand) SetBuildConfiguration ¶
func (gc *GoCommand) SetBuildConfiguration(buildConfiguration *buildUtils.BuildConfiguration) *GoCommand
func (*GoCommand) SetConfigFilePath ¶
func (*GoCommand) SetDeployerParams ¶
func (gc *GoCommand) SetDeployerParams(deployerParams *project.RepositoryConfig) *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"`
}
Click to show internal directories.
Click to hide internal directories.