extension_execution

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtensionExecutionSliceToJSON

func ExtensionExecutionSliceToJSON(e []ExtensionExecution) json.RawMessage

func ExtensionExecutionToJSON

func ExtensionExecutionToJSON(e ExtensionExecution) json.RawMessage

func StatusSliceToJSON

func StatusSliceToJSON(in []Status) json.RawMessage

Types

type ExtensionExecution

type ExtensionExecution struct {
	UUID                 uuid.UUID `json:"uuid"`
	ExtensionUUID        uuid.UUID `json:"extension_uuid"`
	ExtensionVersionUUID uuid.UUID `json:"extension_version_uuid"`
	ProjectExtensionUUID uuid.UUID `json:"project_extension_uuid"`
	ProjectUUID          uuid.UUID `json:"project_uuid"`
	ProjectVersionUUID   uuid.UUID `json:"project_version_uuid"`
	ExecutedByUUID       uuid.UUID `json:"executed_by_uuid"`
	Metadata             string    `json:"metadata"`
	Status               Status    `json:"status"`
	StatusMsg            string    `json:"status_msg"`
	CreatedAt            time.Time `json:"created_at"`
	UpdatedAt            time.Time `json:"updated_at"`
}

func ExtensionExecutionFromJSON

func ExtensionExecutionFromJSON(data json.RawMessage) ExtensionExecution

func ExtensionExecutionSliceFromJSON

func ExtensionExecutionSliceFromJSON(data json.RawMessage) []ExtensionExecution

func NewExtensionExecutionSliceWithRandomValues

func NewExtensionExecutionSliceWithRandomValues(n int) []ExtensionExecution

func NewExtensionExecutionWithRandomValues

func NewExtensionExecutionWithRandomValues() ExtensionExecution

func (ExtensionExecution) ArrayFieldIdentifierToType

func (e ExtensionExecution) ArrayFieldIdentifierToType() map[string]types.FieldType

func (ExtensionExecution) DependantFieldIdentifierToTypeMap

func (e ExtensionExecution) DependantFieldIdentifierToTypeMap() map[string]map[string]types.FieldType

func (ExtensionExecution) EntityIdentifier

func (e ExtensionExecution) EntityIdentifier() string

func (ExtensionExecution) FieldIdentfierToTypeMap

func (e ExtensionExecution) FieldIdentfierToTypeMap() map[string]types.FieldType

func (ExtensionExecution) IsDependant

func (e ExtensionExecution) IsDependant() bool

func (ExtensionExecution) PrimaryKeyIdentifier

func (e ExtensionExecution) PrimaryKeyIdentifier() string

func (ExtensionExecution) PrimaryKeyValue

func (e ExtensionExecution) PrimaryKeyValue() string

func (ExtensionExecution) String

func (e ExtensionExecution) String() string

func (ExtensionExecution) ToJSON

func (e ExtensionExecution) ToJSON() json.RawMessage

type Status

type Status int64
const (
	STATUS_INVALID Status = iota
	STATUS_INPROGRESS
	STATUS_SUCCEEDED
	STATUS_FAILED
	STATUS_CANCELLED
)

func JSONToStatusSlice

func JSONToStatusSlice(in json.RawMessage) []Status

func StatusFromPointerString

func StatusFromPointerString(in *string) Status

func StatusFromString

func StatusFromString(in string) Status

func (Status) String

func (e Status) String() string

func (Status) StringPtr

func (e Status) StringPtr() *string

func (Status) ToInt64

func (e Status) ToInt64() int64

Jump to

Keyboard shortcuts

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