imagerepositorytag

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: May 28, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type REST

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

REST implements the RESTStorage interface for ImageRepositoryTag.

func NewREST

func NewREST(r imagestreamtag.Registry) *REST

NewREST returns a new REST.

func (*REST) Delete

func (r *REST) Delete(ctx kapi.Context, id string) (runtime.Object, error)

Delete removes a tag from a repo. `id` is of the format <repo name>:<tag>. The associated image that the tag points to is *not* deleted. The tag history remains intact and is not deleted.

func (*REST) Get

func (r *REST) Get(ctx kapi.Context, id string) (runtime.Object, error)

Get retrieves an image that has been tagged by repo and tag. `id` is of the format <repo name>:<tag>.

func (*REST) New

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

New is only implemented to make REST implement RESTStorage

Jump to

Keyboard shortcuts

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