ingress

package
v0.0.0-...-079190a Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2018 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Creator

type Creator struct {
	Ingressname string
	Servicename string
	Serviceport string
	Namespace   string
}

Creator for transform domain to ingress

func (*Creator) Create

func (c *Creator) Create(domains []domain.Domain) *k8s_v1beta1.Ingress

Create Ingress for the given domains.

type K8sApplier

type K8sApplier struct {
	Kubeconfig string
	Namespace  string
}

K8sApplier add Ingress to Client.

func (*K8sApplier) Apply

func (a *K8sApplier) Apply(ingress *k8s_v1beta1.Ingress) error

Apply a list of domains.

type PrintApplier

type PrintApplier struct {
	Out io.Writer
}

PrintApplier add Ingress to k8sapplier/applier.go:18.

func (*PrintApplier) Apply

func (a *PrintApplier) Apply(ingress *k8s_v1beta1.Ingress) error

Apply a list of domains

Jump to

Keyboard shortcuts

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