datastore

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PolicyDB    = "db"
	PolicyVault = "vault"
	PolicyMixed = "mix"
)

policy

Variables

View Source
var ErrNotFound = errors.New("not found")

ErrNotFound ...

Functions

func RunMigration

func RunMigration()

RunMigration Migrate MySQL data to vault

Types

type DataStorer

type DataStorer struct {
	// contains filtered or unexported fields
}

DataStorer Data storage

func DefaultDataStorer

func DefaultDataStorer() *DataStorer

DefaultDataStorer ...

func (*DataStorer) GetWorkloadCertPEM

func (ds *DataStorer) GetWorkloadCertPEM(sn string) ([]byte, error)

GetWorkloadCertPEM Obtain workload certificate according to SN

Jump to

Keyboard shortcuts

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