Documentation
¶
Index ¶
Constants ¶
View Source
const ( // CorrelationKey is the flag name for the correlation key for a BPMN message. CorrelationKey = "correlationKey" // Server is the fhe flag name for the server address. Server = "server" // LogLevel is the flag name for the logging level. LogLevel = "loglevel" // Vars is the flag name for variables passed to the workflow engine. Vars = "vars" // Version is the flag name for the version command. Version = "version" // VarsShort is the flag name for variables passed to the workflow engine. VarsShort = "v" // CorrelationKeyShort is the short flag name for the correlation key for a BPMN message. CorrelationKeyShort = "k" // ServerShort is the the short flag name for the server address. ServerShort = "s" // LogLevelShort is the short flag name for the logging level. LogLevelShort = "l" // DebugTrace is the short flag name for the trace switch. DebugTrace = "debug" // DebugTraceShort is the short flag name for the trace switch. DebugTraceShort = "d" // JsonOutput is the flag name for machine-readable json responses. JsonOutput = "json" // JsonOutputShort is the short flag name for machine-readable json responses. JsonOutputShort = "j" // Raw is the flag name for printing the raw, non cut down json data. Raw = "raw" // RawShort is the shortform flag name for raw. RawShort = "r" // Namespace if the flag name for namespace. Namespace = "namespace" // NamespaceShort is the short flag name for the namespace. NamespaceShort = "n" // Filter specifies field filters when listening to a message stream Filter = "filter" // FilterShort short form for Filter FilterShort = "f" // Zone specifies the default execution zone for listening to a message stream, or sending messages Zone = "zone" // ZoneShort short form for Zone ZoneShort = "z" )
View Source
const ( // STATE workflow state stream type STATE = "state" // API stream type API = "api" // SYSTEM stream type SYSTEM = "system" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnabledStreamTypes ¶ added in v1.1.1830
type EnabledStreamTypes struct {
// contains filtered or unexported fields
}
EnabledStreamTypes stores what types of stream are viewable
func (*EnabledStreamTypes) APIEnabled ¶ added in v1.1.1830
func (est *EnabledStreamTypes) APIEnabled() bool
APIEnabled is the API stream type enabled
func (*EnabledStreamTypes) Set ¶ added in v1.1.1830
func (est *EnabledStreamTypes) Set(value string) error
Set a pflagValue
func (*EnabledStreamTypes) StateEnabled ¶ added in v1.1.1830
func (est *EnabledStreamTypes) StateEnabled() bool
StateEnabled is the STATE stream type enabled
func (*EnabledStreamTypes) String ¶ added in v1.1.1830
func (est *EnabledStreamTypes) String() string
func (*EnabledStreamTypes) Type ¶ added in v1.1.1830
func (est *EnabledStreamTypes) Type() string
Type of a pflag value
type Set ¶
type Set struct {
Server string
LogLevel string
CorrelationKey string
DebugTrace bool
Vars []string
Json bool
Raw bool
Namespace string
Filter string
Version bool
Zone string
Workspace string
Ago time.Duration
EnabledStreamTypes EnabledStreamTypes
}
Set is the set of flags associated with the CLI.
var Value Set
Value contains the values of the SHAR CLI flags.
Click to show internal directories.
Click to hide internal directories.