e_domain

package
v0.0.0-...-0dc4125 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FlavorInstance

func FlavorInstance(id string, name string) *flavorEntity

Types

type Flavor

type Flavor interface {
	ID() string
	Name() string
}

type FlavorRepository

type FlavorRepository interface {
	data.Repository[Flavor, string]
}

type Network

type Network interface {
	ID() string
	Name() string
}

type Server

type Server interface {
	ID() string
	Name() string
	Flavor() Flavor
	Volumes() []Volume
	Networks() []Network
}

func ServerInstance

func ServerInstance(id string, name string, flavor Flavor) Server

type ServerRepository

type ServerRepository interface {
	data.Repository[Server, string]
}

type Volume

type Volume interface {
	ID() string
	Name() string
}

Directories

Path Synopsis
data-example

Jump to

Keyboard shortcuts

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