endpoints

package
v0.0.0-...-b479636 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2017 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ROUTE_META_GVK    = "x-cloudops-group-version-kind"
	ROUTE_META_ACTION = "x-cloudops-action"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type APIGroupVersion

type APIGroupVersion struct {
	Root         string
	Storage      map[string]rest.Storage
	GroupVersion schema.GroupVersion
	Mapper       meta.RESTMapper
	Serializer   runtime.NegotiatedSerializer
	Typer        runtime.ObjectTyper
	Creater      runtime.ObjectCreater
	Copier       runtime.ObjectCopier // performs deepcopies per API Group type
	Convertor    runtime.ObjectConvertor
	Defaulter    runtime.ObjectDefaulter // for setting our defaults per API Group type
	Linker       runtime.SelfLinker
	Context      apirequest.RequestContextMapper

	// SubresourceGroupVersionKind contains the GroupVersionKind overrides for each subresource that is
	// accessible from this API group version.
	SubresourceGroupVersionKind map[string]schema.GroupVersionKind
	MinRequestTimeout           time.Duration
}

func (*APIGroupVersion) InstallREST

func (g *APIGroupVersion) InstallREST(container *restful.Container) error

type APIInstaller

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

func (*APIInstaller) Install

func (a *APIInstaller) Install(ws *restful.WebService) (apiResources []metav1.APIResource, errors []error)

Installs handlers for API resources.

func (*APIInstaller) NewWebService

func (a *APIInstaller) NewWebService() *restful.WebService

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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