orchestration

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: 30 Imported by: 0

README

This directory holds Orchestration layer of Voyager architecture.

Documentation

Index

Constants

View Source
const (
	ByConfigMapNameIndexName    = "configMapNamespace"
	ReasonStatusRetrievalFailed = "StatusRetrievalFailed"
)

Variables

This section is empty.

Functions

func ByConfigMapNameIndex

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

func ByConfigMapNameIndexKey

func ByConfigMapNameIndexKey(namespace string, configMapName string) string

func SetupAdmissionWebhooks

func SetupAdmissionWebhooks(r *chi.Mux)

Types

type Controller

type Controller struct {
	Logger       *zap.Logger
	Clock        clock.Clock
	ReadyForWork func()

	NamespaceInformer cache.SharedIndexInformer
	StateInformer     cache.SharedIndexInformer
	BundleInformer    cache.SharedIndexInformer
	ConfigMapInformer cache.SharedIndexInformer
	StateClient       orch_v1client.StatesGetter
	BundleClient      smithClient_v1.BundlesGetter

	StateTransitionsCounter *prometheus.CounterVec

	Entangler           Entangler
	SpecCheck           updater.SpecCheck
	BundleObjectUpdater updater.ObjectUpdater
}

func (*Controller) Process

func (c *Controller) Process(ctx *ctrl.ProcessContext) (external bool, retriable bool, err 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/orchestration/v1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
typed/orchestration/v1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
aws
Package aws implements autowiring for the osb-aws-provider (Atlassian specific) This provider is just the old resource-provisioning service with an OSB interface slapped on.
Package aws implements autowiring for the osb-aws-provider (Atlassian specific) This provider is just the old resource-provisioning service with an OSB interface slapped on.
rds
sqs
ups
wiringplugin
Package wiringplugin provides the wiring-related types surrounding "WiringPlugin"
Package wiringplugin provides the wiring-related types surrounding "WiringPlugin"

Jump to

Keyboard shortcuts

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