status

package
v0.0.0-...-15dca4e Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OutputEnv    = "env"
	OutputJson   = "json"
	OutputPretty = "pretty"
	OutputToml   = "toml"
	OutputYaml   = "yaml"
)

Variables

This section is empty.

Functions

func AssertContainerHealthy

func AssertContainerHealthy(ctx context.Context, container string) error

func IsServiceReady

func IsServiceReady(ctx context.Context, container string) bool

func PrettyPrint

func PrettyPrint(w io.Writer, exclude ...string)

func Run

func Run(ctx context.Context, names CustomName, format string, fsys afero.Fs) error

Types

type CustomName

type CustomName struct {
	ApiURL         string `env:"api.url,default=API_URL"`
	DbURL          string `env:"db.url,default=DB_URL"`
	StudioURL      string `env:"studio.url,default=STUDIO_URL"`
	InbucketURL    string `env:"inbucket.url,default=INBUCKET_URL"`
	JWTSecret      string `env:"auth.jwt_secret,default=JWT_SECRET"`
	AnonKey        string `env:"auth.anon_key,default=ANON_KEY"`
	ServiceRoleKey string `env:"auth.service_role_key,default=SERVICE_ROLE_KEY"`
}

Jump to

Keyboard shortcuts

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