cluster

package
v1.15.0-rc.13 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

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

Cluster manages connections to multiple schedulers.

func New

func New(opts Options) *Cluster

func (*Cluster) RunClients

func (c *Cluster) RunClients(ctx context.Context, clients *clients.Clients) error

Run starts watching for job triggers from all scheduler clients.

func (*Cluster) StartApp

func (c *Cluster) StartApp()

func (*Cluster) StopApp

func (c *Cluster) StopApp()

type Options

type Options struct {
	Namespace string
	AppID     string
	Actors    actors.Interface
	Channels  *channels.Channels
	WFEngine  wfengine.Interface
}

Jump to

Keyboard shortcuts

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