watchdog

package
v0.9.13 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2025 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Overview

Copyright 2020-2025 Project Capsule Authors SPDX-License-Identifier: Apache-2.0

Copyright 2020-2025 Project Capsule Authors SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func API

func API(config *rest.Config) ([]utils.ProxyGroupVersionKind, error)

Types

type CRDWatcher

type CRDWatcher struct {
	Client client.Client

	LeaderElection bool
	// contains filtered or unexported fields
}

func (*CRDWatcher) NeedLeaderElection added in v0.9.8

func (c *CRDWatcher) NeedLeaderElection() bool

func (*CRDWatcher) Reconcile

func (c *CRDWatcher) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

func (*CRDWatcher) SetupWithManager

func (c *CRDWatcher) SetupWithManager(ctx context.Context, mgr manager.Manager) error

type NamespacedWatcher

type NamespacedWatcher struct {
	Client         client.Client
	LeaderElection bool
	// contains filtered or unexported fields
}

func (*NamespacedWatcher) NeedLeaderElection added in v0.9.8

func (c *NamespacedWatcher) NeedLeaderElection() bool

func (*NamespacedWatcher) Reconcile

func (c *NamespacedWatcher) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

func (*NamespacedWatcher) SetupWithManager

func (c *NamespacedWatcher) SetupWithManager(mgr manager.Manager, gvk metav1.GroupVersionKind) error

Jump to

Keyboard shortcuts

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