test

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2015 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageRegistry

type ImageRegistry struct {
	Err    error
	Image  *api.Image
	Images *api.ImageList
	sync.Mutex
}

func NewImageRegistry

func NewImageRegistry() *ImageRegistry

func (*ImageRegistry) CreateImage

func (r *ImageRegistry) CreateImage(ctx kapi.Context, image *api.Image) error

func (*ImageRegistry) DeleteImage

func (r *ImageRegistry) DeleteImage(ctx kapi.Context, id string) error

func (*ImageRegistry) GetImage

func (r *ImageRegistry) GetImage(ctx kapi.Context, id string) (*api.Image, error)

func (*ImageRegistry) ListImages

func (r *ImageRegistry) ListImages(ctx kapi.Context, selector labels.Selector) (*api.ImageList, error)

func (*ImageRegistry) UpdateImage

func (r *ImageRegistry) UpdateImage(ctx kapi.Context, image *api.Image) error

func (*ImageRegistry) WatchImages

func (r *ImageRegistry) WatchImages(ctx kapi.Context, label, field labels.Selector, resourceVersion string) (watch.Interface, error)

type ImageRepositoryRegistry

type ImageRepositoryRegistry struct {
	Err               error
	ImageRepository   *api.ImageRepository
	ImageRepositories *api.ImageRepositoryList
	sync.Mutex
}

func NewImageRepositoryRegistry

func NewImageRepositoryRegistry() *ImageRepositoryRegistry

func (*ImageRepositoryRegistry) CreateImageRepository

func (r *ImageRepositoryRegistry) CreateImageRepository(ctx kapi.Context, repo *api.ImageRepository) error

func (*ImageRepositoryRegistry) DeleteImageRepository

func (r *ImageRepositoryRegistry) DeleteImageRepository(ctx kapi.Context, id string) error

func (*ImageRepositoryRegistry) GetImageRepository

func (r *ImageRepositoryRegistry) GetImageRepository(ctx kapi.Context, id string) (*api.ImageRepository, error)

func (*ImageRepositoryRegistry) ListImageRepositories

func (r *ImageRepositoryRegistry) ListImageRepositories(ctx kapi.Context, selector labels.Selector) (*api.ImageRepositoryList, error)

func (*ImageRepositoryRegistry) UpdateImageRepository

func (r *ImageRepositoryRegistry) UpdateImageRepository(ctx kapi.Context, repo *api.ImageRepository) error

func (*ImageRepositoryRegistry) WatchImageRepositories

func (r *ImageRepositoryRegistry) WatchImageRepositories(ctx kapi.Context, label, field labels.Selector, resourceVersion string) (watch.Interface, error)

Jump to

Keyboard shortcuts

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