kubebench

package
v0.19.9 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSubscriber

func NewSubscriber(
	log logrus.FieldLogger,
	client kubernetes.Interface,
	castaiNamespace string,
	provider string,
	scanInterval time.Duration,
	castClient castai.Client,
	logsReader log.PodLogProvider,
	scannedNodes []string,
) controller.ObjectSubscriber

Types

type Subscriber

type Subscriber struct {
	// contains filtered or unexported fields
}

func (*Subscriber) OnAdd

func (s *Subscriber) OnAdd(obj controller.Object)

func (*Subscriber) OnDelete

func (s *Subscriber) OnDelete(obj controller.Object)

func (*Subscriber) OnUpdate

func (s *Subscriber) OnUpdate(obj controller.Object)

func (*Subscriber) RequiredInformers

func (s *Subscriber) RequiredInformers() []reflect.Type

func (*Subscriber) Run

func (s *Subscriber) Run(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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