Documentation ¶
Index ¶
Constants ¶
View Source
const ConfigFileFormat = `` /* 327-byte string literal not displayed */
View Source
const ConfigFileTemplate = `` /* 169-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd struct { Command []string CommandFlags []string StrWriter io.WriteCloser ErrWriter io.WriteCloser // contains filtered or unexported fields }
func CreateDotnetAddSourceCmd ¶
func CreateDotnetAddSourceCmd(cmdType ToolchainType, sourceUrl string) (*Cmd, error)
func NewToolchainCmd ¶
func NewToolchainCmd(cmdType ToolchainType) (*Cmd, error)
func (*Cmd) GetErrWriter ¶
func (config *Cmd) GetErrWriter() io.WriteCloser
func (*Cmd) GetStdWriter ¶
func (config *Cmd) GetStdWriter() io.WriteCloser
func (*Cmd) GetToolchain ¶
func (config *Cmd) GetToolchain() ToolchainType
type ToolchainType ¶
type ToolchainType int
const ( Nuget ToolchainType = iota DotnetCore )
func (ToolchainType) GetAddSourceArgs ¶
func (toolchainType ToolchainType) GetAddSourceArgs() []string
func (ToolchainType) GetTypeFlagPrefix ¶
func (toolchainType ToolchainType) GetTypeFlagPrefix() string
func (ToolchainType) String ¶
func (toolchainType ToolchainType) String() string
Click to show internal directories.
Click to hide internal directories.