service

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDockerComposeManager

func NewDockerComposeManager(cert *nhostssl.SSLCert, c *nhost.Configuration, workdir string, hc *hasura.Client, p *ports.Ports, env []string, gitBranch, projectName string, logger logrus.FieldLogger, status *util.Status, debug bool) (*dockerComposeManager, error)

Types

type Endpoints

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

func NewEndpoints added in v0.8.25

func NewEndpoints(db, graphql, hasura, auth, storage, functions, dashboard, mailhog string) *Endpoints

func (Endpoints) Dump

func (e Endpoints) Dump(out io.Writer)

type HasuraConsoleStartStopper

type HasuraConsoleStartStopper interface {
	StartConsole(ctx context.Context, consoleURL, consoleAPIURL uint32, debug bool) error
	StopConsole() error
}

type Launcher

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

func (*Launcher) HasuraConsoleURL

func (l *Launcher) HasuraConsoleURL() string

func (*Launcher) Init

func (l *Launcher) Init() error

func (*Launcher) Start

func (l *Launcher) Start(ctx context.Context, startTimeout time.Duration, debug bool) error

func (*Launcher) Terminate

func (l *Launcher) Terminate(ctx context.Context) error

type Manager

type Manager interface {
	SyncExec(ctx context.Context, f func(ctx context.Context) error) error
	Start(ctx context.Context) error
	Stop(ctx context.Context) error
	HasuraConsoleURL() string
	Endpoints() *Endpoints
}

Jump to

Keyboard shortcuts

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