provider

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Sep 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

func (p *UserCloudsProvider) Schema(ctx context.Context, req