Documentation ¶
Index ¶
- Constants
- func DependencyTreeCmd() error
- type DotnetCommand
- func (dc *DotnetCommand) AddNugetAuthToConfig(cmdType dotnet.ToolchainType, configFile *os.File, ...) error
- func (dc *DotnetCommand) CommandName() string
- func (dc *DotnetCommand) Exec() error
- func (dc *DotnetCommand) InitNewConfig(configDirPath string) (configFile *os.File, err error)
- func (dc *DotnetCommand) ServerDetails() (*config.ServerDetails, error)
- func (dc *DotnetCommand) SetArgAndFlags(argAndFlags []string) *DotnetCommand
- func (dc *DotnetCommand) SetBasicCommand(subCommand string) *DotnetCommand
- func (dc *DotnetCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *DotnetCommand
- func (dc *DotnetCommand) SetRepoName(repoName string) *DotnetCommand
- func (dc *DotnetCommand) SetServerDetails(serverDetails *config.ServerDetails) *DotnetCommand
- func (dc *DotnetCommand) SetSolutionPath(solutionPath string) *DotnetCommand
- func (dc *DotnetCommand) SetToolchainType(toolchainType dotnet.ToolchainType) *DotnetCommand
- func (dc *DotnetCommand) SetUseNugetAddSource(useNugetAddSource bool) *DotnetCommand
- func (dc *DotnetCommand) SetUseNugetV2(useNugetV2 bool) *DotnetCommand
- type DotnetCoreCliCommand
- type NugetCommand
- type NugetLegacyCommand
Constants ¶
View Source
const SourceName = "JFrogCli"
Variables ¶
This section is empty.
Functions ¶
func DependencyTreeCmd ¶
func DependencyTreeCmd() error
Types ¶
type DotnetCommand ¶
type DotnetCommand struct {
// contains filtered or unexported fields
}
func (*DotnetCommand) AddNugetAuthToConfig ¶
func (dc *DotnetCommand) AddNugetAuthToConfig(cmdType dotnet.ToolchainType, configFile *os.File, sourceUrl, user, password string) error
Set Artifactory repo as source using the toolchain's `add source` command
func (*DotnetCommand) CommandName ¶
func (dc *DotnetCommand) CommandName() string
func (*DotnetCommand) Exec ¶
func (dc *DotnetCommand) Exec() error
Exec all consume type nuget commands, install, update, add, restore.
func (*DotnetCommand) InitNewConfig ¶
func (dc *DotnetCommand) InitNewConfig(configDirPath string) (configFile *os.File, err error)
Got to here, means that neither of the flags provided and we need to init our own config.
func (*DotnetCommand) ServerDetails ¶ added in v1.4.0
func (dc *DotnetCommand) ServerDetails() (*config.ServerDetails, error)
func (*DotnetCommand) SetArgAndFlags ¶
func (dc *DotnetCommand) SetArgAndFlags(argAndFlags []string) *DotnetCommand
func (*DotnetCommand) SetBasicCommand ¶
func (dc *DotnetCommand) SetBasicCommand(subCommand string) *DotnetCommand
func (*DotnetCommand) SetBuildConfiguration ¶
func (dc *DotnetCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *DotnetCommand
func (*DotnetCommand) SetRepoName ¶
func (dc *DotnetCommand) SetRepoName(repoName string) *DotnetCommand
func (*DotnetCommand) SetServerDetails ¶ added in v1.4.0
func (dc *DotnetCommand) SetServerDetails(serverDetails *config.ServerDetails) *DotnetCommand
func (*DotnetCommand) SetSolutionPath ¶
func (dc *DotnetCommand) SetSolutionPath(solutionPath string) *DotnetCommand
func (*DotnetCommand) SetToolchainType ¶
func (dc *DotnetCommand) SetToolchainType(toolchainType dotnet.ToolchainType) *DotnetCommand
func (*DotnetCommand) SetUseNugetAddSource ¶
func (dc *DotnetCommand) SetUseNugetAddSource(useNugetAddSource bool) *DotnetCommand
func (*DotnetCommand) SetUseNugetV2 ¶ added in v1.2.0
func (dc *DotnetCommand) SetUseNugetV2(useNugetV2 bool) *DotnetCommand
type DotnetCoreCliCommand ¶
type DotnetCoreCliCommand struct {
*DotnetCommand
}
func NewDotnetCoreCliCommand ¶
func NewDotnetCoreCliCommand() *DotnetCoreCliCommand
func (*DotnetCoreCliCommand) Run ¶
func (dccc *DotnetCoreCliCommand) Run() (err error)
type NugetCommand ¶
type NugetCommand struct {
*DotnetCommand
}
func NewNugetCommand ¶
func NewNugetCommand() *NugetCommand
func (*NugetCommand) Run ¶
func (nc *NugetCommand) Run() error
type NugetLegacyCommand ¶
type NugetLegacyCommand struct {
*DotnetCommand
}
func NewLegacyNugetCommand ¶
func NewLegacyNugetCommand() *NugetLegacyCommand
func (*NugetLegacyCommand) Run ¶
func (nlc *NugetLegacyCommand) Run() error
Click to show internal directories.
Click to hide internal directories.