type Client interface {
// Ping tests the connection with server Ping() error// GetCfgs returns system configurations GetCfgs() (map[string]interface{}, error)
// UpdateCfgs updates system configurations UpdateCfgs(map[string]interface{}) error// ResetCfgs resets system configuratoins form environment variables ResetCfgs() error// Capacity returns the capacity of image storage Capacity() (*imagestorage.Capacity, error)
}
Client defines methods that an Adminserver client should implement