cachedgithub

package
v0.0.0-...-ebf29b9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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 (*CachedGithub) CreatePullRequest

func (c *CachedGithub) CreatePullRequest(ctx context.Context, owner string, name string, in githubv4.CreatePullRequestInput) (*ghapp.CreatePullRequest, error)

func (*CachedGithub) DoesBranchExist

func (c *CachedGithub) DoesBranchExist(ctx context.Context, owner string, name string, ref string) (bool, error)

func (*CachedGithub) EveryOpenPullRequest

func (c *CachedGithub) EveryOpenPullRequest(ctx context.Context, owner string, name string) (*ghapp.GraphQLPRQuery, error)

func (*CachedGithub) GetContents

func (c *CachedGithub) GetContents(ctx context.Context, owner string, name string, file string) (string, error)

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)

func (*CachedGithub) Self

func (c *CachedGithub) Self(ctx context.Context) (*ghapp.UserInfo, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL