controller_worker

package
v0.0.0-...-d77dacb Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerWorker

type ControllerWorker interface {
	Run(ctx context.Context, updateInterval time.Duration) <-chan interface{}
	Close()
}

type V1ControllerWorker

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

func NewV1ControllerWorker

func NewV1ControllerWorker(scaleTargetRef *types.ScaleTargetRef, logger logr.Logger,
	client client.Client, provider pb.ProviderServiceClient, reqNamespace string) *V1ControllerWorker

func (*V1ControllerWorker) Close

func (cw *V1ControllerWorker) Close()

func (V1ControllerWorker) Run

func (cw V1ControllerWorker) Run(ctx context.Context, updateInterval time.Duration) (<-chan interface{}, <-chan error)

Jump to

Keyboard shortcuts

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