utils

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEncryptionOptions

CreateEncryptionOptions creates a RSA Key pair and wraps it into a set of encryptionOpts and decryptionOpts and returns those for use.

func DecodeRowBatch

func DecodeRowBatch(decOpts *vizierpb.ExecuteScriptRequest_EncryptionOptions, encodedBatch []byte) (*vizierpb.RowBatchData, error)

DecodeRowBatch uses the decoder option to decode the RowBatch data.

func ProtoFromUUIDStrOrNil

func ProtoFromUUIDStrOrNil(u string) *uuidpb.UUID

ProtoFromUUIDStrOrNil generates proto from string representation of a UUID (nil value is used if parsing fails).

func ProtoToUUIDStr

func ProtoToUUIDStr(pb *uuidpb.UUID) string

ProtoToUUIDStr generates an expensive string representation of a UUID proto.

Types

This section is empty.

Jump to

Keyboard shortcuts

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