definitions

package
v0.57.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamespaceParamName = "namespace"
	NameParamName      = "name"
)
View Source
const (
	PortParamName     = "port"
	PortPath          = "/{port:[0-9]+}"
	ProtocolParamName = "protocol"
	ProtocolPath      = "/{protocol:tcp|udp}"
)

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 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

Types

This section is empty.

Jump to

Keyboard shortcuts

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