Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HelmServer ¶
type HelmServer struct {
*testserver.HTTPServer
}
HelmServer is a Helm repository server for testing purposes. It can serve repository indexes and charts over HTTP/S.
func NewTempHelmServer ¶
func NewTempHelmServer() (*HelmServer, error)
NewTempHelmServer returns a HTTP HelmServer with a newly created temp dir as repository docroot.
func (*HelmServer) GenerateIndex ¶
func (s *HelmServer) GenerateIndex() error
GenerateIndex (re)generates the repository index.
func (*HelmServer) PackageChart ¶
func (s *HelmServer) PackageChart(path string) error
PackageChart attempts to package the chart at the given path, to be served by the HelmServer. It returns an error in case of a packaging failure.
func (*HelmServer) PackageChartWithVersion ¶
func (s *HelmServer) PackageChartWithVersion(path, version string) error
PackageChartWithVersion attempts to package the chart at the given path with the given version, to be served by the HelmServer. It returns an error in case of a packaging failure.
Click to show internal directories.
Click to hide internal directories.