Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalCloud ¶
type LocalCloud struct { Apis *apis.LocalApiGatewayService Batch *batch.LocalBatchService KeyValue *keyvalue.BoltDocService Gateway *gateway.LocalGatewayService Http *http.LocalHttpProxy Resources *resources.LocalResourcesService Schedules *schedules.LocalSchedulesService Secrets *secrets.DevSecretService Storage *storage.LocalStorageService Topics *topics.LocalTopicsAndSubscribersService Websockets *websockets.LocalWebsocketService Queues *queues.LocalQueuesService Databases *sql.LocalSqlServer // contains filtered or unexported fields }
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 LocalCloudMode ¶ added in v1.55.11
type LocalCloudMode string
LocalCloudMode type run or start
const ( // LocalCloudModeRun - run mode LocalCloudModeRun LocalCloudMode = "run" // LocalCloudModeStart - start mode LocalCloudModeStart LocalCloudMode = "start" )
type LocalCloudOptions ¶ added in v1.47.0
type LocalCloudOptions struct { TLSCredentials *gateway.TLSCredentials LogWriter io.Writer LocalConfig localconfig.LocalConfiguration MigrationRunner sql.MigrationRunner LocalCloudMode LocalCloudMode }
type ServiceName ¶
type ServiceName = string
type Subscribable ¶
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 |
Click to show internal directories.
Click to hide internal directories.