Documentation ¶
Index ¶
- func BuiltIn() catalog.BuiltIn
- type Configuration
- type SecretManagerPlugin
- func (p *SecretManagerPlugin) Configure(ctx context.Context, req *configv1.ConfigureRequest) (*configv1.ConfigureResponse, error)
- func (p *SecretManagerPlugin) DeleteX509SVID(ctx context.Context, req *svidstorev1.DeleteX509SVIDRequest) (*svidstorev1.DeleteX509SVIDResponse, error)
- func (p *SecretManagerPlugin) PutX509SVID(ctx context.Context, req *svidstorev1.PutX509SVIDRequest) (*svidstorev1.PutX509SVIDResponse, error)
- func (p *SecretManagerPlugin) SetLogger(log hclog.Logger)
- func (p *SecretManagerPlugin) Validate(ctx context.Context, req *configv1.ValidateRequest) (*configv1.ValidateResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶
type SecretManagerPlugin ¶
type SecretManagerPlugin struct { svidstorev1.UnsafeSVIDStoreServer configv1.UnsafeConfigServer // contains filtered or unexported fields }
func New ¶
func New() *SecretManagerPlugin
func (*SecretManagerPlugin) Configure ¶
func (p *SecretManagerPlugin) Configure(ctx context.Context, req *configv1.ConfigureRequest) (*configv1.ConfigureResponse, error)
Configure configures the SecretManagerPlugin.
func (*SecretManagerPlugin) DeleteX509SVID ¶
func (p *SecretManagerPlugin) DeleteX509SVID(ctx context.Context, req *svidstorev1.DeleteX509SVIDRequest) (*svidstorev1.DeleteX509SVIDResponse, error)
DeleteX509SVID deletes a secret in the configured Google Cloud Secret manager
func (*SecretManagerPlugin) PutX509SVID ¶
func (p *SecretManagerPlugin) PutX509SVID(ctx context.Context, req *svidstorev1.PutX509SVIDRequest) (*svidstorev1.PutX509SVIDResponse, error)
PutX509SVID puts the specified X509-SVID in the configured Google Cloud Secrets Manager
func (*SecretManagerPlugin) SetLogger ¶
func (p *SecretManagerPlugin) SetLogger(log hclog.Logger)
func (*SecretManagerPlugin) Validate ¶ added in v1.11.0
func (p *SecretManagerPlugin) Validate(ctx context.Context, req *configv1.ValidateRequest) (*configv1.ValidateResponse, error)
Click to show internal directories.
Click to hide internal directories.