Documentation
¶
Overview ¶
Package deploy installs a Podplane app template onto a Kubernetes cluster by rendering values and invoking Helm against a cached chart.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Logs ¶
func Logs(opts LogsOptions) error
Logs invokes `kubectl logs --follow` for pods belonging to the named app.
func Remove ¶
func Remove(opts RemoveOptions) error
Remove invokes `helm uninstall` for the named release.
Types ¶
type Chart ¶
type Chart struct {
Path string
Template deps.TemplateChart
}
Chart is a resolved template chart in the local dependency cache.
func EnsureChart ¶
func EnsureChart(c *config.Config, template string, wrap func(download func(progress func(deps.DownloadEvent)) error) error) (Chart, error)
EnsureChart returns the local Helm chart path for template, downloading dependencies first when the chart is missing from the cache. wrap, if non-nil, brackets the download call so callers can render a UI around it; it receives the download function to invoke with a progress callback.
type LogsOptions ¶
LogsOptions controls log streaming for a deployed app.