utils

package
v0.0.0-...-cbcb39d Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KuadrantDiscoveryLabel                  = "discovery.kuadrant.io/enabled"
	KuadrantDiscoveryAnnotationOASConfigMap = "discovery.kuadrant.io/oas-configmap"
	KuadrantGatewayLabel                    = "gateway.kuadrant.io"
)

Variables

View Source
var (
	// NonAlphanumRegexp not alphanumeric
	NonAlphanumRegexp = regexp.MustCompile(`[^0-9A-Za-z]`)
)

Functions

func IgnoreAlreadyExists

func IgnoreAlreadyExists(err error) error

func K8sNameFromOpenAPITitle

func K8sNameFromOpenAPITitle(obj *openapi3.T) (string, error)

func OpenAPIOperationSecRequirements

func OpenAPIOperationSecRequirements(oasDoc *openapi3.T, operation *openapi3.Operation) *openapi3.SecurityRequirements

Types

This section is empty.

Jump to

Keyboard shortcuts

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