Documentation ¶
Index ¶
- func AttrTypes() map[string]attr.Type
- func ClientStruct(configurationObj types.Object) (*client.PluginConfiguration, error)
- func MarkComputedAttrsUnknown(planConfiguration types.Object) (types.Object, diag.Diagnostics)
- func MarkComputedAttrsUnknownOnChange(planConfiguration, stateConfiguration types.Object) (types.Object, diag.Diagnostics)
- func ToFieldsSetValue(fields []client.ConfigField, planFields *types.Set, diags *diag.Diagnostics) (types.Set, types.Set)
- 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 ToTablesSetValue(tables []client.ConfigTable, planTables *types.Set, diags *diag.Diagnostics) (types.Set, types.Set)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientStruct ¶ added in v0.12.0
func ClientStruct(configurationObj types.Object) (*client.PluginConfiguration, error)
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 ToFieldsSetValue ¶ added in v0.14.0
func ToFieldsSetValue(fields []client.ConfigField, planFields *types.Set, diags *diag.Diagnostics) (types.Set, types.Set)
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 ToTablesSetValue ¶ added in v0.14.0
func ToTablesSetValue(tables []client.ConfigTable, planTables *types.Set, diags *diag.Diagnostics) (types.Set, types.Set)
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.