test

package
v0.3.2 Latest Latest
Warning

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

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

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