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 ¶
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.