Documentation
¶
Index ¶
- type CachedGithub
- func (c *CachedGithub) AcceptPullRequest(ctx context.Context, owner string, name string, ...) (*ghapp.AcceptPullRequestOutput, error)
- func (c *CachedGithub) CreatePullRequest(ctx context.Context, owner string, name string, ...) (*ghapp.CreatePullRequest, error)
- func (c *CachedGithub) DoesBranchExist(ctx context.Context, owner string, name string, ref string) (bool, error)
- func (c *CachedGithub) EveryOpenPullRequest(ctx context.Context, owner string, name string) (*ghapp.GraphQLPRQuery, error)
- func (c *CachedGithub) GetContents(ctx context.Context, owner string, name string, file string) (string, error)
- func (c *CachedGithub) GoGetAuthMethod() http.AuthMethod
- func (c *CachedGithub) MergePullRequest(ctx context.Context, owner string, name string, ref string, ...) (*ghapp.MergePullRequestOutput, error)
- func (c *CachedGithub) RepositoryInfo(ctx context.Context, owner string, name string) (*ghapp.RepositoryInfo, error)
- func (c *CachedGithub) Self(ctx context.Context) (*ghapp.UserInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachedGithub ¶
type CachedGithub struct {
Into ghapp.GithubAPI
Cache cache.Cache
// contains filtered or unexported fields
}
func (*CachedGithub) AcceptPullRequest ¶
func (c *CachedGithub) AcceptPullRequest(ctx context.Context, owner string, name string, in githubv4.AddPullRequestReviewInput) (*ghapp.AcceptPullRequestOutput, error)
func (*CachedGithub) CreatePullRequest ¶
func (c *CachedGithub) CreatePullRequest(ctx context.Context, owner string, name string, in githubv4.CreatePullRequestInput) (*ghapp.CreatePullRequest, error)
func (*CachedGithub) DoesBranchExist ¶
func (*CachedGithub) EveryOpenPullRequest ¶
func (c *CachedGithub) EveryOpenPullRequest(ctx context.Context, owner string, name string) (*ghapp.GraphQLPRQuery, error)
func (*CachedGithub) GetContents ¶
func (*CachedGithub) GoGetAuthMethod ¶
func (c *CachedGithub) GoGetAuthMethod() http.AuthMethod
func (*CachedGithub) MergePullRequest ¶
func (c *CachedGithub) MergePullRequest(ctx context.Context, owner string, name string, ref string, in githubv4.MergePullRequestInput) (*ghapp.MergePullRequestOutput, error)
func (*CachedGithub) RepositoryInfo ¶
func (c *CachedGithub) RepositoryInfo(ctx context.Context, owner string, name string) (*ghapp.RepositoryInfo, error)
Click to show internal directories.
Click to hide internal directories.