Documentation ¶
Index ¶
- func NewCoreDumpCommand(commonOptions *CommonOptions) *cobra.Command
- func NewDumpCommand(commonOptions *CommonOptions) *cobra.Command
- func NewDumperCommand() *cobra.Command
- func NewGCDumpCommand(commonOptions *CommonOptions) *cobra.Command
- func NewTraceCommand(commonOptions *CommonOptions) *cobra.Command
- type CommandBuilder
- type CommonOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCoreDumpCommand ¶ added in v0.7.0
func NewCoreDumpCommand(commonOptions *CommonOptions) *cobra.Command
NewCoreDumpCommand return command that perform createdump on target process
func NewDumpCommand ¶ added in v0.6.0
func NewDumpCommand(commonOptions *CommonOptions) *cobra.Command
NewDumpCommand return command that perform dotnet-dump on target process
func NewDumperCommand ¶ added in v0.6.0
NewDumperCommand initialize Dumper command
func NewGCDumpCommand ¶ added in v0.6.0
func NewGCDumpCommand(commonOptions *CommonOptions) *cobra.Command
NewGCDumpCommand return command that perform dotnet-gcdump on target process
func NewTraceCommand ¶ added in v0.6.0
func NewTraceCommand(commonOptions *CommonOptions) *cobra.Command
NewTraceCommand return command that perform dotnet-trace on target process
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(options *CommonOptions, factory flags.DotnetToolFactory) *CommandBuilder
NewCommandBuilder returns options with specified tool name
func (*CommandBuilder) Build ¶ added in v0.6.0
func (cb *CommandBuilder) Build() *cobra.Command
Build will build command *cobra.Command from options
type CommonOptions ¶ added in v0.6.0
type CommonOptions struct { ContainerID string ContainerRuntime string ContainerName string PodName string PodNamespace string StoreOutputOnHost bool }
CommonOptions represents container info
func (*CommonOptions) GetFlags ¶ added in v0.6.0
func (options *CommonOptions) GetFlags() *pflag.FlagSet
GetFlags return FlagSet that describes options for container selection
Click to show internal directories.
Click to hide internal directories.