Documentation ¶
Overview ¶
Package commands implements the CLI interface for the disruptor agent
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildGrpcCmd ¶ added in v0.2.0
BuildGrpcCmd returns a cobra command with the specification of the grpc command
func BuildHTTPCmd ¶
BuildHTTPCmd returns a cobra command with the specification of the http command
Types ¶
type RootCommand ¶ added in v0.3.3
type RootCommand struct {
// contains filtered or unexported fields
}
RootCommand maintains the state for executing a command on the Agent
func NewRootCommand ¶ added in v0.3.3
func NewRootCommand(env runtime.Environment) *RootCommand
NewRootCommand builds the for the agent that parses the configuration arguments
Click to show internal directories.
Click to hide internal directories.