machine

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AddressEnv = "IRI_MACHINE_RUNTIME_ENDPOINT"
)

Variables

View Source
var WellKnownEndpoints = []string{
	"/var/run/iri-machinebroker.sock",
	"/var/run/iri-virtd.sock",
}

Functions

func GetAddress

func GetAddress(ctx context.Context, explicitAddress string) (string, error)

func GetAddressWithTimeout

func GetAddressWithTimeout(timeout time.Duration, explicitAddress string) (string, error)

func NewRemoteRuntime

func NewRemoteRuntime(endpoint string) (machine.RuntimeService, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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