Documentation ¶
Index ¶
- func HasIngressExists(sn string, ingresses []*networkingv1beta1.Ingress) bool
- type Ingress
- func (i *Ingress) CreateIngress(sn, ns string, sp []corev1.ServicePort) (err error)
- func (i *Ingress) DeleteIngress() (err error)
- func (i *Ingress) UpdateIngress(ingresses []*networkingv1beta1.Ingress, osn, nsn, ns string, nsp int32) (err error)
- func (i *Ingress) UpsertIngress(newSvc *corev1.Service, oldSvc *corev1.Service, ...) (err error)
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 (*Ingress) UpdateIngress ¶
func (*Ingress) UpsertIngress ¶
Click to show internal directories.
Click to hide internal directories.