Documentation ¶
Index ¶
- func FromClusterScanBenchmarkHandlerToHandler(sync ClusterScanBenchmarkHandler) generic.Handler
- func FromClusterScanHandlerToHandler(sync ClusterScanHandler) generic.Handler
- func FromClusterScanProfileHandlerToHandler(sync ClusterScanProfileHandler) generic.Handler
- func FromClusterScanReportHandlerToHandler(sync ClusterScanReportHandler) generic.Handler
- func RegisterClusterScanGeneratingHandler(ctx context.Context, controller ClusterScanController, apply apply.Apply, ...)
- func RegisterClusterScanStatusHandler(ctx context.Context, controller ClusterScanController, ...)
- func UpdateClusterScanBenchmarkDeepCopyOnChange(client ClusterScanBenchmarkClient, obj *v1.ClusterScanBenchmark, ...) (*v1.ClusterScanBenchmark, error)
- func UpdateClusterScanDeepCopyOnChange(client ClusterScanClient, obj *v1.ClusterScan, ...) (*v1.ClusterScan, error)
- func UpdateClusterScanProfileDeepCopyOnChange(client ClusterScanProfileClient, obj *v1.ClusterScanProfile, ...) (*v1.ClusterScanProfile, error)
- func UpdateClusterScanReportDeepCopyOnChange(client ClusterScanReportClient, obj *v1.ClusterScanReport, ...) (*v1.ClusterScanReport, error)
- type ClusterScanBenchmarkCache
- type ClusterScanBenchmarkClient
- type ClusterScanBenchmarkController
- type ClusterScanBenchmarkHandler
- type ClusterScanBenchmarkIndexer
- type ClusterScanCache
- type ClusterScanClient
- type ClusterScanController
- type ClusterScanGeneratingHandler
- type ClusterScanHandler
- type ClusterScanIndexer
- type ClusterScanProfileCache
- type ClusterScanProfileClient
- type ClusterScanProfileController
- type ClusterScanProfileHandler
- type ClusterScanProfileIndexer
- type ClusterScanReportCache
- type ClusterScanReportClient
- type ClusterScanReportController
- type ClusterScanReportHandler
- type ClusterScanReportIndexer
- type ClusterScanStatusHandler
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromClusterScanBenchmarkHandlerToHandler ¶ added in v0.0.3
func FromClusterScanBenchmarkHandlerToHandler(sync ClusterScanBenchmarkHandler) generic.Handler
func FromClusterScanHandlerToHandler ¶
func FromClusterScanHandlerToHandler(sync ClusterScanHandler) generic.Handler
func FromClusterScanProfileHandlerToHandler ¶
func FromClusterScanProfileHandlerToHandler(sync ClusterScanProfileHandler) generic.Handler
func FromClusterScanReportHandlerToHandler ¶
func FromClusterScanReportHandlerToHandler(sync ClusterScanReportHandler) generic.Handler
func RegisterClusterScanGeneratingHandler ¶
func RegisterClusterScanGeneratingHandler(ctx context.Context, controller ClusterScanController, apply apply.Apply, condition condition.Cond, name string, handler ClusterScanGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterClusterScanStatusHandler ¶
func RegisterClusterScanStatusHandler(ctx context.Context, controller ClusterScanController, condition condition.Cond, name string, handler ClusterScanStatusHandler)
func UpdateClusterScanBenchmarkDeepCopyOnChange ¶ added in v0.0.3
func UpdateClusterScanBenchmarkDeepCopyOnChange(client ClusterScanBenchmarkClient, obj *v1.ClusterScanBenchmark, handler func(obj *v1.ClusterScanBenchmark) (*v1.ClusterScanBenchmark, error)) (*v1.ClusterScanBenchmark, error)
func UpdateClusterScanDeepCopyOnChange ¶
func UpdateClusterScanDeepCopyOnChange(client ClusterScanClient, obj *v1.ClusterScan, handler func(obj *v1.ClusterScan) (*v1.ClusterScan, error)) (*v1.ClusterScan, error)
func UpdateClusterScanProfileDeepCopyOnChange ¶
func UpdateClusterScanProfileDeepCopyOnChange(client ClusterScanProfileClient, obj *v1.ClusterScanProfile, handler func(obj *v1.ClusterScanProfile) (*v1.ClusterScanProfile, error)) (*v1.ClusterScanProfile, error)
func UpdateClusterScanReportDeepCopyOnChange ¶
func UpdateClusterScanReportDeepCopyOnChange(client ClusterScanReportClient, obj *v1.ClusterScanReport, handler func(obj *v1.ClusterScanReport) (*v1.ClusterScanReport, error)) (*v1.ClusterScanReport, error)
Types ¶
type ClusterScanBenchmarkCache ¶ added in v0.0.3
type ClusterScanBenchmarkCache interface { Get(name string) (*v1.ClusterScanBenchmark, error) List(selector labels.Selector) ([]*v1.ClusterScanBenchmark, error) AddIndexer(indexName string, indexer ClusterScanBenchmarkIndexer) GetByIndex(indexName, key string) ([]*v1.ClusterScanBenchmark, error) }
type ClusterScanBenchmarkClient ¶ added in v0.0.3
type ClusterScanBenchmarkClient interface { Create(*v1.ClusterScanBenchmark) (*v1.ClusterScanBenchmark, error) Update(*v1.ClusterScanBenchmark) (*v1.ClusterScanBenchmark, error) Delete(name string, options *metav1.DeleteOptions) error Get(name string, options metav1.GetOptions) (*v1.ClusterScanBenchmark, error) List(opts metav1.ListOptions) (*v1.ClusterScanBenchmarkList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ClusterScanBenchmark, err error) }
type ClusterScanBenchmarkController ¶ added in v0.0.3
type ClusterScanBenchmarkController interface { generic.ControllerMeta ClusterScanBenchmarkClient OnChange(ctx context.Context, name string, sync ClusterScanBenchmarkHandler) OnRemove(ctx context.Context, name string, sync ClusterScanBenchmarkHandler) Enqueue(name string) EnqueueAfter(name string, duration time.Duration) Cache() ClusterScanBenchmarkCache }
func NewClusterScanBenchmarkController ¶ added in v0.0.3
func NewClusterScanBenchmarkController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) ClusterScanBenchmarkController
type ClusterScanBenchmarkHandler ¶ added in v0.0.3
type ClusterScanBenchmarkHandler func(string, *v1.ClusterScanBenchmark) (*v1.ClusterScanBenchmark, error)
type ClusterScanBenchmarkIndexer ¶ added in v0.0.3
type ClusterScanBenchmarkIndexer func(obj *v1.ClusterScanBenchmark) ([]string, error)
type ClusterScanCache ¶
type ClusterScanCache interface { Get(name string) (*v1.ClusterScan, error) List(selector labels.Selector) ([]*v1.ClusterScan, error) AddIndexer(indexName string, indexer ClusterScanIndexer) GetByIndex(indexName, key string) ([]*v1.ClusterScan, error) }
type ClusterScanClient ¶
type ClusterScanClient interface { Create(*v1.ClusterScan) (*v1.ClusterScan, error) Update(*v1.ClusterScan) (*v1.ClusterScan, error) UpdateStatus(*v1.ClusterScan) (*v1.ClusterScan, error) Delete(name string, options *metav1.DeleteOptions) error Get(name string, options metav1.GetOptions) (*v1.ClusterScan, error) List(opts metav1.ListOptions) (*v1.ClusterScanList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ClusterScan, err error) }
type ClusterScanController ¶
type ClusterScanController interface { generic.ControllerMeta ClusterScanClient OnChange(ctx context.Context, name string, sync ClusterScanHandler) OnRemove(ctx context.Context, name string, sync ClusterScanHandler) Enqueue(name string) EnqueueAfter(name string, duration time.Duration) Cache() ClusterScanCache }
func NewClusterScanController ¶
func NewClusterScanController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) ClusterScanController
type ClusterScanGeneratingHandler ¶
type ClusterScanGeneratingHandler func(obj *v1.ClusterScan, status v1.ClusterScanStatus) ([]runtime.Object, v1.ClusterScanStatus, error)
type ClusterScanHandler ¶
type ClusterScanHandler func(string, *v1.ClusterScan) (*v1.ClusterScan, error)
type ClusterScanIndexer ¶
type ClusterScanIndexer func(obj *v1.ClusterScan) ([]string, error)
type ClusterScanProfileCache ¶
type ClusterScanProfileCache interface { Get(name string) (*v1.ClusterScanProfile, error) List(selector labels.Selector) ([]*v1.ClusterScanProfile, error) AddIndexer(indexName string, indexer ClusterScanProfileIndexer) GetByIndex(indexName, key string) ([]*v1.ClusterScanProfile, error) }
type ClusterScanProfileClient ¶
type ClusterScanProfileClient interface { Create(*v1.ClusterScanProfile) (*v1.ClusterScanProfile, error) Update(*v1.ClusterScanProfile) (*v1.ClusterScanProfile, error) Delete(name string, options *metav1.DeleteOptions) error Get(name string, options metav1.GetOptions) (*v1.ClusterScanProfile, error) List(opts metav1.ListOptions) (*v1.ClusterScanProfileList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ClusterScanProfile, err error) }
type ClusterScanProfileController ¶
type ClusterScanProfileController interface { generic.ControllerMeta ClusterScanProfileClient OnChange(ctx context.Context, name string, sync ClusterScanProfileHandler) OnRemove(ctx context.Context, name string, sync ClusterScanProfileHandler) Enqueue(name string) EnqueueAfter(name string, duration time.Duration) Cache() ClusterScanProfileCache }
func NewClusterScanProfileController ¶
func NewClusterScanProfileController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) ClusterScanProfileController
type ClusterScanProfileHandler ¶
type ClusterScanProfileHandler func(string, *v1.ClusterScanProfile) (*v1.ClusterScanProfile, error)
type ClusterScanProfileIndexer ¶
type ClusterScanProfileIndexer func(obj *v1.ClusterScanProfile) ([]string, error)
type ClusterScanReportCache ¶
type ClusterScanReportCache interface { Get(name string) (*v1.ClusterScanReport, error) List(selector labels.Selector) ([]*v1.ClusterScanReport, error) AddIndexer(indexName string, indexer ClusterScanReportIndexer) GetByIndex(indexName, key string) ([]*v1.ClusterScanReport, error) }
type ClusterScanReportClient ¶
type ClusterScanReportClient interface { Create(*v1.ClusterScanReport) (*v1.ClusterScanReport, error) Update(*v1.ClusterScanReport) (*v1.ClusterScanReport, error) Delete(name string, options *metav1.DeleteOptions) error Get(name string, options metav1.GetOptions) (*v1.ClusterScanReport, error) List(opts metav1.ListOptions) (*v1.ClusterScanReportList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ClusterScanReport, err error) }
type ClusterScanReportController ¶
type ClusterScanReportController interface { generic.ControllerMeta ClusterScanReportClient OnChange(ctx context.Context, name string, sync ClusterScanReportHandler) OnRemove(ctx context.Context, name string, sync ClusterScanReportHandler) Enqueue(name string) EnqueueAfter(name string, duration time.Duration) Cache() ClusterScanReportCache }
func NewClusterScanReportController ¶
func NewClusterScanReportController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) ClusterScanReportController
type ClusterScanReportHandler ¶
type ClusterScanReportHandler func(string, *v1.ClusterScanReport) (*v1.ClusterScanReport, error)
type ClusterScanReportIndexer ¶
type ClusterScanReportIndexer func(obj *v1.ClusterScanReport) ([]string, error)
type ClusterScanStatusHandler ¶
type ClusterScanStatusHandler func(obj *v1.ClusterScan, status v1.ClusterScanStatus) (v1.ClusterScanStatus, error)
type Interface ¶
type Interface interface { ClusterScan() ClusterScanController ClusterScanBenchmark() ClusterScanBenchmarkController ClusterScanProfile() ClusterScanProfileController ClusterScanReport() ClusterScanReportController }
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface
Click to show internal directories.
Click to hide internal directories.