Documentation
¶
Index ¶
- func NewCoreDumpCommand() *cobra.Command
- func NewDocCommand() *cobra.Command
- func NewDumpCommand() *cobra.Command
- func NewGCDumpCommand() *cobra.Command
- func NewShovelCommand() *cobra.Command
- func NewTraceCommand() *cobra.Command
- func NewVersionCommand() *cobra.Command
- type CommandBuilder
- type CommonOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCoreDumpCommand ¶ added in v0.7.0
NewCoreDumpCommand return command that start full process dump with createdump tool
func NewDocCommand ¶ added in v0.6.0
NewDocCommand return command that generate tool docs from sources
func NewDumpCommand ¶ added in v0.6.0
NewDumpCommand return command that start dumper with dotnet-dump tool
func NewGCDumpCommand ¶ added in v0.6.0
NewGCDumpCommand return command that start dumper with dotnet-gcdump tool
func NewShovelCommand ¶
NewShovelCommand initialize Shovel command
func NewTraceCommand ¶ added in v0.6.0
NewTraceCommand return command that start dumper with dotnet-trace tool
func NewVersionCommand ¶ added in v0.6.0
NewVersionCommand return command that returns plugin version
Types ¶
type CommandBuilder ¶ added in v0.6.0
type CommandBuilder struct { CommonOptions *CommonOptions // contains filtered or unexported fields }
CommandBuilder represents logic for building and running tools
func NewCommandBuilder ¶ added in v0.6.0
func NewCommandBuilder(factory flags.DotnetToolFactory) *CommandBuilder
NewCommandBuilder returns *CommandBuilder instance with specified factory flags.DotnetToolFactory that responsible for creation of any available flags.DotnetTool
func (*CommandBuilder) Build ¶ added in v0.6.0
func (cb *CommandBuilder) Build(short, long, example string) *cobra.Command
Build will build and returns *cobra.Command for specific tool
func (*CommandBuilder) Tool ¶ added in v0.6.0
func (cb *CommandBuilder) Tool() string
Tool returns tool name that contains CommandBuilder
type CommonOptions ¶ added in v0.6.0
type CommonOptions struct { Container string Image string Pod string Output string OutputHostPath string StoreOutputOnHost bool // contains filtered or unexported fields }
CommonOptions contains shared arguments for cli commands
func (*CommonOptions) GetFlags ¶ added in v0.6.0
func (options *CommonOptions) GetFlags() *pflag.FlagSet
GetFlags return FlagSet that describes generic options