setup

package
v1.3.2-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: Apache-2.0 Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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