Documentation ¶
Index ¶
- Constants
- func AllocateDomainCertificate(ctx context.Context, env *schema.Environment, entry *schema.Stack_Entry, ...) (*schema.Certificate, error)
- func IngressClass() kubedef.IngressClass
- func MakeCertificateSecrets(ns string, domain *schema.Domain, cert *schema.Certificate) map[string]kubedef.IngressCertificate
- type Ingress
- func (Ingress) ComputeNaming(ctx context.Context, env *schema.Environment, source *schema.Naming) (*schema.ComputedNaming, error)
- func (Ingress) Name() string
- func (n Ingress) PrepareRoute(ctx context.Context, env *schema.Environment, srv *schema.Stack_Entry, ...) (*kubedef.IngressAllocatedRoute, error)
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
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) 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)
Click to show internal directories.
Click to hide internal directories.