f2sk1environment

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HelloWorld

type HelloWorld struct {
	Topology      *topology.Basic
	AutoTearDown  bool
	SkupperExpose bool

	frame2.DefaultRunDealer
}

A Hello World deployment, with configurations. For simpler alternatives, see:

  • environment.HelloWorldSimple
  • environment.HelloWorldN
  • ...
  • environment.HelloWorldPlatform is special. It will use whatever topology the current test is asking for, if possible

To use the auto tearDown, make sure to populate the Runner

func (HelloWorld) Execute

func (hw HelloWorld) Execute() error

type HelloWorldDefault

type HelloWorldDefault struct {
	Name string

	AutoTearDown bool

	frame2.DefaultRunDealer
	// contains filtered or unexported fields
}

A Hello World deployment on pub1 (frontend) and prv1 (backend), on the default topology

func (*HelloWorldDefault) Execute

func (hwd *HelloWorldDefault) Execute() error

func (HelloWorldDefault) GetTopology

func (hwd HelloWorldDefault) GetTopology() topology.Basic

type HelloWorldN

type HelloWorldN struct {
	AutoTearDown  bool
	Name          string
	SkupperExpose bool

	Topology topology.Basic

	frame2.DefaultRunDealer
}

A Hello World deployment on pub1 (frontend) and prv1 (backend), on an N topology.

Useful for the simplest multiple link testing.

See topology.N for details on the topology.

func (*HelloWorldN) Execute

func (h *HelloWorldN) Execute() error

type JustSkupper

type JustSkupper struct {
	Topology     *topology.Basic
	AutoTearDown bool
	SkipConnect  bool

	frame2.DefaultRunDealer
	frame2.Log
}

As the name says, it's just skupper, connected according to the provided topology. For simpler alternatives, see:

  • environment.JustSkupperSimple
  • environment.JustSkupperN
  • ...
  • environment.JustSkupperPlatform is special. It will use whatever topology the current test is asking for, if possible

func (JustSkupper) Execute

func (j JustSkupper) Execute() error

type JustSkupperN

type JustSkupperN struct {
}

A Skupper deployment on pub1 (frontend) and prv1 (backend), on an N topology.

Useful for the simplest multiple link testing.

See topology.N for details on the topology.

type JustSkupperSimple

type JustSkupperSimple struct {
	Name         string
	AutoTearDown bool
	Console      bool
	SkipConnect  bool

	// Return
	Topo topology.Basic

	frame2.DefaultRunDealer
}

A Skupper deployment on pub1 (frontend) and prv1 (backend),

func (*JustSkupperSimple) Execute

func (j *JustSkupperSimple) Execute() error

type JustSkupperSingle

type JustSkupperSingle struct {
	Name         string
	AutoTearDown bool
	Console      bool

	// By default, create a private namespace; this changes it
	Public bool

	// Return
	Topo topology.Basic

	frame2.DefaultRunDealer
}

A Skupper deployment on a single namespace

func (*JustSkupperSingle) Execute

func (j *JustSkupperSingle) Execute() error

type PatientPortal

type PatientPortal struct {
	Topology      *topology.Basic
	AutoTearDown  bool
	SkupperExpose bool

	// If true, console will be enabled on prv1
	EnableConsole bool

	frame2.DefaultRunDealer
}

func (PatientPortal) Execute

func (p PatientPortal) Execute() error

type PatientPortalDefault

type PatientPortalDefault struct {
	Name         string
	AutoTearDown bool

	// If true, console will be enabled on prv1
	EnableConsole bool

	TopoReturn topology.Basic
	frame2.DefaultRunDealer
}

A Patient Portal deployment on pub1 (frontend), prv1 (DB) and prv2 (payment), on the default topology

func (*PatientPortalDefault) Execute

func (p *PatientPortalDefault) Execute() error

Jump to

Keyboard shortcuts

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