app

package
v0.32.8 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func New

func New(user string, key string, userServiceKey string, groups map[string][]string, internalPrefix string) (*App, error)

func (*App) AddInternalPrefix

func (a *App) AddInternalPrefix(desc string) string

func (*App) Ensure

func (a *App) Ensure(k8sClient *kubernetes.Client, namespace string, labels map[string]string, domain string, subdomains []*config.Subdomain, rules []*config.Rule, originCASecretName string) error

func (*App) EnsureDNSRecords

func (a *App) EnsureDNSRecords(domain string, records []*cloudflare.DNSRecord) error

func (*App) EnsureFilters

func (a *App) EnsureFilters(domain string, filters []*cloudflare.Filter) ([]*cloudflare.Filter, func() error, error)

func (*App) EnsureFirewallRules

func (a *App) EnsureFirewallRules(domain string, rules []*cloudflare.FirewallRule) error

func (*App) EnsureOriginCACertificate

func (a *App) EnsureOriginCACertificate(k8sClient *kubernetes.Client, namespace string, labels map[string]string, domain string, originCASecretName string) error

func (*App) TrimInternalPrefix

func (a *App) TrimInternalPrefix(desc string) string

Jump to

Keyboard shortcuts

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