provider

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Functions

func New

func New() provider.Provider

func ParseTrn

func ParseTrn(trn string) (string, string, error)

Types

type AssumeRoleData

type AssumeRoleData struct {
	AssumeRoleTRN types.String `tfsdk:"assume_role_trn"`
	Duration      types.Int32  `tfsdk:"duration_seconds"`
	Policy        types.String `tfsdk:"policy"`
}

type ByteplusCCProvider

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

func (*ByteplusCCProvider) Configure

func (*ByteplusCCProvider) DataSources

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

func (*ByteplusCCProvider) Metadata

func (*ByteplusCCProvider) ProviderData

func (p *ByteplusCCProvider) ProviderData() any

ProviderData is used in acceptance testing to get access to configured API client etc.

func (*ByteplusCCProvider) Resources

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

func (*ByteplusCCProvider) Schema

func (p *ByteplusCCProvider) Schema(ctx context.Context, request provider.SchemaRequest, response *provider.SchemaResponse)

Directories

Path Synopsis
generators
resource command
schema command

Jump to

Keyboard shortcuts

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