instances

package
v0.0.0-...-41fedb6 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DomainNameToID

func DomainNameToID(domainname string) string

func Ensure

func Ensure(instance *protos.Instance) error

func IDToDomainName

func IDToDomainName(resourceID string) string

func Start

func Start(ctx context.Context, id string) error

func Stop

func Stop(ctx context.Context, id string, graceful bool) error

Types

type AllNICs

type AllNICs map[string]NICFilters

type NICFilters

type NICFilters struct {
	Unfiltered bool     `json:",omitempty"`
	RouterPort string   `json:",omitempty"`
	IPs        []string `json:",omitempty"`
}

Jump to

Keyboard shortcuts

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