Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authentication ¶
type Authentication struct { // Id specifies the ID of the GitHub app used to access the repo Id int64 // InstallationId specifies the installation ID of the GitHub App used to access the repo InstallationId int64 // EnterpriseBaseURL specifies the base URL of GitHub Enterprise installation. If empty will default to https://api.github.com EnterpriseBaseURL string // PrivateKey in PEM format. PrivateKey string }
Authentication has the authentication information required to access the GitHub API and repositories.
type Credentials ¶
type Credentials interface {
GetAuthSecret(ctx context.Context, secretName string) (*Authentication, error)
}
Click to show internal directories.
Click to hide internal directories.