Documentation ¶ Index ¶ type Client func New(appID, installationID int64, privateKeyPath, repo string) *Client func (c *Client) CloneOrPull(localPath string) error func (c *Client) UpdateFileSigned(ctx context.Context, path, branch, message string, content []byte) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { // contains filtered or unexported fields } func New ¶ func New(appID, installationID int64, privateKeyPath, repo string) *Client func (*Client) CloneOrPull ¶ func (c *Client) CloneOrPull(localPath string) error CloneOrPull uses a fresh installation token each call. func (*Client) UpdateFileSigned ¶ func (c *Client) UpdateFileSigned(ctx context.Context, path, branch, message string, content []byte) (string, error) Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.