provider

package
v6.5.2 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() provider.Provider

New creates a new provider.

Types

type ClientOptions

type ClientOptions struct {
	Username       types.String `tfsdk:"username"`
	Password       types.String `tfsdk:"password"`
	Token          types.String `tfsdk:"token"`
	Endpoint       types.String `tfsdk:"endpoint"`
	ContractNumber types.String `tfsdk:"contract_number"`
	S3SecretKey    types.String `tfsdk:"s3_secret_key"`
	S3AccessKey    types.String `tfsdk:"s3_access_key"`
	S3Region       types.String `tfsdk:"s3_region"`
	Retries        types.Int64  `tfsdk:"retries"`
}

ClientOptions is the configuration for the provider.

type IonosCloudProvider

type IonosCloudProvider struct {
}

IonosCloudProvider is the provider implementation.

func (*IonosCloudProvider) Configure

Configure configures the provider.

func (*IonosCloudProvider) DataSources

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

DataSources returns the data sources for the provider.

func (*IonosCloudProvider) Metadata

Metadata returns the metadata for the provider.

func (*IonosCloudProvider) Resources

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

Resources returns the resources for the provider.

func (*IonosCloudProvider) Schema

Schema returns the schema for the provider.

Jump to

Keyboard shortcuts

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