npm

package
v2.43.0 Latest Latest
Warning

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

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

Documentation

Index

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 (ca *NpmCommand) CommandName() string

func (*NpmCommand) CreateTempNpmrc added in v2.34.0

func (ca *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 (ca *NpmCommand) Init() error

func (*NpmCommand) PreparePrerequisites added in v2.34.0

func (ca *NpmCommand) PreparePrerequisites(repo string) error

func (*NpmCommand) RestoreNpmrcFunc added in v2.34.0

func (ca *NpmCommand) RestoreNpmrcFunc() func() error

func (*NpmCommand) Run added in v2.34.0

func (ca *NpmCommand) Run() (err error)

func (*NpmCommand) ServerDetails added in v2.34.0

func (ca *NpmCommand) ServerDetails() (*config.ServerDetails, error)

func (*NpmCommand) SetArgs added in v2.34.0

func (ca *NpmCommand) SetArgs(args []string) *NpmCommand

func (*NpmCommand) SetBuildConfiguration

func (ca *NpmCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *NpmCommand

func (*NpmCommand) SetConfigFilePath added in v2.34.0

func (ca *NpmCommand) SetConfigFilePath(configFilePath string) *NpmCommand

func (*NpmCommand) SetRepo

func (ca *NpmCommand) SetRepo(repo string) *NpmCommand

func (*NpmCommand) SetRepoConfig added in v2.34.0

func (ca *NpmCommand) SetRepoConfig(conf *utils.RepositoryConfig) *NpmCommand

func (*NpmCommand) SetServerDetails

func (ca *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

Jump to

Keyboard shortcuts

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