resourceattribute

package
v1.46.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MaskingTypes = struct {
	MaskEntireValue          MaskingType
	MaskOnlyConfidentialData MaskingType
	NotMasked                MaskingType
}{
	"MASK_ENTIRE_VALUE",
	"MASK_ONLY_CONFIDENTIAL_DATA",
	"NOT_MASKED",
}

Functions

This section is empty.

Types

type MaskingType

type MaskingType string

type RuleItem

type RuleItem struct {
	AttributeKey string      `json:"attributeKey"` // Attribute key **service.name** is automatically captured by default
	Enabled      bool        `json:"enabled"`      // This setting is enabled (`true`) or disabled (`false`)
	Masking      MaskingType `json:"masking"`      // Possible Values: `MASK_ENTIRE_VALUE`, `MASK_ONLY_CONFIDENTIAL_DATA`, `NOT_MASKED`
}

func (*RuleItem) MarshalHCL

func (me *RuleItem) MarshalHCL(properties hcl.Properties) error

func (*RuleItem) Schema

func (me *RuleItem) Schema() map[string]*schema.Schema

func (*RuleItem) UnmarshalHCL

func (me *RuleItem) UnmarshalHCL(decoder hcl.Decoder) error

type RuleItems

type RuleItems []*RuleItem

func (RuleItems) MarshalHCL

func (me RuleItems) MarshalHCL(properties hcl.Properties) error

func (*RuleItems) Schema

func (me *RuleItems) Schema() map[string]*schema.Schema

func (*RuleItems) UnmarshalHCL

func (me *RuleItems) UnmarshalHCL(decoder hcl.Decoder) error

type Settings

type Settings struct {
	AttributeKeys RuleItems `json:"attributeKeys,omitempty"` // Attribute key allow-list
}

func (*Settings) EnsurePredictableOrder

func (me *Settings) EnsurePredictableOrder()

func (*Settings) MarshalHCL

func (me *Settings) MarshalHCL(properties hcl.Properties) error

func (*Settings) Name

func (me *Settings) Name() string

func (*Settings) Schema

func (me *Settings) Schema() map[string]*schema.Schema

func (*Settings) UnmarshalHCL

func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

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