Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
Auth describes a struct able to serialize authenticator information into arguments to be fed to a registry container run
type CesantaConfig ¶
type CesantaConfig struct { Server CesantaConfigServer `yaml:"server"` Token CesantaConfigToken `yaml:"token"` Users map[string]CesantaConfigUser `yaml:"users,omitempty"` ACL CesantaConfigACL `yaml:"acl,omitempty"` }
func (*CesantaConfig) Save ¶
func (cc *CesantaConfig) Save(path string) error
type CesantaConfigACL ¶
type CesantaConfigACL []CesantaConfigACLEntry
type CesantaConfigACLEntry ¶
type CesantaConfigACLEntry struct { Match CesantaMatchConditions `yaml:"match"` Actions []string `yaml:"actions,flow"` }
type CesantaConfigServer ¶
type CesantaConfigToken ¶
type CesantaConfigUser ¶
type CesantaConfigUser struct {
Password string `yaml:"password,omitempty"`
}
type CesantaMatchConditions ¶
type CesantaMatchConditions struct {
Account string `yaml:"account,omitempty"`
}
type Server ¶
type Server struct { Scheme string IP net.IP Port int Cleanup func(data test.Data, helpers test.Helpers) Setup func(data test.Data, helpers test.Helpers) Logs func(data test.Data, helpers test.Helpers) HostsDir string // contains "<HostIP>:<ListenPort>/hosts.toml" }
func NewDockerRegistry ¶
Click to show internal directories.
Click to hide internal directories.