node

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2026 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package node implements the CML2 node datasource.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDataSource

func NewDataSource() datasource.DataSource

NewDataSource returns a new node data source.

Types

type NodeDataSource

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

NodeDataSource defines the data source implementation.

func (*NodeDataSource) Configure

Configure stores provider configuration for the data source.

func (*NodeDataSource) Metadata

Metadata sets the data source type name.

func (*NodeDataSource) Read

func (*NodeDataSource) Schema

Schema defines the schema for the data source.

type NodeDataSourceModel

type NodeDataSourceModel struct {
	ID    types.String `tfsdk:"id"`
	LabID types.String `tfsdk:"lab_id"`
	Node  types.Object `tfsdk:"node"`
}

NodeDataSourceModel describes the data source data model.

Jump to

Keyboard shortcuts

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