wrtnodes

package
v0.0.0-...-8460a57 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UCI tensile.Shape = "uci"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type UCICommit

type UCICommit struct {
}

func (UCICommit) Execute

func (c UCICommit) Execute(ctx tensile.Context) (any, error)

func (UCICommit) Identifier

func (c UCICommit) Identifier() string

func (UCICommit) Shape

func (c UCICommit) Shape() tensile.Shape

func (*UCICommit) Validate

func (c *UCICommit) Validate() error

type UCICommitOutput

type UCICommitOutput struct {
	Result  int
	Changes string
}

type UCIOption

type UCIOption struct {
	// Config is the subsystem or config name.
	Config string

	// Name is the name of the section.
	Section string

	// Option is the name of the option.
	Option string

	// Value is the value to set.
	// Simple values are set.
	// TODO Lists are first removed and then set.
	//
	// If Value is nil the option is removed.
	Value any
	// contains filtered or unexported fields
}

func (UCIOption) AfterNodes

func (opt UCIOption) AfterNodes() []string

func (UCIOption) BeforeNodes

func (opt UCIOption) BeforeNodes() []string

func (UCIOption) Execute

func (opt UCIOption) Execute(ctx tensile.Context) (any, error)

func (UCIOption) Identifier

func (opt UCIOption) Identifier() string

func (UCIOption) Shape

func (opt UCIOption) Shape() tensile.Shape

func (*UCIOption) Validate

func (opt *UCIOption) Validate() error

type UCIOptionState

type UCIOptionState int

type UCISection

type UCISection struct {
	// Config is the subsystem or config name.
	Config string

	// Name is the name of the section.
	// TODO can/should empty names be allowed?
	Name string

	// Type of the section
	Type string
	// contains filtered or unexported fields
}

func (UCISection) BeforeNodes

func (section UCISection) BeforeNodes() []string

func (UCISection) Execute

func (section UCISection) Execute(ctx tensile.Context) (any, error)

func (UCISection) Identifier

func (section UCISection) Identifier() string

func (UCISection) Shape

func (section UCISection) Shape() tensile.Shape

func (*UCISection) Validate

func (section *UCISection) Validate() error

Jump to

Keyboard shortcuts

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