resource

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package resource provides testsdk handling of the managed resource concept.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateRequest

type CreateRequest struct {
	Config tftypes.Value
}

type CreateResponse

type CreateResponse struct {
	Diagnostics []*tfprotov6.Diagnostic
	NewState    tftypes.Value
}

type DeleteRequest

type DeleteRequest struct {
	PriorState tftypes.Value
}

type DeleteResponse

type DeleteResponse struct {
	Diagnostics []*tfprotov6.Diagnostic
}

type ImportStateRequest

type ImportStateRequest struct {
	ID string
}

type ImportStateResponse

type ImportStateResponse struct {
	Diagnostics []*tfprotov6.Diagnostic
	State       tftypes.Value
}

type PlanChangeRequest

type PlanChangeRequest struct {
	Config           tftypes.Value
	PriorState       tftypes.Value
	ProposedNewState tftypes.Value
}

type PlanChangeResponse

type PlanChangeResponse struct {
	Deferred        *tfprotov6.Deferred
	Diagnostics     []*tfprotov6.Diagnostic
	PlannedState    tftypes.Value
	RequiresReplace []*tftypes.AttributePath
}

type ReadRequest

type ReadRequest struct {
	CurrentState tftypes.Value
}

type ReadResponse

type ReadResponse struct {
	Diagnostics []*tfprotov6.Diagnostic
	NewState    tftypes.Value
}

type SchemaRequest

type SchemaRequest struct{}

type SchemaResponse

type SchemaResponse struct {
	Diagnostics []*tfprotov6.Diagnostic
	Schema      *tfprotov6.Schema
}

type UpdateRequest

type UpdateRequest struct {
	Config       tftypes.Value
	PlannedState tftypes.Value
	PriorState   tftypes.Value
}

type UpdateResponse

type UpdateResponse struct {
	Diagnostics []*tfprotov6.Diagnostic
	NewState    tftypes.Value
}

type UpgradeStateRequest

type UpgradeStateRequest struct {
	RawState *tfprotov6.RawState
	Version  int64
}

type UpgradeStateResponse

type UpgradeStateResponse struct {
	Diagnostics   []*tfprotov6.Diagnostic
	UpgradedState tftypes.Value
}

type ValidateConfigRequest

type ValidateConfigRequest struct {
	Config tftypes.Value
}

type ValidateConfigResponse

type ValidateConfigResponse struct {
	Diagnostics []*tfprotov6.Diagnostic
}

Jump to

Keyboard shortcuts

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