provider

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2024 License: MPL-2.0 Imports: 16 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

Types

type WindowsProvider

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

WindowsProvider defines the provider implementation.

func (*WindowsProvider) ConfigValidators

func (p *WindowsProvider) ConfigValidators(ctx context.Context) []provider.ConfigValidator

ConfigValidators define imperative expressions to validate the provider config.

func (*WindowsProvider) Configure

Configure sets up the provider client. This includes the connection to the Windows system via WinRM or SSH.

func (*WindowsProvider) DataSources

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

DataSources returns the provider data sources. All data sources must be returned as functions.

func (*WindowsProvider) Metadata

Metadata returns the provider metadata.

func (*WindowsProvider) Resources

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

Resources returns the provider resources. All resources must be returned as functions.

func (*WindowsProvider) Schema

Schema returns the provider schema. It includes the schema generated by the terraform-plugin-framework code generator and a given description which is used in the provider documentation.

func (*WindowsProvider) ValidateConfig

ValidateConfig defines programmatic expressions to validate the provider config.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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