team

package
v1.0.43 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

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
const (
	STATUS_INVALID Status = iota
	STATUS_ACTIVE
	STATUS_DISABLED
)

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

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 NewTeamSliceWithRandomValues

func NewTeamSliceWithRandomValues(n int) []Team

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 (e Team) ArrayFieldIdentifierToType() map[string]types.FieldType

func (Team) DependantFieldIdentifierToTypeMap

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

func (Team) EntityIdentifier

func (e Team) EntityIdentifier() string

func (Team) FieldIdentfierToTypeMap

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

func (Team) IsDependant

func (e Team) IsDependant() bool

func (Team) OrderedFieldIdentifiers added in v1.0.35

func (e Team) OrderedFieldIdentifiers() []string

func (Team) PrimaryKeyIdentifier

func (e Team) PrimaryKeyIdentifier() string

func (Team) PrimaryKeyValue

func (e Team) PrimaryKeyValue() string

func (Team) String

func (e Team) String() string

func (Team) ToJSON

func (e Team) ToJSON() json.RawMessage

Jump to

Keyboard shortcuts

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