Documentation
¶
Index ¶
- func StatusSliceToJSON(in []Status) json.RawMessage
- func TypeSliceToJSON(in []Type) json.RawMessage
- func UserConnectionSliceToJSON(e []UserConnection) json.RawMessage
- func UserConnectionToJSON(e UserConnection) json.RawMessage
- type Status
- type Type
- type UserConnection
- func (e UserConnection) ArrayFieldIdentifierToType() map[string]types.FieldType
- func (e UserConnection) DependantFieldIdentifierToTypeMap() map[string]map[string]types.FieldType
- func (e UserConnection) EntityIdentifier() string
- func (e UserConnection) FieldIdentfierToTypeMap() map[string]types.FieldType
- func (e UserConnection) IsDependant() bool
- func (e UserConnection) OrderedFieldIdentifiers() []string
- func (e UserConnection) PrimaryKeyIdentifier() string
- func (e UserConnection) PrimaryKeyValue() string
- func (e UserConnection) String() string
- func (e UserConnection) ToJSON() json.RawMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StatusSliceToJSON ¶
func StatusSliceToJSON(in []Status) json.RawMessage
func TypeSliceToJSON ¶
func TypeSliceToJSON(in []Type) json.RawMessage
func UserConnectionSliceToJSON ¶
func UserConnectionSliceToJSON(e []UserConnection) json.RawMessage
func UserConnectionToJSON ¶
func UserConnectionToJSON(e UserConnection) json.RawMessage
Types ¶
type Status ¶
type Status int64
func JSONToStatusSlice ¶
func JSONToStatusSlice(in json.RawMessage) []Status
func StatusFromPointerString ¶
func StatusFromString ¶
type Type ¶
type Type int64
func JSONToTypeSlice ¶
func JSONToTypeSlice(in json.RawMessage) []Type
func TypeFromPointerString ¶
func TypeFromString ¶
type UserConnection ¶
type UserConnection struct {
UUID uuid.UUID `json:"uuid"`
UserUUID uuid.UUID `json:"user_uuid"`
ProjectUUID uuid.UUID `json:"project_uuid"`
ProjectVersionUUID uuid.UUID `json:"project_version_uuid"`
Type Type `json:"type"`
TypeConfig user_connection_type_config.UserConnectionTypeConfig `json:"type_config"`
DbSchema string `json:"db_schema"`
Executions []user_connection_execution.UserConnectionExecution `json:"executions"`
Status Status `json:"status"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
func NewUserConnectionSliceWithRandomValues ¶
func NewUserConnectionSliceWithRandomValues(n int) []UserConnection
func NewUserConnectionWithRandomValues ¶
func NewUserConnectionWithRandomValues() UserConnection
func UserConnectionFromJSON ¶
func UserConnectionFromJSON(data json.RawMessage) UserConnection
func UserConnectionSliceFromJSON ¶
func UserConnectionSliceFromJSON(data json.RawMessage) []UserConnection
func (UserConnection) ArrayFieldIdentifierToType ¶
func (e UserConnection) ArrayFieldIdentifierToType() map[string]types.FieldType
func (UserConnection) DependantFieldIdentifierToTypeMap ¶
func (e UserConnection) DependantFieldIdentifierToTypeMap() map[string]map[string]types.FieldType
func (UserConnection) EntityIdentifier ¶
func (e UserConnection) EntityIdentifier() string
func (UserConnection) FieldIdentfierToTypeMap ¶
func (e UserConnection) FieldIdentfierToTypeMap() map[string]types.FieldType
func (UserConnection) IsDependant ¶
func (e UserConnection) IsDependant() bool
func (UserConnection) OrderedFieldIdentifiers ¶ added in v1.0.35
func (e UserConnection) OrderedFieldIdentifiers() []string
func (UserConnection) PrimaryKeyIdentifier ¶
func (e UserConnection) PrimaryKeyIdentifier() string
func (UserConnection) PrimaryKeyValue ¶
func (e UserConnection) PrimaryKeyValue() string
func (UserConnection) String ¶
func (e UserConnection) String() string
func (UserConnection) ToJSON ¶
func (e UserConnection) ToJSON() json.RawMessage
Click to show internal directories.
Click to hide internal directories.