parser

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseDataSelectPathParameter

func ParseDataSelectPathParameter(request *gin.Context) *dataselect.DataSelectQuery

ParseDataSelectPathParameter parses query parameters of the request and returns a DataSelectQuery object

func ParseNameParameter

func ParseNameParameter(request *gin.Context) string

ParseNameParameter 从URL解析name参数

func ParseNamespaceParameter

func ParseNamespaceParameter(request *gin.Context) string

ParseNamespaceParameter 从URL解析命名空间

func ParseNamespacePathParameter

func ParseNamespacePathParameter(request *gin.Context) *k8scommon.NamespaceQuery

ParseNamespacePathParameter parses namespace selector for list pages in path parameter. The namespace selector is a comma separated list of namespaces that are trimmed. No namespaces means "view all user namespaces", i.e., everything except kube-system.

Types

This section is empty.

Jump to

Keyboard shortcuts

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