provider

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MPL-2.0 Imports: 16 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 returns a new instance of the EntitleProvider. This function is a factory for creating a new provider instance. It takes the version as a parameter and returns a function that, when called, creates a new EntitleProvider.

Types

type EntitleProvider

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

EntitleProvider defines the provider implementation.

func (*EntitleProvider) Configure

Configure configures the provider based on the provided configuration.

func (*EntitleProvider) DataSources

func (p *EntitleProvider) DataSources(ctx context.Context) []func() datasource.DataSource

DataSources returns the list of provider data sources.

func (*EntitleProvider) Metadata

Metadata sets the provider metadata.

func (*EntitleProvider) Resources

func (p *EntitleProvider) Resources(ctx context.Context) []func() resource.Resource

Resources returns the list of provider resources.

func (*EntitleProvider) Schema

Schema defines the provider schema with its attributes.

type EntitleProviderModel

type EntitleProviderModel struct {
	Endpoint types.String `tfsdk:"endpoint"`
	APIKey   types.String `tfsdk:"api_key"`
}

EntitleProviderModel describes the provider data model.

Directories

Path Synopsis
Package agentTokens provides the implementation of the Entitle Agent Token data source for Terraform.
Package agentTokens provides the implementation of the Entitle Agent Token data source for Terraform.

Jump to

Keyboard shortcuts

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