Documentation ¶
Index ¶
- type K8sSecretsService
- func (secretsService *K8sSecretsService) AddSecret(secret dispatchv1.Secret) (*dispatchv1.Secret, error)
- func (secretsService *K8sSecretsService) DeleteSecret(name string, opts entitystore.Options) error
- func (secretsService *K8sSecretsService) GetSecret(name string, opts entitystore.Options) (*dispatchv1.Secret, error)
- func (secretsService *K8sSecretsService) GetSecrets(opts entitystore.Options) ([]*dispatchv1.Secret, error)
- func (secretsService *K8sSecretsService) UpdateSecret(secret dispatchv1.Secret, opts entitystore.Options) (*dispatchv1.Secret, error)
- type SecretNotFound
- type SecretsService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sSecretsService ¶
type K8sSecretsService struct { EntityStore entitystore.EntityStore SecretsAPI k8sv1.SecretInterface OrgID string }
K8sSecretsService type
func (*K8sSecretsService) AddSecret ¶
func (secretsService *K8sSecretsService) AddSecret(secret dispatchv1.Secret) (*dispatchv1.Secret, error)
AddSecret adds a secret
func (*K8sSecretsService) DeleteSecret ¶
func (secretsService *K8sSecretsService) DeleteSecret(name string, opts entitystore.Options) error
DeleteSecret deletes a secret
func (*K8sSecretsService) GetSecret ¶
func (secretsService *K8sSecretsService) GetSecret(name string, opts entitystore.Options) (*dispatchv1.Secret, error)
GetSecret gets a specific secret
func (*K8sSecretsService) GetSecrets ¶
func (secretsService *K8sSecretsService) GetSecrets(opts entitystore.Options) ([]*dispatchv1.Secret, error)
GetSecrets gets all the secrets
func (*K8sSecretsService) UpdateSecret ¶
func (secretsService *K8sSecretsService) UpdateSecret(secret dispatchv1.Secret, opts entitystore.Options) (*dispatchv1.Secret, error)
UpdateSecret updates a secret
type SecretNotFound ¶ added in v0.1.13
type SecretNotFound struct {
// contains filtered or unexported fields
}
SecretNotFound is the error type when the secret is not found
type SecretsService ¶
type SecretsService interface { AddSecret(v1.Secret) (*v1.Secret, error) GetSecrets(opts entitystore.Options) ([]*v1.Secret, error) GetSecret(name string, opts entitystore.Options) (*v1.Secret, error) UpdateSecret(secret v1.Secret, opts entitystore.Options) (*v1.Secret, error) DeleteSecret(name string, opts entitystore.Options) error }
SecretsService defines the secrets service interface
Click to show internal directories.
Click to hide internal directories.