tf5testserver

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 *tfprotov5.ConfigureProviderResponse

	GetFunctionsCalled   bool
	GetFunctionsResponse *tfprotov5.GetFunctionsResponse

	GetMetadataCalled   bool
	GetMetadataResponse *tfprotov5.GetMetadataResponse

	GetProviderSchemaCalled   bool
	GetProviderSchemaResponse *tfprotov5.GetProviderSchemaResponse

	GetResourceIdentitySchemasCalled   bool
	GetResourceIdentitySchemasResponse *tfprotov5.GetResourceIdentitySchemasResponse

	ImportResourceStateCalled map[string]bool

	MoveResourceStateCalled map[string]bool

	OpenEphemeralResourceCalled map[string]bool

	PlanResourceChangeCalled map[string]bool

	PrepareProviderConfigCalled   bool
	PrepareProviderConfigResponse *tfprotov5.PrepareProviderConfigResponse

	ReadDataSourceCalled map[string]bool

	ReadResourceCalled map[string]bool

	RenewEphemeralResourceCalled map[string]bool

	StopProviderCalled   bool
	StopProviderResponse *tfprotov5.StopProviderResponse

	UpgradeResourceIdentityCalled map[string]bool

	UpgradeResourceStateCalled map[string]bool

	ValidateEphemeralResourceConfigCalled map[string]bool

	ValidateDataSourceConfigCalled map[string]bool

	ValidateResourceTypeConfigCalled 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() tfprotov5.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