Documentation ¶
Index ¶
- type CommonArgs
- func (ca *CommonArgs) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *CommonArgs
- func (ca *CommonArgs) SetNpmArgs(npmArgs []string) *CommonArgs
- func (ca *CommonArgs) SetRepo(repo string) *CommonArgs
- func (ca *CommonArgs) SetServerDetails(serverDetails *config.ServerDetails) *CommonArgs
- type NpmCommand
- func (nc *NpmCommand) CommandName() string
- func (nc *NpmCommand) CreateTempNpmrc() error
- func (nc *NpmCommand) GetRepo() string
- func (nc *NpmCommand) Init() error
- func (nc *NpmCommand) PreparePrerequisites(repo string) error
- func (nc *NpmCommand) RestoreNpmrcFunc() func() error
- func (nc *NpmCommand) Run() (err error)
- func (nc *NpmCommand) ServerDetails() (*config.ServerDetails, error)
- func (nc *NpmCommand) SetArgs(args []string) *NpmCommand
- func (nc *NpmCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *NpmCommand
- func (nc *NpmCommand) SetConfigFilePath(configFilePath string) *NpmCommand
- func (nc *NpmCommand) SetRepo(repo string) *NpmCommand
- func (nc *NpmCommand) SetRepoConfig(conf *utils.RepositoryConfig) *NpmCommand
- func (nc *NpmCommand) SetServerDetails(serverDetails *config.ServerDetails) *NpmCommand
- type NpmPublishCommand
- func (npc *NpmPublishCommand) CommandName() string
- func (npc *NpmPublishCommand) Init() error
- func (npc *NpmPublishCommand) IsDetailedSummary() bool
- func (npc *NpmPublishCommand) Result() *commandsutils.Result
- func (npc *NpmPublishCommand) Run() (err error)
- func (npc *NpmPublishCommand) ServerDetails() (*config.ServerDetails, error)
- func (npc *NpmPublishCommand) SetArgs(args []string) *NpmPublishCommand
- func (npc *NpmPublishCommand) SetConfigFilePath(configFilePath string) *NpmPublishCommand
- func (npc *NpmPublishCommand) SetDetailedSummary(detailedSummary bool) *NpmPublishCommand
- func (npc *NpmPublishCommand) SetScanOutputFormat(format xrutils.OutputFormat) *NpmPublishCommand
- func (npc *NpmPublishCommand) SetXrayScan(xrayScan bool) *NpmPublishCommand
- type NpmPublishCommandArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonArgs ¶ added in v2.5.0
type CommonArgs struct {
// contains filtered or unexported fields
}
func (*CommonArgs) SetBuildConfiguration ¶ added in v2.34.0
func (ca *CommonArgs) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *CommonArgs
func (*CommonArgs) SetNpmArgs ¶ added in v2.34.0
func (ca *CommonArgs) SetNpmArgs(npmArgs []string) *CommonArgs
func (*CommonArgs) SetRepo ¶ added in v2.34.0
func (ca *CommonArgs) SetRepo(repo string) *CommonArgs
func (*CommonArgs) SetServerDetails ¶ added in v2.34.0
func (ca *CommonArgs) SetServerDetails(serverDetails *config.ServerDetails) *CommonArgs
type NpmCommand ¶
type NpmCommand struct { CommonArgs // contains filtered or unexported fields }
func NewNpmCiCommand ¶
func NewNpmCiCommand() *NpmCommand
func NewNpmCommand ¶ added in v2.34.0
func NewNpmCommand(cmdName string, collectBuildInfo bool) *NpmCommand
func NewNpmInstallCommand ¶
func NewNpmInstallCommand() *NpmCommand
func (*NpmCommand) CommandName ¶ added in v2.34.0
func (nc *NpmCommand) CommandName() string
func (*NpmCommand) CreateTempNpmrc ¶ added in v2.34.0
func (nc *NpmCommand) CreateTempNpmrc() error
func (*NpmCommand) GetRepo ¶ added in v2.33.0
func (nc *NpmCommand) GetRepo() string
func (*NpmCommand) Init ¶ added in v2.34.0
func (nc *NpmCommand) Init() error
func (*NpmCommand) PreparePrerequisites ¶ added in v2.34.0
func (nc *NpmCommand) PreparePrerequisites(repo string) error
func (*NpmCommand) RestoreNpmrcFunc ¶ added in v2.34.0
func (nc *NpmCommand) RestoreNpmrcFunc() func() error
func (*NpmCommand) Run ¶ added in v2.34.0
func (nc *NpmCommand) Run() (err error)
func (*NpmCommand) ServerDetails ¶ added in v2.34.0
func (nc *NpmCommand) ServerDetails() (*config.ServerDetails, error)
func (*NpmCommand) SetArgs ¶ added in v2.34.0
func (nc *NpmCommand) SetArgs(args []string) *NpmCommand
func (*NpmCommand) SetBuildConfiguration ¶
func (nc *NpmCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *NpmCommand
func (*NpmCommand) SetConfigFilePath ¶ added in v2.34.0
func (nc *NpmCommand) SetConfigFilePath(configFilePath string) *NpmCommand
func (*NpmCommand) SetRepo ¶
func (nc *NpmCommand) SetRepo(repo string) *NpmCommand
func (*NpmCommand) SetRepoConfig ¶ added in v2.34.0
func (nc *NpmCommand) SetRepoConfig(conf *utils.RepositoryConfig) *NpmCommand
func (*NpmCommand) SetServerDetails ¶
func (nc *NpmCommand) SetServerDetails(serverDetails *config.ServerDetails) *NpmCommand
type NpmPublishCommand ¶
type NpmPublishCommand struct { *NpmPublishCommandArgs // contains filtered or unexported fields }
func NewNpmPublishCommand ¶
func NewNpmPublishCommand() *NpmPublishCommand
func (*NpmPublishCommand) CommandName ¶
func (npc *NpmPublishCommand) CommandName() string
func (*NpmPublishCommand) Init ¶ added in v2.5.0
func (npc *NpmPublishCommand) Init() error
func (*NpmPublishCommand) IsDetailedSummary ¶
func (npc *NpmPublishCommand) IsDetailedSummary() bool
func (*NpmPublishCommand) Result ¶
func (npc *NpmPublishCommand) Result() *commandsutils.Result
func (*NpmPublishCommand) Run ¶
func (npc *NpmPublishCommand) Run() (err error)
func (*NpmPublishCommand) ServerDetails ¶
func (npc *NpmPublishCommand) ServerDetails() (*config.ServerDetails, error)
func (*NpmPublishCommand) SetArgs ¶
func (npc *NpmPublishCommand) SetArgs(args []string) *NpmPublishCommand
func (*NpmPublishCommand) SetConfigFilePath ¶
func (npc *NpmPublishCommand) SetConfigFilePath(configFilePath string) *NpmPublishCommand
func (*NpmPublishCommand) SetDetailedSummary ¶
func (npc *NpmPublishCommand) SetDetailedSummary(detailedSummary bool) *NpmPublishCommand
func (*NpmPublishCommand) SetScanOutputFormat ¶ added in v2.4.1
func (npc *NpmPublishCommand) SetScanOutputFormat(format xrutils.OutputFormat) *NpmPublishCommand
func (*NpmPublishCommand) SetXrayScan ¶
func (npc *NpmPublishCommand) SetXrayScan(xrayScan bool) *NpmPublishCommand
type NpmPublishCommandArgs ¶
type NpmPublishCommandArgs struct { CommonArgs // contains filtered or unexported fields }
func NewNpmPublishCommandArgs ¶
func NewNpmPublishCommandArgs() *NpmPublishCommandArgs
Click to show internal directories.
Click to hide internal directories.