node

package
v0.0.75 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Definition

func Definition(name string, config *configuration.Configuration) *v1.ContainerDefinition

Types

type Node

type Node struct {
	Name       string
	Home       string
	Definition *v1.ContainerDefinition
	Container  platforms.IPlatform
	Platform   string
}

func New

func New(name string, config *configuration.Configuration) (*Node, error)

func (*Node) Check

func (node *Node) Check(desired string, ch chan bool)

func (*Node) Directory

func (node *Node) Directory(name string, homedir string) error

func (*Node) Join

func (n *Node) Join()

func (*Node) Rename

func (node *Node) Rename(name string) error

func (*Node) Start

func (node *Node) Start() error

func (*Node) Stop

func (node *Node) Stop() error

func (*Node) Wait

func (node *Node) Wait(desired string) error

Jump to

Keyboard shortcuts

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