{"modulePath":"github.com/cloudness-io/cloudness","version":"v0.0.2-alpha.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package githubapp\n\n## Variables\n\n```go\nvar WireSet = wire.NewSet(\n\tProvideController,\n)\n```\n\n## Types\n\n```go\ntype Controller struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewController(ghAppSvc *githubapp.Service) *Controller\n```\n\n```go\nfunc ProvideController(ghAppSvc *githubapp.Service) *Controller\n```\n\n```go\nfunc (c *Controller) CompleteInstallation(ctx context.Context, ghApp *types.GithubApp, installationID int64) error\n```\n\n```go\nfunc (c *Controller) CompleteManifest(ctx context.Context, ghApp *types.GithubApp, code string) error\n```\n\n```go\nfunc (c *Controller) Create(ctx context.Context, session *auth.Session, tenantID, projectID int64, in *CreateGithubAppInput) (*types.GithubApp, error)\n```\n\n```go\nfunc (c *Controller) Delete(ctx context.Context, ghApp *types.GithubApp) error\n```\n\n```go\nfunc (c *Controller) Find(ctx context.Context, tenantID, projectID, githubAppID int64) (*types.GithubApp, error)\n```\n\n```go\nfunc (c *Controller) FindByUID(ctx context.Context, teanntID, projectID, githubAppUID int64) (*types.GithubApp, error)\n```\n\n```go\nfunc (c *Controller) List(ctx context.Context, tenantID, projectID int64) ([]*types.GithubApp, error)\n```\n\n```go\nfunc (c *Controller) ListBranches(ctx context.Context, ghApp *types.GithubApp, owner string, repo string) ([]*types.GitBranch, error)\n```\n\n```go\nfunc (c *Controller) ListConfigured(ctx context.Context, tenantID, projectID int64) ([]*types.GithubApp, error)\n```\n\n```go\nfunc (c *Controller) ListRepos(ctx context.Context, ghApp *types.GithubApp) ([]*types.GitRepo, error)\n```\n\n```go\ntype CreateGithubAppInput struct {\n\tName         string `json:\"name\"`\n\tOrganization string `json:\"organization\"`\n\tIsTenantWide bool   `json:\"isTenantWide,string\"`\n\tApiUrl       string `json:\"apiUrl\"`\n\tHtmlUrl      string `json:\"htmlUrl\"`\n\tCustomUser   string `json:\"customUser\"`\n\tCustomPort   int64  `json:\"customPort\"`\n}\n```\n\n","path":"github.com/cloudness-io/cloudness/app/controller/githubapp","name":"githubapp","synopsis":"","isRedistributable":true}
