Documentation
¶
Index ¶
- func EnsureImages(base *testutil.Base)
- type Auth
- type BasicAuth
- type NoAuth
- type RegistryServer
- func NewRegistry(base *testutil.Base, ca *testca.CA, port int, auth Auth, ...) *RegistryServer
- func NewWithBasicAuth(base *testutil.Base, user, pass string, port int, tls bool) *RegistryServer
- func NewWithNoAuth(base *testutil.Base, port int, tls bool) *RegistryServer
- func NewWithTokenAuth(base *testutil.Base, user, pass string, port int, tls bool) *RegistryServer
- type TokenAuth
- type TokenAuthServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureImages ¶
Types ¶
type RegistryServer ¶
type RegistryServer struct {
IP net.IP
Port int
Scheme string
ListenIP net.IP
Cleanup func(err error)
Logs func()
HostsDir string // contains "<HostIP>:<ListenPort>/hosts.toml"
}
func NewRegistry ¶
func NewWithBasicAuth ¶
func NewWithNoAuth ¶
func NewWithNoAuth(base *testutil.Base, port int, tls bool) *RegistryServer
func NewWithTokenAuth ¶
Click to show internal directories.
Click to hide internal directories.