Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustRegister ¶
func MustRegister()
func NewRPCCommand ¶
func NewRPCCommand(b *builder.AppBuilder, j json.RawMessage, log builder.Logger) (builder.Command, error)
Types ¶
type Command ¶
type Command struct { StandardFilter bool `json:"std_filters"` OutputFormatFlags bool `json:"output_format_flags"` OutputFormat string `json:"output_format"` Display string `json:"display"` DisplayFlag bool `json:"display_flag"` BatchFlags bool `json:"batch_flags"` BatchSize int `json:"batch"` BatchSleep int `json:"batch_sleep"` NoProgress bool `json:"no_progress"` AllNodesConfirmPrompt string `json:"all_nodes_confirm_prompt"` Flags []Flag `json:"flags"` Request Request `json:"request"` Transform *builder.Transform `json:"transform"` builder.GenericCommand builder.GenericSubCommands }
type Flag ¶
type Flag struct { builder.GenericFlag ReplyFilter string `json:"reply_filter"` }
type RPC ¶
type RPC struct {
// contains filtered or unexported fields
}
func (*RPC) CreateCommand ¶
func (*RPC) SubCommands ¶
func (r *RPC) SubCommands() []json.RawMessage
Click to show internal directories.
Click to hide internal directories.