Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config interface {
MaxConcurrentRequests() uint
Credentials() auth.RegistryCredentials
AllowInsecure() bool
UserAgent() string
}
type Connector ¶
type Connector interface {
Request(method string, url *url.URL, headers map[string]string, hint string) (*http.Response, error)
Delete(url *url.URL, headers map[string]string, hint string) (*http.Response, error)
Get(url *url.URL, headers map[string]string, hint string) (*http.Response, error)
GetStatistics() Statistics
}
func NewBasicAuthConnector ¶
func NewTokenAuthConnector ¶
Click to show internal directories.
Click to hide internal directories.