features

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2020 License: Apache-2.0 Imports: 14 Imported by: 4

Documentation

Overview

Package features configures additional extra features for the Ingress. Examples for how to implement additional features can be found in the *_example.go files.

Index

Constants

This section is empty.

Variables

View Source
var Affinity = &AffinityFeature{}

Affinity is a feature in BackendConfig that supports using session affinity on GCP LBs.

All is the set of all features.

View Source
var AllowHTTP = &AllowHTTPFeature{}

AllowHTTP is the "kubernetes.io/ingress.allow-http" annotation. If the annotation is set to false, then disable serving HTTP.

View Source
var AppProtocol = &AppProtocolFeature{}

AppProtocol is the "service.alpha.kubernetes.io/app-protocols" annotation

View Source
var BackendConfigExample = &BackendConfigExampleFeature{}

BackendConfigExample is an example of how a Feature will integrate with the BackendConfig referenced from a Service.

View Source
var CDN = &CDNFeature{}

CDN is a feature in BackendConfig that supports using GCP CDN.

View Source
var IAP = &IAPFeature{}

IAP is a feature in BackendConfig that supports using GCP Identity-Aware Proxy (IAP).

View Source
var ILB = &ILBFeature{}

ILB is an internal load balancer

View Source
var NEG = &NegFeature{}

NEG is a feature in GCP to support pod as Loadbalancer backends

View Source
var PresharedCert = &PresharedCertFeature{}

PresharedCert is the "kubernetes.io/pre-shared-cert" annotation.

View Source
var SecurityPolicy = &SecurityPolicyFeature{}

SecurityPolicy is a feature in BackendConfig that supports using GCP Security Policy.

View Source
var StaticIP = &StaticIPFeature{}

StaticIP is the "kubernetes.io/ingress.static-ip" annotation.

Functions

This section is empty.

Types

type AffinityFeature added in v1.5.0

type AffinityFeature struct{}

AffinityFeature implements the associated feature.

func (*AffinityFeature) Name added in v1.5.0

func (*AffinityFeature) Name() string

Name implements fuzz.Feature.

func (AffinityFeature) NewValidator added in v1.5.0

func (AffinityFeature) NewValidator() fuzz.FeatureValidator

NewValidator implements fuzz.Feature.

type AllowHTTPFeature

type AllowHTTPFeature struct {
	fuzz.NullValidator
}

AllowHTTPFeature implements the associated feature.

func (*AllowHTTPFeature) ConfigureAttributes

ConfigureAttributes implements fuzz.Feature.

func (*AllowHTTPFeature) Name

func (*AllowHTTPFeature) Name() string

Name implements fuzz.Feature.

func (*AllowHTTPFeature) NewValidator

func (f *AllowHTTPFeature) NewValidator() fuzz.FeatureValidator

NewValidator implements fuzz.Feature.

type AppProtocolFeature added in v1.6.0

type AppProtocolFeature struct{}

AppProtocolFeature implements the associated feature.

func (*AppProtocolFeature) Name added in v1.6.0

func (*AppProtocolFeature) Name() string

Name implements fuzz.Feature.

func (*AppProtocolFeature) NewValidator added in v1.6.0

func (f *AppProtocolFeature) NewValidator() fuzz.FeatureValidator

NewValidator implements fuzz.Feature.

type BackendConfigExampleFeature

type BackendConfigExampleFeature struct{}

BackendConfigExampleFeature is the example BackendConfig feature.

func (*BackendConfigExampleFeature) Name

Name implements fuzz.Feature.

func (BackendConfigExampleFeature) NewValidator

NewValidator implements fuzz.Feature.

type CDNFeature

type CDNFeature struct{}

CDNFeature implements the associated feature.

func (*CDNFeature) Name

func (*CDNFeature) Name() string

Name implements fuzz.Feature.

func (CDNFeature) NewValidator

func (CDNFeature) NewValidator() fuzz.FeatureValidator

NewValidator implements fuzz.Feature.

type IAPFeature

type IAPFeature struct{}

IAPFeature implements the associated feature.

func (*IAPFeature) Name

func (*IAPFeature) Name() string

Name implements fuzz.Feature.

func (IAPFeature) NewValidator

func (IAPFeature) NewValidator() fuzz.FeatureValidator

NewValidator implements fuzz.Feature.

type ILBFeature added in v1.7.0

type ILBFeature struct{}

ILBFeature implements the associated feature

func (*ILBFeature) Name added in v1.7.0

func (*ILBFeature) Name() string

Name implements fuzz.Feature.

func (*ILBFeature) NewValidator added in v1.7.0

func (*ILBFeature) NewValidator() fuzz.FeatureValidator

NewValidator implements fuzz.Feature.

type ILBValidator added in v1.7.0

type ILBValidator struct {
	fuzz.NullValidator
	// contains filtered or unexported fields
}

ILBValidator is an example validator.

func (*ILBValidator) CheckResponse added in v1.7.0

func (v *ILBValidator) CheckResponse(host, path string, resp *http.Response, body []byte) (fuzz.CheckResponseAction, error)

CheckResponse implements fuzz.FeatureValidator.

func (*ILBValidator) ConfigureAttributes added in v1.7.0

func (v *ILBValidator) ConfigureAttributes(env fuzz.ValidatorEnv, ing *v1beta1.Ingress, a *fuzz.IngressValidatorAttributes) error

ConfigureAttributes implements fuzz.FeatureValidator.

func (*ILBValidator) Name added in v1.7.0

func (*ILBValidator) Name() string

Name implements fuzz.FeatureValidator.

type NegFeature added in v1.6.0

type NegFeature struct{}

NegFeature implements the associated feature.

func (*NegFeature) Name added in v1.6.0

func (*NegFeature) Name() string

Name implements fuzz.Feature.

func (*NegFeature) NewValidator added in v1.6.0

func (*NegFeature) NewValidator() fuzz.FeatureValidator

NewValidator implements fuzz.Feature.

type PresharedCertFeature

type PresharedCertFeature struct {
	fuzz.NullValidator
}

PresharedCertFeature implements the Feature associated with PresharedCert.

func (*PresharedCertFeature) ConfigureAttributes

ConfigureAttributes implements fuzz.Feature.

func (*PresharedCertFeature) Name

func (*PresharedCertFeature) Name() string

Name implements fuzz.Feature.

func (*PresharedCertFeature) NewValidator

func (f *PresharedCertFeature) NewValidator() fuzz.FeatureValidator

NewValidator implements fuzz.Feature.

type SecurityPolicyFeature

type SecurityPolicyFeature struct{}

SecurityPolicyFeature implements the associated feature.

func (*SecurityPolicyFeature) Name

func (*SecurityPolicyFeature) Name() string

Name implements fuzz.Feature.

func (SecurityPolicyFeature) NewValidator

NewValidator implements fuzz.Feature.

type StaticIPFeature added in v1.6.0

type StaticIPFeature struct {
	fuzz.NullValidator
}

StaticIPFeature implements the associated feature.

func (*StaticIPFeature) Name added in v1.6.0

func (*StaticIPFeature) Name() string

Name implements fuzz.Feature.

func (*StaticIPFeature) NewValidator added in v1.6.0

func (f *StaticIPFeature) NewValidator() fuzz.FeatureValidator

NewValidator implements fuzz.Feature.

Jump to

Keyboard shortcuts

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