service

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ReconcilerName is the name of the reconciler
	ReconcilerName = "Services"
)

Variables

This section is empty.

Functions

func CheckNameAvailability added in v0.13.0

func CheckNameAvailability(config *v1.Configuration, lister listers.RevisionLister) error

CheckNameAvailability checks that if the named Revision specified by the Configuration is available (not found), exists (but matches), or exists with conflict (doesn't match).

TODO(dprotaso) de-dupe once this controller is migrated to v1 apis

func NewController

func NewController(
	ctx context.Context,
	cmw configmap.Watcher,
) *controller.Impl

NewController initializes the controller and is called by the generated code Registers eventhandlers to enqueue events

Types

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

Reconciler implements controller.Reconciler for Service resources.

func (*Reconciler) ReconcileKind added in v0.13.0

func (c *Reconciler) ReconcileKind(ctx context.Context, service *v1.Service) pkgreconciler.Event

Directories

Path Synopsis
Package resources holds simple functions for synthesizing child resources from a Service resource and any relevant Service controller configuration.
Package resources holds simple functions for synthesizing child resources from a Service resource and any relevant Service controller configuration.
names
Package names holds simple functions for synthesizing resource names.
Package names holds simple functions for synthesizing resource names.

Jump to

Keyboard shortcuts

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