Versions in this module Expand all Collapse all v0 v0.7.2 Mar 21, 2021 Changes in this version + var AllLabelChangeStatus = []LabelChangeStatus + var AllStatus = []Status + func NewLazyBug(cache *cache.RepoCache, excerpt *cache.BugExcerpt) *lazyBug + func NewLazyIdentity(cache *cache.RepoCache, excerpt *cache.IdentityExcerpt) *lazyIdentity + func NewLoadedBug(snap *bug.Snapshot) *loadedBug + func NewLoadedIdentity(id identity.Interface) *loadedIdentity + type AddCommentInput struct + ClientMutationID *string + Files []git.Hash + Message string + Prefix string + RepoRef *string + type AddCommentPayload struct + Bug BugWrapper + ClientMutationID *string + Operation *bug.AddCommentOperation + type Authored interface + IsAuthored func() + type BugConnection struct + Edges []*BugEdge + Nodes []BugWrapper + PageInfo *PageInfo + TotalCount int + type BugEdge struct + Cursor string + Node BugWrapper + func (e BugEdge) GetCursor() string + type BugWrapper interface + Actors func() ([]IdentityWrapper, error) + Author func() (IdentityWrapper, error) + Comments func() ([]bug.Comment, error) + CreatedAt func() time.Time + Id func() entity.Id + IsAuthored func() + Labels func() []bug.Label + LastEdit func() time.Time + Operations func() ([]bug.Operation, error) + Participants func() ([]IdentityWrapper, error) + Status func() bug.Status + Timeline func() ([]bug.TimelineItem, error) + Title func() string + type ChangeLabelInput struct + Added []string + ClientMutationID *string + Prefix string + Removed []string + RepoRef *string + type ChangeLabelPayload struct + Bug BugWrapper + ClientMutationID *string + Operation *bug.LabelChangeOperation + Results []*bug.LabelChangeResult + type CloseBugInput struct + ClientMutationID *string + Prefix string + RepoRef *string + type CloseBugPayload struct + Bug BugWrapper + ClientMutationID *string + Operation *bug.SetStatusOperation + type CommentConnection struct + Edges []*CommentEdge + Nodes []*bug.Comment + PageInfo *PageInfo + TotalCount int + type CommentEdge struct + Cursor string + Node *bug.Comment + func (e CommentEdge) GetCursor() string + type ConnectionInput struct + After *string + Before *string + First *int + Last *int + type IdentityConnection struct + Edges []*IdentityEdge + Nodes []IdentityWrapper + PageInfo *PageInfo + TotalCount int + type IdentityEdge struct + Cursor string + Node IdentityWrapper + func (e IdentityEdge) GetCursor() string + type IdentityWrapper interface + AvatarUrl func() (string, error) + DisplayName func() string + Email func() (string, error) + Id func() entity.Id + IsProtected func() (bool, error) + Keys func() ([]*identity.Key, error) + LastModification func() (timestamp.Timestamp, error) + LastModificationLamport func() (lamport.Time, error) + Login func() (string, error) + Name func() string + ValidKeysAtTime func(time lamport.Time) ([]*identity.Key, error) + type LabelChangeStatus string + const LabelChangeStatusAdded + const LabelChangeStatusAlreadyExist + const LabelChangeStatusDoesntExist + const LabelChangeStatusDuplicateInOp + const LabelChangeStatusRemoved + func (e *LabelChangeStatus) UnmarshalGQL(v interface{}) error + func (e LabelChangeStatus) IsValid() bool + func (e LabelChangeStatus) MarshalGQL(w io.Writer) + func (e LabelChangeStatus) String() string + type LabelConnection struct + Edges []*LabelEdge + Nodes []bug.Label + PageInfo *PageInfo + TotalCount int + type LabelEdge struct + Cursor string + Node bug.Label + func (e LabelEdge) GetCursor() string + type NewBugInput struct + ClientMutationID *string + Files []git.Hash + Message string + RepoRef *string + Title string + type NewBugPayload struct + Bug BugWrapper + ClientMutationID *string + Operation *bug.CreateOperation + type OpenBugInput struct + ClientMutationID *string + Prefix string + RepoRef *string + type OpenBugPayload struct + Bug BugWrapper + ClientMutationID *string + Operation *bug.SetStatusOperation + type OperationConnection struct + Edges []*OperationEdge + Nodes []bug.Operation + PageInfo *PageInfo + TotalCount int + type OperationEdge struct + Cursor string + Node bug.Operation + func (e OperationEdge) GetCursor() string + type PageInfo struct + EndCursor string + HasNextPage bool + HasPreviousPage bool + StartCursor string + type Repository struct + Cache *cache.MultiRepoCache + Repo *cache.RepoCache + type RepositoryMutation struct + Cache *cache.MultiRepoCache + Repo *cache.RepoCache + type SetTitleInput struct + ClientMutationID *string + Prefix string + RepoRef *string + Title string + type SetTitlePayload struct + Bug BugWrapper + ClientMutationID *string + Operation *bug.SetTitleOperation + type Status string + const StatusClosed + const StatusOpen + func (e *Status) UnmarshalGQL(v interface{}) error + func (e Status) IsValid() bool + func (e Status) MarshalGQL(w io.Writer) + func (e Status) String() string + type TimelineItemConnection struct + Edges []*TimelineItemEdge + Nodes []bug.TimelineItem + PageInfo *PageInfo + TotalCount int + type TimelineItemEdge struct + Cursor string + Node bug.TimelineItem + func (e TimelineItemEdge) GetCursor() string