tf5testserver

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: MPL-2.0 Imports: 2 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 {
	DataSourceSchemas  map[string]*tfprotov5.Schema
	ProviderMetaSchema *tfprotov5.Schema
	ProviderSchema     *tfprotov5.Schema
	ResourceSchemas    map[string]*tfprotov5.Schema

	ApplyResourceChangeCalled map[string]bool

	ConfigureProviderCalled bool

	GetProviderSchemaCalled bool

	ImportResourceStateCalled map[string]bool

	PlanResourceChangeCalled map[string]bool

	PrepareProviderConfigCalled   bool
	PrepareProviderConfigResponse *tfprotov5.PrepareProviderConfigResponse

	ReadDataSourceCalled map[string]bool

	ReadResourceCalled map[string]bool

	StopProviderCalled bool
	StopProviderError  string

	UpgradeResourceStateCalled map[string]bool

	ValidateDataSourceConfigCalled map[string]bool

	ValidateResourceTypeConfigCalled map[string]bool
}

func (*TestServer) ProviderServer

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

Jump to

Keyboard shortcuts

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