Help us shape the future of Go! Take the 2026 Go Developer Survey

kubernetes

package
v1.2.47 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IProvider

type IProvider interface {
	GetIngressDomains(ctx context.Context) ([]string, error)
	AddIngress(ctx context.Context, domain, secretName, serviceName, servicePortName string, annotations map[string]string) error
	RemoveIngress(ctx context.Context, domain string) error
	IsCertificateProvisioned(ctx context.Context, secretName string) (bool, error)
}

type Kubernetes

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

func NewKubernetes

func NewKubernetes(configFilePath, namespace string) *Kubernetes

func (*Kubernetes) AddIngress

func (k *Kubernetes) AddIngress(ctx context.Context, domain, secretName, serviceName, servicePortName string, annotations map[string]string) error

func (*Kubernetes) GetIngressDomains

func (k *Kubernetes) GetIngressDomains(ctx context.Context) ([]string, error)

func (*Kubernetes) IsCertificateProvisioned

func (k *Kubernetes) IsCertificateProvisioned(ctx context.Context, secretName string) (bool, error)

func (*Kubernetes) RemoveIngress

func (k *Kubernetes) RemoveIngress(ctx context.Context, domain string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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