index

package
v0.0.0-...-cadb033 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2015 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(name string, driver Driver, check func() error)

Types

type Driver

type Driver interface {
	GetIndexImages(namespace, repo string) ([]Image, error)

	UpdateIndexImages(namespace, repo string, images []Image) error

	CreateRepo(namespace, repo string) error

	DeleteRepo(namespace, repo string) error
}

func Load

func Load(name string) (Driver, error)

type Image

type Image struct {
	Id       string `json:"id"`
	Checksum string `json:"checksum,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL