secrets

package
v1.1.15 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRoutes

func AddRoutes(sg *echo.Group)

func Cleanup

Cleanup entries from `secrets` table.

func Decrypt

func Decrypt(ctx context.ServiceContext, client *clients.GQLClient, options *commons.DecryptOptions) (*commons.Secret, error)

func DeleteHandler

func DeleteHandler(c echo.Context) error

func Get

func GetHandler

func GetHandler(c echo.Context) error

func List

Fetches only the keys of a secret row.

func Merge

Pulls all secret key=value pairs from the source environment, and overwrites them in the target environment. It creates a new secret version.

func New

func New() *commons.Secret

Returns a new initialized 'Secret' object.

func ParseAndInitialize

func ParseAndInitialize(data []byte) (*commons.Secret, error)

func Set

func SetHandler

func SetHandler(c echo.Context) error

func Sync

func Sync(ctx context.ServiceContext, client *clients.GQLClient, options *commons.SyncOptions) error

Types

This section is empty.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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