clustersmngrfakes

package
v0.7.1-rc.3 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

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 FakeClientsPool

type FakeClientsPool struct {
	AddStub func(clustersmngr.ClusterClientConfig, clustersmngr.Cluster) error

	ClientStub func(string) (clustersmngr.ClusterClient, error)

	ClientsStub func() map[string]clustersmngr.ClusterClient
	// contains filtered or unexported fields
}

func (*FakeClientsPool) Add

func (*FakeClientsPool) AddArgsForCall

func (*FakeClientsPool) AddCallCount

func (fake *FakeClientsPool) AddCallCount() int

func (*FakeClientsPool) AddCalls

func (*FakeClientsPool) AddReturns

func (fake *FakeClientsPool) AddReturns(result1 error)

func (*FakeClientsPool) AddReturnsOnCall

func (fake *FakeClientsPool) AddReturnsOnCall(i int, result1 error)

func (*FakeClientsPool) Client

func (fake *FakeClientsPool) Client(arg1 string) (clustersmngr.ClusterClient, error)

func (*FakeClientsPool) ClientArgsForCall

func (fake *FakeClientsPool) ClientArgsForCall(i int) string

func (*FakeClientsPool) ClientCallCount

func (fake *FakeClientsPool) ClientCallCount() int

func (*FakeClientsPool) ClientCalls

func (fake *FakeClientsPool) ClientCalls(stub func(string) (clustersmngr.ClusterClient, error))

func (*FakeClientsPool) ClientReturns

func (fake *FakeClientsPool) ClientReturns(result1 clustersmngr.ClusterClient, result2 error)

func (*FakeClientsPool) ClientReturnsOnCall

func (fake *FakeClientsPool) ClientReturnsOnCall(i int, result1 clustersmngr.ClusterClient, result2 error)

func (*FakeClientsPool) Clients

func (fake *FakeClientsPool) Clients() map[string]clustersmngr.ClusterClient

func (*FakeClientsPool) ClientsCallCount

func (fake *FakeClientsPool) ClientsCallCount() int

func (*FakeClientsPool) ClientsCalls

func (fake *FakeClientsPool) ClientsCalls(stub func() map[string]clustersmngr.ClusterClient)

func (*FakeClientsPool) ClientsReturns

func (fake *FakeClientsPool) ClientsReturns(result1 map[string]clustersmngr.ClusterClient)

func (*FakeClientsPool) ClientsReturnsOnCall

func (fake *FakeClientsPool) ClientsReturnsOnCall(i int, result1 map[string]clustersmngr.ClusterClient)

func (*FakeClientsPool) Invocations

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

type FakeClusterFetcher

type FakeClusterFetcher struct {
	FetchStub func(context.Context) ([]clustersmngr.Cluster, error)
	// contains filtered or unexported fields
}

func (*FakeClusterFetcher) Fetch

func (*FakeClusterFetcher) FetchArgsForCall

func (fake *FakeClusterFetcher) FetchArgsForCall(i int) context.Context

func (*FakeClusterFetcher) FetchCallCount

func (fake *FakeClusterFetcher) FetchCallCount() int

func (*FakeClusterFetcher) FetchCalls

func (fake *FakeClusterFetcher) FetchCalls(stub func(context.Context) ([]clustersmngr.Cluster, error))

func (*FakeClusterFetcher) FetchReturns

func (fake *FakeClusterFetcher) FetchReturns(result1 []clustersmngr.Cluster, result2 error)

func (*FakeClusterFetcher) FetchReturnsOnCall

func (fake *FakeClusterFetcher) FetchReturnsOnCall(i int, result1 []clustersmngr.Cluster, result2 error)

func (*FakeClusterFetcher) Invocations

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

Jump to

Keyboard shortcuts

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