orchestrator

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const AwsMappingName = "awsMapping"
View Source
const AwsToKubernetesName = "awsToK8s"
View Source
const AzureAdToAwsName = "aadToAws"
View Source
const CapabilityServiceToAzureAdName = "capSvcToAad"

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

type Job struct {
	Name   string
	Status *SyncStatus

	ScheduleEnabled bool
	// contains filtered or unexported fields
}

func (*Job) Run

func (j *Job) Run()

type Orchestrator

type Orchestrator struct {
	Jobs map[string]*Job
	// contains filtered or unexported fields
}

Orchestrator Used for managing long-lived fully fledged sync jobs

func NewOrchestrator

func NewOrchestrator(ctx context.Context, wg *sync.WaitGroup) *Orchestrator

func (*Orchestrator) AadToAwsSyncStatusProgress

func (o *Orchestrator) AadToAwsSyncStatusProgress() bool

func (*Orchestrator) AwsToK8sSyncStatusProgress

func (o *Orchestrator) AwsToK8sSyncStatusProgress() bool

func (*Orchestrator) CapSvcToAadSyncProgress

func (o *Orchestrator) CapSvcToAadSyncProgress() bool

func (*Orchestrator) Init

func (o *Orchestrator) Init(conf config.Config)

type SyncStatus

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

func (*SyncStatus) InProgress

func (s *SyncStatus) InProgress() bool

func (*SyncStatus) SetStatus

func (s *SyncStatus) SetStatus(status bool)

Jump to

Keyboard shortcuts

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