pkg

package
v0.0.0-...-d8885f5 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectVolumeInfo

func CollectVolumeInfo(topo *master_pb.TopologyInfo, canWriteOnly bool) map[string][]uint32

func Decrypt

func Decrypt(ciphertext []byte, key CipherKey) ([]byte, error)

func Encrypt

func Encrypt(plaintext []byte, key CipherKey) ([]byte, error)

func GetCipherKey

func GetCipherKey() ([]byte, error)

Types

type CipherKey

type CipherKey []byte

Jump to

Keyboard shortcuts

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