sync

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Syncer

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

Syncer watches Run CRDs in Kubernetes and syncs them into ingestion_schedules.

func NewSyncer

func NewSyncer(scheduleSvc *runs.ScheduleService, namespace string) (*Syncer, error)

NewSyncer creates a new Run CRD syncer.

func (*Syncer) Start

func (s *Syncer) Start(ctx context.Context) error

Start begins watching Run CRDs and syncing them to schedules.

func (*Syncer) Stop

func (s *Syncer) Stop()

Stop halts the syncer.

func (*Syncer) TriggerRun

func (s *Syncer) TriggerRun(ctx context.Context, name string) error

TriggerRun patches the Run CRD with the trigger annotation.

Jump to

Keyboard shortcuts

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