pluginconfiguration

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttrTypes added in v0.12.0

func AttrTypes() map[string]attr.Type

func ClientStruct added in v0.12.0

func ClientStruct(configurationObj types.Object) (*client.PluginConfiguration, error)

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 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 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 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.

Jump to

Keyboard shortcuts

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