package
1.2.0
Repository: https://github.com/fluxcd/helm-controller.git
Documentation: pkg.go.dev

# Functions

BuildChart returns a Helm chart object built with basic data and any provided chart options.
BuildChartWithSubchartWithCRD returns a Helm chart object with a subchart that contains a CRD.
BuildRelease builds a release with release.Mock using the given options, and applies any provided options to the release before returning it.
ChartWithCRD appends a CRD to the chart.
ChartWithDependency appends a dependency to the chart.
ChartWithFailingHook appends a failing hook to the chart.
ChartWithFailingTestHook appends a failing test hook to the chart.
ChartWithManifestWithCustomName sets the name of the manifest.
ChartWithName sets the name of the chart.
ChartWithTestHook appends a test hook to the chart.
ChartWithValues sets the values.yaml file of the chart.
ChartWithVersion sets the version of the chart.
Equal uses go-cmp to compare actual with expected.
MustParseHelmTime parses a string into a Helm time.Time, panicking if it fails.
NewFakeRecorder creates new fake event recorder with an Events channel with the given size.
ReleaseWithConfig sets the config on the release.
ReleaseWithFailingHook appends a failing hook to the release.
ReleaseWithFailingTestHook appends a failing test hook to the release.
ReleaseWithHookExecution appends a hook with a last run with the given execution phase on the release.
ReleaseWithHooks sets the hooks on the release.
ReleaseWithLabels sets the labels on the release.
ReleaseWithTestHook appends a test hook to the release.
SaveChart saves the given chart to the given directory, and returns the path to the saved chart.
SaveChartAsArtifact saves the given chart to the given directory, and returns an artifact with the chart's metadata.

# Structs

ChartOptions is a helper to build a Helm chart object.
FakeRecorder is used as a fake during tests.
ReleaseOptions is a helper to build a Helm release mock.

# Type aliases

ChartOption is a function that can be used to modify a chart.
ReleaseOption is a function that can be used to modify a release.