Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Remote ¶
type Remote interface { String() string // String info for remote GetInfo() *info.RemoteInfo // Returns basic RemoteInfo struct GetType() string // Returns the remote type (e.g. GitLab, Gitea) GetNumProjects(*RemoteQueryOpts) int // Returns total number of accessible projects StreamProjects(*load.ProgressInfo, *RemoteQueryOpts) // Streams projects to chans provided in load.ProgressInfo }
Any remote needs to be able to return the number of projects the user has access to and also stream all projects along with updates to channels provided by *load.ProgressInfo
type RemoteQueryOpts ¶
Generic options to be passed to any impelenter of the Remote interface
Click to show internal directories.
Click to hide internal directories.