placement

package
v1.15.0-rc.5 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Run(context.Context) error
	Ready() bool
	Lock(context.Context) (context.Context, context.CancelFunc, error)
	LookupActor(ctx context.Context, req *api.LookupActorRequest) (*api.LookupActorResponse, error)
}

func New

func New(opts Options) (Interface, error)

type Options

type Options struct {
	AppID     string
	Namespace string
	Hostname  string
	Port      int
	Addresses []string

	APILevel  *apilevel.APILevel
	Security  security.Handler
	Table     table.Interface
	Reminders storage.Interface
	Healthz   healthz.Healthz
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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