framework

package
v0.11.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChartCRD

func ChartCRD() (*crd.CRD, error)

func ConfigCRD

func ConfigCRD() (*crd.CRD, error)

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 New

func New() (*Framework, error)

func (*Framework) AfterSuite

func (f *Framework) AfterSuite()

func (*Framework) BeforeSuite

func (f *Framework) BeforeSuite()

func (*Framework) CreateHelmChart

func (f *Framework) CreateHelmChart(chart *helmapiv1.HelmChart, namespace string) (*helmapiv1.HelmChart, error)

func (*Framework) DeleteHelmChart

func (f *Framework) DeleteHelmChart(name, namespace string) error

func (*Framework) GetHelmChart

func (f *Framework) GetHelmChart(name, namespace string) (*helmapiv1.HelmChart, error)

func (*Framework) ListHelmCharts

func (f *Framework) ListHelmCharts(labelSelector, namespace string) (*helmapiv1.HelmChartList, error)

func (*Framework) NewHelmChart

func (f *Framework) NewHelmChart(name, chart, version, helmVersion string, set map[string]intstr.IntOrString) *helmapiv1.HelmChart

func (*Framework) UpdateHelmChart

func (f *Framework) UpdateHelmChart(chart *helmapiv1.HelmChart, namespace string) (updated *helmapiv1.HelmChart, err error)

func (*Framework) WaitForChartApp

func (f *Framework) WaitForChartApp(chart *helmapiv1.HelmChart, appName string, timeout time.Duration, count int) (pods []corev1.Pod, err error)

WaitForChartApp will check the for pods created by the chart

func (*Framework) WaitForRelease

func (f *Framework) WaitForRelease(chart *helmapiv1.HelmChart, labelSelector labels.Selector, timeout time.Duration, count int) (secrets []corev1.Secret, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL