state

package
v0.0.0-...-3ea6822 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterState

type ClusterState struct {
	Services  []*coreV1.Service
	Ingresses []*networkingV1.Ingress
	Version   Version
	Force     bool
}

type Consolidator

type Consolidator struct {
	Logger *zerolog.Logger

	//knownChecks sm.CheckSet
	RequestTimeout time.Duration

	ApiServer string
	ApiToken  string
	// contains filtered or unexported fields
}

TODO move rename cleanup

func (*Consolidator) Publish

func (p *Consolidator) Publish(cs ClusterState)

type Publisher

type Publisher interface {
	Publish(ClusterState)
}

type State

type State struct {
	C         <-chan watchers.Event
	Logger    zerolog.Logger
	Publisher Publisher
	// contains filtered or unexported fields
}

func (*State) Run

func (s *State) Run(ctx context.Context) error

type Version

type Version uint32

Jump to

Keyboard shortcuts

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