frontend

package
v0.0.0-...-c514986 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorPortEmpty = fmt.Errorf("port is empty")
	ErrorIpEmpty   = fmt.Errorf("ip is empty")
	ErrorNetwork   = fmt.Errorf("network is empty")
)

Functions

func Provision

func Provision(options *ProvisionFrontendOptions) (*frontend, error)

Types

type ProvisionFrontendOptions

type ProvisionFrontendOptions struct {
	Network   string
	DNS       []string
	Ip        string
	ProxyPort int
	LabID     string
}

type T

type T interface {
	Start() error
	Stop() error
	GetContainer() *docker.Container
	GetProxyPort() int
}

Jump to

Keyboard shortcuts

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