Documentation
¶
Overview ¶
Package gitexec runs authenticated, non-interactive Git commands.
Index ¶
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
}
Client runs Git with host-scoped HTTPS authentication.
type TokenSource ¶
TokenSource supplies the current repository access token.
type TokenSourceFunc ¶
TokenSourceFunc adapts a function to TokenSource.
func (TokenSourceFunc) AccessToken ¶
func (f TokenSourceFunc) AccessToken(ctx context.Context) (string, error)
AccessToken returns the current token.
Click to show internal directories.
Click to hide internal directories.