Documentation ¶
Index ¶
Constants ¶
View Source
const ( TagSuffix = "tag_suffix" CacheTag = "cache_tag" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter interface { // Dispatch dispatches a conversion task to worker queue // by specifying source image reference, the conversion is // asynchronous, and if the sync option is specified, // Dispatch will be blocked until the conversion is complete. Dispatch(ctx context.Context, ref string, sync bool) error // CheckHealth checks the containerd client can successfully // connect to the containerd daemon and the healthcheck service // returns the SERVING response. CheckHealth(ctx context.Context) error }
type LocalAdapter ¶
type LocalAdapter struct {
// contains filtered or unexported fields
}
func NewLocalAdapter ¶
func NewLocalAdapter(cfg *config.Config) (*LocalAdapter, error)
func (*LocalAdapter) CheckHealth ¶
func (adp *LocalAdapter) CheckHealth(_ context.Context) error
Click to show internal directories.
Click to hide internal directories.