dotnet

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: Apache-2.0 Imports: 4 Imported by: 2

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) GetCmd

func (config *Cmd) GetCmd() *exec.Cmd

func (*Cmd) GetEnv

func (config *Cmd) GetEnv() map[string]string

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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