Documentation
¶
Overview ¶
Package helmtest provides testing utilities for Helm-related operations.
This package offers test helpers, mocks, and fixtures for testing code that interacts with Helm charts and repositories. It simplifies the process of writing tests for Helm-related functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChartClient ¶
type ChartClient interface {
Pull(ctx context.Context, chart, repoURL, targetRevision string, repos helmrepo.Getter) (*helm.PulledChart, error)
}
var ( DefaultTestClient ChartClient SlowTestClient ChartClient ErrTestClient = errors.New("test client failure") )
type TestClient ¶
type TestClient struct {
BaseClient ChartClient
Latency time.Duration
}
type TestPathEncoder ¶
type TestPathEncoder struct{}
func (*TestPathEncoder) Encode ¶
func (*TestPathEncoder) Encode(s string) string
Click to show internal directories.
Click to hide internal directories.