provider

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2025 License: MIT Imports: 27 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 NewCliCheckDataSource

func NewCliCheckDataSource() datasource.DataSource

Types

type CliCheckDataSource

type CliCheckDataSource struct {
	BinDir     types.String
	EnvContext EnvContext
}

CliCheckDataSource defines the data source implementation.

func (*CliCheckDataSource) Configure

func (*CliCheckDataSource) Metadata

func (*CliCheckDataSource) Read

func (*CliCheckDataSource) Schema

type CliCheckDataSourceModel

type CliCheckDataSourceModel struct {
	Id     types.String `tfsdk:"id"`
	Clis   types.List   `tfsdk:"clis"`
	BinDir types.String `tfsdk:"bin_dir"`
}

CliCheckDataSourceModel describes the data source data model.

type CliProvider

type CliProvider struct {
	EnvContext EnvContext
	// contains filtered or unexported fields
}

CliProvider defines the provider implementation.

func (*CliProvider) Configure

func (*CliProvider) DataSources

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

func (*CliProvider) Functions

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

func (*CliProvider) Metadata

func (*CliProvider) Resources

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

func (*CliProvider) Schema

type CliProviderDataSourceModel

type CliProviderDataSourceModel struct {
	BinDir     types.String
	EnvContext EnvContext
}

type CliProviderModel

type CliProviderModel struct {
	BinDir types.String `tfsdk:"bin_dir"`
}

CliProviderModel describes the provider data model.

type EnvContext

type EnvContext struct {
	Arch   string
	Os     string
	Alpine bool
}

type GitHubRelease

type GitHubRelease struct {
	TagName string `json:"tag_name"`
}

Jump to

Keyboard shortcuts

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