provider

package
v0.0.0-...-4f8f0ff Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(version string) func() provider.Provider

New is a helper function to simplify provider server and testing implementation.

Types

type ProviderClient

type ProviderClient struct {
	// contains filtered or unexported fields
}

ProviderClient is the provider implementation.

func (*ProviderClient) Configure

func (*ProviderClient) DataSources

func (p *ProviderClient) DataSources(_ context.Context) []func() datasource.DataSource

DataSources defines the data sources implemented in the provider.

func (*ProviderClient) Metadata

Metadata returns the provider type name.

func (*ProviderClient) Resources

func (p *ProviderClient) Resources(_ context.Context) []func() resource.Resource

Resources defines the resources implemented in the provider.

func (*ProviderClient) Schema

Schema defines the provider-level schema for configuration data.

type ProviderClientModel

type ProviderClientModel struct {
}

ProviderClientModel maps provider schema data to a Go type.

Jump to

Keyboard shortcuts

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