Documentation
¶
Index ¶
- Variables
- func Do[Data any, Op interface{ ... }](ctx context.Context, c courier.Client, req Op, metas ...courier.Metadata) (Data, courier.Metadata, error)
- func New(ctx context.Context, registryResolver RegistryResolver, options ...Option) (content.Namespace, error)
- type Client
- type Option
- type Registry
- type RegistryAuth
- type RegistryClient
- type RegistryHost
- type RegistryHosts
- type RegistryResolver
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnknownRegistry = errors.New("unknown registry")
Functions ¶
Types ¶
type Client ¶
type Client struct {
Registry
RoundTripperCreateFunc client.RoundTripperCreateFunc
// contains filtered or unexported fields
}
func (*Client) GetEndpoint ¶
type Registry ¶
type RegistryAuth ¶
type RegistryClient ¶
type RegistryHost ¶
type RegistryHost struct {
Server string `json:"server"`
Auth *RegistryAuth `json:"auth,omitzero"`
CertificateAuthorityData []byte `json:"certificateAuthorityData,omitzero"`
Client *RegistryClient `json:"client,omitzero"`
}
type RegistryHosts ¶
type RegistryHosts map[string]RegistryHost
type RegistryResolver ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.