Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeHelmInstaller
- func (fake *FakeHelmInstaller) AddRepo(arg1 string, arg2 string) error
- func (fake *FakeHelmInstaller) AddRepoArgsForCall(i int) (string, string)
- func (fake *FakeHelmInstaller) AddRepoCallCount() int
- func (fake *FakeHelmInstaller) AddRepoCalls(stub func(string, string) error)
- func (fake *FakeHelmInstaller) AddRepoReturns(result1 error)
- func (fake *FakeHelmInstaller) AddRepoReturnsOnCall(i int, result1 error)
- func (fake *FakeHelmInstaller) InstallChart(arg1 context.Context, arg2 providers.InstallChartOpts) error
- func (fake *FakeHelmInstaller) InstallChartArgsForCall(i int) (context.Context, providers.InstallChartOpts)
- func (fake *FakeHelmInstaller) InstallChartCallCount() int
- func (fake *FakeHelmInstaller) InstallChartCalls(stub func(context.Context, providers.InstallChartOpts) error)
- func (fake *FakeHelmInstaller) InstallChartReturns(result1 error)
- func (fake *FakeHelmInstaller) InstallChartReturnsOnCall(i int, result1 error)
- func (fake *FakeHelmInstaller) Invocations() map[string][][]interface{}
- type FakeURLGetter
- func (fake *FakeURLGetter) Get(arg1 string, arg2 ...getter.Option) (*bytes.Buffer, error)
- func (fake *FakeURLGetter) GetArgsForCall(i int) (string, []getter.Option)
- func (fake *FakeURLGetter) GetCallCount() int
- func (fake *FakeURLGetter) GetCalls(stub func(string, ...getter.Option) (*bytes.Buffer, error))
- func (fake *FakeURLGetter) GetReturns(result1 *bytes.Buffer, result2 error)
- func (fake *FakeURLGetter) GetReturnsOnCall(i int, result1 *bytes.Buffer, result2 error)
- func (fake *FakeURLGetter) Invocations() map[string][][]interface{}
- type PrintingKubeClient
- func (p *PrintingKubeClient) Build(_ io.Reader, _ bool) (kube.ResourceList, error)
- func (p *PrintingKubeClient) Create(resources kube.ResourceList) (*kube.Result, error)
- func (p *PrintingKubeClient) Delete(resources kube.ResourceList) (*kube.Result, []error)
- func (p *PrintingKubeClient) IsReachable() error
- func (p *PrintingKubeClient) Update(_, modified kube.ResourceList, _ bool) (*kube.Result, error)
- func (p *PrintingKubeClient) Wait(resources kube.ResourceList, _ time.Duration) error
- func (p *PrintingKubeClient) WaitAndGetCompletedPodPhase(_ string, _ time.Duration) (v1.PodPhase, error)
- func (p *PrintingKubeClient) WaitForDelete(resources kube.ResourceList, _ time.Duration) error
- func (p *PrintingKubeClient) WaitWithJobs(resources kube.ResourceList, _ time.Duration) error
- func (p *PrintingKubeClient) WatchUntilReady(resources kube.ResourceList, _ time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeHelmInstaller ¶
type FakeHelmInstaller struct { AddRepoStub func(string, string) error InstallChartStub func(context.Context, providers.InstallChartOpts) error // contains filtered or unexported fields }
func (*FakeHelmInstaller) AddRepo ¶
func (fake *FakeHelmInstaller) AddRepo(arg1 string, arg2 string) error
func (*FakeHelmInstaller) AddRepoArgsForCall ¶
func (fake *FakeHelmInstaller) AddRepoArgsForCall(i int) (string, string)
func (*FakeHelmInstaller) AddRepoCallCount ¶
func (fake *FakeHelmInstaller) AddRepoCallCount() int
func (*FakeHelmInstaller) AddRepoCalls ¶
func (fake *FakeHelmInstaller) AddRepoCalls(stub func(string, string) error)
func (*FakeHelmInstaller) AddRepoReturns ¶
func (fake *FakeHelmInstaller) AddRepoReturns(result1 error)
func (*FakeHelmInstaller) AddRepoReturnsOnCall ¶
func (fake *FakeHelmInstaller) AddRepoReturnsOnCall(i int, result1 error)
func (*FakeHelmInstaller) InstallChart ¶
func (fake *FakeHelmInstaller) InstallChart(arg1 context.Context, arg2 providers.InstallChartOpts) error
func (*FakeHelmInstaller) InstallChartArgsForCall ¶
func (fake *FakeHelmInstaller) InstallChartArgsForCall(i int) (context.Context, providers.InstallChartOpts)
func (*FakeHelmInstaller) InstallChartCallCount ¶
func (fake *FakeHelmInstaller) InstallChartCallCount() int
func (*FakeHelmInstaller) InstallChartCalls ¶
func (fake *FakeHelmInstaller) InstallChartCalls(stub func(context.Context, providers.InstallChartOpts) error)
func (*FakeHelmInstaller) InstallChartReturns ¶
func (fake *FakeHelmInstaller) InstallChartReturns(result1 error)
func (*FakeHelmInstaller) InstallChartReturnsOnCall ¶
func (fake *FakeHelmInstaller) InstallChartReturnsOnCall(i int, result1 error)
func (*FakeHelmInstaller) Invocations ¶
func (fake *FakeHelmInstaller) Invocations() map[string][][]interface{}
type FakeURLGetter ¶
type FakeURLGetter struct { GetStub func(string, ...getter.Option) (*bytes.Buffer, error) // contains filtered or unexported fields }
func (*FakeURLGetter) GetArgsForCall ¶
func (fake *FakeURLGetter) GetArgsForCall(i int) (string, []getter.Option)
func (*FakeURLGetter) GetCallCount ¶
func (fake *FakeURLGetter) GetCallCount() int
func (*FakeURLGetter) GetReturns ¶
func (fake *FakeURLGetter) GetReturns(result1 *bytes.Buffer, result2 error)
func (*FakeURLGetter) GetReturnsOnCall ¶
func (fake *FakeURLGetter) GetReturnsOnCall(i int, result1 *bytes.Buffer, result2 error)
func (*FakeURLGetter) Invocations ¶
func (fake *FakeURLGetter) Invocations() map[string][][]interface{}
type PrintingKubeClient ¶
PrintingKubeClient implements KubeClient, but simply prints the reader to the given output.
func (*PrintingKubeClient) Build ¶
func (p *PrintingKubeClient) Build(_ io.Reader, _ bool) (kube.ResourceList, error)
Build implements KubeClient Build.
func (*PrintingKubeClient) Create ¶
func (p *PrintingKubeClient) Create(resources kube.ResourceList) (*kube.Result, error)
Create prints the values of what would be created with a real KubeClient.
func (*PrintingKubeClient) Delete ¶
func (p *PrintingKubeClient) Delete(resources kube.ResourceList) (*kube.Result, []error)
Delete implements KubeClient delete.
It only prints out the content to be deleted.
func (*PrintingKubeClient) IsReachable ¶
func (p *PrintingKubeClient) IsReachable() error
IsReachable checks if the cluster is reachable
func (*PrintingKubeClient) Update ¶
func (p *PrintingKubeClient) Update(_, modified kube.ResourceList, _ bool) (*kube.Result, error)
Update implements KubeClient Update.
func (*PrintingKubeClient) Wait ¶
func (p *PrintingKubeClient) Wait(resources kube.ResourceList, _ time.Duration) error
func (*PrintingKubeClient) WaitAndGetCompletedPodPhase ¶
func (p *PrintingKubeClient) WaitAndGetCompletedPodPhase(_ string, _ time.Duration) (v1.PodPhase, error)
WaitAndGetCompletedPodPhase implements KubeClient WaitAndGetCompletedPodPhase.
func (*PrintingKubeClient) WaitForDelete ¶
func (p *PrintingKubeClient) WaitForDelete(resources kube.ResourceList, _ time.Duration) error
func (*PrintingKubeClient) WaitWithJobs ¶
func (p *PrintingKubeClient) WaitWithJobs(resources kube.ResourceList, _ time.Duration) error
func (*PrintingKubeClient) WatchUntilReady ¶
func (p *PrintingKubeClient) WatchUntilReady(resources kube.ResourceList, _ time.Duration) error
WatchUntilReady implements KubeClient WatchUntilReady.
Click to show internal directories.
Click to hide internal directories.