extensions

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package extensions implements extensions controllers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeepHashObject added in v0.4.1

func DeepHashObject(hasher hash.Hash, objectToWrite interface{})

DeepHashObject hashes an object following the pointer values of the object. Copied from k8s.io/kubernetes/pkg/util/hash.

func EdgeFunctionHash added in v0.4.1

func EdgeFunctionHash(spec extensionsv1alpha2.EdgeFunctionRevisionSpec) string

EdgeFunctionHash hashes an EdgeFunctionRevisionTemplate.

Types

type EdgeFunctionReconciler

type EdgeFunctionReconciler struct {
	client.Client
	// contains filtered or unexported fields
}

EdgeFunctionReconciler reconciles an EdgeFunction object.

func NewEdgeFunctionReconciler added in v0.4.2

func NewEdgeFunctionReconciler(
	c client.Client,
	s *runtime.Scheme,
	tc tclient.Client,
) *EdgeFunctionReconciler

NewEdgeFunctionReconciler returns a new reconcile.Reconciler.

func (*EdgeFunctionReconciler) Reconcile

func (r *EdgeFunctionReconciler) Reconcile(ctx context.Context, request reconcile.Request) (ctrl.Result, error)

Reconcile implements reconcile.Reconciler.

func (*EdgeFunctionReconciler) SetupWithManager

func (r *EdgeFunctionReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Controller Manager.

type EdgeFunctionRevisionGCReconciler added in v0.4.2

type EdgeFunctionRevisionGCReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

EdgeFunctionRevisionGCReconciler garbage collects EdgeFunctionRevisions.

func NewEdgeFunctionRevisionGCReconciler added in v0.4.2

func NewEdgeFunctionRevisionGCReconciler(
	c client.Client,
	s *runtime.Scheme,
	gcInterval time.Duration,
) *EdgeFunctionRevisionGCReconciler

NewEdgeFunctionRevisionGCReconciler returns a new EdgeFunctionRevisionGCReconciler.

func (*EdgeFunctionRevisionGCReconciler) Reconcile added in v0.4.2

Reconcile implements reconcile.Reconciler

func (*EdgeFunctionRevisionGCReconciler) SetupWithManager added in v0.4.2

func (r *EdgeFunctionRevisionGCReconciler) SetupWithManager(
	ctx context.Context,
	mgr ctrl.Manager,
) error

SetupWithManager sets up the reconciler with a manager

Jump to

Keyboard shortcuts

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