bms

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package bms provides a Terraform datasource.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BMSToTerraform

func BMSToTerraform(ctx context.Context, bms *v1.BMS) (bmsList []*bmsModelDatasourceBMS)

Put API BMS information to Terraform Object.

func NetworkToTerraform

func NetworkToTerraform(bms *v1.BMS) (net []*bmsModelDatasourceNetwork)

Put API Network information to Terraform Object.

func NewBMSDataSource

func NewBMSDataSource() datasource.DataSource

func NewBMSModelDatasource

func NewBMSModelDatasource(ctx context.Context) *bmsModelDatasource

NewbmsModelDatasource returns a new bmsModelDatasource.

Types

type BMSDataSource

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

func (*BMSDataSource) Configure

func (*BMSDataSource) Init

func (d *BMSDataSource) Init(ctx context.Context, dm *bmsModelDatasource) (diags diag.Diagnostics)

Init Initializes the data source.

func (*BMSDataSource) Metadata

func (*BMSDataSource) Read

func (*BMSDataSource) Schema

Jump to

Keyboard shortcuts

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