ingress

package
v0.0.0-...-f4d4f89 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasIngressExists

func HasIngressExists(sn string, ingresses []*networkingv1beta1.Ingress) bool

Types

type Ingress

type Ingress struct {
	ServiceName string
	Namespace   string
	K8sClient   kubernetes.Interface
}

func (*Ingress) CreateIngress

func (i *Ingress) CreateIngress(sn, ns string, sp []corev1.ServicePort) (err error)

func (*Ingress) DeleteIngress

func (i *Ingress) DeleteIngress() (err error)

func (*Ingress) UpdateIngress

func (i *Ingress) UpdateIngress(ingresses []*networkingv1beta1.Ingress, osn, nsn, ns string, nsp int32) (err error)

func (*Ingress) UpsertIngress

func (i *Ingress) UpsertIngress(newSvc *corev1.Service, oldSvc *corev1.Service, iif informers.SharedInformerFactory) (err error)

Jump to

Keyboard shortcuts

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