setup

package
v1.3.0-main Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package setup provides provider factory and default-providers for e2e tests. It is the single place that constructs K8s or Quadlet providers; the harness only consumes *infra.Providers via EnsureDefaultProviders/GetDefaultProviders.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureDefaultProviders

func EnsureDefaultProviders(config *infra.EnvironmentConfig) error

EnsureDefaultProviders creates and sets default providers if not already set. Registry is not from infra; get it from auxiliary.Get(ctx).Registry.Host/Registry.Port and pass explicitly where needed. Call once at harness/suite setup; after that use GetDefaultProviders().

func GetDefaultProviders

func GetDefaultProviders() *infra.Providers

GetDefaultProviders returns the providers set at creation, or nil if not yet set.

func NewProvidersForEnvironment

func NewProvidersForEnvironment(config *infra.EnvironmentConfig) (*infra.Providers, error)

NewProvidersForEnvironment creates a full set of infra providers for the given config. Deployment type is selected once here; all four provider slots are always populated.

Types

This section is empty.

Jump to

Keyboard shortcuts

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