Help us shape the future of Go! Take the 2026 Go Developer Survey

imagesignature

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2016 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Strategy = &strategy{
	ObjectTyper: kapi.Scheme,
}

Functions

This section is empty.

Types

type REST

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

REST implements the RESTStorage interface for ImageSignature

func NewREST

func NewREST(imageClient client.ImageInterface) *REST

NewREST returns a new REST.

func (*REST) Create

func (r *REST) Create(ctx kapi.Context, obj runtime.Object) (runtime.Object, error)

func (*REST) Delete

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

func (*REST) New

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

New is only implemented to make REST implement RESTStorage

Source Files

  • rest.go
  • strategy.go

Jump to

Keyboard shortcuts

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