Documentation
¶
Index ¶
- func CommonAttributes() map[string]schema.Attribute
- func Equal(a, b []NestedModel) bool
- func NestedBlockSchema() schema.ListNestedBlock
- func Reconcile(ctx context.Context, client *fastly.Client, serviceID string, version int, ...) error
- func ValidateConditionReferences(requestSettings []NestedModel, conditionNames map[string]struct{}) error
- type NestedModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommonAttributes ¶
func Equal ¶
func Equal(a, b []NestedModel) bool
func NestedBlockSchema ¶
func NestedBlockSchema() schema.ListNestedBlock
func ValidateConditionReferences ¶
func ValidateConditionReferences(requestSettings []NestedModel, conditionNames map[string]struct{}) error
ValidateConditionReferences rejects a request_condition naming a condition block absent from config.
Types ¶
type NestedModel ¶
type NestedModel struct {
Name types.String `tfsdk:"name"`
Action types.String `tfsdk:"action"`
BypassBusyWait types.Bool `tfsdk:"bypass_busy_wait"`
DefaultHost types.String `tfsdk:"default_host"`
ForceMiss types.Bool `tfsdk:"force_miss"`
ForceSSL types.Bool `tfsdk:"force_ssl"`
HashKeys types.String `tfsdk:"hash_keys"`
MaxStaleAge types.Int64 `tfsdk:"max_stale_age"`
RequestCondition types.String `tfsdk:"request_condition"`
TimerSupport types.Bool `tfsdk:"timer_support"`
XFF types.String `tfsdk:"xff"`
}
func MatchOrder ¶
func MatchOrder(items, order []NestedModel) []NestedModel
func ReadForVersion ¶
func (NestedModel) ModelsEqual ¶
func (n NestedModel) ModelsEqual(other NestedModel) bool
Click to show internal directories.
Click to hide internal directories.