formation

package
v0.0.0-...-e0434a4 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2019 License: Apache-2.0 Imports: 26 Imported by: 0

README

This directory holds Formation layer (ex. State) of Voyager architecture.

Documentation

Index

Constants

View Source
const (
	ByReleaseConfigNameIndexName = "releaseConfigMapIndex"
	ReleaseTemplatingPrefix      = "release:"
)

Variables

This section is empty.

Functions

func ByConfigMapNameIndexKey

func ByConfigMapNameIndexKey(namespace string, configMapName string) string

func ByReleaseConfigMapNameIndex

func ByReleaseConfigMapNameIndex(obj interface{}) ([]string, error)

Types

type Controller

type Controller struct {
	Logger               *zap.Logger
	Clock                clock.Clock
	ReadyForWork         func()
	LDInformer           cache.SharedIndexInformer
	StateInformer        cache.SharedIndexInformer
	LDClient             form_v1client.LocationDescriptorsGetter
	ConfigMapInformer    cache.SharedIndexInformer
	LDTransitionsCounter *prometheus.CounterVec

	Location options.Location

	StateObjectUpdater updater.ObjectUpdater
}

func (*Controller) Process

func (c *Controller) Process(ctx *ctrl.ProcessContext) (bool, bool, error)

func (*Controller) Run

func (c *Controller) Run(ctx context.Context)

Directories

Path Synopsis
This package has the automatically generated clientset.
This package has the automatically generated clientset.
fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
typed/formation/v1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
typed/formation/v1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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