agentstoggle

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resource added in v0.30.0

type Resource struct {
	Client client.Client
	Scheme *runtime.Scheme
}

Resource implements a resource.Interface to handle Logging agents toggle: enable or disable logging agents in a given Cluster.

func (*Resource) ReconcileCreate added in v0.30.0

func (r *Resource) ReconcileCreate(ctx context.Context, cluster *capi.Cluster, loggingAgent *common.LoggingAgent) (ctrl.Result, error)

ReconcileCreate ensure logging agents and events loggers are enabled in the given cluster.

func (*Resource) ReconcileDelete added in v0.30.0

func (r *Resource) ReconcileDelete(ctx context.Context, cluster *capi.Cluster, loggingAgent *common.LoggingAgent) (ctrl.Result, error)

ReconcileDelete ensure logging agents and events loggers are disabled for the given cluster.

Jump to

Keyboard shortcuts

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