Documentation ¶
Index ¶
- func OrgIdpprofileResourceSchema(ctx context.Context) schema.Schema
- func TerraformToSdk(ctx context.Context, plan *OrgIdpprofileModel) (models.IdpProfile, diag.Diagnostics)
- type MatchingType
- func (t MatchingType) Equal(o attr.Type) bool
- func (t MatchingType) String() string
- func (t MatchingType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t MatchingType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t MatchingType) ValueType(ctx context.Context) attr.Value
- type MatchingValue
- func NewMatchingValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (MatchingValue, diag.Diagnostics)
- func NewMatchingValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) MatchingValue
- func NewMatchingValueNull() MatchingValue
- func NewMatchingValueUnknown() MatchingValue
- func (v MatchingValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v MatchingValue) Equal(o attr.Value) bool
- func (v MatchingValue) IsNull() bool
- func (v MatchingValue) IsUnknown() bool
- func (v MatchingValue) String() string
- func (v MatchingValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v MatchingValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v MatchingValue) Type(ctx context.Context) attr.Type
- type OrgIdpprofileModel
- type OverwritesType
- func (t OverwritesType) Equal(o attr.Type) bool
- func (t OverwritesType) String() string
- func (t OverwritesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t OverwritesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t OverwritesType) ValueType(ctx context.Context) attr.Value
- type OverwritesValue
- func NewOverwritesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (OverwritesValue, diag.Diagnostics)
- func NewOverwritesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) OverwritesValue
- func NewOverwritesValueNull() OverwritesValue
- func NewOverwritesValueUnknown() OverwritesValue
- func (v OverwritesValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v OverwritesValue) Equal(o attr.Value) bool
- func (v OverwritesValue) IsNull() bool
- func (v OverwritesValue) IsUnknown() bool
- func (v OverwritesValue) String() string
- func (v OverwritesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v OverwritesValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v OverwritesValue) Type(ctx context.Context) attr.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TerraformToSdk ¶
func TerraformToSdk(ctx context.Context, plan *OrgIdpprofileModel) (models.IdpProfile, diag.Diagnostics)
Types ¶
type MatchingType ¶
type MatchingType struct {
basetypes.ObjectType
}
func (MatchingType) String ¶
func (t MatchingType) String() string
func (MatchingType) ValueFromObject ¶
func (t MatchingType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (MatchingType) ValueFromTerraform ¶
type MatchingValue ¶
type MatchingValue struct { AttackName basetypes.ListValue `tfsdk:"attack_name"` DstSubnet basetypes.ListValue `tfsdk:"dst_subnet"` Severity basetypes.ListValue `tfsdk:"severity"` // contains filtered or unexported fields }
func NewMatchingValue ¶
func NewMatchingValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (MatchingValue, diag.Diagnostics)
func NewMatchingValueMust ¶
func NewMatchingValueNull ¶
func NewMatchingValueNull() MatchingValue
func NewMatchingValueUnknown ¶
func NewMatchingValueUnknown() MatchingValue
func (MatchingValue) AttributeTypes ¶
func (MatchingValue) IsNull ¶
func (v MatchingValue) IsNull() bool
func (MatchingValue) IsUnknown ¶
func (v MatchingValue) IsUnknown() bool
func (MatchingValue) String ¶
func (v MatchingValue) String() string
func (MatchingValue) ToObjectValue ¶
func (v MatchingValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (MatchingValue) ToTerraformValue ¶
type OrgIdpprofileModel ¶
type OrgIdpprofileModel struct { BaseProfile types.String `tfsdk:"base_profile"` Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` OrgId types.String `tfsdk:"org_id"` Overwrites types.List `tfsdk:"overwrites"` }
func SdkToTerraform ¶
func SdkToTerraform(ctx context.Context, d *models.IdpProfile) (OrgIdpprofileModel, diag.Diagnostics)
type OverwritesType ¶
type OverwritesType struct {
basetypes.ObjectType
}
func (OverwritesType) String ¶
func (t OverwritesType) String() string
func (OverwritesType) ValueFromObject ¶
func (t OverwritesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (OverwritesType) ValueFromTerraform ¶
type OverwritesValue ¶
type OverwritesValue struct { Action basetypes.StringValue `tfsdk:"action"` Matching basetypes.ObjectValue `tfsdk:"matching"` Name basetypes.StringValue `tfsdk:"name"` // contains filtered or unexported fields }
func NewOverwritesValue ¶
func NewOverwritesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (OverwritesValue, diag.Diagnostics)
func NewOverwritesValueMust ¶
func NewOverwritesValueNull ¶
func NewOverwritesValueNull() OverwritesValue
func NewOverwritesValueUnknown ¶
func NewOverwritesValueUnknown() OverwritesValue
func (OverwritesValue) AttributeTypes ¶
func (OverwritesValue) IsNull ¶
func (v OverwritesValue) IsNull() bool
func (OverwritesValue) IsUnknown ¶
func (v OverwritesValue) IsUnknown() bool
func (OverwritesValue) String ¶
func (v OverwritesValue) String() string
func (OverwritesValue) ToObjectValue ¶
func (v OverwritesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (OverwritesValue) ToTerraformValue ¶
Click to show internal directories.
Click to hide internal directories.