admin

package
v0.78.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminService

type AdminService interface {
	contracts.WorkflowServiceServer
	Cleanup() error
}

func NewAdminService

func NewAdminService(fs ...AdminServiceOpt) (AdminService, error)

type AdminServiceImpl

type AdminServiceImpl struct {
	contracts.UnimplementedWorkflowServiceServer
	// contains filtered or unexported fields
}

func (*AdminServiceImpl) Cleanup added in v0.78.0

func (a *AdminServiceImpl) Cleanup() error

Cleanup stops the pubBuffer goroutines if they exist

func (*AdminServiceImpl) PutRateLimit

func (*AdminServiceImpl) PutWorkflow

func (*AdminServiceImpl) ScheduleWorkflow

func (*AdminServiceImpl) TriggerWorkflow

type AdminServiceOpt

type AdminServiceOpt func(*AdminServiceOpts)

func WithGrpcTriggerSlots added in v0.78.0

func WithGrpcTriggerSlots(slots int) AdminServiceOpt

func WithGrpcTriggersEnabled added in v0.78.0

func WithGrpcTriggersEnabled(enabled bool) AdminServiceOpt

func WithLocalDispatcher added in v0.78.0

func WithLocalDispatcher(d *dispatcher.DispatcherImpl) AdminServiceOpt

func WithLocalScheduler added in v0.78.0

func WithLocalScheduler(s *scheduler.Scheduler) AdminServiceOpt

func WithLogger added in v0.78.0

func WithLogger(l *zerolog.Logger) AdminServiceOpt

func WithMessageQueueV1

func WithMessageQueueV1(mq msgqueue.MessageQueue) AdminServiceOpt

func WithOptimisticSchedulingEnabled added in v0.78.0

func WithOptimisticSchedulingEnabled(enabled bool) AdminServiceOpt

func WithRepositoryV1

func WithRepositoryV1(r v1.Repository) AdminServiceOpt

func WithValidator

func WithValidator(v validator.Validator) AdminServiceOpt

type AdminServiceOpts

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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