Documentation
¶
Index ¶
- Constants
- type Client
- func (c *Client) Close(_ context.Context) error
- func (c *Client) DeleteSecret(_ context.Context, remoteRef esv1beta1.PushSecretRemoteRef) error
- func (c *Client) GetAllSecrets(_ context.Context, ref esv1beta1.ExternalSecretFind) (map[string][]byte, error)
- func (c *Client) GetSecret(_ context.Context, ref esv1beta1.ExternalSecretDataRemoteRef) ([]byte, error)
- func (c *Client) GetSecretMap(_ context.Context, ref esv1beta1.ExternalSecretDataRemoteRef) (map[string][]byte, error)
- func (c *Client) PushSecret(_ context.Context, secret *corev1.Secret, data esv1beta1.PushSecretData) error
- func (c *Client) SecretExists(_ context.Context, _ esv1beta1.PushSecretRemoteRef) (bool, error)
- func (c *Client) Validate() (esv1beta1.ValidationResult, error)
- type CustomField
- type Field
- type File
- type Provider
- type Secret
- type SecurityClient
Constants ¶
View Source
const ( LoginType = "login" LoginTypeExpr = "login|username" PasswordType = "password" URLTypeExpr = "url|baseurl" URLType = "url" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DeleteSecret ¶
func (*Client) GetAllSecrets ¶
func (*Client) GetSecretMap ¶
func (*Client) PushSecret ¶
func (*Client) SecretExists ¶ added in v0.9.14
type CustomField ¶
type Provider ¶
type Provider struct{}
Provider implements the necessary NewClient() and ValidateStore() funcs.
func (*Provider) Capabilities ¶
func (p *Provider) Capabilities() esv1beta1.SecretStoreCapabilities
func (*Provider) NewClient ¶
func (p *Provider) NewClient(ctx context.Context, store esv1beta1.GenericStore, kube kclient.Client, namespace string) (esv1beta1.SecretsClient, error)
NewClient constructs a GCP Provider.
func (*Provider) ValidateStore ¶
type Secret ¶
type Secret struct { Title string `json:"title"` Type string `json:"type"` Fields []Field `json:"fields"` Custom []CustomField `json:"custom"` Files []File `json:"files"` }
type SecurityClient ¶
type SecurityClient interface { GetSecrets(filter []string) ([]*ksm.Record, error) GetSecretByTitle(recordTitle string) (*ksm.Record, error) GetSecretsByTitle(recordTitle string) (records []*ksm.Record, err error) CreateSecretWithRecordData(recUID, folderUID string, recordData *ksm.RecordCreate) (string, error) DeleteSecrets(recrecordUids []string) (map[string]string, error) Save(record *ksm.Record) error }
Click to show internal directories.
Click to hide internal directories.