Documentation ¶
Index ¶
- Constants
- func MergeValueBytes(base []byte, override []byte) ([]byte, error)
- func RenderJsonnetTemplate(template string, data map[string][]map[string]interface{}) (string, error)
- type Bind
- type ChartValidationError
- type HelmClientFactory
- type Installer
- type InstallerFactory
- type MyChart
- func (c *MyChart) EnsureGlobalImageRegistry(rawVals map[string]interface{}) map[string]interface{}
- func (c *MyChart) LoadChartValues() error
- func (c *MyChart) OverrideImageSources(rawVals map[string]interface{}) (map[string]interface{}, error)
- func (c *MyChart) SetPlanDefaultValues(plan *Plan)
- func (c *MyChart) String() string
- type MyHelmClient
- type Plan
Constants ¶
View Source
const (
TillerTag string = "v2.16.1"
)
Variables ¶
This section is empty.
Functions ¶
func MergeValueBytes ¶ added in v0.2.43
Types ¶
type ChartValidationError ¶
type ChartValidationError struct {
// contains filtered or unexported fields
}
func NewChartValidationError ¶
func NewChartValidationError(err error) *ChartValidationError
type HelmClientFactory ¶
type HelmClientFactory interface {
HelmClient(cluster k8s.Cluster) MyHelmClient
}
func NewHelmClientFactory ¶
func NewHelmClientFactory(tlsConf *config.HelmTLSConfig, namespace string, logger *logrus.Logger) HelmClientFactory
type InstallerFactory ¶
type MyChart ¶
type MyChart struct { chart.Chart PrivateRegistryServer string `json:"privateRegistryServer"` TransformedValues []byte `json:"transformedValues"` BindTemplate string `json:"bindTemplate"` Plans map[string]Plan `json:"plans"` ChartPath string `json:"chartPath"` }
func (*MyChart) EnsureGlobalImageRegistry ¶ added in v0.2.41
func (*MyChart) LoadChartValues ¶
func (*MyChart) OverrideImageSources ¶
func (*MyChart) SetPlanDefaultValues ¶
type MyHelmClient ¶
type MyHelmClient interface { helm.Interface ResourceReadiness(namespace string, cluster k8s.Cluster) (*string, hapi_release.Status_Code, error) Install(*helmstaller.Options) error Upgrade(*helmstaller.Options) error Uninstall(*helmstaller.Options) error InstallChart(registryConfig *config.RegistryConfig, namespace api_v1.Namespace, releaseName string, chart *MyChart, planName string, installValues []byte, opts ...helm.InstallOption) (*rls.InstallReleaseResponse, error) InstallOperator(chart *MyChart, namespace string) (*rls.InstallReleaseResponse, error) UpdateChart(chart *MyChart, rlsName string, planName string, updateValues []byte) (*rls.UpdateReleaseResponse, error) HasDifferentTLSConfig() bool PrintStatus(out io.Writer, deploymentName string) error RenderTemplatedValues(releaseOptions chartutil.ReleaseOptions, inputValues []byte, chart chart.Chart) ([]byte, error) }
func NewMyHelmClient ¶
func NewMyHelmClient(cluster k8s.Cluster, tlsConf *config.HelmTLSConfig, namespace string, logger *logrus.Logger) MyHelmClient
type Plan ¶
type Plan struct { Name string `json:"name" json:"name"` Description string `json:"description" json:"description"` Bullets []string `json:"bullets" json:"bullets"` File string `json:"file" json:"file"` Free *bool `json:"free,omitempty" json:"free"` Bindable *bool `json:"bindable,omitempty" json:"bindable"` CredentialsPath string `json:"credentials" json:"credentialsPath"` Values []byte `json:"values"` ClusterConfig *k8sAPI.Config `json:"clusterConfig"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.