Documentation
¶
Index ¶
- func ExtensionExecutionSliceToJSON(e []ExtensionExecution) json.RawMessage
- func ExtensionExecutionToJSON(e ExtensionExecution) json.RawMessage
- func StatusSliceToJSON(in []Status) json.RawMessage
- type ExtensionExecution
- func (e ExtensionExecution) ArrayFieldIdentifierToType() map[string]types.FieldType
- func (e ExtensionExecution) DependantFieldIdentifierToTypeMap() map[string]map[string]types.FieldType
- func (e ExtensionExecution) EntityIdentifier() string
- func (e ExtensionExecution) FieldIdentfierToTypeMap() map[string]types.FieldType
- func (e ExtensionExecution) IsDependant() bool
- func (e ExtensionExecution) OrderedFieldIdentifiers() []string
- func (e ExtensionExecution) PrimaryKeyIdentifier() string
- func (e ExtensionExecution) PrimaryKeyValue() string
- func (e ExtensionExecution) String() string
- func (e ExtensionExecution) ToJSON() json.RawMessage
- type Status
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) OrderedFieldIdentifiers ¶ added in v1.0.35
func (e ExtensionExecution) OrderedFieldIdentifiers() []string
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
func JSONToStatusSlice ¶
func JSONToStatusSlice(in json.RawMessage) []Status
func StatusFromPointerString ¶
func StatusFromString ¶
Click to show internal directories.
Click to hide internal directories.