servers

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Maker

type Maker interface {
	Make(config *types.Spec) (Servers, error)
}

func CreateMaker

func CreateMaker(
	fnd app.Foundation,
	expectationsMaker expectations.Maker,
	parametersMaker parameters.Maker,
) Maker

type Server

type Server interface {
	ExpectAction(name string) (actions.ExpectAction, bool)
	Config(name string) (configs.Config, bool)
	Configs() configs.Configs
	Sandbox(name providers.Type) (sandbox.Sandbox, bool)
	Group() string
	User() string
	Port() int32
	Parameters() parameters.Parameters
	Templates() templates.Templates
	Template(name string) (templates.Template, bool)
}

type Servers

type Servers map[string]map[string]Server

func (Servers) GetServer

func (s Servers) GetServer(name string, tag string) (Server, bool)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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