types

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: BSD-3-Clause Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Definition

type Definition interface {
	GetID() string
	GetAlias() string
	GetHomepage() string
	GetDescription() string
	GetMaintainers() []string
}

type Subnet

type Subnet struct {
	ID          string   `yaml:"id"`
	Alias       string   `yaml:"alias"`
	Homepage    string   `yaml:"homepage"`
	Description string   `yaml:"description"`
	Maintainers []string `yaml:"maintainers"`
	VMs         []string `yaml:"vms"`
}

func (Subnet) GetAlias

func (s Subnet) GetAlias() string

func (Subnet) GetDescription

func (s Subnet) GetDescription() string

func (Subnet) GetHomepage

func (s Subnet) GetHomepage() string

func (Subnet) GetID

func (s Subnet) GetID() string

func (Subnet) GetMaintainers

func (s Subnet) GetMaintainers() []string

type VM

type VM struct {
	ID            string           `yaml:"id"`
	Alias         string           `yaml:"alias"`
	Homepage      string           `yaml:"homepage"`
	Description   string           `yaml:"description"`
	Maintainers   []string         `yaml:"maintainers"`
	InstallScript string           `yaml:"installScript"`
	BinaryPath    string           `yaml:"binaryPath"`
	URL           string           `yaml:"url"`
	SHA256        string           `yaml:"sha256"`
	Version       version.Semantic `yaml:"version"`
}

func (VM) GetAlias

func (vm VM) GetAlias() string

func (VM) GetDescription

func (vm VM) GetDescription() string

func (VM) GetHomepage

func (vm VM) GetHomepage() string

func (VM) GetID

func (vm VM) GetID() string

func (VM) GetMaintainers

func (vm VM) GetMaintainers() []string

Jump to

Keyboard shortcuts

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