provider

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const NodeCount int64 = 4

Variables

This section is empty.

Functions

func New

func New(version string) func() provider.Provider

func NewNodeInfoDataSource added in v0.0.2

func NewNodeInfoDataSource() datasource.DataSource

NewNodeInfoDataSource is a helper function to simplify the provider implementation.

func NewPowerDataSource added in v0.0.2

func NewPowerDataSource() datasource.DataSource

NewPowerDataSource is a helper function to simplify the provider implementation.

func NewSDCardDataSource

func NewSDCardDataSource() datasource.DataSource

NewSDCardDataSource is a helper function to simplify the provider implementation.

func NewUsbDataSource added in v0.0.2

func NewUsbDataSource() datasource.DataSource

NewUsbDataSource is a helper function to simplify the provider implementation.

func NewUsbResource added in v0.0.3

func NewUsbResource() resource.Resource

Types

type TuringPiBMCProvider

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

TuringPiBMCProvider defines the provider implementation.

func (*TuringPiBMCProvider) Configure

func (*TuringPiBMCProvider) DataSources

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

func (*TuringPiBMCProvider) Metadata

func (*TuringPiBMCProvider) Resources

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

func (*TuringPiBMCProvider) Schema

type TuringPiBMCProviderModel

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

TuringPiBMCProviderModel describes the provider data model.

Jump to

Keyboard shortcuts

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