service

package
v0.43.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 28 Imported by: 8

Documentation

Index

Constants

This section is empty.

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 NewReconciler added in v0.40.0

func NewReconciler(client clientset.Interface, configurationLister listers.ConfigurationLister,
	revisionLister listers.RevisionLister, routeLister listers.RouteLister) *Reconciler

NewReconciler creates the reference to the Reconciler based on clientset.Interface, listers.ConfigurationLister, listers.RevisionLister and listers.RouteLister.

func (*Reconciler) Config added in v0.41.0

func (c *Reconciler) Config(ctx context.Context, service *v1.Service) (*v1.Configuration, error)

func (*Reconciler) ReconcileKind added in v0.13.0

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

ReconcileKind implements Interface.ReconcileKind.

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.

Jump to

Keyboard shortcuts

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