Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SourceOption ¶
type SourceOption func(*TokenStore)
func WithTokenSource ¶
func WithTokenSource(registry string, tokenSource oauth2.TokenSource) SourceOption
type TokenStore ¶
type TokenStore struct {
// contains filtered or unexported fields
}
func New ¶
func New(options ...SourceOption) *TokenStore
type WithSource ¶
type WithSource struct {
Source oauth2.TokenSource
Registry string
}
Click to show internal directories.
Click to hide internal directories.