Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTypeReplace ¶
func NewTypeReplace(table, column, fullType string) boilingcore.TypeReplace
NewTypeReplace generates a new TypeReplace.
func RevertHasuraMigrations ¶
RevertHasuraMigrations reverts the Hasura migrations to the given database URL. Note that this is a partial implementation for testing purposes: - It does not check against nor update the "hdb_catalog.hdb_version" table. - It blindly reverts all the migrations in a single transaction.
Types ¶
type Operations ¶
type Operations interface { GenerateTimestampAndCommitVersion() string CFCreateStack(name string, templateBody string, tagsMap map[string]string) *awscft.Stack CFDescribeStack(name string) *awscft.Stack CFUpdateStack(name string, templateBody string, tagsMap map[string]string) *awscft.Stack CFUpsertStack(name string, templateBody string, tagsMap map[string]string) *awscft.Stack DockerLogin() DockerPush(imageAndTag string) GoCrossBuildForLinuxAMD64(workDirPath, packageName, binFilePath string, injectValues map[string]string) GoPackageFunction(handlerFilePath, functionHandlerFileName, packageFilePath string) KMSDecrypt(keyAlias string, ciphertext []byte) []byte KMSEncrypt(keyAlias string, plaintext []byte) []byte S3UploadFile(bucketName, key, contentType string, body []byte) }
Operations provides a collection of utilities for performing operations.
func NewOperations ¶
func NewOperations(awsCfg *aws.Config) Operations
NewOperations initializes a new Operations.
type Secrets ¶
type Secrets interface { Load() interface{} EditPrompt() }
Secrets describes a set of encrypted secrets.
func NewSecrets ¶
func NewSecrets(contextName, filePath string, ops Operations, defaultValues interface{}) Secrets
NewSecrets initializes a new Secrets.
Click to show internal directories.
Click to hide internal directories.