imagerepositorymapping

package
v0.3.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewREST

func NewREST(imageRegistry image.Registry, imageRepositoryRegistry imagerepository.Registry) apiserver.RESTStorage

NewREST returns a new REST.

Types

type REST

type REST struct {
	// contains filtered or unexported fields
}

REST implements the RESTStorage interface in terms of an Registry and Registry. It Only supports the Create method and is used to simply adding a new Image and tag to an ImageRepository.

func (*REST) Create

func (s *REST) Create(ctx kapi.Context, obj runtime.Object) (<-chan apiserver.RESTResult, error)

Create registers a new image (if it doesn't exist) and updates the specified ImageRepository's tags.

func (*REST) New

func (s *REST) New() runtime.Object

New returns a new ImageRepositoryMapping for use with Create.

Jump to

Keyboard shortcuts

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