status

package
v1.150.7 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertContainerHealthy added in v1.30.1

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

func IsServiceReady added in v1.30.1

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

func PrettyPrint added in v1.30.1

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 added in v1.13.0

type CustomName struct {
	ApiURL         string `env:"api.url,default=API_URL"`
	GraphqlURL     string `env:"api.graphql_url,default=GRAPHQL_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