cloud

package
v1.55.5 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.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 LocalCloud

func New

func New(projectName string, opts LocalCloudOptions) (*LocalCloud, error)

func (*LocalCloud) AddBatch added in v1.54.0

func (lc *LocalCloud) AddBatch(batchName string) (int, error)

func (*LocalCloud) AddService

func (lc *LocalCloud) AddService(serviceName string) (int, error)

func (*LocalCloud) Stop

func (lc *LocalCloud) Stop()

StartLocalNitric - starts the Nitric Server, including plugins and their local dependencies (e.g. local versions of cloud services)

type LocalCloudOptions added in v1.47.0

type LocalCloudOptions struct {
	TLSCredentials  *gateway.TLSCredentials
	LogWriter       io.Writer
	LocalConfig     localconfig.LocalConfiguration
	MigrationRunner sql.MigrationRunner
}

type ServiceName

type ServiceName = string

type Subscribable

type Subscribable[T any, A any] interface {
	SubscribeToState(fn func(T))
	SubscribeToAction(fn func(A)) // used to subscribe to api calls, ws messages, topic deliveries etc
}

Directories

Path Synopsis
Code adapted from https://github.com/jackc/tern/blob/master/migrate/internal/sqlsplit/sqlsplit.go
Code adapted from https://github.com/jackc/tern/blob/master/migrate/internal/sqlsplit/sqlsplit.go

Jump to

Keyboard shortcuts

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