Documentation
¶
Index ¶
- func ConnectionSliceToJSON(e []Connection) json.RawMessage
- func ConnectionToJSON(e Connection) json.RawMessage
- func DbTypeSliceToJSON(in []DbType) json.RawMessage
- func StatusSliceToJSON(in []Status) json.RawMessage
- func TypeSliceToJSON(in []Type) json.RawMessage
- type Connection
- func (e Connection) ArrayFieldIdentifierToType() map[string]types.FieldType
- func (e Connection) EntityIdentifier() string
- func (e Connection) FieldIdentfierToTypeMap() map[string]types.FieldType
- func (e Connection) IsDependant() bool
- func (e Connection) OrderedFieldIdentifiers() []string
- func (e Connection) String() string
- func (e Connection) ToJSON() json.RawMessage
- type DbType
- type Status
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectionSliceToJSON ¶
func ConnectionSliceToJSON(e []Connection) json.RawMessage
func ConnectionToJSON ¶
func ConnectionToJSON(e Connection) json.RawMessage
func DbTypeSliceToJSON ¶
func DbTypeSliceToJSON(in []DbType) json.RawMessage
func StatusSliceToJSON ¶
func StatusSliceToJSON(in []Status) json.RawMessage
func TypeSliceToJSON ¶
func TypeSliceToJSON(in []Type) json.RawMessage
Types ¶
type Connection ¶
type Connection struct {
UUID uuid.UUID `json:"uuid"`
Version int64 `json:"version"`
StoreUUID uuid.UUID `json:"store_uuid"`
EnviormentUUID uuid.UUID `json:"enviorment_uuid"`
Identifier string `json:"identifier"`
DbType DbType `json:"db_type"`
DbTypeConfig db_type_config.DbTypeConfig `json:"db_type_config"`
DbVersion string `json:"db_version"`
Type Type `json:"type"`
TypeConfig connection_type_config.ConnectionTypeConfig `json:"type_config"`
Status Status `json:"status"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
CreatedByUUID uuid.UUID `json:"created_by_uuid"`
UpdatedByUUID uuid.UUID `json:"updated_by_uuid"`
}
func ConnectionFromJSON ¶
func ConnectionFromJSON(data json.RawMessage) Connection
func ConnectionSliceFromJSON ¶
func ConnectionSliceFromJSON(data json.RawMessage) []Connection
func NewConnectionSliceWithRandomValues ¶
func NewConnectionSliceWithRandomValues(n int) []Connection
func NewConnectionWithRandomValues ¶
func NewConnectionWithRandomValues() Connection
func (Connection) ArrayFieldIdentifierToType ¶
func (e Connection) ArrayFieldIdentifierToType() map[string]types.FieldType
func (Connection) EntityIdentifier ¶
func (e Connection) EntityIdentifier() string
func (Connection) FieldIdentfierToTypeMap ¶
func (e Connection) FieldIdentfierToTypeMap() map[string]types.FieldType
func (Connection) IsDependant ¶
func (e Connection) IsDependant() bool
func (Connection) OrderedFieldIdentifiers ¶ added in v1.0.35
func (e Connection) OrderedFieldIdentifiers() []string
func (Connection) String ¶
func (e Connection) String() string
func (Connection) ToJSON ¶
func (e Connection) ToJSON() json.RawMessage
type DbType ¶
type DbType int64
func DbTypeFromPointerString ¶
func DbTypeFromString ¶
func JSONToDbTypeSlice ¶
func JSONToDbTypeSlice(in json.RawMessage) []DbType
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 ¶
Click to show internal directories.
Click to hide internal directories.