v1

package
v1.3.5-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterClusterScanGeneratingHandler

func RegisterClusterScanGeneratingHandler(ctx context.Context, controller ClusterScanController, apply apply.Apply,
	condition condition.Cond, name string, handler ClusterScanGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterClusterScanGeneratingHandler configures a ClusterScanController to execute a ClusterScanGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterClusterScanStatusHandler

func RegisterClusterScanStatusHandler(ctx context.Context, controller ClusterScanController, condition condition.Cond, name string, handler ClusterScanStatusHandler)

RegisterClusterScanStatusHandler configures a ClusterScanController to execute a ClusterScanStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

Types

type ClusterScanBenchmarkCache added in v0.0.3

type ClusterScanBenchmarkCache interface {
	generic.NonNamespacedCacheInterface[*v1.ClusterScanBenchmark]
}

ClusterScanBenchmarkCache interface for retrieving ClusterScanBenchmark resources in memory.

type ClusterScanBenchmarkClient added in v0.0.3

type ClusterScanBenchmarkClient interface {
	generic.NonNamespacedClientInterface[*v1.ClusterScanBenchmark, *v1.ClusterScanBenchmarkList]
}

ClusterScanBenchmarkClient interface for managing ClusterScanBenchmark resources in Kubernetes.

type ClusterScanBenchmarkController added in v0.0.3

type ClusterScanBenchmarkController interface {
	generic.NonNamespacedControllerInterface[*v1.ClusterScanBenchmark, *v1.ClusterScanBenchmarkList]
}

ClusterScanBenchmarkController interface for managing ClusterScanBenchmark resources.

type ClusterScanCache

type ClusterScanCache interface {
	generic.NonNamespacedCacheInterface[*v1.ClusterScan]
}

ClusterScanCache interface for retrieving ClusterScan resources in memory.

type ClusterScanClient

type ClusterScanClient interface {
	generic.NonNamespacedClientInterface[*v1.ClusterScan, *v1.ClusterScanList]
}

ClusterScanClient interface for managing ClusterScan resources in Kubernetes.

type ClusterScanController

type ClusterScanController interface {
	generic.NonNamespacedControllerInterface[*v1.ClusterScan, *v1.ClusterScanList]
}

ClusterScanController interface for managing ClusterScan resources.

type ClusterScanGeneratingHandler

type ClusterScanGeneratingHandler func(obj *v1.ClusterScan, status v1.ClusterScanStatus) ([]runtime.Object, v1.ClusterScanStatus, error)

ClusterScanGeneratingHandler is the top-level handler that is executed for every ClusterScan event. It extends ClusterScanStatusHandler by a returning a slice of child objects to be passed to apply.Apply

type ClusterScanProfileCache

type ClusterScanProfileCache interface {
	generic.NonNamespacedCacheInterface[*v1.ClusterScanProfile]
}

ClusterScanProfileCache interface for retrieving ClusterScanProfile resources in memory.

type ClusterScanProfileClient

type ClusterScanProfileClient interface {
	generic.NonNamespacedClientInterface[*v1.ClusterScanProfile, *v1.ClusterScanProfileList]
}

ClusterScanProfileClient interface for managing ClusterScanProfile resources in Kubernetes.

type ClusterScanProfileController

type ClusterScanProfileController interface {
	generic.NonNamespacedControllerInterface[*v1.ClusterScanProfile, *v1.ClusterScanProfileList]
}

ClusterScanProfileController interface for managing ClusterScanProfile resources.

type ClusterScanReportCache

type ClusterScanReportCache interface {
	generic.NonNamespacedCacheInterface[*v1.ClusterScanReport]
}

ClusterScanReportCache interface for retrieving ClusterScanReport resources in memory.

type ClusterScanReportClient

type ClusterScanReportClient interface {
	generic.NonNamespacedClientInterface[*v1.ClusterScanReport, *v1.ClusterScanReportList]
}

ClusterScanReportClient interface for managing ClusterScanReport resources in Kubernetes.

type ClusterScanReportController

type ClusterScanReportController interface {
	generic.NonNamespacedControllerInterface[*v1.ClusterScanReport, *v1.ClusterScanReportList]
}

ClusterScanReportController interface for managing ClusterScanReport resources.

type ClusterScanStatusHandler

type ClusterScanStatusHandler func(obj *v1.ClusterScan, status v1.ClusterScanStatus) (v1.ClusterScanStatus, error)

ClusterScanStatusHandler is executed for every added or modified ClusterScan. Should return the new status to be updated

type Interface

type Interface interface {
	ClusterScan() ClusterScanController
	ClusterScanBenchmark() ClusterScanBenchmarkController
	ClusterScanProfile() ClusterScanProfileController
	ClusterScanReport() ClusterScanReportController
}

func New

func New(controllerFactory controller.SharedControllerFactory) Interface

Jump to

Keyboard shortcuts

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