helm_test

package
v2.1.111 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StubFetchChart

func StubFetchChart(name string, version string, repo string, chartToCreate *chart.Chart, mockHelmer *MockHelmer)

StubFetchChart stubs out the FetchChart operations on MockHelmer creating the chart.

Types

type MockHelmer

type MockHelmer struct {
	// contains filtered or unexported fields
}

func NewMockHelmer

func NewMockHelmer(options ...pegomock.Option) *MockHelmer

func (*MockHelmer) AddRepo

func (mock *MockHelmer) AddRepo(_param0 string, _param1 string, _param2 string, _param3 string) error

func (*MockHelmer) BuildDependency

func (mock *MockHelmer) BuildDependency() error

func (*MockHelmer) DecryptSecrets

func (mock *MockHelmer) DecryptSecrets(_param0 string) error

func (*MockHelmer) DeleteRelease

func (mock *MockHelmer) DeleteRelease(_param0 string, _param1 string, _param2 bool) error

func (*MockHelmer) Env

func (mock *MockHelmer) Env() map[string]string

func (*MockHelmer) FailHandler

func (mock *MockHelmer) FailHandler() pegomock.FailHandler

func (*MockHelmer) FetchChart

func (mock *MockHelmer) FetchChart(_param0 string, _param1 string, _param2 bool, _param3 string, _param4 string, _param5 string, _param6 string) error

func (*MockHelmer) FindChart

func (mock *MockHelmer) FindChart() (string, error)

func (*MockHelmer) HelmBinary

func (mock *MockHelmer) HelmBinary() string

func (*MockHelmer) Init

func (mock *MockHelmer) Init(_param0 bool, _param1 string, _param2 string, _param3 bool) error

func (*MockHelmer) InstallChart

func (mock *MockHelmer) InstallChart(_param0 string, _param1 string, _param2 string, _param3 string, _param4 int, _param5 []string, _param6 []string, _param7 []string, _param8 string, _param9 string, _param10 string) error

func (*MockHelmer) IsRepoMissing

func (mock *MockHelmer) IsRepoMissing(_param0 string) (bool, string, error)

func (*MockHelmer) Lint

func (mock *MockHelmer) Lint(_param0 []string) (string, error)

func (*MockHelmer) ListReleases

func (mock *MockHelmer) ListReleases(_param0 string) (map[string]helm.ReleaseSummary, []string, error)

func (*MockHelmer) ListRepos

func (mock *MockHelmer) ListRepos() (map[string]string, error)

func (*MockHelmer) PackageChart

func (mock *MockHelmer) PackageChart() error

func (*MockHelmer) RemoveRepo

func (mock *MockHelmer) RemoveRepo(_param0 string) error

func (*MockHelmer) RemoveRequirementsLock

func (mock *MockHelmer) RemoveRequirementsLock() error

func (*MockHelmer) SearchCharts

func (mock *MockHelmer) SearchCharts(_param0 string, _param1 bool) ([]helm.ChartSummary, error)

func (*MockHelmer) SetCWD

func (mock *MockHelmer) SetCWD(_param0 string)

func (*MockHelmer) SetFailHandler

func (mock *MockHelmer) SetFailHandler(fh pegomock.FailHandler)

func (*MockHelmer) SetHelmBinary

func (mock *MockHelmer) SetHelmBinary(_param0 string)

func (*MockHelmer) SetHost

func (mock *MockHelmer) SetHost(_param0 string)

func (*MockHelmer) StatusRelease

func (mock *MockHelmer) StatusRelease(_param0 string, _param1 string) error

func (*MockHelmer) StatusReleaseWithOutput

func (mock *MockHelmer) StatusReleaseWithOutput(_param0 string, _param1 string, _param2 string) (string, error)

func (*MockHelmer) Template

func (mock *MockHelmer) Template(_param0 string, _param1 string, _param2 string, _param3 string, _param4 bool, _param5 []string, _param6 []string, _param7 []string) error

func (*MockHelmer) UpdateRepo

func (mock *MockHelmer) UpdateRepo() error

func (*MockHelmer) UpgradeChart

func (mock *MockHelmer) UpgradeChart(_param0 string, _param1 string, _param2 string, _param3 string, _param4 bool, _param5 int, _param6 bool, _param7 bool, _param8 []string, _param9 []string, _param10 []string, _param11 string, _param12 string, _param13 string) error

func (*MockHelmer) VerifyWasCalled

func (mock *MockHelmer) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockHelmer

func (*MockHelmer) VerifyWasCalledEventually

func (mock *MockHelmer) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockHelmer

func (*MockHelmer) VerifyWasCalledInOrder

func (mock *MockHelmer) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierMockHelmer

func (*MockHelmer) VerifyWasCalledOnce

func (mock *MockHelmer) VerifyWasCalledOnce() *VerifierMockHelmer

func (*MockHelmer) Version

func (mock *MockHelmer) Version(_param0 bool) (string, error)

type MockHelmer_AddRepo_OngoingVerification

type MockHelmer_AddRepo_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockHelmer_AddRepo_OngoingVerification) GetAllCapturedArguments

func (c *MockHelmer_AddRepo_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []string, _param3 []string)

func (*MockHelmer_AddRepo_OngoingVerification) GetCapturedArguments

func (c *MockHelmer_AddRepo_OngoingVerification) GetCapturedArguments() (string, string, string, string)

type MockHelmer_BuildDependency_OngoingVerification

type MockHelmer_BuildDependency_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockHelmer_BuildDependency_OngoingVerification) GetAllCapturedArguments

func (c *MockHelmer_BuildDependency_OngoingVerification) GetAllCapturedArguments()

func (*MockHelmer_BuildDependency_OngoingVerification) GetCapturedArguments

func (c *MockHelmer_BuildDependency_OngoingVerification) GetCapturedArguments()

type MockHelmer_DecryptSecrets_OngoingVerification

type MockHelmer_DecryptSecrets_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockHelmer_DecryptSecrets_OngoingVerification) GetAllCapturedArguments

func (c *MockHelmer_DecryptSecrets_OngoingVerification) GetAllCapturedArguments() (_param0 []string)

func (*MockHelmer_DecryptSecrets_OngoingVerification) GetCapturedArguments

func (c *MockHelmer_DecryptSecrets_OngoingVerification) GetCapturedArguments() string

type MockHelmer_DeleteRelease_OngoingVerification

type MockHelmer_DeleteRelease_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockHelmer_DeleteRelease_OngoingVerification) GetAllCapturedArguments

func (c *MockHelmer_DeleteRelease_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []bool)

func (*MockHelmer_DeleteRelease_OngoingVerification) GetCapturedArguments

func (c *MockHelmer_DeleteRelease_OngoingVerification) GetCapturedArguments() (string, string, bool)

type MockHelmer_Env_OngoingVerification

type MockHelmer_Env_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockHelmer_Env_OngoingVerification) GetAllCapturedArguments

func (c *MockHelmer_Env_OngoingVerification) GetAllCapturedArguments()

func (*MockHelmer_Env_OngoingVerification) GetCapturedArguments

func (c *MockHelmer_Env_OngoingVerification) GetCapturedArguments()

type MockHelmer_FetchChart_OngoingVerification

type MockHelmer_FetchChart_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockHelmer_FetchChart_OngoingVerification) GetAllCapturedArguments

func (c *MockHelmer_FetchChart_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []bool, _param3 []string, _param4 []string, _param5 []string, _param6 []string)

func (*MockHelmer_FetchChart_OngoingVerification) GetCapturedArguments

type MockHelmer_FindChart_OngoingVerification

type MockHelmer_FindChart_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockHelmer_FindChart_OngoingVerification) GetAllCapturedArguments

func (c *MockHelmer_FindChart_OngoingVerification) GetAllCapturedArguments()

func (*MockHelmer_FindChart_OngoingVerification) GetCapturedArguments

func (c *MockHelmer_FindChart_OngoingVerification) GetCapturedArguments()

type MockHelmer_HelmBinary_OngoingVerification

type MockHelmer_HelmBinary_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockHelmer_HelmBinary_OngoingVerification) GetAllCapturedArguments

func (c *MockHelmer_HelmBinary_OngoingVerification) GetAllCapturedArguments()

func (*MockHelmer_HelmBinary_OngoingVerification) GetCapturedArguments

func (c *MockHelmer_HelmBinary_OngoingVerification) GetCapturedArguments()

type MockHelmer_Init_OngoingVerification

type MockHelmer_Init_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockHelmer_Init_OngoingVerification) GetAllCapturedArguments

func (c *MockHelmer_Init_OngoingVerification) GetAllCapturedArguments() (_param0 []bool, _param1 []string, _param2 []string, _param3 []bool)

func (*MockHelmer_Init_OngoingVerification) GetCapturedArguments

func (c *MockHelmer_Init_OngoingVerification) GetCapturedArguments() (bool, string, string, bool)

type MockHelmer_InstallChart_OngoingVerification

type MockHelmer_InstallChart_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockHelmer_InstallChart_OngoingVerification) GetAllCapturedArguments

func (c *MockHelmer_InstallChart_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []string, _param3 []string, _param4 []int, _param5 [][]string, _param6 [][]string, _param7 [][]string, _param8 []string, _param9 []string, _param10 []string)

func (*MockHelmer_InstallChart_OngoingVerification) GetCapturedArguments

type MockHelmer_IsRepoMissing_OngoingVerification

type MockHelmer_IsRepoMissing_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockHelmer_IsRepoMissing_OngoingVerification) GetAllCapturedArguments

func (c *MockHelmer_IsRepoMissing_OngoingVerification) GetAllCapturedArguments() (_param0 []string)

func (*MockHelmer_IsRepoMissing_OngoingVerification) GetCapturedArguments

func (c *MockHelmer_IsRepoMissing_OngoingVerification) GetCapturedArguments() string

type MockHelmer_Lint_OngoingVerification

type MockHelmer_Lint_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockHelmer_Lint_OngoingVerification) GetAllCapturedArguments

func (c *MockHelmer_Lint_OngoingVerification) GetAllCapturedArguments() (_param0 [][]string)

func (*MockHelmer_Lint_OngoingVerification) GetCapturedArguments

func (c *MockHelmer_Lint_OngoingVerification) GetCapturedArguments() []string

type MockHelmer_ListReleases_OngoingVerification

type MockHelmer_ListReleases_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockHelmer_ListReleases_OngoingVerification) GetAllCapturedArguments

func (c *MockHelmer_ListReleases_OngoingVerification) GetAllCapturedArguments() (_param0 []string)

func (*MockHelmer_ListReleases_OngoingVerification) GetCapturedArguments

func (c *MockHelmer_ListReleases_OngoingVerification) GetCapturedArguments() string

type MockHelmer_ListRepos_OngoingVerification

type MockHelmer_ListRepos_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockHelmer_ListRepos_OngoingVerification) GetAllCapturedArguments

func (c *MockHelmer_ListRepos_OngoingVerification) GetAllCapturedArguments()

func (*MockHelmer_ListRepos_OngoingVerification) GetCapturedArguments

func (c *MockHelmer_ListRepos_OngoingVerification) GetCapturedArguments()

type MockHelmer_PackageChart_OngoingVerification

type MockHelmer_PackageChart_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockHelmer_PackageChart_OngoingVerification) GetAllCapturedArguments

func (c *MockHelmer_PackageChart_OngoingVerification) GetAllCapturedArguments()

func (*MockHelmer_PackageChart_OngoingVerification) GetCapturedArguments

func (c *MockHelmer_PackageChart_OngoingVerification) GetCapturedArguments()

type MockHelmer_RemoveRepo_OngoingVerification

type MockHelmer_RemoveRepo_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockHelmer_RemoveRepo_OngoingVerification) GetAllCapturedArguments

func (c *MockHelmer_RemoveRepo_OngoingVerification) GetAllCapturedArguments() (_param0 []string)

func (*MockHelmer_RemoveRepo_OngoingVerification) GetCapturedArguments

func (c *MockHelmer_RemoveRepo_OngoingVerification) GetCapturedArguments() string

type MockHelmer_RemoveRequirementsLock_OngoingVerification

type MockHelmer_RemoveRequirementsLock_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockHelmer_RemoveRequirementsLock_OngoingVerification) GetAllCapturedArguments

func (c *MockHelmer_RemoveRequirementsLock_OngoingVerification) GetAllCapturedArguments()

func (*MockHelmer_RemoveRequirementsLock_OngoingVerification) GetCapturedArguments

type MockHelmer_SearchCharts_OngoingVerification

type MockHelmer_SearchCharts_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockHelmer_SearchCharts_OngoingVerification) GetAllCapturedArguments

func (c *MockHelmer_SearchCharts_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []bool)

func (*MockHelmer_SearchCharts_OngoingVerification) GetCapturedArguments

func (c *MockHelmer_SearchCharts_OngoingVerification) GetCapturedArguments() (string, bool)

type MockHelmer_SetCWD_OngoingVerification

type MockHelmer_SetCWD_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockHelmer_SetCWD_OngoingVerification) GetAllCapturedArguments

func (c *MockHelmer_SetCWD_OngoingVerification) GetAllCapturedArguments() (_param0 []string)

func (*MockHelmer_SetCWD_OngoingVerification) GetCapturedArguments

func (c *MockHelmer_SetCWD_OngoingVerification) GetCapturedArguments() string

type MockHelmer_SetHelmBinary_OngoingVerification

type MockHelmer_SetHelmBinary_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockHelmer_SetHelmBinary_OngoingVerification) GetAllCapturedArguments

func (c *MockHelmer_SetHelmBinary_OngoingVerification) GetAllCapturedArguments() (_param0 []string)

func (*MockHelmer_SetHelmBinary_OngoingVerification) GetCapturedArguments

func (c *MockHelmer_SetHelmBinary_OngoingVerification) GetCapturedArguments() string

type MockHelmer_SetHost_OngoingVerification

type MockHelmer_SetHost_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockHelmer_SetHost_OngoingVerification) GetAllCapturedArguments

func (c *MockHelmer_SetHost_OngoingVerification) GetAllCapturedArguments() (_param0 []string)

func (*MockHelmer_SetHost_OngoingVerification) GetCapturedArguments

func (c *MockHelmer_SetHost_OngoingVerification) GetCapturedArguments() string

type MockHelmer_StatusReleaseWithOutput_OngoingVerification

type MockHelmer_StatusReleaseWithOutput_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockHelmer_StatusReleaseWithOutput_OngoingVerification) GetAllCapturedArguments

func (c *MockHelmer_StatusReleaseWithOutput_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []string)

func (*MockHelmer_StatusReleaseWithOutput_OngoingVerification) GetCapturedArguments

type MockHelmer_StatusRelease_OngoingVerification

type MockHelmer_StatusRelease_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockHelmer_StatusRelease_OngoingVerification) GetAllCapturedArguments

func (c *MockHelmer_StatusRelease_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string)

func (*MockHelmer_StatusRelease_OngoingVerification) GetCapturedArguments

func (c *MockHelmer_StatusRelease_OngoingVerification) GetCapturedArguments() (string, string)

type MockHelmer_Template_OngoingVerification

type MockHelmer_Template_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockHelmer_Template_OngoingVerification) GetAllCapturedArguments

func (c *MockHelmer_Template_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []string, _param3 []string, _param4 []bool, _param5 [][]string, _param6 [][]string, _param7 [][]string)

func (*MockHelmer_Template_OngoingVerification) GetCapturedArguments

func (c *MockHelmer_Template_OngoingVerification) GetCapturedArguments() (string, string, string, string, bool, []string, []string, []string)

type MockHelmer_UpdateRepo_OngoingVerification

type MockHelmer_UpdateRepo_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockHelmer_UpdateRepo_OngoingVerification) GetAllCapturedArguments

func (c *MockHelmer_UpdateRepo_OngoingVerification) GetAllCapturedArguments()

func (*MockHelmer_UpdateRepo_OngoingVerification) GetCapturedArguments

func (c *MockHelmer_UpdateRepo_OngoingVerification) GetCapturedArguments()

type MockHelmer_UpgradeChart_OngoingVerification

type MockHelmer_UpgradeChart_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockHelmer_UpgradeChart_OngoingVerification) GetAllCapturedArguments

func (c *MockHelmer_UpgradeChart_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []string, _param3 []string, _param4 []bool, _param5 []int, _param6 []bool, _param7 []bool, _param8 [][]string, _param9 [][]string, _param10 [][]string, _param11 []string, _param12 []string, _param13 []string)

func (*MockHelmer_UpgradeChart_OngoingVerification) GetCapturedArguments

type MockHelmer_Version_OngoingVerification

type MockHelmer_Version_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockHelmer_Version_OngoingVerification) GetAllCapturedArguments

func (c *MockHelmer_Version_OngoingVerification) GetAllCapturedArguments() (_param0 []bool)

func (*MockHelmer_Version_OngoingVerification) GetCapturedArguments

func (c *MockHelmer_Version_OngoingVerification) GetCapturedArguments() bool

type VerifierMockHelmer

type VerifierMockHelmer struct {
	// contains filtered or unexported fields
}

func (*VerifierMockHelmer) AddRepo

func (verifier *VerifierMockHelmer) AddRepo(_param0 string, _param1 string, _param2 string, _param3 string) *MockHelmer_AddRepo_OngoingVerification

func (*VerifierMockHelmer) BuildDependency

func (*VerifierMockHelmer) DecryptSecrets

func (verifier *VerifierMockHelmer) DecryptSecrets(_param0 string) *MockHelmer_DecryptSecrets_OngoingVerification

func (*VerifierMockHelmer) DeleteRelease

func (verifier *VerifierMockHelmer) DeleteRelease(_param0 string, _param1 string, _param2 bool) *MockHelmer_DeleteRelease_OngoingVerification

func (*VerifierMockHelmer) Env

func (*VerifierMockHelmer) FetchChart

func (verifier *VerifierMockHelmer) FetchChart(_param0 string, _param1 string, _param2 bool, _param3 string, _param4 string, _param5 string, _param6 string) *MockHelmer_FetchChart_OngoingVerification

func (*VerifierMockHelmer) FindChart

func (*VerifierMockHelmer) HelmBinary

func (*VerifierMockHelmer) Init

func (verifier *VerifierMockHelmer) Init(_param0 bool, _param1 string, _param2 string, _param3 bool) *MockHelmer_Init_OngoingVerification

func (*VerifierMockHelmer) InstallChart

func (verifier *VerifierMockHelmer) InstallChart(_param0 string, _param1 string, _param2 string, _param3 string, _param4 int, _param5 []string, _param6 []string, _param7 []string, _param8 string, _param9 string, _param10 string) *MockHelmer_InstallChart_OngoingVerification

func (*VerifierMockHelmer) IsRepoMissing

func (*VerifierMockHelmer) Lint

func (*VerifierMockHelmer) ListReleases

func (*VerifierMockHelmer) ListRepos

func (*VerifierMockHelmer) PackageChart

func (*VerifierMockHelmer) RemoveRepo

func (*VerifierMockHelmer) RemoveRequirementsLock

func (*VerifierMockHelmer) SearchCharts

func (verifier *VerifierMockHelmer) SearchCharts(_param0 string, _param1 bool) *MockHelmer_SearchCharts_OngoingVerification

func (*VerifierMockHelmer) SetCWD

func (*VerifierMockHelmer) SetHelmBinary

func (*VerifierMockHelmer) SetHost

func (*VerifierMockHelmer) StatusRelease

func (verifier *VerifierMockHelmer) StatusRelease(_param0 string, _param1 string) *MockHelmer_StatusRelease_OngoingVerification

func (*VerifierMockHelmer) StatusReleaseWithOutput

func (verifier *VerifierMockHelmer) StatusReleaseWithOutput(_param0 string, _param1 string, _param2 string) *MockHelmer_StatusReleaseWithOutput_OngoingVerification

func (*VerifierMockHelmer) Template

func (verifier *VerifierMockHelmer) Template(_param0 string, _param1 string, _param2 string, _param3 string, _param4 bool, _param5 []string, _param6 []string, _param7 []string) *MockHelmer_Template_OngoingVerification

func (*VerifierMockHelmer) UpdateRepo

func (*VerifierMockHelmer) UpgradeChart

func (verifier *VerifierMockHelmer) UpgradeChart(_param0 string, _param1 string, _param2 string, _param3 string, _param4 bool, _param5 int, _param6 bool, _param7 bool, _param8 []string, _param9 []string, _param10 []string, _param11 string, _param12 string, _param13 string) *MockHelmer_UpgradeChart_OngoingVerification

func (*VerifierMockHelmer) Version

Jump to

Keyboard shortcuts

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