Documentation
¶
Index ¶
- Constants
- Variables
- func New() provider.Provider
- type BowtieProvider
- func (b *BowtieProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (b *BowtieProvider) DataSources(_ context.Context) []func() datasource.DataSource
- func (b *BowtieProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (b *BowtieProvider) Resources(_ context.Context) []func() resource.Resource
- func (b *BowtieProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
Constants ¶
View Source
const ( // It’s assumed that authentication is provided via the // BOWTIE_USERNAME and BOWTIE_PASSWORD environment variables. ProviderConfig = ` provider "bowtie" { } ` )
Variables ¶
View Source
var ( // testAccProtoV6ProviderFactories are used to instantiate a provider during // acceptance testing. The factory function will be invoked for every Terraform // CLI command executed to create a provider server to which the CLI can // reattach. TestAccProtoV6ProviderFactories = map[string]func() (tfprotov6.ProviderServer, error){ "bowtie": providerserver.NewProtocol6WithError(New()), } )
Functions ¶
Types ¶
type BowtieProvider ¶
type BowtieProvider struct{}
func (*BowtieProvider) Configure ¶
func (b *BowtieProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*BowtieProvider) DataSources ¶
func (b *BowtieProvider) DataSources(_ context.Context) []func() datasource.DataSource
func (*BowtieProvider) Metadata ¶
func (b *BowtieProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*BowtieProvider) Resources ¶
func (b *BowtieProvider) Resources(_ context.Context) []func() resource.Resource
func (*BowtieProvider) Schema ¶
func (b *BowtieProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
Click to show internal directories.
Click to hide internal directories.