definitions

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamespaceParamName  = "namespace"
	NameParamName       = "name"
	MoveCursorParamName = "moveCursor"
)
View Source
const (
	PortParamName     = "port"
	TLSParamName      = "tls"
	PortPath          = "/{port}"
	ProtocolParamName = "protocol"
	ProtocolPath      = "/{protocol}"
)

Variables

Functions

func ClusterResourceBasePath

func ClusterResourceBasePath(gvr schema.GroupVersionResource) string

func ClusterResourcePath

func ClusterResourcePath(gvr schema.GroupVersionResource) string

func ComposeAPIDefinitions

func ComposeAPIDefinitions() []*restful.WebService

func GroupBasePath

func GroupBasePath(gvr schema.GroupVersion) string

func GroupVersionBasePath

func GroupVersionBasePath(gvr schema.GroupVersion) string

func MoveCursorParam added in v0.58.0

func MoveCursorParam(ws *restful.WebService) *restful.Parameter

func NameParam

func NameParam(ws *restful.WebService) *restful.Parameter

func NamespaceParam

func NamespaceParam(ws *restful.WebService) *restful.Parameter

func NamespacedResourceBasePath

func NamespacedResourceBasePath(gvr schema.GroupVersionResource) string

func NamespacedResourcePath

func NamespacedResourcePath(gvr schema.GroupVersionResource) string

func PortForwardPortParameter

func PortForwardPortParameter(ws *restful.WebService) *restful.Parameter

func PortForwardProtocolParameter

func PortForwardProtocolParameter(ws *restful.WebService) *restful.Parameter

func SubResourcePath

func SubResourcePath(subResource string) string

func VSOCKPortParameter added in v0.59.0

func VSOCKPortParameter(ws *restful.WebService) *restful.Parameter

func VSOCKTLSParameter added in v0.59.0

func VSOCKTLSParameter(ws *restful.WebService) *restful.Parameter

Types

This section is empty.

Jump to

Keyboard shortcuts

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