gen

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// When set to true, `sensitive` indicates that this field contains sensitive data, such as
	// personally identifiable information, passwords, or private keys, and should be redacted for
	// display by tools aware of this annotation. Note that that this has no effect on standard
	// Protobuf functions such as `TextFormat::PrintToString`.
	//
	// optional options.Sensitive sensitive = 50000;
	E_Sensitive = &file_logging_options_proto_extTypes[0]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var File_logging_options_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Sensitive

type Sensitive struct {

	// Types that are assignable to LogAction:
	//
	//	*Sensitive_Redact
	//	*Sensitive_Mask
	//	*Sensitive_Obfuscate
	LogAction isSensitive_LogAction `protobuf_oneof:"log_action"`
	// Indicates to encrypt the data while storing in permanent storage
	// Note, this will also apply to the logging of the element
	Encrypt bool `protobuf:"varint,4,opt,name=encrypt,proto3" json:"encrypt,omitempty"`
	// contains filtered or unexported fields
}

func (*Sensitive) Descriptor deprecated

func (*Sensitive) Descriptor() ([]byte, []int)

Deprecated: Use Sensitive.ProtoReflect.Descriptor instead.

func (*Sensitive) GetEncrypt

func (x *Sensitive) GetEncrypt() bool

func (*Sensitive) GetLogAction

func (m *Sensitive) GetLogAction() isSensitive_LogAction

func (*Sensitive) GetMask

func (x *Sensitive) GetMask() bool

func (*Sensitive) GetObfuscate

func (x *Sensitive) GetObfuscate() bool

func (*Sensitive) GetRedact

func (x *Sensitive) GetRedact() bool

func (*Sensitive) ProtoMessage

func (*Sensitive) ProtoMessage()

func (*Sensitive) ProtoReflect

func (x *Sensitive) ProtoReflect() protoreflect.Message

func (*Sensitive) Reset

func (x *Sensitive) Reset()

func (*Sensitive) String

func (x *Sensitive) String() string

type SensitiveTestData

type SensitiveTestData struct {
	Name   string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*SensitiveTestData) Descriptor deprecated

func (*SensitiveTestData) Descriptor() ([]byte, []int)

Deprecated: Use SensitiveTestData.ProtoReflect.Descriptor instead.

func (*SensitiveTestData) GetName

func (x *SensitiveTestData) GetName() string

func (*SensitiveTestData) GetSecret

func (x *SensitiveTestData) GetSecret() string

func (*SensitiveTestData) ProtoMessage

func (*SensitiveTestData) ProtoMessage()

func (*SensitiveTestData) ProtoReflect

func (x *SensitiveTestData) ProtoReflect() protoreflect.Message

func (*SensitiveTestData) Reset

func (x *SensitiveTestData) Reset()

func (*SensitiveTestData) String

func (x *SensitiveTestData) String() string

type Sensitive_Mask

type Sensitive_Mask struct {
	// Indicates to mask the data while logging
	Mask bool `protobuf:"varint,2,opt,name=mask,proto3,oneof"`
}

type Sensitive_Obfuscate

type Sensitive_Obfuscate struct {
	// Indicates to obfuscate the data while logging
	Obfuscate bool `protobuf:"varint,3,opt,name=obfuscate,proto3,oneof"`
}

type Sensitive_Redact

type Sensitive_Redact struct {
	// Indicates to clear the data while logging
	Redact bool `protobuf:"varint,1,opt,name=redact,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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