k8s

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2022 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AnnotationHostname is the kubernetes annotation for the hostname to use for the ingress
	AnnotationHostname = "ingress.qumine.io/hostname"
	// AnnotationPortname is the kubernetes annotation for the name of the port to use
	AnnotationPortname = "ingress.qumine.io/portname"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type K8S

type K8S struct {
	// Status is the current status of the K8S watcher.
	Status string
	// contains filtered or unexported fields
}

K8S is a watcher for kubernetes

func NewK8S

func NewK8S(k8sOptions config.K8SOptions) *K8S

NewK8S creates a new k8s instance

func (*K8S) Start

func (k8s *K8S) Start(context context.Context, wg *sync.WaitGroup)

Start the K8S

func (*K8S) Stop added in v0.8.0

func (k8s *K8S) Stop(wg *sync.WaitGroup)

Stop the K8S

Jump to

Keyboard shortcuts

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