cloudconsole

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Overview

Package cloudconsole contains APIP cloud control-plane and data-plane steps.

Index

Constants

View Source
const (
	// ComponentName is the catalog component used by APIP cloud runners.
	ComponentName = corecatalog.Name
)

Variables

This section is empty.

Functions

func Register

func Register(sc *godog.ScenarioContext, topo *frameworkruntime.Topology, funnel *httpx.Funnel)

Register binds APIP cloud-specific Gherkin steps.

func RegisterDeleters

func RegisterDeleters(reg *cleanup.Registry, topo *frameworkruntime.Topology) error

RegisterDeleters installs cloud-target cleanup handlers for a block containing cloud-console.

Types

type Finalizer added in v0.4.3

type Finalizer struct {
	// contains filtered or unexported fields
}

Finalizer removes whatever a run left behind in the cloud organisation through the cloud console API. It records each runner's name suffix and the platform it talks to, and after the run hands the platform's collections to the suite's finalizer package.

func NewFinalizer added in v0.4.3

func NewFinalizer() *Finalizer

NewFinalizer returns a finalizer that has seen no run yet.

func (*Finalizer) Finalize added in v0.4.3

func (f *Finalizer) Finalize(ctx context.Context) ([]string, error)

Finalize deletes the run's leftovers from every platform the run talked to. It returns the resources it removed, each one a leak the per-scenario cleanup missed, and an error for the ones it could not remove.

func (*Finalizer) Register added in v0.4.3

func (f *Finalizer) Register(sc *godog.ScenarioContext, topo *frameworkruntime.Topology, funnel *httpx.Funnel)

Register binds the cloud steps like Register and records, before each scenario, the runner's name suffix and the platform it talks to, so Finalize knows what to look for and where.

type Steps

type Steps struct {
	// contains filtered or unexported fields
}

Steps contains APIP cloud step bindings for one resolved block.

Jump to

Keyboard shortcuts

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