Documentation ¶
Overview ¶
Package pusher provides a generalized tool for uploading data by scheme. This provides a method by which the plugin system can load arbitrary protocol handlers based upon a URL scheme.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Constructor ¶
Constructor is the function for every pusher which creates a specific instance according to the configuration
type OCIPusher ¶
type OCIPusher struct {
// contains filtered or unexported fields
}
OCIPusher is the default OCI backend handler
type Option ¶
type Option func(*options)
Option allows specifying various settings configurable by the user for overriding the defaults used when performing Push operations with the Pusher.
func WithInsecureSkipTLSVerify ¶
WithInsecureSkipTLSVerify determines if a TLS Certificate will be checked
func WithRegistryClient ¶
WithRegistryClient sets the registryClient option.
func WithTLSClientConfig ¶
WithTLSClientConfig sets the client auth with the provided credentials.
type Provider ¶
type Provider struct { Schemes []string New Constructor }
Provider represents any pusher and the schemes that it supports.
type Providers ¶
type Providers []Provider
Providers is a collection of Provider objects.
func All ¶
func All(settings *cli.EnvSettings) Providers
All finds all of the registered pushers as a list of Provider instances. Currently, just the built-in pushers are collected.