Documentation ¶
Index ¶
Constants ¶
View Source
const ReleaseName = "draft"
ReleaseName is the name of the release used when installing/uninstalling draft via helm.
Variables ¶
View Source
var DefaultChartFiles = []*chartutil.BufferedFile{ { Name: chartutil.ChartfileName, Data: []byte(fmt.Sprintf(draftChart, version.Release)), }, { Name: chartutil.ValuesfileName, Data: []byte(fmt.Sprintf(draftValues, version.Release)), }, { Name: chartutil.IgnorefileName, Data: []byte(draftIgnore), }, { Name: path.Join(chartutil.TemplatesDir, chartutil.DeploymentName), Data: []byte(draftDeployment), }, { Name: path.Join(chartutil.TemplatesDir, chartutil.ServiceName), Data: []byte(draftService), }, { Name: path.Join(chartutil.TemplatesDir, chartutil.NotesName), Data: []byte(draftNotes), }, { Name: path.Join(chartutil.TemplatesDir, chartutil.HelpersName), Data: []byte(draftHelpers), }, }
DefaultChartFiles represent the default chart files relevant to a Draft chart installation
Functions ¶
Types ¶
type Installer ¶ added in v0.10.0
type Installer struct {
// contains filtered or unexported fields
}
Installer is the client used to install draftd into the kubernetes cluster via helm.
func New ¶ added in v0.10.0
func New(client helm.Interface, config *draftconfig.DraftConfig, namespace string) *Installer
New creates a new Installer
Click to show internal directories.
Click to hide internal directories.