golang

package
v2.41.6 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: Apache-2.0 Imports: 36 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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 *utils.BuildConfiguration) *GoCommand

func (*GoCommand) SetConfigFilePath

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

func (*GoCommand) SetDeployerParams

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

func (*GoCommand) SetGoArg

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

func (*GoCommand) SetResolverParams

func (gc *GoCommand) SetResolverParams(resolverParams *utils.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 {
	utils.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 *utils.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