Documentation
¶
Index ¶
- func Purge(ctx context.Context, opts PurgeOptions) error
- func RaiseEvent(ctx context.Context, opts RaiseEventOptions) error
- func ReRun(ctx context.Context, opts ReRunOptions) (string, error)
- func Resume(ctx context.Context, opts ResumeOptions) error
- func Run(ctx context.Context, opts RunOptions) (string, error)
- func Suspend(ctx context.Context, opts SuspendOptions) error
- func Terminate(ctx context.Context, opts TerminateOptions) error
- type DBOptions
- type Filter
- type HistoryOptions
- type HistoryOutputShort
- type HistoryOutputWide
- type ListOptions
- type ListOutputShort
- type ListOutputWide
- type PurgeOptions
- type RaiseEventOptions
- type ReRunOptions
- type ResumeOptions
- type RunOptions
- type SuspendOptions
- type TerminateOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RaiseEvent ¶
func RaiseEvent(ctx context.Context, opts RaiseEventOptions) error
Types ¶
type HistoryOptions ¶
type HistoryOutputShort ¶
type HistoryOutputShort struct {
Type string `csv:"TYPE" json:"type" yaml:"type"`
Name string `csv:"NAME" json:"name" yaml:"name"`
EventID string `csv:"EVENTID,omitempty" json:"eventId,omitempty" yaml:"eventId,omitempty"`
Elapsed string `csv:"ELAPSED" json:"elapsed" yaml:"elapsed"`
Status string `csv:"STATUS" json:"status" yaml:"status"`
Details string `csv:"DETAILS" json:"details" yaml:"details"`
}
func HistoryShort ¶
func HistoryShort(ctx context.Context, opts HistoryOptions) ([]*HistoryOutputShort, error)
type HistoryOutputWide ¶
type HistoryOutputWide struct {
Namespace string `csv:"-" json:"namespace,omitempty" yaml:"namespace,omitempty"`
AppID string `csv:"-" json:"appID" yaml:"appID"`
Play int `csv:"PLAY" json:"play" yaml:"play"`
Type string `csv:"TYPE" json:"type" yaml:"type"`
Name *string `csv:"NAME" json:"name" yaml:"name"`
EventID *int32 `csv:"EVENTID,omitempty" json:"eventId,omitempty" yaml:"eventId,omitempty"`
Timestamp time.Time `csv:"TIMESTAMP" json:"timestamp" yaml:"timestamp"`
Elapsed string `csv:"ELAPSED" json:"elapsed" yaml:"elapsed"`
Status string `csv:"STATUS" json:"status" yaml:"status"`
Details *string `csv:"DETAILS" json:"details" yaml:"details"`
Router *string `csv:"ROUTER,omitempty" json:"router,omitempty" yaml:"router,omitempty"`
ExecutionID *string `csv:"EXECUTION_ID,omitempty" json:"executionId,omitempty" yaml:"executionId,omitempty"`
Attrs *string `csv:"ATTRS,omitempty" json:"attrs,omitempty" yaml:"attrs,omitempty"`
}
func HistoryWide ¶
func HistoryWide(ctx context.Context, opts HistoryOptions) ([]*HistoryOutputWide, error)
type ListOptions ¶
type ListOutputShort ¶
type ListOutputShort struct {
Namespace string `csv:"-" json:"namespace" yaml:"namespace"`
AppID string `csv:"-" json:"appID" yaml:"appID"`
Name string `csv:"NAME" json:"name" yaml:"name"`
InstanceID string `csv:"ID" json:"instanceID" yaml:"instanceID"`
RuntimeStatus string `csv:"STATUS" json:"runtimeStatus" yaml:"runtimeStatus"`
CustomStatus string `csv:"CUSTOM STATUS" json:"customStatus" yaml:"customStatus"`
Age string `csv:"AGE" json:"age" yaml:"age"`
}
func ListShort ¶
func ListShort(ctx context.Context, opts ListOptions) ([]*ListOutputShort, error)
type ListOutputWide ¶
type ListOutputWide struct {
Namespace string `csv:"NAMESPACE" json:"namespace" yaml:"namespace"`
AppID string `csv:"APP ID" json:"appID" yaml:"appID"`
Name string `csv:"Name" json:"name" yaml:"name"`
InstanceID string `csv:"INSTANCE ID" json:"instanceID" yaml:"instanceID"`
Created time.Time `csv:"CREATED" json:"created" yaml:"created"`
LastUpdate time.Time `csv:"LAST UPDATE" json:"lastUpdate" yaml:"lastUpdate"`
RuntimeStatus string `csv:"STATUS" json:"runtimeStatus" yaml:"runtimeStatus"`
CustomStatus string `csv:"CUSTOM STATUS" json:"customStatus" yaml:"customStatus"`
FailureMessage string `csv:"FAILURE MESSAGE" json:"failureMessage" yaml:"failureMessage"`
}
func ListWide ¶
func ListWide(ctx context.Context, opts ListOptions) ([]*ListOutputWide, error)
type PurgeOptions ¶
type RaiseEventOptions ¶
type ReRunOptions ¶
type ResumeOptions ¶
type RunOptions ¶
type SuspendOptions ¶
Click to show internal directories.
Click to hide internal directories.