httph

package
v0.0.0-...-432d548 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitRoute

func InitRoute(cluster string)

InitRoute initialize basic route

func RegistereCustomResourceDynamicInterface

func RegistereCustomResourceDynamicInterface(gvr schema.GroupVersionResource, creator CustomeResourceDynamicInterfaceCreator)

RegistereCustomResourceDynamicInterface register resource dynamic interface

Types

type CustomeResourceDynamicInterfaceCreator

type CustomeResourceDynamicInterfaceCreator func(schema.GroupVersionResource) dynamic.NamespaceableResourceInterface

CustomeResourceDynamicInterfaceCreator creator

type GroupHandler

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

GroupHandler http handler to process Groups

func NewGroupHandler

func NewGroupHandler(groupSvc service.GroupService) (*GroupHandler, error)

NewGroupHandler creates new group http handler

func (*GroupHandler) NewWebService

func (c *GroupHandler) NewWebService() *restful.WebService

NewWebService creates new web service.

Jump to

Keyboard shortcuts

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