Documentation ¶
Index ¶
- func AddRoutes(sg *echo.Group)
- func Cleanup(ctx context.ServiceContext, client *clients.GQLClient, ...) error
- func Decrypt(ctx context.ServiceContext, client *clients.GQLClient, ...) (*commons.Secret, error)
- func Delete(ctx context.ServiceContext, client *clients.GQLClient, ...) (*commons.Secret, error)
- func DeleteHandler(c echo.Context) error
- func Get(ctx context.ServiceContext, client *clients.GQLClient, ...) (*commons.Secret, error)
- func GetHandler(c echo.Context) error
- func List(ctx context.ServiceContext, client *clients.GQLClient, ...) (*commons.Secret, error)
- func Merge(ctx context.ServiceContext, client *clients.GQLClient, ...) (*commons.Secret, error)
- func New() *commons.Secret
- func ParseAndInitialize(data []byte) (*commons.Secret, error)
- func Set(ctx context.ServiceContext, client *clients.GQLClient, ...) (*commons.Secret, error)
- func SetHandler(c echo.Context) error
- func Sync(ctx context.ServiceContext, client *clients.GQLClient, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cleanup ¶
func Cleanup(ctx context.ServiceContext, client *clients.GQLClient, options *commons.CleanupSecretOptions) error
Cleanup entries from `secrets` table.
func Decrypt ¶
func Decrypt(ctx context.ServiceContext, client *clients.GQLClient, options *commons.DecryptOptions) (*commons.Secret, error)
func Delete ¶
func Delete(ctx context.ServiceContext, client *clients.GQLClient, options *commons.DeleteSecretOptions) (*commons.Secret, error)
func DeleteHandler ¶
func DeleteHandler(c echo.Context) error
func Get ¶
func Get(ctx context.ServiceContext, client *clients.GQLClient, options *commons.GetOptions) (*commons.Secret, error)
func GetHandler ¶
func GetHandler(c echo.Context) error
func List ¶
func List(ctx context.ServiceContext, client *clients.GQLClient, options *commons.ListRequestOptions) (*commons.Secret, error)
Fetches only the keys of a secret row.
func Merge ¶
func Merge(ctx context.ServiceContext, client *clients.GQLClient, options *commons.MergeOptions) (*commons.Secret, error)
Pulls all secret key=value pairs from the source environment, and overwrites them in the target environment. It creates a new secret version.
func Set ¶
func Set(ctx context.ServiceContext, client *clients.GQLClient, options *commons.SetOptions) (*commons.Secret, error)
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.
Click to show internal directories.
Click to hide internal directories.