server

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2023 License: UPL-1.0 Imports: 19 Imported by: 0

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

View Source
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

Version returns the name and version of the Secrets Store CSI Driver Provider.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL