runtime

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MimeMergePatchJSON    = "application/merge-patch+json"
	MimeJSONPatchJSON     = "application/json-patch+json"
	MimeMultipartFormData = "multipart/form-data"
)
View Source
const (
	APIRootPath = "/api"
)

Variables

This section is empty.

Functions

func NewWebService

func NewWebService(gv schema.GroupVersion) *restful.WebService

Types

type ContainerBuilder

type ContainerBuilder []func(c *restful.Container) error

func (*ContainerBuilder) AddToContainer

func (cb *ContainerBuilder) AddToContainer(c *restful.Container) error

func (*ContainerBuilder) Register

func (cb *ContainerBuilder) Register(funcs ...func(*restful.Container) error)

Jump to

Keyboard shortcuts

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