Documentation ¶
Index ¶
- type Credential
- func (c *Credential) GitAuthentication() (auth transport.AuthMethod, err error)
- func (c *Credential) GitHubClient(ctx context.Context) (_ *github.Client, err error)
- func (c *Credential) HTTPClient(ctx context.Context) (*http.Client, error)
- func (c *Credential) OCIClient(registry string) (_ *auth.Client, err error)
- type CredentialSource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credential ¶
type Credential struct {
// contains filtered or unexported fields
}
func (*Credential) GitAuthentication ¶
func (c *Credential) GitAuthentication() (auth transport.AuthMethod, err error)
func (*Credential) GitHubClient ¶
func (*Credential) HTTPClient ¶
type CredentialSource ¶
type CredentialSource struct {
// contains filtered or unexported fields
}
func New ¶
func New(configs config.Credentials) *CredentialSource
func (*CredentialSource) Get ¶
func (s *CredentialSource) Get(name string) (*Credential, error)
Click to show internal directories.
Click to hide internal directories.