executions

package
v0.3.39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ABORT = "ABORT_ALL"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangedBy

type ChangedBy struct {
	Uuid           string `json:"uuid,omitempty"`
	Name           string `json:"name,omitempty"`
	Email          string `json:"email,omitempty"`
	ExternalUserId string `json:"externalUserId,omitempty"`
}

type ExecutionItem

type ExecutionItem struct {
	Uuid                     string      `json:"uuid,omitempty"`
	ApplicationId            string      `json:"appId,omitempty"`
	CreatedAt                string      `json:"createAt,omitempty"`
	LastUpdateAt             string      `json:"lastUpdateAt,omitempty"`
	ExecutionInterruptType   string      `json:"executionInterruptType,omitempty"`
	Seized                   bool        `json:"seized,omitempty"`
	EnvironmentId            string      `json:"environmentId,omitempty"`
	ExecutionUuid            string      `json:"executionUuid,omitempty"`
	StateExecutionInstanceId string      `json:"stateExecutionInstanceId,omitempty"`
	AccountId                string      `json:"accountId,omitempty"`
	Properties               interface{} `json:"properties,omitempty"`

	CreatedBy     ChangedBy `json:"createdBy,omitempty"`
	LastUpdatedBy ChangedBy `json:"lastUpdatedBy,omitempty"`
}

func (*ExecutionItem) IsEmpty

func (i *ExecutionItem) IsEmpty() bool

type Response

type Response struct {
	Metadata         *ResponseMetadata `json:"metaData"`
	Resource         *ExecutionItem    `json:"resource"`
	ResponseMessages []ResponseMessage `json:"responseMessages"`
}

func (*Response) IsEmpty

func (r *Response) IsEmpty() bool

type ResponseMessage

type ResponseMessage struct {
	Code    string `json:"code"`
	Level   string `json:"level"`
	Message string `json:"message"`
}

func (*ResponseMessage) ToError

func (m *ResponseMessage) ToError() error

type ResponseMetadata

type ResponseMetadata struct{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL