provider

package
v2.61.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 License: MPL-2.0 Imports: 57 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFrameworkProvider

func NewFrameworkProvider() func() provider.Provider

func NewProviderList

func NewProviderList(ctx context.Context, config *Config) ([]func() tfprotov6.ProviderServer, error)

func SDKProvider

func SDKProvider(config *Config) plugin.ProviderFunc

SDKProvider returns a terraform.ResourceProvider.

Types

type Config

type Config struct {
	// Meta can be used to override Meta that will be used by the provider.
	// This is useful for tests.
	Meta *meta.Meta
}

Config can be used to provide additional config when creating provider.

func DefaultConfig

func DefaultConfig() *Config

DefaultConfig return default Config struct

type ScalewayProvider

type ScalewayProvider struct{}

func (*ScalewayProvider) Actions

func (p *ScalewayProvider) Actions(_ context.Context) []func() action.Action

func (*ScalewayProvider) Configure

func (*ScalewayProvider) DataSources

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

func (*ScalewayProvider) EphemeralResources

func (p *ScalewayProvider) EphemeralResources(_ context.Context) []func() ephemeral.EphemeralResource

func (*ScalewayProvider) ListResources

func (p *ScalewayProvider) ListResources(_ context.Context) []func() list.ListResource

func (*ScalewayProvider) Metadata

func (*ScalewayProvider) Resources

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

func (*ScalewayProvider) Schema

Jump to

Keyboard shortcuts

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