atc

package
v0.20.21 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2026 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnnotationInstanceRef = "instance.atc.yoke.cd/instanceRef"
)

Variables

This section is empty.

Functions

func ClusterFlightReconsiler added in v0.18.0

func ClusterFlightReconsiler(modules *cache.ModuleCache) ctrl.Funcs

func FlightReconciler added in v0.18.0

func FlightReconciler(modules *cache.ModuleCache) ctrl.Funcs

func GetAirwayReconciler added in v0.18.0

func GetAirwayReconciler(service ServiceDef, cache *cache.ModuleCache, dispatcher *EventDispatcher, states *xsync.Map[string, InstanceState]) ctrl.Funcs

func ReleaseName added in v0.3.0

func ReleaseName(resource *unstructured.Unstructured) string

Types

type DispatchEvent added in v0.16.8

type DispatchEvent struct {
	GK        string
	Name      string
	Namespace string
}

type EventDispatcher added in v0.16.8

type EventDispatcher _dispatcher

func (*EventDispatcher) Dispatch added in v0.16.8

func (dispatcher *EventDispatcher) Dispatch(resource string) []ctrl.Event

func (*EventDispatcher) Register added in v0.16.8

func (dispatcher *EventDispatcher) Register(resource string, evt ctrl.Event)

func (*EventDispatcher) RemoveEvent added in v0.16.8

func (dispatcher *EventDispatcher) RemoveEvent(evt ctrl.Event)

type InstanceReconcilerParams added in v0.18.0

type InstanceReconcilerParams struct {
	GK      schema.GroupKind
	Version string
	Airway  v1alpha1.Airway
	States  *xsync.Map[string, InstanceState]
}

type InstanceState added in v0.18.0

type InstanceState struct {
	Mode             v1alpha1.AirwayMode
	Mutex            *sync.RWMutex
	ClusterAccess    bool
	TrackedResources *xsync.Set[string]
}

type ServiceDef added in v0.4.0

type ServiceDef struct {
	Name      string
	Namespace string
	CABundle  []byte
	Port      int32
}

type TeardownFunc added in v0.18.0

type TeardownFunc func()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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