Documentation ¶
Index ¶
- Constants
- func ApplyJSONPatches[T any](cfg T, overlayPath string) (*T, error)
- func Command() *cli.Command
- func CommandDefault() *cli.Command
- func CommandEdit() *cli.Command
- func CommandExample() *cli.Command
- func CommandPull() *cli.Command
- func CommandShow() *cli.Command
- func CommandValidate() *cli.Command
- func CopyConfig[T any](src, dst, overlayPath string) error
- func EditFile(ctx context.Context, editor, filepath string) error
- func GenerateJSONPatch(origfilepath, newfilepath, dst string) error
- func InitConfigAndSecrets(ce *clienv.CliEnv) error
- func Pull(ctx context.Context, ce *clienv.CliEnv, proj *graphql.AppSummaryFragment, ...) (*model.ConfigConfig, error)
- func Validate(ce *clienv.CliEnv, subdomain string, secrets model.Secrets) (*model.ConfigConfig, error)
- func ValidateRemote(ctx context.Context, ce *clienv.CliEnv, subdomain string) error
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 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 GenerateJSONPatch ¶ added in v1.13.0
func InitConfigAndSecrets ¶
func Pull ¶
func Pull( ctx context.Context, ce *clienv.CliEnv, proj *graphql.AppSummaryFragment, writeSecrts bool, ) (*model.ConfigConfig, error)
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.