clustersmngrfakes

package
v0.8.0-rc.2 Latest Latest
Warning

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

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

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

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 FakeClientsFactory added in v0.8.0

type FakeClientsFactory struct {
	GetClustersNamespacesStub func() map[string][]v1.Namespace

	GetImpersonatedClientStub func(context.Context, *auth.UserPrincipal) (clustersmngr.Client, error)

	GetServerClientStub func(context.Context) (clustersmngr.Client, error)

	StartStub func(context.Context)

	UpdateClustersStub func(context.Context) error

	UpdateNamespacesStub func(context.Context) error
	// contains filtered or unexported fields
}

func (*FakeClientsFactory) GetClustersNamespaces added in v0.8.0

func (fake *FakeClientsFactory) GetClustersNamespaces() map[string][]v1.Namespace

func (*FakeClientsFactory) GetClustersNamespacesCallCount added in v0.8.0

func (fake *FakeClientsFactory) GetClustersNamespacesCallCount() int

func (*FakeClientsFactory) GetClustersNamespacesCalls added in v0.8.0

func (fake *FakeClientsFactory) GetClustersNamespacesCalls(stub func() map[string][]v1.Namespace)

func (*FakeClientsFactory) GetClustersNamespacesReturns added in v0.8.0

func (fake *FakeClientsFactory) GetClustersNamespacesReturns(result1 map[string][]v1.Namespace)

func (*FakeClientsFactory) GetClustersNamespacesReturnsOnCall added in v0.8.0

func (fake *FakeClientsFactory) GetClustersNamespacesReturnsOnCall(i int, result1 map[string][]v1.Namespace)

func (*FakeClientsFactory) GetImpersonatedClient added in v0.8.0

func (fake *FakeClientsFactory) GetImpersonatedClient(arg1 context.Context, arg2 *auth.UserPrincipal) (clustersmngr.Client, error)

func (*FakeClientsFactory) GetImpersonatedClientArgsForCall added in v0.8.0

func (fake *FakeClientsFactory) GetImpersonatedClientArgsForCall(i int) (context.Context, *auth.UserPrincipal)

func (*FakeClientsFactory) GetImpersonatedClientCallCount added in v0.8.0

func (fake *FakeClientsFactory) GetImpersonatedClientCallCount() int

func (*FakeClientsFactory) GetImpersonatedClientCalls added in v0.8.0

func (fake *FakeClientsFactory) GetImpersonatedClientCalls(stub func(context.Context, *auth.UserPrincipal) (clustersmngr.Client, error))

func (*FakeClientsFactory) GetImpersonatedClientReturns added in v0.8.0

func (fake *FakeClientsFactory) GetImpersonatedClientReturns(result1 clustersmngr.Client, result2 error)

func (*FakeClientsFactory) GetImpersonatedClientReturnsOnCall added in v0.8.0

func (fake *FakeClientsFactory) GetImpersonatedClientReturnsOnCall(i int, result1 clustersmngr.Client, result2 error)

func (*FakeClientsFactory) GetServerClient added in v0.8.0

func (fake *FakeClientsFactory) GetServerClient(arg1 context.Context) (clustersmngr.Client, error)

func (*FakeClientsFactory) GetServerClientArgsForCall added in v0.8.0

func (fake *FakeClientsFactory) GetServerClientArgsForCall(i int) context.Context

func (*FakeClientsFactory) GetServerClientCallCount added in v0.8.0

func (fake *FakeClientsFactory) GetServerClientCallCount() int

func (*FakeClientsFactory) GetServerClientCalls added in v0.8.0

func (fake *FakeClientsFactory) GetServerClientCalls(stub func(context.Context) (clustersmngr.Client, error))

func (*FakeClientsFactory) GetServerClientReturns added in v0.8.0

func (fake *FakeClientsFactory) GetServerClientReturns(result1 clustersmngr.Client, result2 error)

func (*FakeClientsFactory) GetServerClientReturnsOnCall added in v0.8.0

func (fake *FakeClientsFactory) GetServerClientReturnsOnCall(i int, result1 clustersmngr.Client, result2 error)

func (*FakeClientsFactory) Invocations added in v0.8.0

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

func (*FakeClientsFactory) Start added in v0.8.0

func (fake *FakeClientsFactory) Start(arg1 context.Context)

func (*FakeClientsFactory) StartArgsForCall added in v0.8.0

func (fake *FakeClientsFactory) StartArgsForCall(i int) context.Context

func (*FakeClientsFactory) StartCallCount added in v0.8.0

func (fake *FakeClientsFactory) StartCallCount() int

func (*FakeClientsFactory) StartCalls added in v0.8.0

func (fake *FakeClientsFactory) StartCalls(stub func(context.Context))

func (*FakeClientsFactory) UpdateClusters added in v0.8.0

func (fake *FakeClientsFactory) UpdateClusters(arg1 context.Context) error

func (*FakeClientsFactory) UpdateClustersArgsForCall added in v0.8.0

func (fake *FakeClientsFactory) UpdateClustersArgsForCall(i int) context.Context

func (*FakeClientsFactory) UpdateClustersCallCount added in v0.8.0

func (fake *FakeClientsFactory) UpdateClustersCallCount() int

func (*FakeClientsFactory) UpdateClustersCalls added in v0.8.0

func (fake *FakeClientsFactory) UpdateClustersCalls(stub func(context.Context) error)

func (*FakeClientsFactory) UpdateClustersReturns added in v0.8.0

func (fake *FakeClientsFactory) UpdateClustersReturns(result1 error)

func (*FakeClientsFactory) UpdateClustersReturnsOnCall added in v0.8.0

func (fake *FakeClientsFactory) UpdateClustersReturnsOnCall(i int, result1 error)

func (*FakeClientsFactory) UpdateNamespaces added in v0.8.0

func (fake *FakeClientsFactory) UpdateNamespaces(arg1 context.Context) error

func (*FakeClientsFactory) UpdateNamespacesArgsForCall added in v0.8.0

func (fake *FakeClientsFactory) UpdateNamespacesArgsForCall(i int) context.Context

func (*FakeClientsFactory) UpdateNamespacesCallCount added in v0.8.0

func (fake *FakeClientsFactory) UpdateNamespacesCallCount() int

func (*FakeClientsFactory) UpdateNamespacesCalls added in v0.8.0

func (fake *FakeClientsFactory) UpdateNamespacesCalls(stub func(context.Context) error)

func (*FakeClientsFactory) UpdateNamespacesReturns added in v0.8.0

func (fake *FakeClientsFactory) UpdateNamespacesReturns(result1 error)

func (*FakeClientsFactory) UpdateNamespacesReturnsOnCall added in v0.8.0

func (fake *FakeClientsFactory) UpdateNamespacesReturnsOnCall(i int, result1 error)

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