node

package
v0.1.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetImage

func GetImage(node corev1.Node, devspace devv1alpha1.DevSpace) (string, error)

func GetPlatformVersion

func GetPlatformVersion(node corev1.Node) string

func HasGPU

func HasGPU(node corev1.Node) bool

func IsK3s

func IsK3s(node corev1.Node) bool

Types

type Application

type Application struct {
	Name    string `yaml:"name"`
	Version string `yaml:"version"`
}

type DevSpaceImage

type DevSpaceImage struct {
	UbuntuDistro string `yaml:"ubuntuDistro"`
	Desktop      string `yaml:"desktop"`
	Version      string `yaml:"version"`
}

type Element

type Element struct {
	Application   Application   `yaml:"application"`
	DevSpaceImage DevSpaceImage `yaml:"devspace"`
}

type Images

type Images struct {
	Organization string               `yaml:"organization"`
	Repository   string               `yaml:"repository"`
	Domains      map[string][]Element `yaml:"domains"`
}

type Platform

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

type ReadyDevSpaceProperties

type ReadyDevSpaceProperties struct {
	Enabled bool
	Image   string
}

Not used in devspace manifest, needed for internal use.

func GetReadyDevSpaceProperties

func GetReadyDevSpaceProperties(devspace devv1alpha1.DevSpace) ReadyDevSpaceProperties

type Version

type Version struct {
	Date    string `yaml:"date"`
	Version string `yaml:"version"`
	Images  Images `yaml:"images"`
}

Jump to

Keyboard shortcuts

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