Documentation ¶
Index ¶
- type NpmCommand
- func (nc *NpmCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *NpmCommand
- func (nc *NpmCommand) SetNpmArgs(npmArgs []string) *NpmCommand
- func (nc *NpmCommand) SetRepo(repo string) *NpmCommand
- func (nc *NpmCommand) SetServerDetails(serverDetails *config.ServerDetails) *NpmCommand
- type NpmCommandArgs
- func (nca *NpmCommandArgs) GetDependenciesList() map[string]*npmutils.Dependency
- func (nca *NpmCommandArgs) ServerDetails() (*config.ServerDetails, error)
- func (nca *NpmCommandArgs) SetPackageInfo(packageInfo *coreutils.PackageInfo) *NpmCommandArgs
- func (nca *NpmCommandArgs) SetThreads(threads int) *NpmCommandArgs
- func (nca *NpmCommandArgs) SetTypeRestriction(typeRestriction npmutils.TypeRestriction) *NpmCommandArgs
- type NpmInstallOrCiCommand
- func (nic *NpmInstallOrCiCommand) CommandName() string
- func (nic *NpmInstallOrCiCommand) Run() error
- func (nic *NpmInstallOrCiCommand) SetArgs(args []string) *NpmInstallOrCiCommand
- func (nic *NpmInstallOrCiCommand) SetConfigFilePath(configFilePath string) *NpmInstallOrCiCommand
- func (nic *NpmInstallOrCiCommand) SetRepoConfig(conf *utils.RepositoryConfig) *NpmInstallOrCiCommand
- type NpmPublishCommand
- func (npc *NpmPublishCommand) CommandName() string
- func (npc *NpmPublishCommand) IsDetailedSummary() bool
- func (npc *NpmPublishCommand) Result() *commandsutils.Result
- func (npc *NpmPublishCommand) Run() 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) SetXrayScan(xrayScan bool) *NpmPublishCommand
- type NpmPublishCommandArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NpmCommand ¶
type NpmCommand struct {
// contains filtered or unexported fields
}
func (*NpmCommand) SetBuildConfiguration ¶
func (nc *NpmCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *NpmCommand
func (*NpmCommand) SetNpmArgs ¶
func (nc *NpmCommand) SetNpmArgs(npmArgs []string) *NpmCommand
func (*NpmCommand) SetRepo ¶
func (nc *NpmCommand) SetRepo(repo string) *NpmCommand
func (*NpmCommand) SetServerDetails ¶
func (nc *NpmCommand) SetServerDetails(serverDetails *config.ServerDetails) *NpmCommand
type NpmCommandArgs ¶
type NpmCommandArgs struct { NpmCommand // contains filtered or unexported fields }
func NewNpmCommandArgs ¶
func NewNpmCommandArgs(npmCommand string) *NpmCommandArgs
func (*NpmCommandArgs) GetDependenciesList ¶
func (nca *NpmCommandArgs) GetDependenciesList() map[string]*npmutils.Dependency
func (*NpmCommandArgs) ServerDetails ¶
func (nca *NpmCommandArgs) ServerDetails() (*config.ServerDetails, error)
func (*NpmCommandArgs) SetPackageInfo ¶
func (nca *NpmCommandArgs) SetPackageInfo(packageInfo *coreutils.PackageInfo) *NpmCommandArgs
func (*NpmCommandArgs) SetThreads ¶
func (nca *NpmCommandArgs) SetThreads(threads int) *NpmCommandArgs
func (*NpmCommandArgs) SetTypeRestriction ¶
func (nca *NpmCommandArgs) SetTypeRestriction(typeRestriction npmutils.TypeRestriction) *NpmCommandArgs
type NpmInstallOrCiCommand ¶
type NpmInstallOrCiCommand struct { *NpmCommandArgs // contains filtered or unexported fields }
func NewNpmCiCommand ¶
func NewNpmCiCommand() *NpmInstallOrCiCommand
func NewNpmInstallCommand ¶
func NewNpmInstallCommand() *NpmInstallOrCiCommand
func (*NpmInstallOrCiCommand) CommandName ¶
func (nic *NpmInstallOrCiCommand) CommandName() string
func (*NpmInstallOrCiCommand) Run ¶
func (nic *NpmInstallOrCiCommand) Run() error
func (*NpmInstallOrCiCommand) SetArgs ¶
func (nic *NpmInstallOrCiCommand) SetArgs(args []string) *NpmInstallOrCiCommand
func (*NpmInstallOrCiCommand) SetConfigFilePath ¶
func (nic *NpmInstallOrCiCommand) SetConfigFilePath(configFilePath string) *NpmInstallOrCiCommand
func (*NpmInstallOrCiCommand) SetRepoConfig ¶
func (nic *NpmInstallOrCiCommand) SetRepoConfig(conf *utils.RepositoryConfig) *NpmInstallOrCiCommand
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) IsDetailedSummary ¶
func (npc *NpmPublishCommand) IsDetailedSummary() bool
func (*NpmPublishCommand) Result ¶
func (npc *NpmPublishCommand) Result() *commandsutils.Result
func (*NpmPublishCommand) Run ¶
func (npc *NpmPublishCommand) Run() 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) SetXrayScan ¶
func (npc *NpmPublishCommand) SetXrayScan(xrayScan bool) *NpmPublishCommand
type NpmPublishCommandArgs ¶
type NpmPublishCommandArgs struct { NpmCommand // contains filtered or unexported fields }
func NewNpmPublishCommandArgs ¶
func NewNpmPublishCommandArgs() *NpmPublishCommandArgs
Click to show internal directories.
Click to hide internal directories.