collector

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(s *Server, controllerRuntimeStopCh <-chan struct{})

Register starts collectors manager.

Types

type ChaosCollector

type ChaosCollector struct {
	client.Client
	Log logr.Logger
	// contains filtered or unexported fields
}

ChaosCollector represents a collector for Chaos Object.

func (*ChaosCollector) Reconcile

func (r *ChaosCollector) Reconcile(req ctrl.Request) (ctrl.Result, error)

Reconcile reconciles a chaos collector.

func (*ChaosCollector) Setup

func (r *ChaosCollector) Setup(mgr ctrl.Manager, apiType runtime.Object) error

Setup setups collectors by Manager.

type Server

type Server struct {
	Manager ctrl.Manager
}

Server defines a server to manage collectors.

func NewServer

NewServer returns a CollectorServer and Client.

Jump to

Keyboard shortcuts

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