proxy

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2016 License: Apache-2.0 Imports: 14 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 REST

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

func NewREST

func NewREST(client kclient.NamespaceInterface, lister projectauth.Lister) *REST

NewREST returns a RESTStorage object that will work against Project resources

func (*REST) Create

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

Create registers the given Project.

func (*REST) Delete

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

Delete deletes a Project specified by its name

func (*REST) Get

func (s *REST) Get(ctx kapi.Context, name string) (runtime.Object, error)

Get retrieves a Project by name

func (*REST) List

func (s *REST) List(ctx kapi.Context, options *kapi.ListOptions) (runtime.Object, error)

List retrieves a list of Projects that match label.

func (*REST) New

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

New returns a new Project

func (*REST) NewList

func (*REST) NewList() runtime.Object

NewList returns a new ProjectList

func (*REST) Update

func (s *REST) Update(ctx kapi.Context, obj runtime.Object) (runtime.Object, bool, error)

Jump to

Keyboard shortcuts

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