Documentation
¶
Index ¶
- Variables
- type Controller
- func (c *Controller) CompleteInstallation(ctx context.Context, ghApp *types.GithubApp, installationID int64) error
- func (c *Controller) CompleteManifest(ctx context.Context, ghApp *types.GithubApp, code string) error
- func (c *Controller) Create(ctx context.Context, session *auth.Session, tenantID, projectID int64, ...) (*types.GithubApp, error)
- func (c *Controller) Delete(ctx context.Context, ghApp *types.GithubApp) error
- func (c *Controller) Find(ctx context.Context, tenantID, projectID, githubAppID int64) (*types.GithubApp, error)
- func (c *Controller) FindByUID(ctx context.Context, teanntID, projectID, githubAppUID int64) (*types.GithubApp, error)
- func (c *Controller) List(ctx context.Context, tenantID, projectID int64) ([]*types.GithubApp, error)
- func (c *Controller) ListBranches(ctx context.Context, ghApp *types.GithubApp, owner string, repo string) ([]*types.GitBranch, error)
- func (c *Controller) ListConfigured(ctx context.Context, tenantID, projectID int64) ([]*types.GithubApp, error)
- func (c *Controller) ListRepos(ctx context.Context, ghApp *types.GithubApp) ([]*types.GitRepo, error)
- type CreateGithubAppInput
Constants ¶
This section is empty.
Variables ¶
View Source
var WireSet = wire.NewSet( ProvideController, )
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(ghAppSvc *githubapp.Service) *Controller
func ProvideController ¶
func ProvideController(ghAppSvc *githubapp.Service) *Controller
func (*Controller) CompleteInstallation ¶
func (*Controller) CompleteManifest ¶
func (*Controller) Create ¶
func (c *Controller) Create(ctx context.Context, session *auth.Session, tenantID, projectID int64, in *CreateGithubAppInput) (*types.GithubApp, error)
func (*Controller) ListBranches ¶
func (*Controller) ListConfigured ¶
type CreateGithubAppInput ¶
Click to show internal directories.
Click to hide internal directories.