types

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2022 License: BSD-3-Clause Imports: 0 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Definition

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

type Subnet

type Subnet struct {
	ID          map[string]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(network string) (string, bool)

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"`
}

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