Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ValueSourceEnums = struct { Field ValueSourceEnum Literal ValueSourceEnum }{ "FIELD", "LITERAL", }
Functions ¶
This section is empty.
Types ¶
type SecurityContextRule ¶
type SecurityContextRule struct { Query string `json:"query"` // Matcher RuleName string `json:"ruleName"` // Rule name Value *string `json:"value,omitempty"` // Literal value to be set ValueSource ValueSourceEnum `json:"valueSource"` // Possible Values: `FIELD`, `LITERAL` ValueSourceField *string `json:"valueSourceField,omitempty"` // Name of field used to copy value }
func (*SecurityContextRule) HandlePreconditions ¶
func (me *SecurityContextRule) HandlePreconditions() error
func (*SecurityContextRule) MarshalHCL ¶
func (me *SecurityContextRule) MarshalHCL(properties hcl.Properties) error
func (*SecurityContextRule) Schema ¶
func (me *SecurityContextRule) Schema() map[string]*schema.Schema
func (*SecurityContextRule) UnmarshalHCL ¶
func (me *SecurityContextRule) UnmarshalHCL(decoder hcl.Decoder) error
type Settings ¶
type Settings struct { SecurityContextRule *SecurityContextRule `json:"securityContextRule"` InsertAfter string `json:"-"` }
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
type ValueSourceEnum ¶
type ValueSourceEnum string
Click to show internal directories.
Click to hide internal directories.