ingress

package
v1.2.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(id types.Id, opts ...IngressOption) *v1.Ingress

New builds an Ingress for a given id and configures it using the given options.

Types

type IngressOption added in v1.2.3

type IngressOption func(*v1.Ingress)

IngressOption is an optional configuration parameter to Ingress.

func AnnotationManagedCertificates added in v1.2.3

func AnnotationManagedCertificates(value string) IngressOption

AnnotationManagedCertificates sets annotation "networking.gke.io/managed-certificates".

Passing this option again will overwrite earlier values.

Default: missing, Ingress.Annotations will have no key "networking.gke.io/managed-certificates"

func AnnotationPreSharedCert added in v1.2.3

func AnnotationPreSharedCert(value string) IngressOption

AnnotationPreSharedCert sets annotation "ingress.gcp.kubernetes.io/pre-shared-cert".

Passing this option again will overwrite earlier values.

Default: missing, Ingress.Annotations will have no key "ingress.gcp.kubernetes.io/pre-shared-cert"

Jump to

Keyboard shortcuts

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