golang

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Index

Constants

View Source
const GoCommandName = "rt_go"

Variables

This section is empty.

Functions

This section is empty.

Types

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 added in v1.4.0

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

func (*GoCommand) SetBuildConfiguration

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

func (*GoCommand) SetDeployerParams

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

func (*GoCommand) SetGoArg

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

func (*GoCommand) SetNoRegistry

func (gc *GoCommand) SetNoRegistry(noRegistry bool) *GoCommand

func (*GoCommand) SetPublishDeps

func (gc *GoCommand) SetPublishDeps(publishDeps bool) *GoCommand

func (*GoCommand) SetResolverParams

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

type GoLegacyPublishCommand added in v1.5.0

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

func NewGoLegacyPublishCommand added in v1.5.0

func NewGoLegacyPublishCommand() *GoLegacyPublishCommand

func (*GoLegacyPublishCommand) CommandName added in v1.5.0

func (glpc *GoLegacyPublishCommand) CommandName() string

func (*GoLegacyPublishCommand) Run added in v1.5.0

func (glpc *GoLegacyPublishCommand) Run() error

func (*GoLegacyPublishCommand) SetPublishPackage added in v1.5.0

func (glpc *GoLegacyPublishCommand) SetPublishPackage(publishPackage bool) *GoLegacyPublishCommand

type GoNativeCommand

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

func NewGoNativeCommand

func NewGoNativeCommand() *GoNativeCommand

func (*GoNativeCommand) Run

func (gnc *GoNativeCommand) Run() error

func (*GoNativeCommand) ServerDetails added in v1.4.0

func (gnc *GoNativeCommand) ServerDetails() (*config.ServerDetails, error)

func (*GoNativeCommand) SetArgs

func (gnc *GoNativeCommand) SetArgs(args []string) *GoNativeCommand

func (*GoNativeCommand) SetConfigFilePath

func (gnc *GoNativeCommand) SetConfigFilePath(configFilePath string) *GoNativeCommand

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) Run

func (gpc *GoPublishCommand) Run() error

func (*GoPublishCommand) SetConfigFilePath added in v1.5.0

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

type GoPublishCommandArgs added in v1.5.0

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

func (*GoPublishCommandArgs) IsDetailedSummary added in v1.7.2

func (gpca *GoPublishCommandArgs) IsDetailedSummary() bool

func (*GoPublishCommandArgs) Result added in v1.5.0

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

func (*GoPublishCommandArgs) SetBuildConfiguration added in v1.5.0

func (gpca *GoPublishCommandArgs) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *GoPublishCommandArgs

func (*GoPublishCommandArgs) SetDependencies added in v1.5.0

func (gpca *GoPublishCommandArgs) SetDependencies(dependencies string) *GoPublishCommandArgs

func (*GoPublishCommandArgs) SetDetailedSummary added in v1.7.2

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

func (*GoPublishCommandArgs) SetVersion added in v1.5.0

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

Jump to

Keyboard shortcuts

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