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
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 )
Click to show internal directories.
Click to hide internal directories.