status

package
v0.0.0-...-0db023b Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UpdateInterval = 60

UpdateInterval defines the time interval, in seconds, in which the status should check if an update is required.

Functions

func StringInSlice

func StringInSlice(s string, list []string) bool

Types

type Config

type Config struct {
	Client clientset.Interface

	PublishService string

	PublishStatusAddress string

	UpdateStatusOnShutdown bool

	UseNodeInternalIP bool

	IngressLister ingressLister
}

Config ...

type Syncer

type Syncer interface {
	Run(chan struct{})

	Shutdown()
}

Syncer ...

func NewStatusSyncer

func NewStatusSyncer(config Config) Syncer

NewStatusSyncer returns a new Syncer instance

Jump to

Keyboard shortcuts

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