nsingress

package
v0.0.225 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LocalBaseDomain = "nslocal.host"
	CloudBaseDomain = "nscloud.dev"
)

Variables

This section is empty.

Functions

func AllocateDomainCertificate added in v0.0.167

func AllocateDomainCertificate(ctx context.Context, env *schema.Environment, entry *schema.Stack_Entry, template *schema.Domain) (*schema.Certificate, error)

func IngressClass added in v0.0.167

func IngressClass() kubedef.IngressClass

func MakeCertificateSecrets added in v0.0.167

func MakeCertificateSecrets(ns string, domain *schema.Domain, cert *schema.Certificate) map[string]kubedef.IngressCertificate

Types

type Ingress added in v0.0.167

type Ingress struct {
	nginx.Ingress
}

func (Ingress) ComputeNaming added in v0.0.167

func (Ingress) ComputeNaming(ctx context.Context, env *schema.Environment, source *schema.Naming) (*schema.ComputedNaming, error)

func (Ingress) Name added in v0.0.167

func (Ingress) Name() string

func (Ingress) PrepareRoute added in v0.0.167

func (n Ingress) PrepareRoute(ctx context.Context, env *schema.Environment, srv *schema.Stack_Entry, domain *schema.Domain, ns, name string) (*kubedef.IngressAllocatedRoute, error)

Jump to

Keyboard shortcuts

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