Documentation ¶
Index ¶
- Constants
- Variables
- func ClusterResourceBasePath(gvr schema.GroupVersionResource) string
- func ClusterResourcePath(gvr schema.GroupVersionResource) string
- func ComposeAPIDefinitions() []*restful.WebService
- func GroupBasePath(gvr schema.GroupVersion) string
- func GroupVersionBasePath(gvr schema.GroupVersion) string
- func MoveCursorParam(ws *restful.WebService) *restful.Parameter
- func NameParam(ws *restful.WebService) *restful.Parameter
- func NamespaceParam(ws *restful.WebService) *restful.Parameter
- func NamespacedResourceBasePath(gvr schema.GroupVersionResource) string
- func NamespacedResourcePath(gvr schema.GroupVersionResource) string
- func PortForwardPortParameter(ws *restful.WebService) *restful.Parameter
- func PortForwardProtocolParameter(ws *restful.WebService) *restful.Parameter
- func SubResourcePath(subResource string) string
- func VSOCKPortParameter(ws *restful.WebService) *restful.Parameter
- func VSOCKTLSParameter(ws *restful.WebService) *restful.Parameter
Constants ¶
View Source
const ( NamespaceParamName = "namespace" NameParamName = "name" MoveCursorParamName = "moveCursor" )
View Source
const ( PortParamName = "port" TLSParamName = "tls" PortPath = "/{port:[0-9]+}" ProtocolParamName = "protocol" ProtocolPath = "/{protocol:tcp|udp}" )
Variables ¶
View Source
var Validator = openapi.CreateOpenAPIValidator(ComposeAPIDefinitions())
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 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 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.
Click to show internal directories.
Click to hide internal directories.