Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddGrafanaFlags ¶
func AddStatesFlags ¶
Types ¶
type GrafanaParams ¶
type GrafanaParams struct {
Ids string
GrafanaUrl string
Folder string
Name string
Token string
Source string
}
GrafanaParams are params for the grafana command.
func ParseGrafanaParams ¶
func ParseGrafanaParams(cmd *cobra.Command, _ []string) GrafanaParams
type RootParams ¶
type RootParams struct {
// Version - print version
Version bool
}
RootParams are params for the root command.
func ParseRootParams ¶
func ParseRootParams(cmd *cobra.Command, _ []string) RootParams
type SFParams ¶
type SFParams struct {
// Version - print version
Version bool
// States - State names to generate. Eg: State1,State2
States string
// Inherit - Inherit from built-in states machines (comma separated):
// - basic,connected
// - rpc/statesrc
// - node/worker
Inherit string
// Groups - Groups to generate. Eg: Group1,Group2
Groups string
// Name - Name of the state machine.
Name string
// Force - Overwrite existing files.
Force bool
// Utils - Generate states_utils.go in CWD. Overrides files.
Utils bool
}
SFParams are params for the states-file command.
Click to show internal directories.
Click to hide internal directories.