Documentation ¶
Index ¶
- Constants
- func GetHelmChartURI(chartName string) string
- func GetRenderedDeployments(ch *chart.Chart) ([]*appsv1.Deployment, error)
- func GetRenderedServices(ch *chart.Chart) ([]*typesv1.Service, error)
- func IsDeployment(dpl *appsv1.Deployment) bool
- func IsService(svc *typesv1.Service) bool
- func LoadChart(data []byte) (*chart.Chart, error)
- func LoadChartFromPath(path string) (*chart.Chart, error)
- func NewChartPackager() *chartPackager
- func NewChartRetriever(resourceHandler *goutils.ResourceHandler) *chartRetriever
- func NewChartStorer(resourceHandler *goutils.ResourceHandler) *chartStorer
- type RetrieveChartOptions
- type StoreChartOptions
Constants ¶
View Source
const ErrPackageChartMsg = "Error when packaging chart: %s"
Variables ¶
This section is empty.
Functions ¶
func GetHelmChartURI ¶
func GetRenderedDeployments ¶
func GetRenderedDeployments(ch *chart.Chart) ([]*appsv1.Deployment, error)
GetRenderedDeployments returns all deployments contained in the provided chart
func GetRenderedServices ¶
GetRenderedServices returns all services contained in the provided chart
func IsDeployment ¶
func IsDeployment(dpl *appsv1.Deployment) bool
IsDeployment tests whether the provided struct is a deployment
func LoadChartFromPath ¶
LoadChartFromPath loads a directory or Helm chart into a Chart
func NewChartPackager ¶
func NewChartPackager() *chartPackager
NewChartPackager creates a new chartPackager instance
func NewChartRetriever ¶
func NewChartRetriever(resourceHandler *goutils.ResourceHandler) *chartRetriever
NewChartRetriever creates a new chartRetriever instance
func NewChartStorer ¶
func NewChartStorer(resourceHandler *goutils.ResourceHandler) *chartStorer
NewChartStorer creates a new chartStorer instance
Types ¶
Click to show internal directories.
Click to hide internal directories.