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: 11 Imported by: 0

Documentation

Overview

Package node implements the CML2 node resource.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResource

func NewResource() resource.Resource

NewResource returns a new node resource.

Types

type NodeResource

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

NodeResource implements the cml2_node resource.

func (*NodeResource) Configure

Configure stores provider configuration for the resource.

func (*NodeResource) Create

Create creates a new node in a CML lab.

func (*NodeResource) Delete

Delete deletes an existing node from a CML lab.

func (NodeResource) ImportState

ImportState imports a node resource.

func (*NodeResource) Metadata

Metadata sets the resource type name.

func (*NodeResource) ModifyPlan

ModifyPlan adjusts the planned node state, enforcing replacement when needed.

func (*NodeResource) Read

func (*NodeResource) Schema

Schema defines the schema for the resource.

func (*NodeResource) Update

Update updates an existing node in a CML lab.

Jump to

Keyboard shortcuts

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