Documentation ¶
Index ¶
- Constants
- func SaveChartPackage(ch *chart.Chart, dir string) (string, error)
- type Client
- func (c *Client) AddRepo(cfg *Config) error
- func (c *Client) PullChart(l logr.Logger, repoKey, chartName, version string) (string, *chart.Chart, error)
- func (c *Client) PushChart(l logr.Logger, repoKey, pkgPath string, ch *chart.Chart) error
- func (c *Client) RegistryConfig(name string) (*Config, error)
- type Config
- type CredentialsObjectReference
- type Option
- type PullOption
Constants ¶
View Source
const (
ReadWritePerm = 0777
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct { // TargetDir is the location where the downloaded chart is saved TargetDir string // contains filtered or unexported fields }
type Config ¶
type Config struct { Name string `yaml:"name" json:"name,omitempty"` URL string `yaml:"url" json:"url,omitempty"` Username string `yaml:"username" json:"username,omitempty"` Password string `yaml:"password" json:"password,omitempty"` AuthHeader string `yaml:"authHeader" json:"auth_header,omitempty"` CaFile string `yaml:"caFile" json:"ca_file,omitempty"` CertFile string `yaml:"certFile" json:"cert_file,omitempty"` KeyFile string `yaml:"keyFile" json:"key_file,omitempty"` InsecureSkipVerify bool `yaml:"insecureSkipVerify" json:"insecure_skip_verify,omitempty"` AccessToken string `yaml:"accessToken" json:"access_token,omitempty"` }
Config struct captures the configuration fields as per the repoAddOptions - https://github.com/helm/helm/blob/v3.1.2/cmd/helm/repo_add.go#L39
func GetHelmRepoConfig ¶ added in v0.4.0
func GetHelmRepoConfig(app *orkestrav1alpha1.Application, c client.Client) (*Config, error)
type CredentialsObjectReference ¶ added in v0.4.0
type PullOption ¶
Click to show internal directories.
Click to hide internal directories.