argoevents

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IsolationShared    = "shared"
	IsolationExclusive = "exclusive"

	ConfigMapTriggerTemplateName = "nautes-runtime-trigger-templates"
)

Variables

This section is empty.

Functions

func GetURLFromCluster

func GetURLFromCluster(cluster nautescrd.Cluster, hostCluster *nautescrd.Cluster, isSecret bool) (string, error)

func NewSyncer

func NewSyncer(client client.Client) interfaces.EventBus

Types

type Syncer

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

func (Syncer) RemoveEvents

func (s Syncer) RemoveEvents(ctx context.Context, task interfaces.RuntimeSyncTask) error

RemoveEvents make sure that event bus defined in project pipeline runtime is not existed any more.

func (Syncer) SyncEvents

SyncEvents used to make sure event bus is the same as project runtime define in dest cluster. It will create argo eventsource and sensor.

Jump to

Keyboard shortcuts

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