Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Git ¶
type Git interface { Fetch(ctx context.Context, remote, branch string) error Checkout(ctx context.Context, branch string) error CommitEmpty(ctx context.Context, msg string) error Push(ctx context.Context, branch string) error PushForce(ctx context.Context, branch string) error Reset(ctx context.Context) error }
type GitHub ¶
type GitHub interface { ListPRs(ctx context.Context, params gh.ParamsListPRs) ([]*github.PullRequest, *github.Response, error) GetRef(ctx context.Context, params gh.ParamsGetRef) (*github.Reference, *github.Response, error) GetCommit(ctx context.Context, params gh.ParamsGetCommit) (*github.Commit, *github.Response, error) CreateEmptyCommit(ctx context.Context, params gh.ParamsCreateEmptyCommit) (*github.Commit, *github.Response, error) UpdateRef(ctx context.Context, params gh.ParamsUpdateRef) (*github.Reference, *github.Response, error) }
Click to show internal directories.
Click to hide internal directories.