Documentation
¶
Index ¶
- func LoadImage(registry *httptest.Server, fromTar, toRepository string) error
- func LoadImageWithAuth(registry *httptest.Server, fromTar, toRepository string, username string, ...) error
- func NewAuthRegistryServer(username, password string) (*httptest.Server, string, error)
- func NewRegistry() (*httptest.Server, string, error)
- func RegistryHost(registry *httptest.Server) (string, error)
- type AuthHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadImageWithAuth ¶
func NewAuthRegistryServer ¶
Types ¶
type AuthHandler ¶
type AuthHandler struct {
// contains filtered or unexported fields
}
func (*AuthHandler) ServeHTTP ¶
func (h *AuthHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP implements http.Handler
Click to show internal directories.
Click to hide internal directories.