provider

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: BSD-3-Clause-Clear Imports: 20 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 NewRecipeDataSource

func NewRecipeDataSource() datasource.DataSource

Types

type Action

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

func NewAction

func NewAction(action chromedp.Action, valueName string, value *string) *Action

func (*Action) Action

func (a *Action) Action(values map[string]*string) chromedp.Action

type ChromedpProvider

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

ChromedpProvider defines the provider implementation.

func (*ChromedpProvider) Configure

func (*ChromedpProvider) DataSources

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

func (*ChromedpProvider) Metadata

func (*ChromedpProvider) Resources

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

func (*ChromedpProvider) Schema

type ChromedpProviderModel

type ChromedpProviderModel struct {
	Endpoint types.String `tfsdk:"endpoint"`
}

ChromedpProviderModel describes the provider data model.

type RecipeDataSource

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

func (*RecipeDataSource) Configure

func (*RecipeDataSource) Metadata

func (*RecipeDataSource) Read

func (*RecipeDataSource) Schema

type RecipeDataSourceModel

type RecipeDataSourceModel struct {
	Actions            [][]types.String `tfsdk:"actions"`
	Values             types.Map        `tfsdk:"values"`
	Id                 types.String     `tfsdk:"id"`
	ScreenshotFilename types.String     `tfsdk:"screenshot_filename"`
	ScreenshotSelector types.String     `tfsdk:"screenshot_selector"`
}

Jump to

Keyboard shortcuts

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