Documentation ¶
Index ¶
- type ActionCondition
- type ActionConditionAttributes
- func (ac ActionConditionAttributes) Action() terra.StringValue
- func (ac ActionConditionAttributes) InternalRef() (terra.Reference, error)
- func (ac ActionConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ac ActionConditionAttributes) InternalWithRef(ref terra.Reference) ActionConditionAttributes
- type ActionConditionState
- type Condition
- type ConditionAttributes
- func (c ConditionAttributes) ActionCondition() terra.ListValue[ActionConditionAttributes]
- func (c ConditionAttributes) InternalRef() (terra.Reference, error)
- func (c ConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ConditionAttributes) InternalWithRef(ref terra.Reference) ConditionAttributes
- func (c ConditionAttributes) LabelNameCondition() terra.ListValue[LabelNameConditionAttributes]
- type ConditionState
- type Filter
- type FilterAttributes
- func (f FilterAttributes) Behavior() terra.StringValue
- func (f FilterAttributes) Condition() terra.SetValue[ConditionAttributes]
- func (f FilterAttributes) InternalRef() (terra.Reference, error)
- func (f FilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (f FilterAttributes) InternalWithRef(ref terra.Reference) FilterAttributes
- func (f FilterAttributes) Requirement() terra.StringValue
- type FilterState
- type LabelNameCondition
- type LabelNameConditionAttributes
- func (lnc LabelNameConditionAttributes) InternalRef() (terra.Reference, error)
- func (lnc LabelNameConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lnc LabelNameConditionAttributes) InternalWithRef(ref terra.Reference) LabelNameConditionAttributes
- func (lnc LabelNameConditionAttributes) LabelName() terra.StringValue
- type LabelNameConditionState
- type LoggingFilter
- type LoggingFilterAttributes
- func (lf LoggingFilterAttributes) DefaultBehavior() terra.StringValue
- func (lf LoggingFilterAttributes) Filter() terra.SetValue[FilterAttributes]
- func (lf LoggingFilterAttributes) InternalRef() (terra.Reference, error)
- func (lf LoggingFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lf LoggingFilterAttributes) InternalWithRef(ref terra.Reference) LoggingFilterAttributes
- type LoggingFilterState
- type Method
- type MethodAttributes
- type MethodState
- type QueryString
- type QueryStringAttributes
- type QueryStringState
- type RedactedFields
- type RedactedFieldsAttributes
- func (rf RedactedFieldsAttributes) InternalRef() (terra.Reference, error)
- func (rf RedactedFieldsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rf RedactedFieldsAttributes) InternalWithRef(ref terra.Reference) RedactedFieldsAttributes
- func (rf RedactedFieldsAttributes) Method() terra.ListValue[MethodAttributes]
- func (rf RedactedFieldsAttributes) QueryString() terra.ListValue[QueryStringAttributes]
- func (rf RedactedFieldsAttributes) SingleHeader() terra.ListValue[SingleHeaderAttributes]
- func (rf RedactedFieldsAttributes) UriPath() terra.ListValue[UriPathAttributes]
- type RedactedFieldsState
- type SingleHeader
- type SingleHeaderAttributes
- type SingleHeaderState
- type UriPath
- type UriPathAttributes
- type UriPathState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionCondition ¶
type ActionCondition struct { // Action: string, required Action terra.StringValue `hcl:"action,attr" validate:"required"` }
type ActionConditionAttributes ¶
type ActionConditionAttributes struct {
// contains filtered or unexported fields
}
func (ActionConditionAttributes) Action ¶
func (ac ActionConditionAttributes) Action() terra.StringValue
func (ActionConditionAttributes) InternalRef ¶
func (ac ActionConditionAttributes) InternalRef() (terra.Reference, error)
func (ActionConditionAttributes) InternalTokens ¶
func (ac ActionConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ActionConditionAttributes) InternalWithRef ¶
func (ac ActionConditionAttributes) InternalWithRef(ref terra.Reference) ActionConditionAttributes
type ActionConditionState ¶
type ActionConditionState struct {
Action string `json:"action"`
}
type Condition ¶
type Condition struct { // ActionCondition: optional ActionCondition *ActionCondition `hcl:"action_condition,block"` // LabelNameCondition: optional LabelNameCondition *LabelNameCondition `hcl:"label_name_condition,block"` }
type ConditionAttributes ¶
type ConditionAttributes struct {
// contains filtered or unexported fields
}
func (ConditionAttributes) ActionCondition ¶
func (c ConditionAttributes) ActionCondition() terra.ListValue[ActionConditionAttributes]
func (ConditionAttributes) InternalRef ¶
func (c ConditionAttributes) InternalRef() (terra.Reference, error)
func (ConditionAttributes) InternalTokens ¶
func (c ConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionAttributes) InternalWithRef ¶
func (c ConditionAttributes) InternalWithRef(ref terra.Reference) ConditionAttributes
func (ConditionAttributes) LabelNameCondition ¶
func (c ConditionAttributes) LabelNameCondition() terra.ListValue[LabelNameConditionAttributes]
type ConditionState ¶
type ConditionState struct { ActionCondition []ActionConditionState `json:"action_condition"` LabelNameCondition []LabelNameConditionState `json:"label_name_condition"` }
type Filter ¶
type Filter struct { // Behavior: string, required Behavior terra.StringValue `hcl:"behavior,attr" validate:"required"` // Requirement: string, required Requirement terra.StringValue `hcl:"requirement,attr" validate:"required"` // Condition: min=1 Condition []Condition `hcl:"condition,block" validate:"min=1"` }
type FilterAttributes ¶
type FilterAttributes struct {
// contains filtered or unexported fields
}
func (FilterAttributes) Behavior ¶
func (f FilterAttributes) Behavior() terra.StringValue
func (FilterAttributes) Condition ¶
func (f FilterAttributes) Condition() terra.SetValue[ConditionAttributes]
func (FilterAttributes) InternalRef ¶
func (f FilterAttributes) InternalRef() (terra.Reference, error)
func (FilterAttributes) InternalTokens ¶
func (f FilterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FilterAttributes) InternalWithRef ¶
func (f FilterAttributes) InternalWithRef(ref terra.Reference) FilterAttributes
func (FilterAttributes) Requirement ¶
func (f FilterAttributes) Requirement() terra.StringValue
type FilterState ¶
type FilterState struct { Behavior string `json:"behavior"` Requirement string `json:"requirement"` Condition []ConditionState `json:"condition"` }
type LabelNameCondition ¶
type LabelNameCondition struct { // LabelName: string, required LabelName terra.StringValue `hcl:"label_name,attr" validate:"required"` }
type LabelNameConditionAttributes ¶
type LabelNameConditionAttributes struct {
// contains filtered or unexported fields
}
func (LabelNameConditionAttributes) InternalRef ¶
func (lnc LabelNameConditionAttributes) InternalRef() (terra.Reference, error)
func (LabelNameConditionAttributes) InternalTokens ¶
func (lnc LabelNameConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LabelNameConditionAttributes) InternalWithRef ¶
func (lnc LabelNameConditionAttributes) InternalWithRef(ref terra.Reference) LabelNameConditionAttributes
func (LabelNameConditionAttributes) LabelName ¶
func (lnc LabelNameConditionAttributes) LabelName() terra.StringValue
type LabelNameConditionState ¶
type LabelNameConditionState struct {
LabelName string `json:"label_name"`
}
type LoggingFilter ¶
type LoggingFilter struct { // DefaultBehavior: string, required DefaultBehavior terra.StringValue `hcl:"default_behavior,attr" validate:"required"` // Filter: min=1 Filter []Filter `hcl:"filter,block" validate:"min=1"` }
type LoggingFilterAttributes ¶
type LoggingFilterAttributes struct {
// contains filtered or unexported fields
}
func (LoggingFilterAttributes) DefaultBehavior ¶
func (lf LoggingFilterAttributes) DefaultBehavior() terra.StringValue
func (LoggingFilterAttributes) Filter ¶
func (lf LoggingFilterAttributes) Filter() terra.SetValue[FilterAttributes]
func (LoggingFilterAttributes) InternalRef ¶
func (lf LoggingFilterAttributes) InternalRef() (terra.Reference, error)
func (LoggingFilterAttributes) InternalTokens ¶
func (lf LoggingFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LoggingFilterAttributes) InternalWithRef ¶
func (lf LoggingFilterAttributes) InternalWithRef(ref terra.Reference) LoggingFilterAttributes
type LoggingFilterState ¶
type LoggingFilterState struct { DefaultBehavior string `json:"default_behavior"` Filter []FilterState `json:"filter"` }
type MethodAttributes ¶
type MethodAttributes struct {
// contains filtered or unexported fields
}
func (MethodAttributes) InternalRef ¶
func (m MethodAttributes) InternalRef() (terra.Reference, error)
func (MethodAttributes) InternalTokens ¶
func (m MethodAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MethodAttributes) InternalWithRef ¶
func (m MethodAttributes) InternalWithRef(ref terra.Reference) MethodAttributes
type MethodState ¶
type MethodState struct{}
type QueryString ¶
type QueryString struct{}
type QueryStringAttributes ¶
type QueryStringAttributes struct {
// contains filtered or unexported fields
}
func (QueryStringAttributes) InternalRef ¶
func (qs QueryStringAttributes) InternalRef() (terra.Reference, error)
func (QueryStringAttributes) InternalTokens ¶
func (qs QueryStringAttributes) InternalTokens() (hclwrite.Tokens, error)
func (QueryStringAttributes) InternalWithRef ¶
func (qs QueryStringAttributes) InternalWithRef(ref terra.Reference) QueryStringAttributes
type QueryStringState ¶
type QueryStringState struct{}
type RedactedFields ¶
type RedactedFields struct { // Method: optional Method *Method `hcl:"method,block"` // QueryString: optional QueryString *QueryString `hcl:"query_string,block"` // SingleHeader: optional SingleHeader *SingleHeader `hcl:"single_header,block"` // UriPath: optional UriPath *UriPath `hcl:"uri_path,block"` }
type RedactedFieldsAttributes ¶
type RedactedFieldsAttributes struct {
// contains filtered or unexported fields
}
func (RedactedFieldsAttributes) InternalRef ¶
func (rf RedactedFieldsAttributes) InternalRef() (terra.Reference, error)
func (RedactedFieldsAttributes) InternalTokens ¶
func (rf RedactedFieldsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RedactedFieldsAttributes) InternalWithRef ¶
func (rf RedactedFieldsAttributes) InternalWithRef(ref terra.Reference) RedactedFieldsAttributes
func (RedactedFieldsAttributes) Method ¶
func (rf RedactedFieldsAttributes) Method() terra.ListValue[MethodAttributes]
func (RedactedFieldsAttributes) QueryString ¶
func (rf RedactedFieldsAttributes) QueryString() terra.ListValue[QueryStringAttributes]
func (RedactedFieldsAttributes) SingleHeader ¶
func (rf RedactedFieldsAttributes) SingleHeader() terra.ListValue[SingleHeaderAttributes]
func (RedactedFieldsAttributes) UriPath ¶
func (rf RedactedFieldsAttributes) UriPath() terra.ListValue[UriPathAttributes]
type RedactedFieldsState ¶
type RedactedFieldsState struct { Method []MethodState `json:"method"` QueryString []QueryStringState `json:"query_string"` SingleHeader []SingleHeaderState `json:"single_header"` UriPath []UriPathState `json:"uri_path"` }
type SingleHeader ¶
type SingleHeader struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` }
type SingleHeaderAttributes ¶
type SingleHeaderAttributes struct {
// contains filtered or unexported fields
}
func (SingleHeaderAttributes) InternalRef ¶
func (sh SingleHeaderAttributes) InternalRef() (terra.Reference, error)
func (SingleHeaderAttributes) InternalTokens ¶
func (sh SingleHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SingleHeaderAttributes) InternalWithRef ¶
func (sh SingleHeaderAttributes) InternalWithRef(ref terra.Reference) SingleHeaderAttributes
func (SingleHeaderAttributes) Name ¶
func (sh SingleHeaderAttributes) Name() terra.StringValue
type SingleHeaderState ¶
type SingleHeaderState struct {
Name string `json:"name"`
}
type UriPathAttributes ¶
type UriPathAttributes struct {
// contains filtered or unexported fields
}
func (UriPathAttributes) InternalRef ¶
func (up UriPathAttributes) InternalRef() (terra.Reference, error)
func (UriPathAttributes) InternalTokens ¶
func (up UriPathAttributes) InternalTokens() (hclwrite.Tokens, error)
func (UriPathAttributes) InternalWithRef ¶
func (up UriPathAttributes) InternalWithRef(ref terra.Reference) UriPathAttributes
type UriPathState ¶
type UriPathState struct{}
Click to show internal directories.
Click to hide internal directories.