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)
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 SecretMangerPlugin.
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)
Click to show internal directories.
Click to hide internal directories.