Documentation ¶
Index ¶
Constants ¶
View Source
const DeniedKeyName = "Denied"
DeniedKeyName name of the key that contains the reason to deny a location
Variables ¶
This section is empty.
Functions ¶
func ExtractNgrokModuleSetsFromAnnotations ¶
Extracts a list of module set names from the annotation k8s.ngrok.com/modules: "module1,module2"
Types ¶
type Extractor ¶
type Extractor struct {
// contains filtered or unexported fields
}
func NewAnnotationsExtractor ¶
func NewAnnotationsExtractor() Extractor
func (Extractor) Extract ¶
func (e Extractor) Extract(ing *networking.Ingress) *RouteModules
Extract extracts the annotations from an Ingress
type RouteModules ¶
type RouteModules struct { Compression *ingressv1alpha1.EndpointCompression Headers *ingressv1alpha1.EndpointHeaders IPRestriction *ingressv1alpha1.EndpointIPPolicy TLSTermination *ingressv1alpha1.EndpointTLSTerminationAtEdge WebhookVerification *ingressv1alpha1.EndpointWebhookVerification }
Directories ¶
Path | Synopsis |
---|---|
Test Utilities for Ingress Annotations
|
Test Utilities for Ingress Annotations |
Click to show internal directories.
Click to hide internal directories.