Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeClientsPool
- func (fake *FakeClientsPool) Add(arg1 clustersmngr.ClusterClientConfig, arg2 clustersmngr.Cluster) error
- func (fake *FakeClientsPool) AddArgsForCall(i int) (clustersmngr.ClusterClientConfig, clustersmngr.Cluster)
- func (fake *FakeClientsPool) AddCallCount() int
- func (fake *FakeClientsPool) AddCalls(stub func(clustersmngr.ClusterClientConfig, clustersmngr.Cluster) error)
- func (fake *FakeClientsPool) AddReturns(result1 error)
- func (fake *FakeClientsPool) AddReturnsOnCall(i int, result1 error)
- func (fake *FakeClientsPool) Client(arg1 string) (clustersmngr.ClusterClient, error)
- func (fake *FakeClientsPool) ClientArgsForCall(i int) string
- func (fake *FakeClientsPool) ClientCallCount() int
- func (fake *FakeClientsPool) ClientCalls(stub func(string) (clustersmngr.ClusterClient, error))
- func (fake *FakeClientsPool) ClientReturns(result1 clustersmngr.ClusterClient, result2 error)
- func (fake *FakeClientsPool) ClientReturnsOnCall(i int, result1 clustersmngr.ClusterClient, result2 error)
- func (fake *FakeClientsPool) Clients() map[string]clustersmngr.ClusterClient
- func (fake *FakeClientsPool) ClientsCallCount() int
- func (fake *FakeClientsPool) ClientsCalls(stub func() map[string]clustersmngr.ClusterClient)
- func (fake *FakeClientsPool) ClientsReturns(result1 map[string]clustersmngr.ClusterClient)
- func (fake *FakeClientsPool) ClientsReturnsOnCall(i int, result1 map[string]clustersmngr.ClusterClient)
- func (fake *FakeClientsPool) Invocations() map[string][][]interface{}
- type FakeClusterFetcher
- func (fake *FakeClusterFetcher) Fetch(arg1 context.Context) ([]clustersmngr.Cluster, error)
- func (fake *FakeClusterFetcher) FetchArgsForCall(i int) context.Context
- func (fake *FakeClusterFetcher) FetchCallCount() int
- func (fake *FakeClusterFetcher) FetchCalls(stub func(context.Context) ([]clustersmngr.Cluster, error))
- func (fake *FakeClusterFetcher) FetchReturns(result1 []clustersmngr.Cluster, result2 error)
- func (fake *FakeClusterFetcher) FetchReturnsOnCall(i int, result1 []clustersmngr.Cluster, result2 error)
- func (fake *FakeClusterFetcher) Invocations() map[string][][]interface{}
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 (fake *FakeClientsPool) Add(arg1 clustersmngr.ClusterClientConfig, arg2 clustersmngr.Cluster) error
func (*FakeClientsPool) AddArgsForCall ¶
func (fake *FakeClientsPool) AddArgsForCall(i int) (clustersmngr.ClusterClientConfig, clustersmngr.Cluster)
func (*FakeClientsPool) AddCallCount ¶
func (fake *FakeClientsPool) AddCallCount() int
func (*FakeClientsPool) AddCalls ¶
func (fake *FakeClientsPool) AddCalls(stub func(clustersmngr.ClusterClientConfig, clustersmngr.Cluster) error)
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 (fake *FakeClusterFetcher) Fetch(arg1 context.Context) ([]clustersmngr.Cluster, error)
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{}
Click to show internal directories.
Click to hide internal directories.