node

package
v0.2.5-alpha.13 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetImage

func GetImage(node corev1.Node, robot robotv1alpha1.Robot) (string, error)

func GetPlatformVersion

func GetPlatformVersion(node corev1.Node) string

func HasGPU

func HasGPU(node corev1.Node) bool

func IsK3s added in v0.2.4

func IsK3s(node corev1.Node) bool

Types

type Images

type Images struct {
	Organization string   `yaml:"organization"`
	Repository   string   `yaml:"repository"`
	Tags         []string `yaml:"tags"`
}

type Kubernetes

type Kubernetes struct {
	Operators Operators `yaml:"operators"`
}

type Operators

type Operators struct {
	RobotOperator RobotOperator `yaml:"robot"`
}

type Platform

type Platform struct {
	Versions []Version `yaml:"versions"`
}

type ReadyRobotProperties

type ReadyRobotProperties struct {
	Enabled bool
	Image   string
}

Not used in robot manifest, needed for internal use.

func GetReadyRobotProperties

func GetReadyRobotProperties(robot robotv1alpha1.Robot) ReadyRobotProperties

type RobotOperator

type RobotOperator struct {
	Images Images `yaml:"images"`
}

type RoboticsCloud

type RoboticsCloud struct {
	Kubernetes Kubernetes `yaml:"kubernetes"`
}

type Version

type Version struct {
	Date          string        `yaml:"date"`
	Version       string        `yaml:"version"`
	RoboticsCloud RoboticsCloud `yaml:"roboticsCloud"`
}

Jump to

Keyboard shortcuts

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