Documentation ¶
Index ¶
- type Framework
- func (f *Framework) AfterAll()
- func (f *Framework) BeforeAll()
- func (f *Framework) CreateHelmChart(chart *v1.HelmChart, namespace string) (*v1.HelmChart, error)
- func (f *Framework) DeleteHelmChart(name, namespace string) error
- func (f *Framework) GetChartContent(url string) (string, error)
- func (f *Framework) GetHelmChart(name, namespace string) (*v1.HelmChart, error)
- func (f *Framework) GetHelmChartCondition(chart *v1.HelmChart, condition v1.HelmChartConditionType, ...) bool
- func (f *Framework) GetJob(chart *v1.HelmChart) (*batchv1.Job, error)
- func (f *Framework) ListHelmCharts(labelSelector, namespace string) (*v1.HelmChartList, error)
- func (f *Framework) NewHelmChart(name, chart, version, helmVersion, valuesContent string, ...) *v1.HelmChart
- func (f *Framework) UpdateHelmChart(chart *v1.HelmChart, namespace string) (updated *v1.HelmChart, err error)
- func (f *Framework) WaitForChartApp(chart *v1.HelmChart, appName string, timeout time.Duration, count int) (pods []corev1.Pod, err error)
- func (f *Framework) WaitForRelease(chart *v1.HelmChart, labelSelector labels.Selector, timeout time.Duration, ...) (secrets []corev1.Secret, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Framework ¶
type Framework struct { HelmClientSet *helmcln.Clientset ClientSet *kubernetes.Clientset Kubeconfig string Name string Namespace string PID int // contains filtered or unexported fields }
func (*Framework) CreateHelmChart ¶
func (*Framework) DeleteHelmChart ¶
func (*Framework) GetChartContent ¶ added in v0.15.8
GetChartContent returns the base64-encoded chart tarball, downloaded from the specified URL.
func (*Framework) GetHelmChart ¶
func (*Framework) GetHelmChartCondition ¶ added in v0.15.12
func (f *Framework) GetHelmChartCondition(chart *v1.HelmChart, condition v1.HelmChartConditionType, status corev1.ConditionStatus, reason string) bool
GetHelmChartCondition returns true if there is a condition on the chart matching the selected type, status, and reason
func (*Framework) ListHelmCharts ¶
func (f *Framework) ListHelmCharts(labelSelector, namespace string) (*v1.HelmChartList, error)
func (*Framework) NewHelmChart ¶
func (*Framework) UpdateHelmChart ¶
Click to show internal directories.
Click to hide internal directories.