Documentation ¶
Index ¶
- func New() provider.Provider
- type ClientOptions
- type IonosCloudProvider
- func (p *IonosCloudProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *IonosCloudProvider) DataSources(_ context.Context) []func() datasource.DataSource
- func (p *IonosCloudProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *IonosCloudProvider) Resources(_ context.Context) []func() resource.Resource
- func (p *IonosCloudProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶
func (p *IonosCloudProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
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 ¶
func (p *IonosCloudProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
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 ¶
func (p *IonosCloudProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
Schema returns the schema for the provider.
Click to show internal directories.
Click to hide internal directories.