Documentation ¶
Index ¶
- func MonitorResourceSchema(ctx context.Context) schema.Schema
- type AssertionsType
- func (t AssertionsType) Equal(o attr.Type) bool
- func (t AssertionsType) String() string
- func (t AssertionsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t AssertionsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t AssertionsType) ValueType(ctx context.Context) attr.Value
- type AssertionsValue
- func NewAssertionsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (AssertionsValue, diag.Diagnostics)
- func NewAssertionsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) AssertionsValue
- func NewAssertionsValueNull() AssertionsValue
- func NewAssertionsValueUnknown() AssertionsValue
- func (v AssertionsValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v AssertionsValue) Equal(o attr.Value) bool
- func (v AssertionsValue) IsNull() bool
- func (v AssertionsValue) IsUnknown() bool
- func (v AssertionsValue) String() string
- func (v AssertionsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v AssertionsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v AssertionsValue) Type(ctx context.Context) attr.Type
- type HeadersType
- func (t HeadersType) Equal(o attr.Type) bool
- func (t HeadersType) String() string
- func (t HeadersType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t HeadersType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t HeadersType) ValueType(ctx context.Context) attr.Value
- type HeadersValue
- func NewHeadersValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (HeadersValue, diag.Diagnostics)
- func NewHeadersValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) HeadersValue
- func NewHeadersValueNull() HeadersValue
- func NewHeadersValueUnknown() HeadersValue
- func (v HeadersValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v HeadersValue) Equal(o attr.Value) bool
- func (v HeadersValue) IsNull() bool
- func (v HeadersValue) IsUnknown() bool
- func (v HeadersValue) String() string
- func (v HeadersValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v HeadersValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v HeadersValue) Type(ctx context.Context) attr.Type
- type MonitorModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AssertionsType ¶
type AssertionsType struct {
basetypes.ObjectType
}
func (AssertionsType) String ¶
func (t AssertionsType) String() string
func (AssertionsType) ValueFromObject ¶
func (t AssertionsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (AssertionsType) ValueFromTerraform ¶
type AssertionsValue ¶
type AssertionsValue struct { Compare basetypes.StringValue `tfsdk:"compare"` Target basetypes.StringValue `tfsdk:"target"` Key basetypes.StringValue `tfsdk:"key"` AssertionsType basetypes.StringValue `tfsdk:"type"` // contains filtered or unexported fields }
func NewAssertionsValue ¶
func NewAssertionsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (AssertionsValue, diag.Diagnostics)
func NewAssertionsValueMust ¶
func NewAssertionsValueNull ¶
func NewAssertionsValueNull() AssertionsValue
func NewAssertionsValueUnknown ¶
func NewAssertionsValueUnknown() AssertionsValue
func (AssertionsValue) AttributeTypes ¶
func (AssertionsValue) IsNull ¶
func (v AssertionsValue) IsNull() bool
func (AssertionsValue) IsUnknown ¶
func (v AssertionsValue) IsUnknown() bool
func (AssertionsValue) String ¶
func (v AssertionsValue) String() string
func (AssertionsValue) ToObjectValue ¶
func (v AssertionsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (AssertionsValue) ToTerraformValue ¶
type HeadersType ¶
type HeadersType struct {
basetypes.ObjectType
}
func (HeadersType) String ¶
func (t HeadersType) String() string
func (HeadersType) ValueFromObject ¶
func (t HeadersType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (HeadersType) ValueFromTerraform ¶
type HeadersValue ¶
type HeadersValue struct { Key basetypes.StringValue `tfsdk:"key"` Value basetypes.StringValue `tfsdk:"value"` // contains filtered or unexported fields }
func NewHeadersValue ¶
func NewHeadersValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (HeadersValue, diag.Diagnostics)
func NewHeadersValueMust ¶
func NewHeadersValueNull ¶
func NewHeadersValueNull() HeadersValue
func NewHeadersValueUnknown ¶
func NewHeadersValueUnknown() HeadersValue
func (HeadersValue) AttributeTypes ¶
func (HeadersValue) IsNull ¶
func (v HeadersValue) IsNull() bool
func (HeadersValue) IsUnknown ¶
func (v HeadersValue) IsUnknown() bool
func (HeadersValue) String ¶
func (v HeadersValue) String() string
func (HeadersValue) ToObjectValue ¶
func (v HeadersValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (HeadersValue) ToTerraformValue ¶
type MonitorModel ¶
type MonitorModel struct { Active types.Bool `tfsdk:"active"` Assertions types.List `tfsdk:"assertions"` Body types.String `tfsdk:"body"` DegradedAfter types.Number `tfsdk:"degraded_after"` Description types.String `tfsdk:"description"` Headers types.List `tfsdk:"headers"` Id types.Number `tfsdk:"id"` Method types.String `tfsdk:"method"` Name types.String `tfsdk:"name"` Periodicity types.String `tfsdk:"periodicity"` Public types.Bool `tfsdk:"public"` Regions types.List `tfsdk:"regions"` Timeout types.Number `tfsdk:"timeout"` Url types.String `tfsdk:"url"` }
Click to show internal directories.
Click to hide internal directories.