Documentation
¶
Index ¶
- type Bool
- func (*Bool) Descriptor() ([]byte, []int)
- func (m *Bool) GetResult() bool
- func (*Bool) ProtoMessage()
- func (m *Bool) Reset()
- func (m *Bool) String() string
- func (m *Bool) XXX_DiscardUnknown()
- func (m *Bool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bool) XXX_Merge(src proto.Message)
- func (m *Bool) XXX_Size() int
- func (m *Bool) XXX_Unmarshal(b []byte) error
- type CancelPRRequest
- func (*CancelPRRequest) Descriptor() ([]byte, []int)
- func (m *CancelPRRequest) GetId() int64
- func (m *CancelPRRequest) GetRepository() string
- func (*CancelPRRequest) ProtoMessage()
- func (m *CancelPRRequest) Reset()
- func (m *CancelPRRequest) String() string
- func (m *CancelPRRequest) XXX_DiscardUnknown()
- func (m *CancelPRRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CancelPRRequest) XXX_Merge(src proto.Message)
- func (m *CancelPRRequest) XXX_Size() int
- func (m *CancelPRRequest) XXX_Unmarshal(b []byte) error
- type Error
- func (*Error) Descriptor() ([]byte, []int)
- func (m *Error) GetErrors() []string
- func (m *Error) GetLog() bool
- func (*Error) ProtoMessage()
- func (m *Error) Reset()
- func (m *Error) String() string
- func (m *Error) XXX_DiscardUnknown()
- func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Error) XXX_Merge(src proto.Message)
- func (m *Error) XXX_Size() int
- func (m *Error) XXX_Unmarshal(b []byte) error
- type IntID
- func (*IntID) Descriptor() ([]byte, []int)
- func (m *IntID) GetID() int64
- func (*IntID) ProtoMessage()
- func (m *IntID) Reset()
- func (m *IntID) String() string
- func (m *IntID) XXX_DiscardUnknown()
- func (m *IntID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IntID) XXX_Merge(src proto.Message)
- func (m *IntID) XXX_Size() int
- func (m *IntID) XXX_Unmarshal(b []byte) error
- type QueueItem
- func (*QueueItem) Descriptor() ([]byte, []int)
- func (m *QueueItem) GetId() int64
- func (m *QueueItem) GetQueueName() string
- func (m *QueueItem) GetRun() *Run
- func (m *QueueItem) GetRunning() bool
- func (m *QueueItem) GetRunningOn() string
- func (m *QueueItem) GetStartedAt() *timestamp.Timestamp
- func (*QueueItem) ProtoMessage()
- func (m *QueueItem) Reset()
- func (m *QueueItem) String() string
- func (m *QueueItem) XXX_DiscardUnknown()
- func (m *QueueItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueueItem) XXX_Merge(src proto.Message)
- func (m *QueueItem) XXX_Size() int
- func (m *QueueItem) XXX_Unmarshal(b []byte) error
- type QueueRequest
- func (*QueueRequest) Descriptor() ([]byte, []int)
- func (m *QueueRequest) GetQueueName() string
- func (m *QueueRequest) GetRunningOn() string
- func (*QueueRequest) ProtoMessage()
- func (m *QueueRequest) Reset()
- func (m *QueueRequest) String() string
- func (m *QueueRequest) XXX_DiscardUnknown()
- func (m *QueueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueueRequest) XXX_Merge(src proto.Message)
- func (m *QueueRequest) XXX_Size() int
- func (m *QueueRequest) XXX_Unmarshal(b []byte) error
- type Ref
- func (*Ref) Descriptor() ([]byte, []int)
- func (m *Ref) GetId() int64
- func (m *Ref) GetRefName() string
- func (m *Ref) GetRepository() *Repository
- func (m *Ref) GetSha() string
- func (*Ref) ProtoMessage()
- func (m *Ref) Reset()
- func (m *Ref) String() string
- func (m *Ref) XXX_DiscardUnknown()
- func (m *Ref) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Ref) XXX_Merge(src proto.Message)
- func (m *Ref) XXX_Size() int
- func (m *Ref) XXX_Unmarshal(b []byte) error
- type Repository
- func (*Repository) Descriptor() ([]byte, []int)
- func (m *Repository) GetAutoCreated() bool
- func (m *Repository) GetDisabled() bool
- func (m *Repository) GetGithub() []byte
- func (m *Repository) GetHookSecret() string
- func (m *Repository) GetId() int64
- func (m *Repository) GetName() string
- func (m *Repository) GetOwner() *User
- func (m *Repository) GetPrivate() bool
- func (*Repository) ProtoMessage()
- func (m *Repository) Reset()
- func (m *Repository) String() string
- func (m *Repository) XXX_DiscardUnknown()
- func (m *Repository) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Repository) XXX_Merge(src proto.Message)
- func (m *Repository) XXX_Size() int
- func (m *Repository) XXX_Unmarshal(b []byte) error
- type RepositoryList
- func (*RepositoryList) Descriptor() ([]byte, []int)
- func (m *RepositoryList) GetList() []*Repository
- func (*RepositoryList) ProtoMessage()
- func (m *RepositoryList) Reset()
- func (m *RepositoryList) String() string
- func (m *RepositoryList) XXX_DiscardUnknown()
- func (m *RepositoryList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RepositoryList) XXX_Merge(src proto.Message)
- func (m *RepositoryList) XXX_Size() int
- func (m *RepositoryList) XXX_Unmarshal(b []byte) error
- type Run
- func (*Run) Descriptor() ([]byte, []int)
- func (m *Run) GetCreatedAt() *timestamp.Timestamp
- func (m *Run) GetFinishedAt() *timestamp.Timestamp
- func (m *Run) GetId() int64
- func (m *Run) GetName() string
- func (m *Run) GetRanOn() string
- func (m *Run) GetRanOnSet() bool
- func (m *Run) GetSettings() *RunSettings
- func (m *Run) GetStartedAt() *timestamp.Timestamp
- func (m *Run) GetStatus() bool
- func (m *Run) GetStatusSet() bool
- func (m *Run) GetTask() *Task
- func (*Run) ProtoMessage()
- func (m *Run) Reset()
- func (m *Run) String() string
- func (m *Run) XXX_DiscardUnknown()
- func (m *Run) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Run) XXX_Merge(src proto.Message)
- func (m *Run) XXX_Size() int
- func (m *Run) XXX_Unmarshal(b []byte) error
- type RunList
- func (*RunList) Descriptor() ([]byte, []int)
- func (m *RunList) GetList() []*Run
- func (*RunList) ProtoMessage()
- func (m *RunList) Reset()
- func (m *RunList) String() string
- func (m *RunList) XXX_DiscardUnknown()
- func (m *RunList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RunList) XXX_Merge(src proto.Message)
- func (m *RunList) XXX_Size() int
- func (m *RunList) XXX_Unmarshal(b []byte) error
- type RunSettings
- func (*RunSettings) Descriptor() ([]byte, []int)
- func (m *RunSettings) GetCommand() []string
- func (m *RunSettings) GetImage() string
- func (m *RunSettings) GetMetadata() *_struct.Struct
- func (m *RunSettings) GetName() string
- func (m *RunSettings) GetQueue() string
- func (m *RunSettings) GetTimeout() int64
- func (*RunSettings) ProtoMessage()
- func (m *RunSettings) Reset()
- func (m *RunSettings) String() string
- func (m *RunSettings) XXX_DiscardUnknown()
- func (m *RunSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RunSettings) XXX_Merge(src proto.Message)
- func (m *RunSettings) XXX_Size() int
- func (m *RunSettings) XXX_Unmarshal(b []byte) error
- type Session
- func (*Session) Descriptor() ([]byte, []int)
- func (m *Session) GetExpiresOn() *timestamp.Timestamp
- func (m *Session) GetKey() string
- func (m *Session) GetValues() string
- func (*Session) ProtoMessage()
- func (m *Session) Reset()
- func (m *Session) String() string
- func (m *Session) XXX_DiscardUnknown()
- func (m *Session) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Session) XXX_Merge(src proto.Message)
- func (m *Session) XXX_Size() int
- func (m *Session) XXX_Unmarshal(b []byte) error
- type Status
- func (*Status) Descriptor() ([]byte, []int)
- func (m *Status) GetAdditionalMessage() string
- func (m *Status) GetId() int64
- func (m *Status) GetStatus() bool
- func (*Status) ProtoMessage()
- func (m *Status) Reset()
- func (m *Status) String() string
- func (m *Status) XXX_DiscardUnknown()
- func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Status) XXX_Merge(src proto.Message)
- func (m *Status) XXX_Size() int
- func (m *Status) XXX_Unmarshal(b []byte) error
- type StringID
- func (*StringID) Descriptor() ([]byte, []int)
- func (m *StringID) GetID() string
- func (*StringID) ProtoMessage()
- func (m *StringID) Reset()
- func (m *StringID) String() string
- func (m *StringID) XXX_DiscardUnknown()
- func (m *StringID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StringID) XXX_Merge(src proto.Message)
- func (m *StringID) XXX_Size() int
- func (m *StringID) XXX_Unmarshal(b []byte) error
- type Submission
- func (*Submission) Descriptor() ([]byte, []int)
- func (m *Submission) GetBaseRef() *Ref
- func (m *Submission) GetCanceled() bool
- func (m *Submission) GetCreatedAt() *timestamp.Timestamp
- func (m *Submission) GetFinishedAt() *timestamp.Timestamp
- func (m *Submission) GetHeadRef() *Ref
- func (m *Submission) GetId() int64
- func (m *Submission) GetRunsCount() int64
- func (m *Submission) GetStartedAt() *timestamp.Timestamp
- func (m *Submission) GetStatus() bool
- func (m *Submission) GetStatusSet() bool
- func (m *Submission) GetTasksCount() int64
- func (m *Submission) GetTicketID() int64
- func (m *Submission) GetUser() *User
- func (*Submission) ProtoMessage()
- func (m *Submission) Reset()
- func (m *Submission) String() string
- func (m *Submission) XXX_DiscardUnknown()
- func (m *Submission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Submission) XXX_Merge(src proto.Message)
- func (m *Submission) XXX_Size() int
- func (m *Submission) XXX_Unmarshal(b []byte) error
- type SubmissionList
- func (*SubmissionList) Descriptor() ([]byte, []int)
- func (m *SubmissionList) GetSubmissions() []*Submission
- func (*SubmissionList) ProtoMessage()
- func (m *SubmissionList) Reset()
- func (m *SubmissionList) String() string
- func (m *SubmissionList) XXX_DiscardUnknown()
- func (m *SubmissionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubmissionList) XXX_Merge(src proto.Message)
- func (m *SubmissionList) XXX_Size() int
- func (m *SubmissionList) XXX_Unmarshal(b []byte) error
- type Task
- func (*Task) Descriptor() ([]byte, []int)
- func (m *Task) GetCanceled() bool
- func (m *Task) GetCreatedAt() *timestamp.Timestamp
- func (m *Task) GetFinishedAt() *timestamp.Timestamp
- func (m *Task) GetId() int64
- func (m *Task) GetPath() string
- func (m *Task) GetPullRequestID() int64
- func (m *Task) GetRuns() int64
- func (m *Task) GetSettings() *TaskSettings
- func (m *Task) GetStartedAt() *timestamp.Timestamp
- func (m *Task) GetStatus() bool
- func (m *Task) GetStatusSet() bool
- func (m *Task) GetSubmission() *Submission
- func (*Task) ProtoMessage()
- func (m *Task) Reset()
- func (m *Task) String() string
- func (m *Task) XXX_DiscardUnknown()
- func (m *Task) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Task) XXX_Merge(src proto.Message)
- func (m *Task) XXX_Size() int
- func (m *Task) XXX_Unmarshal(b []byte) error
- type TaskList
- func (*TaskList) Descriptor() ([]byte, []int)
- func (m *TaskList) GetTasks() []*Task
- func (*TaskList) ProtoMessage()
- func (m *TaskList) Reset()
- func (m *TaskList) String() string
- func (m *TaskList) XXX_DiscardUnknown()
- func (m *TaskList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TaskList) XXX_Merge(src proto.Message)
- func (m *TaskList) XXX_Size() int
- func (m *TaskList) XXX_Unmarshal(b []byte) error
- type TaskSettings
- func (*TaskSettings) Descriptor() ([]byte, []int)
- func (m *TaskSettings) GetDefaultImage() string
- func (m *TaskSettings) GetDefaultQueue() string
- func (m *TaskSettings) GetDefaultTimeout() int64
- func (m *TaskSettings) GetDependencies() []string
- func (m *TaskSettings) GetEnv() []string
- func (m *TaskSettings) GetMetadata() *_struct.Struct
- func (m *TaskSettings) GetMountpoint() string
- func (m *TaskSettings) GetRuns() map[string]*RunSettings
- func (m *TaskSettings) GetWorkdir() string
- func (*TaskSettings) ProtoMessage()
- func (m *TaskSettings) Reset()
- func (m *TaskSettings) String() string
- func (m *TaskSettings) XXX_DiscardUnknown()
- func (m *TaskSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TaskSettings) XXX_Merge(src proto.Message)
- func (m *TaskSettings) XXX_Size() int
- func (m *TaskSettings) XXX_Unmarshal(b []byte) error
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetErrors() []*UserError
- func (m *User) GetId() int64
- func (m *User) GetLastScannedRepos() *timestamp.Timestamp
- func (m *User) GetTokenJSON() []byte
- func (m *User) GetUsername() string
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) String() string
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
- type UserError
- func (*UserError) Descriptor() ([]byte, []int)
- func (m *UserError) GetError() string
- func (m *UserError) GetId() int64
- func (m *UserError) GetUserID() int64
- func (*UserError) ProtoMessage()
- func (m *UserError) Reset()
- func (m *UserError) String() string
- func (m *UserError) XXX_DiscardUnknown()
- func (m *UserError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserError) XXX_Merge(src proto.Message)
- func (m *UserError) XXX_Size() int
- func (m *UserError) XXX_Unmarshal(b []byte) error
- type UserErrors
- func (*UserErrors) Descriptor() ([]byte, []int)
- func (m *UserErrors) GetErrors() []*UserError
- func (*UserErrors) ProtoMessage()
- func (m *UserErrors) Reset()
- func (m *UserErrors) String() string
- func (m *UserErrors) XXX_DiscardUnknown()
- func (m *UserErrors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserErrors) XXX_Merge(src proto.Message)
- func (m *UserErrors) XXX_Size() int
- func (m *UserErrors) XXX_Unmarshal(b []byte) error
- type UserList
- func (*UserList) Descriptor() ([]byte, []int)
- func (m *UserList) GetUsers() []*User
- func (*UserList) ProtoMessage()
- func (m *UserList) Reset()
- func (m *UserList) String() string
- func (m *UserList) XXX_DiscardUnknown()
- func (m *UserList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserList) XXX_Merge(src proto.Message)
- func (m *UserList) XXX_Size() int
- func (m *UserList) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bool ¶
type Bool struct {
Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Bool) Descriptor ¶
func (*Bool) ProtoMessage ¶
func (*Bool) ProtoMessage()
func (*Bool) XXX_DiscardUnknown ¶
func (m *Bool) XXX_DiscardUnknown()
func (*Bool) XXX_Unmarshal ¶
type CancelPRRequest ¶
type CancelPRRequest struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
CancelPRRequest is used in CancelTasksByPR in the datasvc; can be used to cancel all runs for a PR.
func (*CancelPRRequest) Descriptor ¶
func (*CancelPRRequest) Descriptor() ([]byte, []int)
func (*CancelPRRequest) GetId ¶
func (m *CancelPRRequest) GetId() int64
func (*CancelPRRequest) GetRepository ¶
func (m *CancelPRRequest) GetRepository() string
func (*CancelPRRequest) ProtoMessage ¶
func (*CancelPRRequest) ProtoMessage()
func (*CancelPRRequest) Reset ¶
func (m *CancelPRRequest) Reset()
func (*CancelPRRequest) String ¶
func (m *CancelPRRequest) String() string
func (*CancelPRRequest) XXX_DiscardUnknown ¶
func (m *CancelPRRequest) XXX_DiscardUnknown()
func (*CancelPRRequest) XXX_Marshal ¶
func (m *CancelPRRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CancelPRRequest) XXX_Merge ¶
func (m *CancelPRRequest) XXX_Merge(src proto.Message)
func (*CancelPRRequest) XXX_Size ¶
func (m *CancelPRRequest) XXX_Size() int
func (*CancelPRRequest) XXX_Unmarshal ¶
func (m *CancelPRRequest) XXX_Unmarshal(b []byte) error
type Error ¶
type Error struct {
Errors []string `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"`
Log bool `protobuf:"varint,2,opt,name=log,proto3" json:"log,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Errors that occur within the program's calls after a request. Bound to the user, not the connection.
func (*Error) Descriptor ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) XXX_DiscardUnknown ¶
func (m *Error) XXX_DiscardUnknown()
func (*Error) XXX_Marshal ¶
func (*Error) XXX_Unmarshal ¶
type IntID ¶
type IntID struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
IntID is a basic integer ID -- it's used to control a variety of things that use basic sequences and so forth.
func (*IntID) Descriptor ¶
func (*IntID) ProtoMessage ¶
func (*IntID) ProtoMessage()
func (*IntID) XXX_DiscardUnknown ¶
func (m *IntID) XXX_DiscardUnknown()
func (*IntID) XXX_Marshal ¶
func (*IntID) XXX_Unmarshal ¶
type QueueItem ¶
type QueueItem struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Running bool `protobuf:"varint,2,opt,name=running,proto3" json:"running,omitempty"`
RunningOn string `protobuf:"bytes,3,opt,name=runningOn,proto3" json:"runningOn,omitempty"`
StartedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=startedAt,proto3" json:"startedAt,omitempty"`
QueueName string `protobuf:"bytes,5,opt,name=queueName,proto3" json:"queueName,omitempty"`
Run *Run `protobuf:"bytes,6,opt,name=run,proto3" json:"run,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
QueueItems are the subject sent to runners when runners are able to execute a job. Runners poll for these endless through the queuesvc.
func (*QueueItem) Descriptor ¶
func (*QueueItem) GetQueueName ¶
func (*QueueItem) GetRunning ¶
func (*QueueItem) GetRunningOn ¶
func (*QueueItem) GetStartedAt ¶
func (*QueueItem) ProtoMessage ¶
func (*QueueItem) ProtoMessage()
func (*QueueItem) XXX_DiscardUnknown ¶
func (m *QueueItem) XXX_DiscardUnknown()
func (*QueueItem) XXX_Marshal ¶
func (*QueueItem) XXX_Unmarshal ¶
type QueueRequest ¶
type QueueRequest struct {
QueueName string `protobuf:"bytes,1,opt,name=queueName,proto3" json:"queueName,omitempty"`
RunningOn string `protobuf:"bytes,2,opt,name=runningOn,proto3" json:"runningOn,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
QueueRequest is issued by runners to the queuesvc.
func (*QueueRequest) Descriptor ¶
func (*QueueRequest) Descriptor() ([]byte, []int)
func (*QueueRequest) GetQueueName ¶
func (m *QueueRequest) GetQueueName() string
func (*QueueRequest) GetRunningOn ¶
func (m *QueueRequest) GetRunningOn() string
func (*QueueRequest) ProtoMessage ¶
func (*QueueRequest) ProtoMessage()
func (*QueueRequest) Reset ¶
func (m *QueueRequest) Reset()
func (*QueueRequest) String ¶
func (m *QueueRequest) String() string
func (*QueueRequest) XXX_DiscardUnknown ¶
func (m *QueueRequest) XXX_DiscardUnknown()
func (*QueueRequest) XXX_Marshal ¶
func (m *QueueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueueRequest) XXX_Merge ¶
func (m *QueueRequest) XXX_Merge(src proto.Message)
func (*QueueRequest) XXX_Size ¶
func (m *QueueRequest) XXX_Size() int
func (*QueueRequest) XXX_Unmarshal ¶
func (m *QueueRequest) XXX_Unmarshal(b []byte) error
type Ref ¶
type Ref struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Repository *Repository `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
RefName string `protobuf:"bytes,3,opt,name=refName,proto3" json:"refName,omitempty"`
Sha string `protobuf:"bytes,4,opt,name=sha,proto3" json:"sha,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Ref is the encapsulation of a git ref and communicates repository as well as version information.
func (*Ref) Descriptor ¶
func (*Ref) GetRefName ¶
func (*Ref) GetRepository ¶
func (m *Ref) GetRepository() *Repository
func (*Ref) ProtoMessage ¶
func (*Ref) ProtoMessage()
func (*Ref) XXX_DiscardUnknown ¶
func (m *Ref) XXX_DiscardUnknown()
func (*Ref) XXX_Unmarshal ¶
type Repository ¶
type Repository struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Private bool `protobuf:"varint,3,opt,name=private,proto3" json:"private,omitempty"`
Disabled bool `protobuf:"varint,4,opt,name=disabled,proto3" json:"disabled,omitempty"`
Owner *User `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"`
AutoCreated bool `protobuf:"varint,6,opt,name=autoCreated,proto3" json:"autoCreated,omitempty"`
HookSecret string `protobuf:"bytes,7,opt,name=hookSecret,proto3" json:"hookSecret,omitempty"`
Github []byte `protobuf:"bytes,8,opt,name=github,proto3" json:"github,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Repository is the model for a github repository.
func (*Repository) Descriptor ¶
func (*Repository) Descriptor() ([]byte, []int)
func (*Repository) GetAutoCreated ¶
func (m *Repository) GetAutoCreated() bool
func (*Repository) GetDisabled ¶
func (m *Repository) GetDisabled() bool
func (*Repository) GetGithub ¶
func (m *Repository) GetGithub() []byte
func (*Repository) GetHookSecret ¶
func (m *Repository) GetHookSecret() string
func (*Repository) GetId ¶
func (m *Repository) GetId() int64
func (*Repository) GetName ¶
func (m *Repository) GetName() string
func (*Repository) GetOwner ¶
func (m *Repository) GetOwner() *User
func (*Repository) GetPrivate ¶
func (m *Repository) GetPrivate() bool
func (*Repository) ProtoMessage ¶
func (*Repository) ProtoMessage()
func (*Repository) Reset ¶
func (m *Repository) Reset()
func (*Repository) String ¶
func (m *Repository) String() string
func (*Repository) XXX_DiscardUnknown ¶
func (m *Repository) XXX_DiscardUnknown()
func (*Repository) XXX_Marshal ¶
func (m *Repository) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Repository) XXX_Merge ¶
func (m *Repository) XXX_Merge(src proto.Message)
func (*Repository) XXX_Size ¶
func (m *Repository) XXX_Size() int
func (*Repository) XXX_Unmarshal ¶
func (m *Repository) XXX_Unmarshal(b []byte) error
type RepositoryList ¶
type RepositoryList struct {
List []*Repository `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RepositoryList) Descriptor ¶
func (*RepositoryList) Descriptor() ([]byte, []int)
func (*RepositoryList) GetList ¶
func (m *RepositoryList) GetList() []*Repository
func (*RepositoryList) ProtoMessage ¶
func (*RepositoryList) ProtoMessage()
func (*RepositoryList) Reset ¶
func (m *RepositoryList) Reset()
func (*RepositoryList) String ¶
func (m *RepositoryList) String() string
func (*RepositoryList) XXX_DiscardUnknown ¶
func (m *RepositoryList) XXX_DiscardUnknown()
func (*RepositoryList) XXX_Marshal ¶
func (m *RepositoryList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RepositoryList) XXX_Merge ¶
func (m *RepositoryList) XXX_Merge(src proto.Message)
func (*RepositoryList) XXX_Size ¶
func (m *RepositoryList) XXX_Size() int
func (*RepositoryList) XXX_Unmarshal ¶
func (m *RepositoryList) XXX_Unmarshal(b []byte) error
type Run ¶
type Run struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
CreatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
StartedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=startedAt,proto3" json:"startedAt,omitempty"`
FinishedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=finishedAt,proto3" json:"finishedAt,omitempty"`
Status bool `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"`
StatusSet bool `protobuf:"varint,7,opt,name=statusSet,proto3" json:"statusSet,omitempty"`
Settings *RunSettings `protobuf:"bytes,8,opt,name=settings,proto3" json:"settings,omitempty"`
Task *Task `protobuf:"bytes,9,opt,name=task,proto3" json:"task,omitempty"`
RanOn string `protobuf:"bytes,10,opt,name=ranOn,proto3" json:"ranOn,omitempty"`
RanOnSet bool `protobuf:"varint,11,opt,name=ranOnSet,proto3" json:"ranOnSet,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Run is a single CI run, intended to be sent to a runner.
func (*Run) Descriptor ¶
func (*Run) GetCreatedAt ¶
func (*Run) GetFinishedAt ¶
func (*Run) GetRanOnSet ¶
func (*Run) GetSettings ¶
func (m *Run) GetSettings() *RunSettings
func (*Run) GetStartedAt ¶
func (*Run) GetStatusSet ¶
func (*Run) ProtoMessage ¶
func (*Run) ProtoMessage()
func (*Run) XXX_DiscardUnknown ¶
func (m *Run) XXX_DiscardUnknown()
func (*Run) XXX_Unmarshal ¶
type RunList ¶
type RunList struct {
List []*Run `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
RunList is just an array of runs
func (*RunList) Descriptor ¶
func (*RunList) ProtoMessage ¶
func (*RunList) ProtoMessage()
func (*RunList) XXX_DiscardUnknown ¶
func (m *RunList) XXX_DiscardUnknown()
func (*RunList) XXX_Marshal ¶
func (*RunList) XXX_Unmarshal ¶
type RunSettings ¶
type RunSettings struct {
Command []string `protobuf:"bytes,1,rep,name=command,proto3" json:"command,omitempty"`
Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
Queue string `protobuf:"bytes,3,opt,name=queue,proto3" json:"queue,omitempty"`
Metadata *_struct.Struct `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
Timeout int64 `protobuf:"varint,6,opt,name=timeout,proto3" json:"timeout,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
RunSettings covers all the features that tinyCI supports to manage runs and execute them.
func (*RunSettings) Descriptor ¶
func (*RunSettings) Descriptor() ([]byte, []int)
func (*RunSettings) GetCommand ¶
func (m *RunSettings) GetCommand() []string
func (*RunSettings) GetImage ¶
func (m *RunSettings) GetImage() string
func (*RunSettings) GetMetadata ¶
func (m *RunSettings) GetMetadata() *_struct.Struct
func (*RunSettings) GetName ¶
func (m *RunSettings) GetName() string
func (*RunSettings) GetQueue ¶
func (m *RunSettings) GetQueue() string
func (*RunSettings) GetTimeout ¶
func (m *RunSettings) GetTimeout() int64
func (*RunSettings) ProtoMessage ¶
func (*RunSettings) ProtoMessage()
func (*RunSettings) Reset ¶
func (m *RunSettings) Reset()
func (*RunSettings) String ¶
func (m *RunSettings) String() string
func (*RunSettings) XXX_DiscardUnknown ¶
func (m *RunSettings) XXX_DiscardUnknown()
func (*RunSettings) XXX_Marshal ¶
func (m *RunSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RunSettings) XXX_Merge ¶
func (m *RunSettings) XXX_Merge(src proto.Message)
func (*RunSettings) XXX_Size ¶
func (m *RunSettings) XXX_Size() int
func (*RunSettings) XXX_Unmarshal ¶
func (m *RunSettings) XXX_Unmarshal(b []byte) error
type Session ¶
type Session struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Values string `protobuf:"bytes,2,opt,name=values,proto3" json:"values,omitempty"`
ExpiresOn *timestamp.Timestamp `protobuf:"bytes,3,opt,name=expiresOn,proto3" json:"expiresOn,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Session is a session key/value pair as well as an expiry time for the session. All values are encrypted with the session key.
func (*Session) Descriptor ¶
func (*Session) GetExpiresOn ¶
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) XXX_DiscardUnknown ¶
func (m *Session) XXX_DiscardUnknown()
func (*Session) XXX_Marshal ¶
func (*Session) XXX_Unmarshal ¶
type Status ¶
type Status struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Status bool `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
AdditionalMessage string `protobuf:"bytes,3,opt,name=additionalMessage,proto3" json:"additionalMessage,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Status is reported to the queuesvc on completion of a run.
func (*Status) Descriptor ¶
func (*Status) GetAdditionalMessage ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) XXX_DiscardUnknown ¶
func (m *Status) XXX_DiscardUnknown()
func (*Status) XXX_Marshal ¶
func (*Status) XXX_Unmarshal ¶
type StringID ¶
type StringID struct {
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
StringID is just like types.IntID but instead it's a string!
func (*StringID) Descriptor ¶
func (*StringID) ProtoMessage ¶
func (*StringID) ProtoMessage()
func (*StringID) XXX_DiscardUnknown ¶
func (m *StringID) XXX_DiscardUnknown()
func (*StringID) XXX_Marshal ¶
func (*StringID) XXX_Unmarshal ¶
type Submission ¶
type Submission struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
HeadRef *Ref `protobuf:"bytes,2,opt,name=headRef,proto3" json:"headRef,omitempty"`
BaseRef *Ref `protobuf:"bytes,3,opt,name=baseRef,proto3" json:"baseRef,omitempty"`
User *User `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
CreatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
TasksCount int64 `protobuf:"varint,6,opt,name=tasksCount,proto3" json:"tasksCount,omitempty"`
FinishedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=finishedAt,proto3" json:"finishedAt,omitempty"`
Status bool `protobuf:"varint,8,opt,name=status,proto3" json:"status,omitempty"`
StatusSet bool `protobuf:"varint,9,opt,name=statusSet,proto3" json:"statusSet,omitempty"`
StartedAt *timestamp.Timestamp `protobuf:"bytes,10,opt,name=startedAt,proto3" json:"startedAt,omitempty"`
Canceled bool `protobuf:"varint,11,opt,name=canceled,proto3" json:"canceled,omitempty"`
TicketID int64 `protobuf:"varint,12,opt,name=ticketID,proto3" json:"ticketID,omitempty"`
RunsCount int64 `protobuf:"varint,13,opt,name=runsCount,proto3" json:"runsCount,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Submission) Descriptor ¶
func (*Submission) Descriptor() ([]byte, []int)
func (*Submission) GetBaseRef ¶
func (m *Submission) GetBaseRef() *Ref
func (*Submission) GetCanceled ¶
func (m *Submission) GetCanceled() bool
func (*Submission) GetCreatedAt ¶
func (m *Submission) GetCreatedAt() *timestamp.Timestamp
func (*Submission) GetFinishedAt ¶
func (m *Submission) GetFinishedAt() *timestamp.Timestamp
func (*Submission) GetHeadRef ¶
func (m *Submission) GetHeadRef() *Ref
func (*Submission) GetId ¶
func (m *Submission) GetId() int64
func (*Submission) GetRunsCount ¶
func (m *Submission) GetRunsCount() int64
func (*Submission) GetStartedAt ¶
func (m *Submission) GetStartedAt() *timestamp.Timestamp
func (*Submission) GetStatus ¶
func (m *Submission) GetStatus() bool
func (*Submission) GetStatusSet ¶
func (m *Submission) GetStatusSet() bool
func (*Submission) GetTasksCount ¶
func (m *Submission) GetTasksCount() int64
func (*Submission) GetTicketID ¶
func (m *Submission) GetTicketID() int64
func (*Submission) GetUser ¶
func (m *Submission) GetUser() *User
func (*Submission) ProtoMessage ¶
func (*Submission) ProtoMessage()
func (*Submission) Reset ¶
func (m *Submission) Reset()
func (*Submission) String ¶
func (m *Submission) String() string
func (*Submission) XXX_DiscardUnknown ¶
func (m *Submission) XXX_DiscardUnknown()
func (*Submission) XXX_Marshal ¶
func (m *Submission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Submission) XXX_Merge ¶
func (m *Submission) XXX_Merge(src proto.Message)
func (*Submission) XXX_Size ¶
func (m *Submission) XXX_Size() int
func (*Submission) XXX_Unmarshal ¶
func (m *Submission) XXX_Unmarshal(b []byte) error
type SubmissionList ¶
type SubmissionList struct {
Submissions []*Submission `protobuf:"bytes,1,rep,name=submissions,proto3" json:"submissions,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SubmissionList) Descriptor ¶
func (*SubmissionList) Descriptor() ([]byte, []int)
func (*SubmissionList) GetSubmissions ¶
func (m *SubmissionList) GetSubmissions() []*Submission
func (*SubmissionList) ProtoMessage ¶
func (*SubmissionList) ProtoMessage()
func (*SubmissionList) Reset ¶
func (m *SubmissionList) Reset()
func (*SubmissionList) String ¶
func (m *SubmissionList) String() string
func (*SubmissionList) XXX_DiscardUnknown ¶
func (m *SubmissionList) XXX_DiscardUnknown()
func (*SubmissionList) XXX_Marshal ¶
func (m *SubmissionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubmissionList) XXX_Merge ¶
func (m *SubmissionList) XXX_Merge(src proto.Message)
func (*SubmissionList) XXX_Size ¶
func (m *SubmissionList) XXX_Size() int
func (*SubmissionList) XXX_Unmarshal ¶
func (m *SubmissionList) XXX_Unmarshal(b []byte) error
type Task ¶
type Task struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// XXX Fields that are no longer used
// types.Repository parent = 2; // Parent Repository
// types.Ref ref = 3; // Associated Ref to be tested
// string baseSHA = 4; // BaseSHA for diff
PullRequestID int64 `protobuf:"varint,5,opt,name=pullRequestID,proto3" json:"pullRequestID,omitempty"`
Canceled bool `protobuf:"varint,6,opt,name=canceled,proto3" json:"canceled,omitempty"`
FinishedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=finishedAt,proto3" json:"finishedAt,omitempty"`
CreatedAt *timestamp.Timestamp `protobuf:"bytes,8,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
StartedAt *timestamp.Timestamp `protobuf:"bytes,9,opt,name=startedAt,proto3" json:"startedAt,omitempty"`
Status bool `protobuf:"varint,10,opt,name=status,proto3" json:"status,omitempty"`
StatusSet bool `protobuf:"varint,11,opt,name=statusSet,proto3" json:"statusSet,omitempty"`
Settings *TaskSettings `protobuf:"bytes,12,opt,name=settings,proto3" json:"settings,omitempty"`
Path string `protobuf:"bytes,13,opt,name=path,proto3" json:"path,omitempty"`
Runs int64 `protobuf:"varint,14,opt,name=runs,proto3" json:"runs,omitempty"`
Submission *Submission `protobuf:"bytes,15,opt,name=submission,proto3" json:"submission,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Task corresponds to directories within the tree that have a `task.yml` placed in them. Each task is decomposed into runs, and this record is created indicating the group of them, as well as properties they share.
func (*Task) Descriptor ¶
func (*Task) GetCanceled ¶
func (*Task) GetCreatedAt ¶
func (*Task) GetFinishedAt ¶
func (*Task) GetPullRequestID ¶
func (*Task) GetSettings ¶
func (m *Task) GetSettings() *TaskSettings
func (*Task) GetStartedAt ¶
func (*Task) GetStatusSet ¶
func (*Task) GetSubmission ¶
func (m *Task) GetSubmission() *Submission
func (*Task) ProtoMessage ¶
func (*Task) ProtoMessage()
func (*Task) XXX_DiscardUnknown ¶
func (m *Task) XXX_DiscardUnknown()
func (*Task) XXX_Unmarshal ¶
type TaskList ¶
type TaskList struct {
Tasks []*Task `protobuf:"bytes,1,rep,name=Tasks,proto3" json:"Tasks,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
TaskList is simply a repeated list of tasks.
func (*TaskList) Descriptor ¶
func (*TaskList) ProtoMessage ¶
func (*TaskList) ProtoMessage()
func (*TaskList) XXX_DiscardUnknown ¶
func (m *TaskList) XXX_DiscardUnknown()
func (*TaskList) XXX_Marshal ¶
func (*TaskList) XXX_Unmarshal ¶
type TaskSettings ¶
type TaskSettings struct {
Mountpoint string `protobuf:"bytes,1,opt,name=mountpoint,proto3" json:"mountpoint,omitempty"`
Env []string `protobuf:"bytes,2,rep,name=env,proto3" json:"env,omitempty"`
Workdir string `protobuf:"bytes,3,opt,name=workdir,proto3" json:"workdir,omitempty"`
Runs map[string]*RunSettings `` /* 149-byte string literal not displayed */
DefaultTimeout int64 `protobuf:"varint,5,opt,name=defaultTimeout,proto3" json:"defaultTimeout,omitempty"`
DefaultQueue string `protobuf:"bytes,6,opt,name=defaultQueue,proto3" json:"defaultQueue,omitempty"`
DefaultImage string `protobuf:"bytes,7,opt,name=defaultImage,proto3" json:"defaultImage,omitempty"`
Metadata *_struct.Struct `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"`
Dependencies []string `protobuf:"bytes,9,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
TaskSettings is the parsed representation to struct of task.yml files.
func (*TaskSettings) Descriptor ¶
func (*TaskSettings) Descriptor() ([]byte, []int)
func (*TaskSettings) GetDefaultImage ¶
func (m *TaskSettings) GetDefaultImage() string
func (*TaskSettings) GetDefaultQueue ¶
func (m *TaskSettings) GetDefaultQueue() string
func (*TaskSettings) GetDefaultTimeout ¶
func (m *TaskSettings) GetDefaultTimeout() int64
func (*TaskSettings) GetDependencies ¶
func (m *TaskSettings) GetDependencies() []string
func (*TaskSettings) GetEnv ¶
func (m *TaskSettings) GetEnv() []string
func (*TaskSettings) GetMetadata ¶
func (m *TaskSettings) GetMetadata() *_struct.Struct
func (*TaskSettings) GetMountpoint ¶
func (m *TaskSettings) GetMountpoint() string
func (*TaskSettings) GetRuns ¶
func (m *TaskSettings) GetRuns() map[string]*RunSettings
func (*TaskSettings) GetWorkdir ¶
func (m *TaskSettings) GetWorkdir() string
func (*TaskSettings) ProtoMessage ¶
func (*TaskSettings) ProtoMessage()
func (*TaskSettings) Reset ¶
func (m *TaskSettings) Reset()
func (*TaskSettings) String ¶
func (m *TaskSettings) String() string
func (*TaskSettings) XXX_DiscardUnknown ¶
func (m *TaskSettings) XXX_DiscardUnknown()
func (*TaskSettings) XXX_Marshal ¶
func (m *TaskSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TaskSettings) XXX_Merge ¶
func (m *TaskSettings) XXX_Merge(src proto.Message)
func (*TaskSettings) XXX_Size ¶
func (m *TaskSettings) XXX_Size() int
func (*TaskSettings) XXX_Unmarshal ¶
func (m *TaskSettings) XXX_Unmarshal(b []byte) error
type User ¶
type User struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
LastScannedRepos *timestamp.Timestamp `protobuf:"bytes,3,opt,name=lastScannedRepos,proto3" json:"lastScannedRepos,omitempty"`
Errors []*UserError `protobuf:"bytes,4,rep,name=errors,proto3" json:"errors,omitempty"`
// JSON corresponding to the oauth2 response from github when first signing
// up; this contains an access and refresh token. Encrypted with the token
// key.
TokenJSON []byte `protobuf:"bytes,5,opt,name=tokenJSON,proto3" json:"tokenJSON,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
User is ... a user record
func (*User) Descriptor ¶
func (*User) GetLastScannedRepos ¶
func (*User) GetTokenJSON ¶
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()
func (*User) XXX_Unmarshal ¶
type UserError ¶
type UserError struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
UserID int64 `protobuf:"varint,2,opt,name=userID,proto3" json:"userID,omitempty"`
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
UserError is the pre-converted UserError record. It is later converted to a types.Error.
func (*UserError) Descriptor ¶
func (*UserError) ProtoMessage ¶
func (*UserError) ProtoMessage()
func (*UserError) XXX_DiscardUnknown ¶
func (m *UserError) XXX_DiscardUnknown()
func (*UserError) XXX_Marshal ¶
func (*UserError) XXX_Unmarshal ¶
type UserErrors ¶
type UserErrors struct {
Errors []*UserError `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
List of UserError
func (*UserErrors) Descriptor ¶
func (*UserErrors) Descriptor() ([]byte, []int)
func (*UserErrors) GetErrors ¶
func (m *UserErrors) GetErrors() []*UserError
func (*UserErrors) ProtoMessage ¶
func (*UserErrors) ProtoMessage()
func (*UserErrors) Reset ¶
func (m *UserErrors) Reset()
func (*UserErrors) String ¶
func (m *UserErrors) String() string
func (*UserErrors) XXX_DiscardUnknown ¶
func (m *UserErrors) XXX_DiscardUnknown()
func (*UserErrors) XXX_Marshal ¶
func (m *UserErrors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserErrors) XXX_Merge ¶
func (m *UserErrors) XXX_Merge(src proto.Message)
func (*UserErrors) XXX_Size ¶
func (m *UserErrors) XXX_Size() int
func (*UserErrors) XXX_Unmarshal ¶
func (m *UserErrors) XXX_Unmarshal(b []byte) error
type UserList ¶
type UserList struct {
Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
List of Users
func (*UserList) Descriptor ¶
func (*UserList) ProtoMessage ¶
func (*UserList) ProtoMessage()
func (*UserList) XXX_DiscardUnknown ¶
func (m *UserList) XXX_DiscardUnknown()