Documentation ¶
Overview ¶
** OCI Secrets Store CSI Driver Provider ** ** Copyright (c) 2022 Oracle America, Inc. and its affiliates. ** Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
** OCI Secrets Store CSI Driver Provider ** ** Copyright (c) 2022 Oracle America, Inc. and its affiliates. ** Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
Index ¶
Constants ¶
This section is empty.
Variables ¶
var BuildVersion string
BuildVersion set during the build with ldflags
Functions ¶
This section is empty.
Types ¶
type ProviderServer ¶
type ProviderServer struct {
// contains filtered or unexported fields
}
ProviderServer implements predefined provider API
func NewOCIVaultProviderServer ¶
func NewOCIVaultProviderServer() (*ProviderServer, error)
func (*ProviderServer) Mount ¶
func (server *ProviderServer) Mount( ctx context.Context, mountRequest *provider.MountRequest) (*provider.MountResponse, error)
Mount returns secrets to mount. The mount request's `Attribute` field consists of parameters section from the SecretProviderClass and pod metadata provided by the driver. `Attribute` field is plain JSON. Note that `ObjectVersion` and `Files` array fields of mount response share the same index for each secret.
func (*ProviderServer) Version ¶
func (*ProviderServer) Version(context.Context, *provider.VersionRequest) (*provider.VersionResponse, error)
Version returns the name and version of the Secrets Store CSI Driver Provider.