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)
Click to show internal directories.
Click to hide internal directories.