Documentation ¶
Index ¶
Constants ¶
View Source
const (
ApiRootPath = "/apis"
)
View Source
const MimeJsonPatchJson = "application/json-patch+json"
View Source
const MimeMergePatchJson = "application/merge-patch+json"
View Source
const MimeMultipartFormData = "multipart/form-data"
Variables ¶
View Source
var Container = restful.NewContainer()
container holds all webservice of apiserver
Functions ¶
func NewWebService ¶
func NewWebService(gv schema.GroupVersion) *restful.WebService
Types ¶
type ContainerBuilder ¶
func NewContainerBuilder ¶
func NewContainerBuilder(funcs ...func(*restful.Container) error) ContainerBuilder
func (*ContainerBuilder) AddToContainer ¶
func (cb *ContainerBuilder) AddToContainer(c *restful.Container) error
Click to show internal directories.
Click to hide internal directories.