pluginconfiguration

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttrType

func AttrType() map[string]attr.Type

func MarkComputedAttrsUnknown added in v0.4.0

func MarkComputedAttrsUnknown(planConfiguration types.Object) (types.Object, diag.Diagnostics)

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 ToRowsListValue(rows []client.ConfigRow, planRows *types.List, diags *diag.Diagnostics) types.List

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL