config

package
v1.16.4 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultHasuraGraphqlAdminSecret = "nhost-admin-secret" //nolint:gosec
	DefaultGraphqlJWTSecret         = "0f987876650b4a085e64594fae9219e7781b17506bec02489ad061fba8cb22db"
	DefaultNhostWebhookSecret       = "nhost-webhook-secret" //nolint:gosec
)

Variables

This section is empty.

Functions

func ApplyJSONPatches added in v1.13.0

func ApplyJSONPatches[T any](
	cfg T,
	overlayPath string,
) (*T, error)

func Command

func Command() *cli.Command

func CommandDefault

func CommandDefault() *cli.Command

func CommandEdit added in v1.1.0

func CommandEdit() *cli.Command

func CommandExample added in v1.1.0

func CommandExample() *cli.Command

func CommandPull

func CommandPull() *cli.Command

func CommandShow

func CommandShow() *cli.Command

func CommandValidate

func CommandValidate() *cli.Command

func CopyConfig added in v1.13.0

func CopyConfig[T any](src, dst, overlayPath string) error

func EditFile added in v1.13.0

func EditFile(ctx context.Context, editor, filepath string) error

func GenerateJSONPatch added in v1.13.0

func GenerateJSONPatch(origfilepath, newfilepath, dst string) error

func InitConfigAndSecrets

func InitConfigAndSecrets(ce *clienv.CliEnv) error

func Validate

func Validate(
	ce *clienv.CliEnv,
	subdomain string,
	secrets model.Secrets,
) (*model.ConfigConfig, error)

func ValidateRemote

func ValidateRemote(
	ctx context.Context,
	ce *clienv.CliEnv,
	subdomain string,
) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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