ingress

package
v0.0.0-...-bac4b8f Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2021 License: Apache-2.0 Imports: 13 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All(client kubelego.KubeLego) (ingresses []kubelego.Ingress, err error)

func IgnoreIngress

func IgnoreIngress(ing *k8sExtensions.Ingress) error

func IsSupportedIngressClass

func IsSupportedIngressClass(supportedClass []string, in string) (out string, err error)

func IsSupportedIngressProvider

func IsSupportedIngressProvider(supportedProviders []string, in string) (out string, err error)

Types

type Ingress

type Ingress struct {
	IngressApi *k8sExtensions.Ingress
	Exists     bool
	// contains filtered or unexported fields
}

func New

func New(client kubelego.KubeLego, namespace string, name string) *Ingress

func (*Ingress) Delete

func (i *Ingress) Delete() error

func (*Ingress) Ignore

func (i *Ingress) Ignore() bool

func (*Ingress) IngressClass

func (i *Ingress) IngressClass() string

func (*Ingress) IngressProvider

func (i *Ingress) IngressProvider() string

func (*Ingress) KubeLego

func (i *Ingress) KubeLego() kubelego.KubeLego

func (*Ingress) Log

func (i *Ingress) Log() *logrus.Entry

func (*Ingress) Object

func (i *Ingress) Object() *k8sExtensions.Ingress

func (*Ingress) Save

func (o *Ingress) Save() (err error)

func (*Ingress) Tls

func (i *Ingress) Tls() (out []kubelego.Tls)

type Tls

type Tls struct {
	*k8sExtensions.IngressTLS
	// contains filtered or unexported fields
}

func (*Tls) Hosts

func (t *Tls) Hosts() []string

func (Tls) IngressMetadata

func (t Tls) IngressMetadata() (meta *k8sApi.ObjectMeta)

func (*Tls) Log

func (t *Tls) Log() *logrus.Entry

func (*Tls) Process

func (i *Tls) Process() error

func (*Tls) RequestCert

func (i *Tls) RequestCert() error

func (*Tls) Secret

func (t *Tls) Secret() kubelego.Secret

func (Tls) SecretMetadata

func (t Tls) SecretMetadata() (meta *k8sApi.ObjectMeta)

func (*Tls) Validate

func (t *Tls) Validate() error

Jump to

Keyboard shortcuts

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