fw

package
v1.83.30 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionWithConfigure

type ActionWithConfigure struct {
	// contains filtered or unexported fields
}

ActionWithConfigure is a structure to be embedded within an Action that implements the action.ActionWithConfigure interface. It stores the shared TencentCloud SDK client so the action can use it during Invoke.

func (*ActionWithConfigure) Client

func (w *ActionWithConfigure) Client() *connectivity.TencentCloudClient

Client returns the shared TencentCloud SDK client.

func (*ActionWithConfigure) Configure

Configure receives the *sharedmeta.ProviderMeta populated by framework.Provider.Configure and stores the shared client.

type DataSourceWithConfigure

type DataSourceWithConfigure struct {
	// contains filtered or unexported fields
}

DataSourceWithConfigure is a structure to be embedded within a DataSource that implements the datasource.DataSourceWithConfigure interface. It stores the shared TencentCloud SDK client so the data source can use it during Read.

func (*DataSourceWithConfigure) Client

func (w *DataSourceWithConfigure) Client() *connectivity.TencentCloudClient

Client returns the shared TencentCloud SDK client.

func (*DataSourceWithConfigure) Configure

Configure receives the *sharedmeta.ProviderMeta populated by framework.Provider.Configure and stores the shared client.

type EphemeralResourceWithConfigure

type EphemeralResourceWithConfigure struct {
	// contains filtered or unexported fields
}

EphemeralResourceWithConfigure is a structure to be embedded within an EphemeralResource that implements the ephemeral.EphemeralResourceWithConfigure interface. It stores the shared TencentCloud SDK client so the ephemeral resource can use it during Open/Close.

func (*EphemeralResourceWithConfigure) Client

func (w *EphemeralResourceWithConfigure) Client() *connectivity.TencentCloudClient

Client returns the shared TencentCloud SDK client.

func (*EphemeralResourceWithConfigure) Configure

Configure receives the *sharedmeta.ProviderMeta populated by framework.Provider.Configure and stores the shared client.

type ResourceWithConfigure

type ResourceWithConfigure struct {
	// contains filtered or unexported fields
}

ResourceWithConfigure is a structure to be embedded within a Resource that implements the resource.ResourceWithConfigure interface. It stores the shared TencentCloud SDK client so the resource can use it during CRUD.

func (*ResourceWithConfigure) Client

func (w *ResourceWithConfigure) Client() *connectivity.TencentCloudClient

Client returns the shared TencentCloud SDK client.

func (*ResourceWithConfigure) Configure

Configure receives the *sharedmeta.ProviderMeta populated by framework.Provider.Configure and stores the shared client.

type WithImportByID

type WithImportByID struct{}

WithImportByID is intended to be embedded in resources which import state via the "id" attribute. See https://developer.hashicorp.com/terraform/plugin/framework/resources/import.

func (*WithImportByID) ImportState

func (w *WithImportByID) ImportState(ctx context.Context, request resource.ImportStateRequest, response *resource.ImportStateResponse)

type WithNoUpdate

type WithNoUpdate struct{}

WithNoUpdate is intended to be embedded in resources which cannot be updated.

func (*WithNoUpdate) Update

func (w *WithNoUpdate) Update(ctx context.Context, request resource.UpdateRequest, response *resource.UpdateResponse)

Jump to

Keyboard shortcuts

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