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
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 ¶
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 ¶
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
func (r *EdgeFunctionRevisionGCReconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
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