sqlfakes

package
v1.1.1-11 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: Apache-2.0 Imports: 4 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 FakeClient

type FakeClient struct {
	ConnectStub func() error

	CreateKubernetesProviderStub func(kubernetes.Provider) error

	CreateKubernetesResourceStub func(kubernetes.Resource) error

	DeleteKubernetesProviderStub func(string) error

	DeleteKubernetesResourcesByAccountNameStub func(string) error

	GetKubernetesProviderStub func(string) (kubernetes.Provider, error)

	GetKubernetesProviderAndPermissionsStub func(string) (kubernetes.Provider, error)

	ListKubernetesAccountsBySpinnakerAppStub func(string) ([]string, error)

	ListKubernetesClustersByApplicationStub func(string) ([]kubernetes.Resource, error)

	ListKubernetesClustersByFieldsStub func(...string) ([]kubernetes.Resource, error)

	ListKubernetesProvidersStub func() ([]kubernetes.Provider, error)

	ListKubernetesProvidersAndPermissionsStub func() ([]kubernetes.Provider, error)

	ListKubernetesResourcesByFieldsStub func(...string) ([]kubernetes.Resource, error)

	ListKubernetesResourcesByTaskIDStub func(string) ([]kubernetes.Resource, error)

	ListReadGroupsByAccountNameStub func(string) ([]string, error)

	ListWriteGroupsByAccountNameStub func(string) ([]string, error)

	WithConfigStub func(*gorm.Config)
	// contains filtered or unexported fields
}

func (*FakeClient) Connect added in v0.21.0

func (fake *FakeClient) Connect() error

func (*FakeClient) ConnectCallCount added in v0.21.0

func (fake *FakeClient) ConnectCallCount() int

func (*FakeClient) ConnectCalls added in v0.21.0

func (fake *FakeClient) ConnectCalls(stub func() error)

func (*FakeClient) ConnectReturns added in v0.21.0

func (fake *FakeClient) ConnectReturns(result1 error)

func (*FakeClient) ConnectReturnsOnCall added in v0.21.0

func (fake *FakeClient) ConnectReturnsOnCall(i int, result1 error)

func (*FakeClient) CreateKubernetesProvider

func (fake *FakeClient) CreateKubernetesProvider(arg1 kubernetes.Provider) error

func (*FakeClient) CreateKubernetesProviderArgsForCall

func (fake *FakeClient) CreateKubernetesProviderArgsForCall(i int) kubernetes.Provider

func (*FakeClient) CreateKubernetesProviderCallCount

func (fake *FakeClient) CreateKubernetesProviderCallCount() int

func (*FakeClient) CreateKubernetesProviderCalls

func (fake *FakeClient) CreateKubernetesProviderCalls(stub func(kubernetes.Provider) error)

func (*FakeClient) CreateKubernetesProviderReturns

func (fake *FakeClient) CreateKubernetesProviderReturns(result1 error)

func (*FakeClient) CreateKubernetesProviderReturnsOnCall

func (fake *FakeClient) CreateKubernetesProviderReturnsOnCall(i int, result1 error)

func (*FakeClient) CreateKubernetesResource

func (fake *FakeClient) CreateKubernetesResource(arg1 kubernetes.Resource) error

func (*FakeClient) CreateKubernetesResourceArgsForCall

func (fake *FakeClient) CreateKubernetesResourceArgsForCall(i int) kubernetes.Resource

func (*FakeClient) CreateKubernetesResourceCallCount

func (fake *FakeClient) CreateKubernetesResourceCallCount() int

func (*FakeClient) CreateKubernetesResourceCalls

func (fake *FakeClient) CreateKubernetesResourceCalls(stub func(kubernetes.Resource) error)

func (*FakeClient) CreateKubernetesResourceReturns

func (fake *FakeClient) CreateKubernetesResourceReturns(result1 error)

func (*FakeClient) CreateKubernetesResourceReturnsOnCall

func (fake *FakeClient) CreateKubernetesResourceReturnsOnCall(i int, result1 error)

func (*FakeClient) DeleteKubernetesProvider

func (fake *FakeClient) DeleteKubernetesProvider(arg1 string) error

func (*FakeClient) DeleteKubernetesProviderArgsForCall

func (fake *FakeClient) DeleteKubernetesProviderArgsForCall(i int) string

func (*FakeClient) DeleteKubernetesProviderCallCount

func (fake *FakeClient) DeleteKubernetesProviderCallCount() int

func (*FakeClient) DeleteKubernetesProviderCalls

func (fake *FakeClient) DeleteKubernetesProviderCalls(stub func(string) error)

func (*FakeClient) DeleteKubernetesProviderReturns

func (fake *FakeClient) DeleteKubernetesProviderReturns(result1 error)

func (*FakeClient) DeleteKubernetesProviderReturnsOnCall

func (fake *FakeClient) DeleteKubernetesProviderReturnsOnCall(i int, result1 error)

func (*FakeClient) DeleteKubernetesResourcesByAccountName added in v0.20.0

func (fake *FakeClient) DeleteKubernetesResourcesByAccountName(arg1 string) error

func (*FakeClient) DeleteKubernetesResourcesByAccountNameArgsForCall added in v0.20.0

func (fake *FakeClient) DeleteKubernetesResourcesByAccountNameArgsForCall(i int) string

func (*FakeClient) DeleteKubernetesResourcesByAccountNameCallCount added in v0.20.0

func (fake *FakeClient) DeleteKubernetesResourcesByAccountNameCallCount() int

func (*FakeClient) DeleteKubernetesResourcesByAccountNameCalls added in v0.20.0

func (fake *FakeClient) DeleteKubernetesResourcesByAccountNameCalls(stub func(string) error)

func (*FakeClient) DeleteKubernetesResourcesByAccountNameReturns added in v0.20.0

func (fake *FakeClient) DeleteKubernetesResourcesByAccountNameReturns(result1 error)

func (*FakeClient) DeleteKubernetesResourcesByAccountNameReturnsOnCall added in v0.20.0

func (fake *FakeClient) DeleteKubernetesResourcesByAccountNameReturnsOnCall(i int, result1 error)

func (*FakeClient) GetKubernetesProvider

func (fake *FakeClient) GetKubernetesProvider(arg1 string) (kubernetes.Provider, error)

func (*FakeClient) GetKubernetesProviderAndPermissions

func (fake *FakeClient) GetKubernetesProviderAndPermissions(arg1 string) (kubernetes.Provider, error)

func (*FakeClient) GetKubernetesProviderAndPermissionsArgsForCall

func (fake *FakeClient) GetKubernetesProviderAndPermissionsArgsForCall(i int) string

func (*FakeClient) GetKubernetesProviderAndPermissionsCallCount

func (fake *FakeClient) GetKubernetesProviderAndPermissionsCallCount() int

func (*FakeClient) GetKubernetesProviderAndPermissionsCalls

func (fake *FakeClient) GetKubernetesProviderAndPermissionsCalls(stub func(string) (kubernetes.Provider, error))

func (*FakeClient) GetKubernetesProviderAndPermissionsReturns

func (fake *FakeClient) GetKubernetesProviderAndPermissionsReturns(result1 kubernetes.Provider, result2 error)

func (*FakeClient) GetKubernetesProviderAndPermissionsReturnsOnCall

func (fake *FakeClient) GetKubernetesProviderAndPermissionsReturnsOnCall(i int, result1 kubernetes.Provider, result2 error)

func (*FakeClient) GetKubernetesProviderArgsForCall

func (fake *FakeClient) GetKubernetesProviderArgsForCall(i int) string

func (*FakeClient) GetKubernetesProviderCallCount

func (fake *FakeClient) GetKubernetesProviderCallCount() int

func (*FakeClient) GetKubernetesProviderCalls

func (fake *FakeClient) GetKubernetesProviderCalls(stub func(string) (kubernetes.Provider, error))

func (*FakeClient) GetKubernetesProviderReturns

func (fake *FakeClient) GetKubernetesProviderReturns(result1 kubernetes.Provider, result2 error)

func (*FakeClient) GetKubernetesProviderReturnsOnCall

func (fake *FakeClient) GetKubernetesProviderReturnsOnCall(i int, result1 kubernetes.Provider, result2 error)

func (*FakeClient) Invocations

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

func (*FakeClient) ListKubernetesAccountsBySpinnakerApp

func (fake *FakeClient) ListKubernetesAccountsBySpinnakerApp(arg1 string) ([]string, error)

func (*FakeClient) ListKubernetesAccountsBySpinnakerAppArgsForCall

func (fake *FakeClient) ListKubernetesAccountsBySpinnakerAppArgsForCall(i int) string

func (*FakeClient) ListKubernetesAccountsBySpinnakerAppCallCount

func (fake *FakeClient) ListKubernetesAccountsBySpinnakerAppCallCount() int

func (*FakeClient) ListKubernetesAccountsBySpinnakerAppCalls

func (fake *FakeClient) ListKubernetesAccountsBySpinnakerAppCalls(stub func(string) ([]string, error))

func (*FakeClient) ListKubernetesAccountsBySpinnakerAppReturns

func (fake *FakeClient) ListKubernetesAccountsBySpinnakerAppReturns(result1 []string, result2 error)

func (*FakeClient) ListKubernetesAccountsBySpinnakerAppReturnsOnCall

func (fake *FakeClient) ListKubernetesAccountsBySpinnakerAppReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeClient) ListKubernetesClustersByApplication

func (fake *FakeClient) ListKubernetesClustersByApplication(arg1 string) ([]kubernetes.Resource, error)

func (*FakeClient) ListKubernetesClustersByApplicationArgsForCall

func (fake *FakeClient) ListKubernetesClustersByApplicationArgsForCall(i int) string

func (*FakeClient) ListKubernetesClustersByApplicationCallCount

func (fake *FakeClient) ListKubernetesClustersByApplicationCallCount() int

func (*FakeClient) ListKubernetesClustersByApplicationCalls

func (fake *FakeClient) ListKubernetesClustersByApplicationCalls(stub func(string) ([]kubernetes.Resource, error))

func (*FakeClient) ListKubernetesClustersByApplicationReturns

func (fake *FakeClient) ListKubernetesClustersByApplicationReturns(result1 []kubernetes.Resource, result2 error)

func (*FakeClient) ListKubernetesClustersByApplicationReturnsOnCall

func (fake *FakeClient) ListKubernetesClustersByApplicationReturnsOnCall(i int, result1 []kubernetes.Resource, result2 error)

func (*FakeClient) ListKubernetesClustersByFields

func (fake *FakeClient) ListKubernetesClustersByFields(arg1 ...string) ([]kubernetes.Resource, error)

func (*FakeClient) ListKubernetesClustersByFieldsArgsForCall

func (fake *FakeClient) ListKubernetesClustersByFieldsArgsForCall(i int) []string

func (*FakeClient) ListKubernetesClustersByFieldsCallCount

func (fake *FakeClient) ListKubernetesClustersByFieldsCallCount() int

func (*FakeClient) ListKubernetesClustersByFieldsCalls

func (fake *FakeClient) ListKubernetesClustersByFieldsCalls(stub func(...string) ([]kubernetes.Resource, error))

func (*FakeClient) ListKubernetesClustersByFieldsReturns

func (fake *FakeClient) ListKubernetesClustersByFieldsReturns(result1 []kubernetes.Resource, result2 error)

func (*FakeClient) ListKubernetesClustersByFieldsReturnsOnCall

func (fake *FakeClient) ListKubernetesClustersByFieldsReturnsOnCall(i int, result1 []kubernetes.Resource, result2 error)

func (*FakeClient) ListKubernetesProviders

func (fake *FakeClient) ListKubernetesProviders() ([]kubernetes.Provider, error)

func (*FakeClient) ListKubernetesProvidersAndPermissions

func (fake *FakeClient) ListKubernetesProvidersAndPermissions() ([]kubernetes.Provider, error)

func (*FakeClient) ListKubernetesProvidersAndPermissionsCallCount

func (fake *FakeClient) ListKubernetesProvidersAndPermissionsCallCount() int

func (*FakeClient) ListKubernetesProvidersAndPermissionsCalls

func (fake *FakeClient) ListKubernetesProvidersAndPermissionsCalls(stub func() ([]kubernetes.Provider, error))

func (*FakeClient) ListKubernetesProvidersAndPermissionsReturns

func (fake *FakeClient) ListKubernetesProvidersAndPermissionsReturns(result1 []kubernetes.Provider, result2 error)

func (*FakeClient) ListKubernetesProvidersAndPermissionsReturnsOnCall

func (fake *FakeClient) ListKubernetesProvidersAndPermissionsReturnsOnCall(i int, result1 []kubernetes.Provider, result2 error)

func (*FakeClient) ListKubernetesProvidersCallCount

func (fake *FakeClient) ListKubernetesProvidersCallCount() int

func (*FakeClient) ListKubernetesProvidersCalls

func (fake *FakeClient) ListKubernetesProvidersCalls(stub func() ([]kubernetes.Provider, error))

func (*FakeClient) ListKubernetesProvidersReturns

func (fake *FakeClient) ListKubernetesProvidersReturns(result1 []kubernetes.Provider, result2 error)

func (*FakeClient) ListKubernetesProvidersReturnsOnCall

func (fake *FakeClient) ListKubernetesProvidersReturnsOnCall(i int, result1 []kubernetes.Provider, result2 error)

func (*FakeClient) ListKubernetesResourcesByFields

func (fake *FakeClient) ListKubernetesResourcesByFields(arg1 ...string) ([]kubernetes.Resource, error)

func (*FakeClient) ListKubernetesResourcesByFieldsArgsForCall

func (fake *FakeClient) ListKubernetesResourcesByFieldsArgsForCall(i int) []string

func (*FakeClient) ListKubernetesResourcesByFieldsCallCount

func (fake *FakeClient) ListKubernetesResourcesByFieldsCallCount() int

func (*FakeClient) ListKubernetesResourcesByFieldsCalls

func (fake *FakeClient) ListKubernetesResourcesByFieldsCalls(stub func(...string) ([]kubernetes.Resource, error))

func (*FakeClient) ListKubernetesResourcesByFieldsReturns

func (fake *FakeClient) ListKubernetesResourcesByFieldsReturns(result1 []kubernetes.Resource, result2 error)

func (*FakeClient) ListKubernetesResourcesByFieldsReturnsOnCall

func (fake *FakeClient) ListKubernetesResourcesByFieldsReturnsOnCall(i int, result1 []kubernetes.Resource, result2 error)

func (*FakeClient) ListKubernetesResourcesByTaskID

func (fake *FakeClient) ListKubernetesResourcesByTaskID(arg1 string) ([]kubernetes.Resource, error)

func (*FakeClient) ListKubernetesResourcesByTaskIDArgsForCall

func (fake *FakeClient) ListKubernetesResourcesByTaskIDArgsForCall(i int) string

func (*FakeClient) ListKubernetesResourcesByTaskIDCallCount

func (fake *FakeClient) ListKubernetesResourcesByTaskIDCallCount() int

func (*FakeClient) ListKubernetesResourcesByTaskIDCalls

func (fake *FakeClient) ListKubernetesResourcesByTaskIDCalls(stub func(string) ([]kubernetes.Resource, error))

func (*FakeClient) ListKubernetesResourcesByTaskIDReturns

func (fake *FakeClient) ListKubernetesResourcesByTaskIDReturns(result1 []kubernetes.Resource, result2 error)

func (*FakeClient) ListKubernetesResourcesByTaskIDReturnsOnCall

func (fake *FakeClient) ListKubernetesResourcesByTaskIDReturnsOnCall(i int, result1 []kubernetes.Resource, result2 error)

func (*FakeClient) ListReadGroupsByAccountName

func (fake *FakeClient) ListReadGroupsByAccountName(arg1 string) ([]string, error)

func (*FakeClient) ListReadGroupsByAccountNameArgsForCall

func (fake *FakeClient) ListReadGroupsByAccountNameArgsForCall(i int) string

func (*FakeClient) ListReadGroupsByAccountNameCallCount

func (fake *FakeClient) ListReadGroupsByAccountNameCallCount() int

func (*FakeClient) ListReadGroupsByAccountNameCalls

func (fake *FakeClient) ListReadGroupsByAccountNameCalls(stub func(string) ([]string, error))

func (*FakeClient) ListReadGroupsByAccountNameReturns

func (fake *FakeClient) ListReadGroupsByAccountNameReturns(result1 []string, result2 error)

func (*FakeClient) ListReadGroupsByAccountNameReturnsOnCall

func (fake *FakeClient) ListReadGroupsByAccountNameReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeClient) ListWriteGroupsByAccountName

func (fake *FakeClient) ListWriteGroupsByAccountName(arg1 string) ([]string, error)

func (*FakeClient) ListWriteGroupsByAccountNameArgsForCall

func (fake *FakeClient) ListWriteGroupsByAccountNameArgsForCall(i int) string

func (*FakeClient) ListWriteGroupsByAccountNameCallCount

func (fake *FakeClient) ListWriteGroupsByAccountNameCallCount() int

func (*FakeClient) ListWriteGroupsByAccountNameCalls

func (fake *FakeClient) ListWriteGroupsByAccountNameCalls(stub func(string) ([]string, error))

func (*FakeClient) ListWriteGroupsByAccountNameReturns

func (fake *FakeClient) ListWriteGroupsByAccountNameReturns(result1 []string, result2 error)

func (*FakeClient) ListWriteGroupsByAccountNameReturnsOnCall

func (fake *FakeClient) ListWriteGroupsByAccountNameReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeClient) WithConfig added in v0.21.0

func (fake *FakeClient) WithConfig(arg1 *gorm.Config)

func (*FakeClient) WithConfigArgsForCall added in v0.21.0

func (fake *FakeClient) WithConfigArgsForCall(i int) *gorm.Config

func (*FakeClient) WithConfigCallCount added in v0.21.0

func (fake *FakeClient) WithConfigCallCount() int

func (*FakeClient) WithConfigCalls added in v0.21.0

func (fake *FakeClient) WithConfigCalls(stub func(*gorm.Config))

Jump to

Keyboard shortcuts

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