provider

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: MIT Imports: 12 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

func NewPolicyDataSource

func NewPolicyDataSource() datasource.DataSource

Types

type CedarProvider

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

CedarProvider defines the provider implementation.

func (*CedarProvider) Configure

func (*CedarProvider) DataSources

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

func (*CedarProvider) Functions

func (p *CedarProvider) Functions(ctx context.Context) []func() function.Function

func (*CedarProvider) Metadata

func (*CedarProvider) Resources

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

func (*CedarProvider) Schema

type CedarProviderModel

type CedarProviderModel struct {
}

CedarProviderModel describes the provider data model.

type PolicyDataSource

type PolicyDataSource struct{}

func (*PolicyDataSource) Metadata

func (*PolicyDataSource) Read

func (*PolicyDataSource) Schema

type PolicyDataSourceModel

type PolicyDataSourceModel struct {
	Policies []cedarpolicy.Policy `tfsdk:"policy"`
	Text     types.String         `tfsdk:"text"`
}

Jump to

Keyboard shortcuts

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