Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllSortDirection = []SortDirection{ SortDirectionAsc, SortDirectionDesc, }
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component struct { ID string `json:"id"` Name string `json:"name"` Description *string `json:"description,omitempty"` Type string `json:"type"` Lifecycle string `json:"lifecycle"` Owner *Team `json:"owner"` Tier string `json:"tier"` Links []*Link `json:"links,omitempty"` Tags []string `json:"tags,omitempty"` Annotations map[string]interface{} `json:"annotations,omitempty"` Components *ComponentConnection `json:"components"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` }
type ComponentConnection ¶
type ComponentFilter ¶
type SortDirection ¶
type SortDirection string
const ( SortDirectionAsc SortDirection = "ASC" SortDirectionDesc SortDirection = "DESC" )
func (SortDirection) IsValid ¶
func (e SortDirection) IsValid() bool
func (SortDirection) MarshalGQL ¶
func (e SortDirection) MarshalGQL(w io.Writer)
func (SortDirection) String ¶
func (e SortDirection) String() string
func (*SortDirection) UnmarshalGQL ¶
func (e *SortDirection) UnmarshalGQL(v interface{}) error
type SortInput ¶
type SortInput struct { Field string `json:"field"` Direction SortDirection `json:"direction"` }
type Team ¶
type Team struct { ID string `json:"id"` Name string `json:"name"` Members *UserConnection `json:"members"` }
type TeamConnection ¶
type UserConnection ¶
Click to show internal directories.
Click to hide internal directories.