clusterfakes

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: MPL-2.0 Imports: 6 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 FakeCluster

type FakeCluster struct {
	GetHostStub func() string

	GetNameStub func() string

	GetServerClientStub func() (client.Client, error)

	GetServerClientsetStub func() (kubernetes.Interface, error)

	GetServerConfigStub func() (*rest.Config, error)

	GetUserClientStub func(*auth.UserPrincipal) (client.Client, error)

	GetUserClientsetStub func(*auth.UserPrincipal) (kubernetes.Interface, error)
	// contains filtered or unexported fields
}

func (*FakeCluster) GetHost

func (fake *FakeCluster) GetHost() string

func (*FakeCluster) GetHostCallCount

func (fake *FakeCluster) GetHostCallCount() int

func (*FakeCluster) GetHostCalls

func (fake *FakeCluster) GetHostCalls(stub func() string)

func (*FakeCluster) GetHostReturns

func (fake *FakeCluster) GetHostReturns(result1 string)

func (*FakeCluster) GetHostReturnsOnCall

func (fake *FakeCluster) GetHostReturnsOnCall(i int, result1 string)

func (*FakeCluster) GetName

func (fake *FakeCluster) GetName() string

func (*FakeCluster) GetNameCallCount

func (fake *FakeCluster) GetNameCallCount() int

func (*FakeCluster) GetNameCalls

func (fake *FakeCluster) GetNameCalls(stub func() string)

func (*FakeCluster) GetNameReturns

func (fake *FakeCluster) GetNameReturns(result1 string)

func (*FakeCluster) GetNameReturnsOnCall

func (fake *FakeCluster) GetNameReturnsOnCall(i int, result1 string)

func (*FakeCluster) GetServerClient

func (fake *FakeCluster) GetServerClient() (client.Client, error)

func (*FakeCluster) GetServerClientCallCount

func (fake *FakeCluster) GetServerClientCallCount() int

func (*FakeCluster) GetServerClientCalls

func (fake *FakeCluster) GetServerClientCalls(stub func() (client.Client, error))

func (*FakeCluster) GetServerClientReturns

func (fake *FakeCluster) GetServerClientReturns(result1 client.Client, result2 error)

func (*FakeCluster) GetServerClientReturnsOnCall

func (fake *FakeCluster) GetServerClientReturnsOnCall(i int, result1 client.Client, result2 error)

func (*FakeCluster) GetServerClientset

func (fake *FakeCluster) GetServerClientset() (kubernetes.Interface, error)

func (*FakeCluster) GetServerClientsetCallCount

func (fake *FakeCluster) GetServerClientsetCallCount() int

func (*FakeCluster) GetServerClientsetCalls

func (fake *FakeCluster) GetServerClientsetCalls(stub func() (kubernetes.Interface, error))

func (*FakeCluster) GetServerClientsetReturns

func (fake *FakeCluster) GetServerClientsetReturns(result1 kubernetes.Interface, result2 error)

func (*FakeCluster) GetServerClientsetReturnsOnCall

func (fake *FakeCluster) GetServerClientsetReturnsOnCall(i int, result1 kubernetes.Interface, result2 error)

func (*FakeCluster) GetServerConfig

func (fake *FakeCluster) GetServerConfig() (*rest.Config, error)

func (*FakeCluster) GetServerConfigCallCount

func (fake *FakeCluster) GetServerConfigCallCount() int

func (*FakeCluster) GetServerConfigCalls

func (fake *FakeCluster) GetServerConfigCalls(stub func() (*rest.Config, error))

func (*FakeCluster) GetServerConfigReturns

func (fake *FakeCluster) GetServerConfigReturns(result1 *rest.Config, result2 error)

func (*FakeCluster) GetServerConfigReturnsOnCall

func (fake *FakeCluster) GetServerConfigReturnsOnCall(i int, result1 *rest.Config, result2 error)

func (*FakeCluster) GetUserClient

func (fake *FakeCluster) GetUserClient(arg1 *auth.UserPrincipal) (client.Client, error)

func (*FakeCluster) GetUserClientArgsForCall

func (fake *FakeCluster) GetUserClientArgsForCall(i int) *auth.UserPrincipal

func (*FakeCluster) GetUserClientCallCount

func (fake *FakeCluster) GetUserClientCallCount() int

func (*FakeCluster) GetUserClientCalls

func (fake *FakeCluster) GetUserClientCalls(stub func(*auth.UserPrincipal) (client.Client, error))

func (*FakeCluster) GetUserClientReturns

func (fake *FakeCluster) GetUserClientReturns(result1 client.Client, result2 error)

func (*FakeCluster) GetUserClientReturnsOnCall

func (fake *FakeCluster) GetUserClientReturnsOnCall(i int, result1 client.Client, result2 error)

func (*FakeCluster) GetUserClientset

func (fake *FakeCluster) GetUserClientset(arg1 *auth.UserPrincipal) (kubernetes.Interface, error)

func (*FakeCluster) GetUserClientsetArgsForCall

func (fake *FakeCluster) GetUserClientsetArgsForCall(i int) *auth.UserPrincipal

func (*FakeCluster) GetUserClientsetCallCount

func (fake *FakeCluster) GetUserClientsetCallCount() int

func (*FakeCluster) GetUserClientsetCalls

func (fake *FakeCluster) GetUserClientsetCalls(stub func(*auth.UserPrincipal) (kubernetes.Interface, error))

func (*FakeCluster) GetUserClientsetReturns

func (fake *FakeCluster) GetUserClientsetReturns(result1 kubernetes.Interface, result2 error)

func (*FakeCluster) GetUserClientsetReturnsOnCall

func (fake *FakeCluster) GetUserClientsetReturnsOnCall(i int, result1 kubernetes.Interface, result2 error)

func (*FakeCluster) Invocations

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

Jump to

Keyboard shortcuts

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