Documentation ¶
Index ¶
- type ProviderWrapper
- func (pw *ProviderWrapper) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (pw *ProviderWrapper) DataSources(ctx context.Context) []func() datasource.DataSource
- func (pw *ProviderWrapper) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (pw ProviderWrapper) Resources(ctx context.Context) []func() resource.Resource
- func (pw *ProviderWrapper) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProviderWrapper ¶
type ProviderWrapper struct {
// contains filtered or unexported fields
}
func NewProviderWrapper ¶
func NewProviderWrapper(provider provider.Provider) *ProviderWrapper
func (*ProviderWrapper) Configure ¶
func (pw *ProviderWrapper) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
Configure prepares a HashiCups API client for data sources and resources.
func (*ProviderWrapper) DataSources ¶
func (pw *ProviderWrapper) DataSources(ctx context.Context) []func() datasource.DataSource
DataSources defines the data sources implemented in the provider.
func (*ProviderWrapper) Metadata ¶
func (pw *ProviderWrapper) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (ProviderWrapper) Resources ¶
func (pw ProviderWrapper) Resources(ctx context.Context) []func() resource.Resource
Resources defines the resources implemented in the provider.
func (*ProviderWrapper) Schema ¶
func (pw *ProviderWrapper) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
Schema defines the provider-level schema for configuration data.
Click to show internal directories.
Click to hide internal directories.