fluxfakes

package
v0.6.2-patch2 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeFlux

type FakeFlux struct {
	CreateHelmReleaseGitRepositoryStub func(string, string, string, string, string) ([]byte, error)

	CreateHelmReleaseHelmRepositoryStub func(string, string, string, string) ([]byte, error)

	CreateKustomizationStub func(string, string, string, string) ([]byte, error)

	CreateSecretGitStub func(string, gitproviders.RepoURL, string) ([]byte, error)

	CreateSourceGitStub func(string, gitproviders.RepoURL, string, string, string) ([]byte, error)

	CreateSourceHelmStub func(string, string, string) ([]byte, error)

	GetAllResourcesStatusStub func(string, string) ([]byte, error)

	GetBinPathStub func() (string, error)

	GetExePathStub func() (string, error)

	GetLatestStatusAllNamespacesStub func() ([]string, error)

	GetVersionStub func() (string, error)

	InstallStub func(string, bool) ([]byte, error)

	PreCheckStub func() (string, error)

	SetupBinStub func()

	SuspendOrResumeAppStub func(v1alpha1.SuspendActionType, string, string, string) ([]byte, error)

	UninstallStub func(string, bool) error
	// contains filtered or unexported fields
}

func (*FakeFlux) CreateHelmReleaseGitRepository

func (fake *FakeFlux) CreateHelmReleaseGitRepository(arg1 string, arg2 string, arg3 string, arg4 string, arg5 string) ([]byte, error)

func (*FakeFlux) CreateHelmReleaseGitRepositoryArgsForCall

func (fake *FakeFlux) CreateHelmReleaseGitRepositoryArgsForCall(i int) (string, string, string, string, string)

func (*FakeFlux) CreateHelmReleaseGitRepositoryCallCount

func (fake *FakeFlux) CreateHelmReleaseGitRepositoryCallCount() int

func (*FakeFlux) CreateHelmReleaseGitRepositoryCalls

func (fake *FakeFlux) CreateHelmReleaseGitRepositoryCalls(stub func(string, string, string, string, string) ([]byte, error))

func (*FakeFlux) CreateHelmReleaseGitRepositoryReturns

func (fake *FakeFlux) CreateHelmReleaseGitRepositoryReturns(result1 []byte, result2 error)

func (*FakeFlux) CreateHelmReleaseGitRepositoryReturnsOnCall

func (fake *FakeFlux) CreateHelmReleaseGitRepositoryReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeFlux) CreateHelmReleaseHelmRepository

func (fake *FakeFlux) CreateHelmReleaseHelmRepository(arg1 string, arg2 string, arg3 string, arg4 string) ([]byte, error)

func (*FakeFlux) CreateHelmReleaseHelmRepositoryArgsForCall

func (fake *FakeFlux) CreateHelmReleaseHelmRepositoryArgsForCall(i int) (string, string, string, string)

func (*FakeFlux) CreateHelmReleaseHelmRepositoryCallCount

func (fake *FakeFlux) CreateHelmReleaseHelmRepositoryCallCount() int

func (*FakeFlux) CreateHelmReleaseHelmRepositoryCalls

func (fake *FakeFlux) CreateHelmReleaseHelmRepositoryCalls(stub func(string, string, string, string) ([]byte, error))

func (*FakeFlux) CreateHelmReleaseHelmRepositoryReturns

func (fake *FakeFlux) CreateHelmReleaseHelmRepositoryReturns(result1 []byte, result2 error)

func (*FakeFlux) CreateHelmReleaseHelmRepositoryReturnsOnCall

func (fake *FakeFlux) CreateHelmReleaseHelmRepositoryReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeFlux) CreateKustomization

func (fake *FakeFlux) CreateKustomization(arg1 string, arg2 string, arg3 string, arg4 string) ([]byte, error)

func (*FakeFlux) CreateKustomizationArgsForCall

func (fake *FakeFlux) CreateKustomizationArgsForCall(i int) (string, string, string, string)

func (*FakeFlux) CreateKustomizationCallCount

func (fake *FakeFlux) CreateKustomizationCallCount() int

func (*FakeFlux) CreateKustomizationCalls

func (fake *FakeFlux) CreateKustomizationCalls(stub func(string, string, string, string) ([]byte, error))

func (*FakeFlux) CreateKustomizationReturns

func (fake *FakeFlux) CreateKustomizationReturns(result1 []byte, result2 error)

func (*FakeFlux) CreateKustomizationReturnsOnCall

func (fake *FakeFlux) CreateKustomizationReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeFlux) CreateSecretGit

func (fake *FakeFlux) CreateSecretGit(arg1 string, arg2 gitproviders.RepoURL, arg3 string) ([]byte, error)

func (*FakeFlux) CreateSecretGitArgsForCall

func (fake *FakeFlux) CreateSecretGitArgsForCall(i int) (string, gitproviders.RepoURL, string)

func (*FakeFlux) CreateSecretGitCallCount

func (fake *FakeFlux) CreateSecretGitCallCount() int

func (*FakeFlux) CreateSecretGitCalls

func (fake *FakeFlux) CreateSecretGitCalls(stub func(string, gitproviders.RepoURL, string) ([]byte, error))

func (*FakeFlux) CreateSecretGitReturns

func (fake *FakeFlux) CreateSecretGitReturns(result1 []byte, result2 error)

func (*FakeFlux) CreateSecretGitReturnsOnCall

func (fake *FakeFlux) CreateSecretGitReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeFlux) CreateSourceGit

func (fake *FakeFlux) CreateSourceGit(arg1 string, arg2 gitproviders.RepoURL, arg3 string, arg4 string, arg5 string) ([]byte, error)

func (*FakeFlux) CreateSourceGitArgsForCall

func (fake *FakeFlux) CreateSourceGitArgsForCall(i int) (string, gitproviders.RepoURL, string, string, string)

func (*FakeFlux) CreateSourceGitCallCount

func (fake *FakeFlux) CreateSourceGitCallCount() int

func (*FakeFlux) CreateSourceGitCalls

func (fake *FakeFlux) CreateSourceGitCalls(stub func(string, gitproviders.RepoURL, string, string, string) ([]byte, error))

func (*FakeFlux) CreateSourceGitReturns

func (fake *FakeFlux) CreateSourceGitReturns(result1 []byte, result2 error)

func (*FakeFlux) CreateSourceGitReturnsOnCall

func (fake *FakeFlux) CreateSourceGitReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeFlux) CreateSourceHelm

func (fake *FakeFlux) CreateSourceHelm(arg1 string, arg2 string, arg3 string) ([]byte, error)

func (*FakeFlux) CreateSourceHelmArgsForCall

func (fake *FakeFlux) CreateSourceHelmArgsForCall(i int) (string, string, string)

func (*FakeFlux) CreateSourceHelmCallCount

func (fake *FakeFlux) CreateSourceHelmCallCount() int

func (*FakeFlux) CreateSourceHelmCalls

func (fake *FakeFlux) CreateSourceHelmCalls(stub func(string, string, string) ([]byte, error))

func (*FakeFlux) CreateSourceHelmReturns

func (fake *FakeFlux) CreateSourceHelmReturns(result1 []byte, result2 error)

func (*FakeFlux) CreateSourceHelmReturnsOnCall

func (fake *FakeFlux) CreateSourceHelmReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeFlux) GetAllResourcesStatus added in v0.2.1

func (fake *FakeFlux) GetAllResourcesStatus(arg1 string, arg2 string) ([]byte, error)

func (*FakeFlux) GetAllResourcesStatusArgsForCall added in v0.2.1

func (fake *FakeFlux) GetAllResourcesStatusArgsForCall(i int) (string, string)

func (*FakeFlux) GetAllResourcesStatusCallCount added in v0.2.1

func (fake *FakeFlux) GetAllResourcesStatusCallCount() int

func (*FakeFlux) GetAllResourcesStatusCalls added in v0.2.1

func (fake *FakeFlux) GetAllResourcesStatusCalls(stub func(string, string) ([]byte, error))

func (*FakeFlux) GetAllResourcesStatusReturns added in v0.2.1

func (fake *FakeFlux) GetAllResourcesStatusReturns(result1 []byte, result2 error)

func (*FakeFlux) GetAllResourcesStatusReturnsOnCall added in v0.2.1

func (fake *FakeFlux) GetAllResourcesStatusReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeFlux) GetBinPath added in v0.2.2

func (fake *FakeFlux) GetBinPath() (string, error)

func (*FakeFlux) GetBinPathCallCount added in v0.2.2

func (fake *FakeFlux) GetBinPathCallCount() int

func (*FakeFlux) GetBinPathCalls added in v0.2.2

func (fake *FakeFlux) GetBinPathCalls(stub func() (string, error))

func (*FakeFlux) GetBinPathReturns added in v0.2.2

func (fake *FakeFlux) GetBinPathReturns(result1 string, result2 error)

func (*FakeFlux) GetBinPathReturnsOnCall added in v0.2.2

func (fake *FakeFlux) GetBinPathReturnsOnCall(i int, result1 string, result2 error)

func (*FakeFlux) GetExePath added in v0.2.2

func (fake *FakeFlux) GetExePath() (string, error)

func (*FakeFlux) GetExePathCallCount added in v0.2.2

func (fake *FakeFlux) GetExePathCallCount() int

func (*FakeFlux) GetExePathCalls added in v0.2.2

func (fake *FakeFlux) GetExePathCalls(stub func() (string, error))

func (*FakeFlux) GetExePathReturns added in v0.2.2

func (fake *FakeFlux) GetExePathReturns(result1 string, result2 error)

func (*FakeFlux) GetExePathReturnsOnCall added in v0.2.2

func (fake *FakeFlux) GetExePathReturnsOnCall(i int, result1 string, result2 error)

func (*FakeFlux) GetLatestStatusAllNamespaces added in v0.2.2

func (fake *FakeFlux) GetLatestStatusAllNamespaces() ([]string, error)

func (*FakeFlux) GetLatestStatusAllNamespacesCallCount added in v0.2.2

func (fake *FakeFlux) GetLatestStatusAllNamespacesCallCount() int

func (*FakeFlux) GetLatestStatusAllNamespacesCalls added in v0.2.2

func (fake *FakeFlux) GetLatestStatusAllNamespacesCalls(stub func() ([]string, error))

func (*FakeFlux) GetLatestStatusAllNamespacesReturns added in v0.2.2

func (fake *FakeFlux) GetLatestStatusAllNamespacesReturns(result1 []string, result2 error)

func (*FakeFlux) GetLatestStatusAllNamespacesReturnsOnCall added in v0.2.2

func (fake *FakeFlux) GetLatestStatusAllNamespacesReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeFlux) GetVersion added in v0.2.2

func (fake *FakeFlux) GetVersion() (string, error)

func (*FakeFlux) GetVersionCallCount added in v0.2.2

func (fake *FakeFlux) GetVersionCallCount() int

func (*FakeFlux) GetVersionCalls added in v0.2.2

func (fake *FakeFlux) GetVersionCalls(stub func() (string, error))

func (*FakeFlux) GetVersionReturns added in v0.2.2

func (fake *FakeFlux) GetVersionReturns(result1 string, result2 error)

func (*FakeFlux) GetVersionReturnsOnCall added in v0.2.2

func (fake *FakeFlux) GetVersionReturnsOnCall(i int, result1 string, result2 error)

func (*FakeFlux) Install

func (fake *FakeFlux) Install(arg1 string, arg2 bool) ([]byte, error)

func (*FakeFlux) InstallArgsForCall

func (fake *FakeFlux) InstallArgsForCall(i int) (string, bool)

func (*FakeFlux) InstallCallCount

func (fake *FakeFlux) InstallCallCount() int

func (*FakeFlux) InstallCalls

func (fake *FakeFlux) InstallCalls(stub func(string, bool) ([]byte, error))

func (*FakeFlux) InstallReturns

func (fake *FakeFlux) InstallReturns(result1 []byte, result2 error)

func (*FakeFlux) InstallReturnsOnCall

func (fake *FakeFlux) InstallReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeFlux) Invocations

func (fake *FakeFlux) Invocations() map[string][][]interface{}

func (*FakeFlux) PreCheck added in v0.6.1

func (fake *FakeFlux) PreCheck() (string, error)

func (*FakeFlux) PreCheckCallCount added in v0.6.1

func (fake *FakeFlux) PreCheckCallCount() int

func (*FakeFlux) PreCheckCalls added in v0.6.1

func (fake *FakeFlux) PreCheckCalls(stub func() (string, error))

func (*FakeFlux) PreCheckReturns added in v0.6.1

func (fake *FakeFlux) PreCheckReturns(result1 string, result2 error)

func (*FakeFlux) PreCheckReturnsOnCall added in v0.6.1

func (fake *FakeFlux) PreCheckReturnsOnCall(i int, result1 string, result2 error)

func (*FakeFlux) SetupBin added in v0.2.2

func (fake *FakeFlux) SetupBin()

func (*FakeFlux) SetupBinCallCount added in v0.2.2

func (fake *FakeFlux) SetupBinCallCount() int

func (*FakeFlux) SetupBinCalls added in v0.2.2

func (fake *FakeFlux) SetupBinCalls(stub func())

func (*FakeFlux) SuspendOrResumeApp added in v0.2.2

func (fake *FakeFlux) SuspendOrResumeApp(arg1 v1alpha1.SuspendActionType, arg2 string, arg3 string, arg4 string) ([]byte, error)

func (*FakeFlux) SuspendOrResumeAppArgsForCall added in v0.2.2

func (fake *FakeFlux) SuspendOrResumeAppArgsForCall(i int) (v1alpha1.SuspendActionType, string, string, string)

func (*FakeFlux) SuspendOrResumeAppCallCount added in v0.2.2

func (fake *FakeFlux) SuspendOrResumeAppCallCount() int

func (*FakeFlux) SuspendOrResumeAppCalls added in v0.2.2

func (fake *FakeFlux) SuspendOrResumeAppCalls(stub func(v1alpha1.SuspendActionType, string, string, string) ([]byte, error))

func (*FakeFlux) SuspendOrResumeAppReturns added in v0.2.2

func (fake *FakeFlux) SuspendOrResumeAppReturns(result1 []byte, result2 error)

func (*FakeFlux) SuspendOrResumeAppReturnsOnCall added in v0.2.2

func (fake *FakeFlux) SuspendOrResumeAppReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeFlux) Uninstall

func (fake *FakeFlux) Uninstall(arg1 string, arg2 bool) error

func (*FakeFlux) UninstallArgsForCall

func (fake *FakeFlux) UninstallArgsForCall(i int) (string, bool)

func (*FakeFlux) UninstallCallCount

func (fake *FakeFlux) UninstallCallCount() int

func (*FakeFlux) UninstallCalls

func (fake *FakeFlux) UninstallCalls(stub func(string, bool) error)

func (*FakeFlux) UninstallReturns

func (fake *FakeFlux) UninstallReturns(result1 error)

func (*FakeFlux) UninstallReturnsOnCall

func (fake *FakeFlux) UninstallReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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