ports

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// deprecated
	DefaultProxyPort            = 1337
	DefaultSSLProxyPort         = 443
	DefaultDBPort               = 5432
	DefaultGraphQLPort          = 8080
	DefaultHasuraConsolePort    = 9695
	DefaultHasuraConsoleAPIPort = 9693
	DefaultSMTPPort             = 1025
	DefaultS3MinioPort          = 9000
	DefaultDashboardPort        = 3030
	DefaultMailhogPort          = 8025
)
View Source
const (
	FlagPortProxy            = "port" // deprecated
	FlagSSLPortProxy         = "ssl-port"
	FlagPortDB               = "db-port"
	FlagPortGraphQL          = "graphql-port"
	FlagPortHasuraConsole    = "console-port"
	FlagPortHasuraConsoleAPI = "console-api-port"
	FlagPortSMTP             = "smtp-port"
	FlagPortMinioS3          = "minio-s3-port"
	FlagPortDashboard        = "dashboard-port"
	FlagPortMailhog          = "mailhog-port"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Ports

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

func NewPorts

func NewPorts(proxyPort, sslProxyPort, dbPort, graphqlPort, consolePort, consoleAPIPort, smtpPort, minioS3Port, dashboardPort, mailhogPort uint32) *Ports

func (Ports) DB

func (p Ports) DB() uint32

func (Ports) Dashboard added in v0.8.11

func (p Ports) Dashboard() uint32

func (Ports) EnsurePortsAvailable

func (p Ports) EnsurePortsAvailable() error

func (Ports) GraphQL

func (p Ports) GraphQL() uint32

func (Ports) HasuraConsole

func (p Ports) HasuraConsole() uint32

func (Ports) HasuraConsoleAPI

func (p Ports) HasuraConsoleAPI() uint32

func (Ports) Mailhog

func (p Ports) Mailhog() uint32

func (Ports) MinioS3

func (p Ports) MinioS3() uint32

func (Ports) Proxy

func (p Ports) Proxy() uint32

func (Ports) SMTP

func (p Ports) SMTP() uint32

func (Ports) SSLProxy added in v0.8.25

func (p Ports) SSLProxy() uint32

Jump to

Keyboard shortcuts

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