Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //go:embed kong.local.crt KongCert string //go:embed kong.local.key KongKey string )
Functions ¶
func IsServiceReady ¶ added in v1.30.1
func NewKongClient ¶ added in v1.183.0
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 ¶ added in v1.30.1
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"` StorageS3URL string `env:"api.storage_s3_url,default=STORAGE_S3_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"` 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"` }
Click to show internal directories.
Click to hide internal directories.