status

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsServiceReady

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

func NewKongClient

func NewKongClient() *http.Client

To regenerate local certificate pair:

openssl req -x509 -newkey rsa:4096 -sha256 -days 3650 \
  -nodes -keyout kong.local.key -out kong.local.crt -subj "/CN=localhost" \
  -addext "subjectAltName=DNS:localhost,IP:127.0.0.1"

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"`
	RestURL                  string `env:"api.rest_url,default=REST_URL"`
	GraphqlURL               string `env:"api.graphql_url,default=GRAPHQL_URL"`
	StorageS3URL             string `env:"api.storage_s3_url,default=STORAGE_S3_URL"`
	McpURL                   string `env:"api.mcp_url,default=MCP_URL"`
	FunctionsURL             string `env:"api.functions_url,default=FUNCTIONS_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,deprecated"`
	MailpitURL               string `env:"mailpit.url,default=MAILPIT_URL"`
	PublishableKey           string `env:"auth.publishable_key,default=PUBLISHABLE_KEY"`
	SecretKey                string `env:"auth.secret_key,default=SECRET_KEY"`
	JWTSecret                string `env:"auth.jwt_secret,default=JWT_SECRET,deprecated"`
	AnonKey                  string `env:"auth.anon_key,default=ANON_KEY,deprecated"`
	ServiceRoleKey           string `env:"auth.service_role_key,default=SERVICE_ROLE_KEY,deprecated"`
	StorageS3AccessKeyId     string `env:"storage.s3_access_key_id,default=S3_PROTOCOL_ACCESS_KEY_ID"`
	StorageS3SecretAccessKey string `env:"storage.s3_secret_access_key,default=S3_PROTOCOL_ACCESS_KEY_SECRET"`
	StorageS3Region          string `env:"storage.s3_region,default=S3_PROTOCOL_REGION"`
}

type OutputGroup

type OutputGroup struct {
	Name  string
	Items []OutputItem
}

type OutputItem

type OutputItem struct {
	Label string
	Value string
	Type  OutputType
}

type OutputType

type OutputType string
const (
	Text OutputType = "text"
	Link OutputType = "link"
	Key  OutputType = "key"
)

Jump to

Keyboard shortcuts

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