Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWithAuthToken ¶
func NewWithAuthToken(ctx context.Context) (*registryclient.Client, error)
New creates a new client, specifying the URL directly. The client loads the OAuth2.0 tokens from the system keychain. The client automatically refreshes the access token if it is expired.
Types ¶
type ErrorHandlingClient ¶
ErrorHandlingClient checks the response status code and creates an error if the API returns greater than 300.
Click to show internal directories.
Click to hide internal directories.