Documentation ¶
Index ¶
- Constants
- func EnsureState(ctx context.Context, cluster kubedef.KubeCluster) error
- func FromConfig(config *client.Prepared, acceptedClasses []string) (kubedef.IngressClass, error)
- func MakeCertificateSecrets(ns string, fragments []*schema.IngressFragment) map[string]Cert
- func PlanIngress(ctx context.Context, ingressPlanner kubedef.IngressClass, ns string, ...) ([]defs.MakeDefinition, error)
- func Register()
- func RegisterIngressClass(name string, class kubedef.IngressClass)
- func RegisterRuntimeState()
- type Cert
- type IngressGroup
Constants ¶
View Source
const IngressControllerCat = "kube:ingress:controller"
Variables ¶
This section is empty.
Functions ¶
func EnsureState ¶
func EnsureState(ctx context.Context, cluster kubedef.KubeCluster) error
func FromConfig ¶ added in v0.0.113
func MakeCertificateSecrets ¶
func MakeCertificateSecrets(ns string, fragments []*schema.IngressFragment) map[string]Cert
func PlanIngress ¶
func PlanIngress(ctx context.Context, ingressPlanner kubedef.IngressClass, ns string, env *schema.Environment, deployable runtime.Deployable, fragments []*schema.IngressFragment) ([]defs.MakeDefinition, error)
func RegisterIngressClass ¶ added in v0.0.124
func RegisterIngressClass(name string, class kubedef.IngressClass)
func RegisterRuntimeState ¶
func RegisterRuntimeState()
Types ¶
type Cert ¶ added in v0.0.117
type Cert struct { SecretName string Defs []defs.MakeDefinition }
type IngressGroup ¶ added in v0.0.117
type IngressGroup struct { Name string Fragments []*schema.IngressFragment }
Click to show internal directories.
Click to hide internal directories.