Documentation ¶ Index ¶ type Client func NewClient(baseURL string, cfg *Config) Client type Config Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client interface { // Health tests the connection with registry server Health() error // StartGC enable the gc of registry server StartGC() (*api.GCResult, error) } Client defines methods that an Registry client should implement func NewClient ¶ func NewClient(baseURL string, cfg *Config) Client NewClient return an instance of Registry client type Config ¶ type Config struct { Secret string } Config contains configurations needed for client Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.