secretentity

package
v1.0.0-beta.187 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateAppSecretInput

type CreateAppSecretInput struct {
	AppID appentitybase.AppID
	Key   string
	Value string
}

func (CreateAppSecretInput) Validate

func (i CreateAppSecretInput) Validate() error

type DeleteAppSecretInput

type DeleteAppSecretInput = SecretID

type GetAppSecretInput

type GetAppSecretInput = SecretID

type Secret

type Secret struct {
	SecretID SecretID
	Value    string
}

Secret represents a secret with a value.

func (Secret) Validate

func (s Secret) Validate() error

type SecretID

type SecretID struct {
	models.NamespacedID
	AppID appentitybase.AppID
	Key   string
}

SecretID represents a secret identifier.

func NewSecretID

func NewSecretID(appID appentitybase.AppID, id string, key string) SecretID

func (SecretID) Validate

func (i SecretID) Validate() error

type SecretNotFoundError

type SecretNotFoundError struct {
	SecretID
}

func (SecretNotFoundError) Error

func (e SecretNotFoundError) Error() string

type ValidationError

type ValidationError genericError

func (ValidationError) Error

func (e ValidationError) Error() string

func (ValidationError) Unwrap

func (e ValidationError) Unwrap() error

Jump to

Keyboard shortcuts

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