Documentation ¶
Index ¶
Constants ¶
View Source
const ( Before when = 1 << iota // Interceptor is invoked before call to method in schema After // Interceptor is invoked after successful call to method in schema OnError // Interceptor is invoked after unsuccessful call to method in schema Finally // Interceptor is invoked after After or OnError )
View Source
const ( Create why = 1 << iota // Interceptor is invoked for a Create call Read // Interceptor is invoked for a Read call Update // Interceptor is invoked for an Update call Delete // Interceptor is invoked for a Delete call AllOps = Create | Read | Update | Delete // Interceptor is invoked for all calls )
Variables ¶
This section is empty.
Functions ¶
func New ¶
New returns a new, initialized Terraform Plugin SDK v2-style provider instance. The provider instance is fully configured once the `ConfigureContextFunc` has been called.
func ProtoV5ProviderServerFactory ¶
func ProtoV5ProviderServerFactory(ctx context.Context) (func() tfprotov5.ProviderServer, *schema.Provider, error)
ProtoV5ProviderServerFactory returns a muxed terraform-plugin-go protocol v5 provider factory function. This factory function is suitable for use with the terraform-plugin-go Serve function. The primary (Plugin SDK) provider server is also returned (useful for testing).
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.