Documentation
¶
Index ¶
- Constants
- type Client
- func (c *Client) AutoMerge(ctx context.Context, full string, n int) error
- func (c *Client) ChangeByHead(ctx context.Context, full, head string) (forge.Change, bool, error)
- func (c *Client) ChangeFiles(ctx context.Context, full string, n int) ([]forge.File, error)
- func (c *Client) ChangedPaths(ctx context.Context, full, base, head string) ([]string, error)
- func (c *Client) ChangesForCommit(ctx context.Context, full, sha string) ([]forge.Change, error)
- func (c *Client) Checks(ctx context.Context, full, sha string) ([]forge.Check, error)
- func (c *Client) CloseChange(ctx context.Context, full string, n int, deleteBranch bool) error
- func (c *Client) Comments(ctx context.Context, full string, n int) ([]forge.Comment, error)
- func (c *Client) CreateComment(ctx context.Context, full string, n int, body string) (forge.Comment, error)
- func (c *Client) CreateDeployment(ctx context.Context, full, environment, sha string, payload []byte) (forge.Deployment, error)
- func (c *Client) CreateTag(ctx context.Context, full, tag, sha string) error
- func (c *Client) DefaultBranch(ctx context.Context, full string) (string, error)
- func (c *Client) FileAt(ctx context.Context, full, path, ref string) ([]byte, error)
- func (c *Client) GetChange(ctx context.Context, full string, n int) (forge.Change, error)
- func (c *Client) ListDeployments(ctx context.Context, full, environment string) iter.Seq2[forge.Deployment, error]
- func (c *Client) OpenChanges(ctx context.Context, full, headPrefix string) ([]forge.Change, error)
- func (c *Client) PushChange(ctx context.Context, full string, req forge.ChangeRequest) (forge.Change, error)
- func (c *Client) RepoSettings(ctx context.Context, full string) (forge.RepoSettings, error)
- func (c *Client) ResolveRef(ctx context.Context, full, ref string) (string, error)
- func (c *Client) SetDeploymentState(ctx context.Context, full string, id int64, state forge.DeployState, ...) error
- func (c *Client) Subtrees(ctx context.Context, full, dir, ref string) (map[string]string, error)
- func (c *Client) UpdateComment(ctx context.Context, full string, id int64, body string) error
- func (c *Client) Viewer(ctx context.Context) (string, error)
Constants ¶
View Source
const ActionsBot = "github-actions[bot]"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ChangeByHead ¶
func (*Client) ChangeFiles ¶
func (*Client) ChangedPaths ¶
func (*Client) ChangesForCommit ¶
func (*Client) CloseChange ¶
func (*Client) CreateComment ¶
func (*Client) CreateDeployment ¶
func (*Client) DefaultBranch ¶
func (*Client) ListDeployments ¶
func (*Client) OpenChanges ¶
func (*Client) PushChange ¶
func (*Client) RepoSettings ¶
func (*Client) ResolveRef ¶
func (*Client) SetDeploymentState ¶
func (*Client) UpdateComment ¶
Click to show internal directories.
Click to hide internal directories.