tf6testserver

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2025 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestServer

type TestServer struct {
	ApplyResourceChangeCalled map[string]bool

	CallFunctionCalled map[string]bool

	CloseEphemeralResourceCalled map[string]bool

	ConfigureProviderCalled   bool
	ConfigureProviderResponse *tfprotov6.ConfigureProviderResponse

	GetFunctionsCalled   bool
	GetFunctionsResponse *tfprotov6.GetFunctionsResponse

	GetMetadataCalled   bool
	GetMetadataResponse *tfprotov6.GetMetadataResponse

	GetProviderSchemaCalled   bool
	GetProviderSchemaResponse *tfprotov6.GetProviderSchemaResponse

	GetResourceIdentitySchemasCalled   bool
	GetResourceIdentitySchemasResponse *tfprotov6.GetResourceIdentitySchemasResponse

	ImportResourceStateCalled map[string]bool

	MoveResourceStateCalled map[string]bool

	OpenEphemeralResourceCalled map[string]bool

	PlanResourceChangeCalled map[string]bool

	ReadDataSourceCalled map[string]bool

	ReadResourceCalled map[string]bool

	RenewEphemeralResourceCalled map[string]bool

	StopProviderCalled   bool
	StopProviderResponse *tfprotov6.StopProviderResponse

	UpgradeResourceIdentityCalled map[string]bool

	UpgradeResourceStateCalled map[string]bool

	ValidateDataResourceConfigCalled map[string]bool

	ValidateEphemeralResourceConfigCalled map[string]bool

	ValidateProviderConfigCalled   bool
	ValidateProviderConfigResponse *tfprotov6.ValidateProviderConfigResponse

	ValidateResourceConfigCalled map[string]bool
}

func (*TestServer) CallFunction added in v0.13.0

func (*TestServer) CloseEphemeralResource added in v0.17.0

func (*TestServer) GetFunctions added in v0.13.0

func (*TestServer) GetMetadata added in v0.12.0

func (*TestServer) GetResourceIdentitySchemas added in v0.19.0

func (*TestServer) MoveResourceState added in v0.14.0

func (*TestServer) OpenEphemeralResource added in v0.17.0

func (*TestServer) ProviderServer

func (s *TestServer) ProviderServer() tfprotov6.ProviderServer

func (*TestServer) RenewEphemeralResource added in v0.17.0

func (*TestServer) UpgradeResourceIdentity added in v0.19.0

Jump to

Keyboard shortcuts

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