delta

package
v0.55.2 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResyncObserver

func ResyncObserver(
	ctx context.Context,
	log logrus.FieldLogger,
	snaphotProvider SnapshotProvider,
	client castai.Client,
) telemetry.Observer

Types

type Config

type Config struct {
	DeltaSyncInterval time.Duration
}

type Controller added in v0.41.0

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

func NewController added in v0.41.0

func NewController(
	log logrus.FieldLogger,
	logLevel logrus.Level,
	cfg Config, client castaiClient,
	stateProvider SnapshotProvider,
	k8sVersionMinor int,
	podOwnerGetter podOwnerGetter,
) *Controller

func (*Controller) OnAdd added in v0.41.0

func (s *Controller) OnAdd(obj kube.Object)

func (*Controller) OnDelete added in v0.41.0

func (s *Controller) OnDelete(obj kube.Object)

func (*Controller) OnUpdate added in v0.41.0

func (s *Controller) OnUpdate(obj kube.Object)

func (*Controller) RequiredInformers added in v0.41.0

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

func (*Controller) Run added in v0.41.0

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

type SnapshotProvider

type SnapshotProvider interface {
	// contains filtered or unexported methods
}

func NewSnapshotProvider

func NewSnapshotProvider() SnapshotProvider

Jump to

Keyboard shortcuts

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