Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BintrayWorkerOpts ¶
type BuildkiteWorkerOpts ¶
type CircleciWorkerOpts ¶
type GithubWorkerOpts ¶
type PkgmanWorkerOpts ¶
type ServerOpts ¶
type Service ¶
type Service interface {
yolopb.YoloServiceServer
PlistGenerator(w http.ResponseWriter, r *http.Request)
ArtifactDownloader(w http.ResponseWriter, r *http.Request)
ArtifactIcon(w http.ResponseWriter, r *http.Request)
ArtifactGetFile(w http.ResponseWriter, r *http.Request)
GitHubWorker(ctx context.Context, opts GithubWorkerOpts) error
BuildkiteWorker(ctx context.Context, opts BuildkiteWorkerOpts) error
CircleciWorker(ctx context.Context, opts CircleciWorkerOpts) error
BintrayWorker(ctx context.Context, opts BintrayWorkerOpts) error
PkgmanWorker(ctx context.Context, opts PkgmanWorkerOpts) error
}
func NewService ¶
func NewService(db *gorm.DB, opts ServiceOpts) (Service, error)
func TestingService ¶ added in v2.99.0
func TestingService(t *testing.T, opts ServiceOpts) (Service, func())
type ServiceOpts ¶
type ServiceOpts struct {
BuildkiteClient *buildkite.Client
CircleciClient *circleci.Client
BintrayClient *bintray.Client
GithubClient *github.Client
Logger *zap.Logger
AuthSalt string
DevMode bool
ClearCache *abool.AtomicBool
ArtifactsCachePath string
IOSPrivkeyPath string
IOSProvPath string
IOSPrivkeyPass string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.