Documentation
¶
Index ¶
- func StatusSliceToJSON(in []Status) json.RawMessage
- func TeamSliceToJSON(e []Team) json.RawMessage
- func TeamToJSON(e Team) json.RawMessage
- type Status
- type Team
- func (e Team) ArrayFieldIdentifierToType() map[string]types.FieldType
- func (e Team) DependantFieldIdentifierToTypeMap() map[string]map[string]types.FieldType
- func (e Team) EntityIdentifier() string
- func (e Team) FieldIdentfierToTypeMap() map[string]types.FieldType
- func (e Team) IsDependant() bool
- func (e Team) OrderedFieldIdentifiers() []string
- func (e Team) PrimaryKeyIdentifier() string
- func (e Team) PrimaryKeyValue() string
- func (e Team) String() string
- func (e Team) ToJSON() json.RawMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StatusSliceToJSON ¶
func StatusSliceToJSON(in []Status) json.RawMessage
func TeamSliceToJSON ¶
func TeamSliceToJSON(e []Team) json.RawMessage
func TeamToJSON ¶
func TeamToJSON(e Team) json.RawMessage
Types ¶
type Status ¶
type Status int64
func JSONToStatusSlice ¶
func JSONToStatusSlice(in json.RawMessage) []Status
func StatusFromPointerString ¶
func StatusFromString ¶
type Team ¶
type Team struct {
UUID uuid.UUID `json:"uuid"`
Version int64 `json:"version"`
Name string `json:"name"`
Enviorments []enviorment.Enviorment `json:"enviorments"`
ReviewConfigs []review_config.ReviewConfig `json:"review_configs"`
Stores []store.Store `json:"stores"`
Connections []connection.Connection `json:"connections"`
ObjectStores []object_store.ObjectStore `json:"object_stores"`
DefaultEntity entity.Entity `json:"default_entity"`
OwnerUUID uuid.UUID `json:"owner_uuid"`
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 NewTeamWithRandomValues ¶
func NewTeamWithRandomValues() Team
func TeamFromJSON ¶
func TeamFromJSON(data json.RawMessage) Team
func TeamSliceFromJSON ¶
func TeamSliceFromJSON(data json.RawMessage) []Team
func (Team) ArrayFieldIdentifierToType ¶
func (Team) DependantFieldIdentifierToTypeMap ¶
func (Team) EntityIdentifier ¶
func (Team) FieldIdentfierToTypeMap ¶
func (Team) IsDependant ¶
func (Team) OrderedFieldIdentifiers ¶ added in v1.0.35
func (Team) PrimaryKeyIdentifier ¶
func (Team) PrimaryKeyValue ¶
func (Team) ToJSON ¶
func (e Team) ToJSON() json.RawMessage
Click to show internal directories.
Click to hide internal directories.