node

package
v0.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2023 License: Apache-2.0 Imports: 10 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 DevCloud

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

type DevSpaceImage

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

type DevSpaceOperator

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

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 Kubernetes

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

type Operators

type Operators struct {
	DevSpaceOperator DevSpaceOperator `yaml:"devspace"`
}

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"`
	DevCloud DevCloud `yaml:"devCloud"`
}

Jump to

Keyboard shortcuts

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