Documentation ¶
Index ¶
- Constants
- func New(version string) func() provider.Provider
- func NewNodeInfoDataSource() datasource.DataSource
- func NewPowerDataSource() datasource.DataSource
- func NewSDCardDataSource() datasource.DataSource
- func NewUsbDataSource() datasource.DataSource
- func NewUsbResource() resource.Resource
- type TuringPiBMCProvider
- func (p *TuringPiBMCProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *TuringPiBMCProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *TuringPiBMCProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *TuringPiBMCProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *TuringPiBMCProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type TuringPiBMCProviderModel
Constants ¶
View Source
const NodeCount int64 = 4
Variables ¶
This section is empty.
Functions ¶
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
Types ¶
type TuringPiBMCProvider ¶
type TuringPiBMCProvider struct {
// contains filtered or unexported fields
}
TuringPiBMCProvider defines the provider implementation.
func (*TuringPiBMCProvider) Configure ¶
func (p *TuringPiBMCProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*TuringPiBMCProvider) DataSources ¶
func (p *TuringPiBMCProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*TuringPiBMCProvider) Metadata ¶
func (p *TuringPiBMCProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*TuringPiBMCProvider) Resources ¶
func (p *TuringPiBMCProvider) Resources(ctx context.Context) []func() resource.Resource
func (*TuringPiBMCProvider) Schema ¶
func (p *TuringPiBMCProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type TuringPiBMCProviderModel ¶
TuringPiBMCProviderModel describes the provider data model.
Click to show internal directories.
Click to hide internal directories.