sample

package
v5.6.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKMSProvider

func GetKMSProvider(ctx context.Context, log log.Log, kmsArn string) (csfle.MasterKeyProvider, error)

Types

type Address

type Address struct {
	AddressLine1 string `bson:"addressLine1"`
	AddressLine2 string `bson:"addressLine2"`
	AddressLine3 string `bson:"addressLine3"`
	State        string `bson:"state"`
	PIN          string `bson:"pin"`
	Country      string `bson:"country"`
}

type LocalMaster

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

func (*LocalMaster) Credentials

func (a *LocalMaster) Credentials() map[string]map[string]interface{}

func (*LocalMaster) DataKeyOpts

func (a *LocalMaster) DataKeyOpts() interface{}

func (*LocalMaster) Name

func (a *LocalMaster) Name() string

type Name

type Name struct {
	First  string `bson:"first"`
	Middle string `bson:"middle"`
	Last   string `bson:"last"`
	Full   string `bson:"full"`
}

type PIITestVal

type PIITestVal struct {
	DOB     time.Time `bson:"dob"`
	Name    Name      `bson:"name"`
	Pan     string    `bson:"pan"`
	Email   string    `bson:"email"`
	Phone   []string  `bson:"phone"`
	Address Address   `bson:"address"`
	UUID    string    `bson:"UUID"`
}

func GetRandomData

func GetRandomData(uuid string) PIITestVal

Jump to

Keyboard shortcuts

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