Documentation ¶
Index ¶
- func ExpandOrigins(ctx context.Context, origins types.List) ([]origingroups.Origin, diag.Diagnostics)
- func OriginGroupResourceSchema(ctx context.Context) schema.Schema
- type OriginGroupModel
- type OriginsType
- func (t OriginsType) Equal(o attr.Type) bool
- func (t OriginsType) String() string
- func (t OriginsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t OriginsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t OriginsType) ValueType(ctx context.Context) attr.Value
- type OriginsValue
- func NewOriginsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (OriginsValue, diag.Diagnostics)
- func NewOriginsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) OriginsValue
- func NewOriginsValueNull() OriginsValue
- func NewOriginsValueUnknown() OriginsValue
- func (v OriginsValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v OriginsValue) Equal(o attr.Value) bool
- func (v OriginsValue) IsNull() bool
- func (v OriginsValue) IsUnknown() bool
- func (v OriginsValue) String() string
- func (v OriginsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v OriginsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v OriginsValue) Type(ctx context.Context) attr.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandOrigins ¶
func ExpandOrigins(ctx context.Context, origins types.List) ([]origingroups.Origin, diag.Diagnostics)
Types ¶
type OriginGroupModel ¶
type OriginGroupModel struct { Id types.Int64 `tfsdk:"id"` Name types.String `tfsdk:"name"` Origins types.List `tfsdk:"origins"` Region types.String `tfsdk:"region"` UseNext types.Bool `tfsdk:"use_next"` }
func (*OriginGroupModel) UpdateFromOriginGroup ¶
func (m *OriginGroupModel) UpdateFromOriginGroup(ctx context.Context, originGroup *origingroups.OriginGroup) diag.Diagnostics
type OriginsType ¶
type OriginsType struct {
basetypes.ObjectType
}
func (OriginsType) String ¶
func (t OriginsType) String() string
func (OriginsType) ValueFromObject ¶
func (t OriginsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (OriginsType) ValueFromTerraform ¶
type OriginsValue ¶
type OriginsValue struct { Backup basetypes.BoolValue `tfsdk:"backup"` Enabled basetypes.BoolValue `tfsdk:"enabled"` Source basetypes.StringValue `tfsdk:"source"` // contains filtered or unexported fields }
func NewOriginsValue ¶
func NewOriginsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (OriginsValue, diag.Diagnostics)
func NewOriginsValueMust ¶
func NewOriginsValueNull ¶
func NewOriginsValueNull() OriginsValue
func NewOriginsValueUnknown ¶
func NewOriginsValueUnknown() OriginsValue
func (OriginsValue) AttributeTypes ¶
func (OriginsValue) IsNull ¶
func (v OriginsValue) IsNull() bool
func (OriginsValue) IsUnknown ¶
func (v OriginsValue) IsUnknown() bool
func (OriginsValue) String ¶
func (v OriginsValue) String() string
func (OriginsValue) ToObjectValue ¶
func (v OriginsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (OriginsValue) ToTerraformValue ¶
Click to show internal directories.
Click to hide internal directories.