Documentation ¶
Overview ¶
Package utils implements common OCI utility functions.
Index ¶
- func CheckConnectionForRegistry(ctx context.Context, client remote.Client, plainHTTP bool, reg string) error
- func Client(enableClientTokenCache bool) (remote.Client, error)
- func Puller(plainHTTP bool, printer *output.Printer) (*ocipuller.Puller, error)
- func Pusher(plainHTTP bool, printer *output.Printer) (*ocipusher.Pusher, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckConnectionForRegistry ¶
func CheckConnectionForRegistry(ctx context.Context, client remote.Client, plainHTTP bool, reg string) error
CheckConnectionForRegistry validates the connection to an oci registry.
func Client ¶
Client returns a new auth.Client. It authenticates the client if credentials are found in the system.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.