Documentation
¶
Overview ¶
Package cloudconsole contains APIP cloud control-plane and data-plane steps.
Index ¶
Constants ¶
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
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.