provider

package
v0.0.0-...-7488e69 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: MPL-2.0 Imports: 9 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 NewContextDataSource

func NewContextDataSource() datasource.DataSource

Types

type ContextDataSource

type ContextDataSource struct{}

func (*ContextDataSource) GetSchema

func (*ContextDataSource) Metadata

func (*ContextDataSource) Read

type Descriptor

type Descriptor struct {
	Delimiter  *string  `tfsdk:"delimiter"`
	Order      []string `tfsdk:"order"`
	Upper      *bool    `tfsdk:"upper"`
	Lower      *bool    `tfsdk:"lower"`
	Title      *bool    `tfsdk:"title"`
	Reverse    *bool    `tfsdk:"reverse"`
	Attributes *bool    `tfsdk:"attributes"`
	Limit      *int     `tfsdk:"limit"`
}

type MyProvider

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

func (*MyProvider) Configure

func (*MyProvider) DataSources

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

func (*MyProvider) GetSchema

func (p *MyProvider) GetSchema(ctx context.Context) (tfsdk.Schema, diag.Diagnostics)

func (*MyProvider) Metadata

func (*MyProvider) Resources

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

Jump to

Keyboard shortcuts

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