driftdetection

package
v0.38.3 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetManager

func GetManager() (*manager, error)

GetManager returns the manager instance implementing the ClassifierInterface. Returns nil if manager has not been initialized yet

func GetObjectReference added in v0.36.0

func GetObjectReference(scheme *runtime.Scheme, obj client.Object) *corev1.ObjectReference

GetObjectReference returns a corev1.ObjectReference

func InitializeManager

func InitializeManager(ctx context.Context, l logr.Logger, config *rest.Config, c client.Client,
	scheme *runtime.Scheme, clusterNamespace, clusterName, version string, cluserType libsveltosv1beta1.ClusterType,
	intervalInSecond uint, sendUpdates bool) error

InitializeManager initializes a manager

Types

type ReactToNotification

type ReactToNotification func(gvk *schema.GroupVersionKind, obj interface{}, logger logr.Logger)

type ResourceType added in v0.36.0

type ResourceType int
const (
	Resource ResourceType = iota
	KustomizeResource
	HelmResource
)

Jump to

Keyboard shortcuts

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