secret

package
v2.15.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const EnvMonacoSupportArchiveMaskKeys = "MONACO_SUPPORT_ARCHIVE_MASKED_KEYS"

Variables

This section is empty.

Functions

func Mask added in v2.15.0

func Mask(data []byte) []byte

Types

type Email added in v2.11.0

type Email string

Email is a string that masks parts of its string representation if it's an email. If it's no valid email address the value is unchanged

func (Email) String added in v2.11.0

func (m Email) String() string

func (Email) Value added in v2.11.0

func (m Email) Value() string

type MaskedString

type MaskedString string

MaskedString is a string that does not return its value

func (MaskedString) String

func (s MaskedString) String() string

func (MaskedString) Value

func (s MaskedString) Value() string

Value returns the actual sensitive information as string

Jump to

Keyboard shortcuts

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