servers

package
v0.0.0-...-a5e107f Latest Latest
Warning

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

Go to latest
Published: Apr 18, 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 struct {
	// contains filtered or unexported fields
}

func CreateMaker

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

func (*Maker) Make

func (m *Maker) Make(config *types.Spec) (Servers, error)

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(fullName string) (Server, bool)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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