provider

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 13 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 provider instance.

Types

type UserCloudsProvider

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

UserCloudsProvider defines the provider implementation.

func (*UserCloudsProvider) Configure

Configure is used to configure the provider.

func (*UserCloudsProvider) DataSources

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

DataSources is used to define the data sources for the provider.

func (*UserCloudsProvider) Metadata

Metadata is used to return information about the provider.

func (*UserCloudsProvider) Resources

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

Resources is used to define the resources for the provider.

func (*UserCloudsProvider) Schema

Schema is used to define the schema for the provider.

type UserCloudsProviderModel

type UserCloudsProviderModel struct {
	TenantURL    types.String `tfsdk:"tenant_url"`
	ClientID     types.String `tfsdk:"client_id"`
	ClientSecret types.String `tfsdk:"client_secret"`
}

UserCloudsProviderModel describes the provider data model.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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