cluster

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: AGPL-3.0 Imports: 23 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 {
	Components []*Component
	// contains filtered or unexported fields
}

func NewMicroServiceCluster

func NewMicroServiceCluster() *Cluster

func (*Cluster) Prepare

func (c *Cluster) Prepare() (err error)

func (*Cluster) PushClient

func (c *Cluster) PushClient() pushv1connect.PusherServiceClient

func (*Cluster) QueryClient

func (*Cluster) Start

func (c *Cluster) Start(ctx context.Context) (err error)

func (*Cluster) Stop

func (c *Cluster) Stop() func(context.Context) error

func (*Cluster) Wait

func (c *Cluster) Wait()

type Component

type Component struct {
	Target string
	// contains filtered or unexported fields
}

func (*Component) Stop

func (comp *Component) Stop() func(context.Context) error

func (*Component) String

func (comp *Component) String() string

Jump to

Keyboard shortcuts

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