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 AllQueryArguments
- type AllQueryArgumentsAttributes
- type AllQueryArgumentsState
- type Body
- type BodyAttributes
- type BodyState
- 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) AllQueryArguments() terra.ListValue[AllQueryArgumentsAttributes]
- func (rf RedactedFieldsAttributes) Body() terra.ListValue[BodyAttributes]
- 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) SingleQueryArgument() terra.ListValue[SingleQueryArgumentAttributes]
- func (rf RedactedFieldsAttributes) UriPath() terra.ListValue[UriPathAttributes]
- type RedactedFieldsState
- type SingleHeader
- type SingleHeaderAttributes
- type SingleHeaderState
- type SingleQueryArgument
- type SingleQueryArgumentAttributes
- func (sqa SingleQueryArgumentAttributes) InternalRef() (terra.Reference, error)
- func (sqa SingleQueryArgumentAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sqa SingleQueryArgumentAttributes) InternalWithRef(ref terra.Reference) SingleQueryArgumentAttributes
- func (sqa SingleQueryArgumentAttributes) Name() terra.StringValue
- type SingleQueryArgumentState
- 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 AllQueryArguments ¶
type AllQueryArguments struct{}
type AllQueryArgumentsAttributes ¶
type AllQueryArgumentsAttributes struct {
// contains filtered or unexported fields
}
func (AllQueryArgumentsAttributes) InternalRef ¶
func (aqa AllQueryArgumentsAttributes) InternalRef() (terra.Reference, error)
func (AllQueryArgumentsAttributes) InternalTokens ¶
func (aqa AllQueryArgumentsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AllQueryArgumentsAttributes) InternalWithRef ¶
func (aqa AllQueryArgumentsAttributes) InternalWithRef(ref terra.Reference) AllQueryArgumentsAttributes
type AllQueryArgumentsState ¶
type AllQueryArgumentsState struct{}
type BodyAttributes ¶
type BodyAttributes struct {
// contains filtered or unexported fields
}
func (BodyAttributes) InternalRef ¶
func (b BodyAttributes) InternalRef() (terra.Reference, error)
func (BodyAttributes) InternalTokens ¶
func (b BodyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BodyAttributes) InternalWithRef ¶
func (b BodyAttributes) InternalWithRef(ref terra.Reference) BodyAttributes
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 { // AllQueryArguments: optional AllQueryArguments *AllQueryArguments `hcl:"all_query_arguments,block"` // Body: optional Body *Body `hcl:"body,block"` // Method: optional Method *Method `hcl:"method,block"` // QueryString: optional QueryString *QueryString `hcl:"query_string,block"` // SingleHeader: optional SingleHeader *SingleHeader `hcl:"single_header,block"` // SingleQueryArgument: optional SingleQueryArgument *SingleQueryArgument `hcl:"single_query_argument,block"` // UriPath: optional UriPath *UriPath `hcl:"uri_path,block"` }
type RedactedFieldsAttributes ¶
type RedactedFieldsAttributes struct {
// contains filtered or unexported fields
}
func (RedactedFieldsAttributes) AllQueryArguments ¶
func (rf RedactedFieldsAttributes) AllQueryArguments() terra.ListValue[AllQueryArgumentsAttributes]
func (RedactedFieldsAttributes) Body ¶
func (rf RedactedFieldsAttributes) Body() terra.ListValue[BodyAttributes]
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) SingleQueryArgument ¶
func (rf RedactedFieldsAttributes) SingleQueryArgument() terra.ListValue[SingleQueryArgumentAttributes]
func (RedactedFieldsAttributes) UriPath ¶
func (rf RedactedFieldsAttributes) UriPath() terra.ListValue[UriPathAttributes]
type RedactedFieldsState ¶
type RedactedFieldsState struct { AllQueryArguments []AllQueryArgumentsState `json:"all_query_arguments"` Body []BodyState `json:"body"` Method []MethodState `json:"method"` QueryString []QueryStringState `json:"query_string"` SingleHeader []SingleHeaderState `json:"single_header"` SingleQueryArgument []SingleQueryArgumentState `json:"single_query_argument"` 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 SingleQueryArgument ¶
type SingleQueryArgument struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` }
type SingleQueryArgumentAttributes ¶
type SingleQueryArgumentAttributes struct {
// contains filtered or unexported fields
}
func (SingleQueryArgumentAttributes) InternalRef ¶
func (sqa SingleQueryArgumentAttributes) InternalRef() (terra.Reference, error)
func (SingleQueryArgumentAttributes) InternalTokens ¶
func (sqa SingleQueryArgumentAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SingleQueryArgumentAttributes) InternalWithRef ¶
func (sqa SingleQueryArgumentAttributes) InternalWithRef(ref terra.Reference) SingleQueryArgumentAttributes
func (SingleQueryArgumentAttributes) Name ¶
func (sqa SingleQueryArgumentAttributes) Name() terra.StringValue
type SingleQueryArgumentState ¶
type SingleQueryArgumentState 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.