Documentation ¶
Index ¶
- func AttrType() map[string]attr.Type
- func MarkComputedAttrsUnknown(planConfiguration types.Object) (types.Object, diag.Diagnostics)
- func MarkComputedAttrsUnknownOnChange(planConfiguration, stateConfiguration types.Object) (types.Object, diag.Diagnostics)
- func ToFieldsListValue(fields []client.ConfigField, planFields *types.List, diags *diag.Diagnostics) (types.List, types.List)
- func ToRowsListValue(rows []client.ConfigRow, planRows *types.List, diags *diag.Diagnostics) types.List
- func ToSchema() schema.SingleNestedAttribute
- func ToState(configFromPlan types.Object, configuration *client.PluginConfiguration) (types.Object, diag.Diagnostics)
- func ToTablesListValue(tables []client.ConfigTable, planTables *types.List, diags *diag.Diagnostics) (types.List, types.List)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarkComputedAttrsUnknown ¶ added in v0.4.0
Mark fields_all and tables_all configuration as unknown
func MarkComputedAttrsUnknownOnChange ¶ added in v0.4.0
func MarkComputedAttrsUnknownOnChange(planConfiguration, stateConfiguration types.Object) (types.Object, diag.Diagnostics)
Mark fields_all and tables_all configuration as unknown if the fields and tables have changed in the plan
func ToFieldsListValue ¶
func ToFieldsListValue(fields []client.ConfigField, planFields *types.List, diags *diag.Diagnostics) (types.List, types.List)
Creates state values for fields. Returns one value that only includes values specified in the plan, and a second value that includes all fields values
func ToRowsListValue ¶
func ToSchema ¶
func ToSchema() schema.SingleNestedAttribute
func ToState ¶
func ToState(configFromPlan types.Object, configuration *client.PluginConfiguration) (types.Object, diag.Diagnostics)
func ToTablesListValue ¶
func ToTablesListValue(tables []client.ConfigTable, planTables *types.List, diags *diag.Diagnostics) (types.List, types.List)
Creates state values for tables. Returns one value that only includes values specified in the plan, and a second value that includes all tables values
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.