Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewEchoFunction() function.Function
- func NewErrorFunction() function.Function
- type EchoFunction
- type ErrorFunction
- type TestFunctionsProvider
- func (p *TestFunctionsProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *TestFunctionsProvider) DataSources(_ context.Context) []func() datasource.DataSource
- func (p *TestFunctionsProvider) Functions(_ context.Context) []func() function.Function
- func (p *TestFunctionsProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *TestFunctionsProvider) Resources(_ context.Context) []func() resource.Resource
- func (p *TestFunctionsProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type TestFunctionsProviderModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEchoFunction ¶
func NewErrorFunction ¶
Types ¶
type EchoFunction ¶
type EchoFunction struct{}
func (EchoFunction) Definition ¶
func (r EchoFunction) Definition(_ context.Context, _ function.DefinitionRequest, resp *function.DefinitionResponse)
func (EchoFunction) Metadata ¶
func (r EchoFunction) Metadata(_ context.Context, req function.MetadataRequest, resp *function.MetadataResponse)
func (EchoFunction) Run ¶
func (r EchoFunction) Run(ctx context.Context, req function.RunRequest, resp *function.RunResponse)
type ErrorFunction ¶
type ErrorFunction struct{}
func (ErrorFunction) Definition ¶
func (e ErrorFunction) Definition(_ context.Context, _ function.DefinitionRequest, resp *function.DefinitionResponse)
func (ErrorFunction) Metadata ¶
func (e ErrorFunction) Metadata(_ context.Context, _ function.MetadataRequest, resp *function.MetadataResponse)
func (ErrorFunction) Run ¶
func (e ErrorFunction) Run(_ context.Context, _ function.RunRequest, resp *function.RunResponse)
type TestFunctionsProvider ¶
type TestFunctionsProvider struct {
// contains filtered or unexported fields
}
TestFunctionsProvider defines the provider implementation.
func (*TestFunctionsProvider) Configure ¶
func (p *TestFunctionsProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*TestFunctionsProvider) DataSources ¶
func (p *TestFunctionsProvider) DataSources(_ context.Context) []func() datasource.DataSource
func (*TestFunctionsProvider) Functions ¶
func (p *TestFunctionsProvider) Functions(_ context.Context) []func() function.Function
func (*TestFunctionsProvider) Metadata ¶
func (p *TestFunctionsProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*TestFunctionsProvider) Resources ¶
func (p *TestFunctionsProvider) Resources(_ context.Context) []func() resource.Resource
func (*TestFunctionsProvider) Schema ¶
func (p *TestFunctionsProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type TestFunctionsProviderModel ¶
TestFunctionsProviderModel describes the provider data model.
Click to show internal directories.
Click to hide internal directories.