Documentation
¶
Overview ¶
Package client contains the logic to interact with the OCI registry. It provides a client to interact with the OCI registry.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
Option represents a client option function.
func WithClientID ¶
WithClientID configures the client with a custom client ID for OAuth2.
func WithCredentialFunc ¶
func WithCredentialFunc(credFunc auth.CredentialFunc) Option
WithCredentialFunc configures the client with a custom credential function.
func WithForceOAuth2 ¶
WithForceOAuth2 configures the client to always attempt OAuth2 authentication.
func WithTransport ¶
func WithTransport(transport http.RoundTripper) Option
WithTransport configures the client with a custom HTTP transport.
Click to show internal directories.
Click to hide internal directories.