mocks

package
v1.0.9-7 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: Apache-2.0 Imports: 7 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 Config

type Config struct {
	GetBCCSPSectionStub func() *common.BCCSP

	SetDefaultKeyStoreStub func()

	SetPKCS11DefaultsStub func(bool)
	// contains filtered or unexported fields
}

func (*Config) GetBCCSPSection

func (fake *Config) GetBCCSPSection() *common.BCCSP

func (*Config) GetBCCSPSectionCallCount

func (fake *Config) GetBCCSPSectionCallCount() int

func (*Config) GetBCCSPSectionCalls

func (fake *Config) GetBCCSPSectionCalls(stub func() *common.BCCSP)

func (*Config) GetBCCSPSectionReturns

func (fake *Config) GetBCCSPSectionReturns(result1 *common.BCCSP)

func (*Config) GetBCCSPSectionReturnsOnCall

func (fake *Config) GetBCCSPSectionReturnsOnCall(i int, result1 *common.BCCSP)

func (*Config) Invocations

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

func (*Config) SetDefaultKeyStore

func (fake *Config) SetDefaultKeyStore()

func (*Config) SetDefaultKeyStoreCallCount

func (fake *Config) SetDefaultKeyStoreCallCount() int

func (*Config) SetDefaultKeyStoreCalls

func (fake *Config) SetDefaultKeyStoreCalls(stub func())

func (*Config) SetPKCS11Defaults

func (fake *Config) SetPKCS11Defaults(arg1 bool)

func (*Config) SetPKCS11DefaultsArgsForCall

func (fake *Config) SetPKCS11DefaultsArgsForCall(i int) bool

func (*Config) SetPKCS11DefaultsCallCount

func (fake *Config) SetPKCS11DefaultsCallCount() int

func (*Config) SetPKCS11DefaultsCalls

func (fake *Config) SetPKCS11DefaultsCalls(stub func(bool))

type Instance

type Instance struct {
	DeepCopyObjectStub func() runtime.Object

	GetAnnotationsStub func() map[string]string

	GetClusterNameStub func() string

	GetConfigOverrideStub func() (interface{}, error)

	GetCreationTimestampStub func() v1.Time

	GetDeletionGracePeriodSecondsStub func() *int64

	GetDeletionTimestampStub func() *v1.Time

	GetFinalizersStub func() []string

	GetGenerateNameStub func() string

	GetGenerationStub func() int64

	GetLabelsStub func() map[string]string

	GetManagedFieldsStub func() []v1.ManagedFieldsEntry

	GetNameStub func() string

	GetNamespaceStub func() string

	GetObjectKindStub func() schema.ObjectKind

	GetOwnerReferencesStub func() []v1.OwnerReference

	GetResourceVersionStub func() string

	GetSelfLinkStub func() string

	GetUIDStub func() types.UID

	IsHSMEnabledStub func() bool

	SetAnnotationsStub func(map[string]string)

	SetClusterNameStub func(string)

	SetCreationTimestampStub func(v1.Time)

	SetDeletionGracePeriodSecondsStub func(*int64)

	SetDeletionTimestampStub func(*v1.Time)

	SetFinalizersStub func([]string)

	SetGenerateNameStub func(string)

	SetGenerationStub func(int64)

	SetLabelsStub func(map[string]string)

	SetManagedFieldsStub func([]v1.ManagedFieldsEntry)

	SetNameStub func(string)

	SetNamespaceStub func(string)

	SetOwnerReferencesStub func([]v1.OwnerReference)

	SetResourceVersionStub func(string)

	SetSelfLinkStub func(string)

	SetUIDStub func(types.UID)

	UsingHSMProxyStub func() bool
	// contains filtered or unexported fields
}

func (*Instance) DeepCopyObject

func (fake *Instance) DeepCopyObject() runtime.Object

func (*Instance) DeepCopyObjectCallCount

func (fake *Instance) DeepCopyObjectCallCount() int

func (*Instance) DeepCopyObjectCalls

func (fake *Instance) DeepCopyObjectCalls(stub func() runtime.Object)

func (*Instance) DeepCopyObjectReturns

func (fake *Instance) DeepCopyObjectReturns(result1 runtime.Object)

func (*Instance) DeepCopyObjectReturnsOnCall

func (fake *Instance) DeepCopyObjectReturnsOnCall(i int, result1 runtime.Object)

func (*Instance) GetAnnotations

func (fake *Instance) GetAnnotations() map[string]string

func (*Instance) GetAnnotationsCallCount

func (fake *Instance) GetAnnotationsCallCount() int

func (*Instance) GetAnnotationsCalls

func (fake *Instance) GetAnnotationsCalls(stub func() map[string]string)

func (*Instance) GetAnnotationsReturns

func (fake *Instance) GetAnnotationsReturns(result1 map[string]string)

func (*Instance) GetAnnotationsReturnsOnCall

func (fake *Instance) GetAnnotationsReturnsOnCall(i int, result1 map[string]string)

func (*Instance) GetClusterName

func (fake *Instance) GetClusterName() string

func (*Instance) GetClusterNameCallCount

func (fake *Instance) GetClusterNameCallCount() int

func (*Instance) GetClusterNameCalls

func (fake *Instance) GetClusterNameCalls(stub func() string)

func (*Instance) GetClusterNameReturns

func (fake *Instance) GetClusterNameReturns(result1 string)

func (*Instance) GetClusterNameReturnsOnCall

func (fake *Instance) GetClusterNameReturnsOnCall(i int, result1 string)

func (*Instance) GetConfigOverride

func (fake *Instance) GetConfigOverride() (interface{}, error)

func (*Instance) GetConfigOverrideCallCount

func (fake *Instance) GetConfigOverrideCallCount() int

func (*Instance) GetConfigOverrideCalls

func (fake *Instance) GetConfigOverrideCalls(stub func() (interface{}, error))

func (*Instance) GetConfigOverrideReturns

func (fake *Instance) GetConfigOverrideReturns(result1 interface{}, result2 error)

func (*Instance) GetConfigOverrideReturnsOnCall

func (fake *Instance) GetConfigOverrideReturnsOnCall(i int, result1 interface{}, result2 error)

func (*Instance) GetCreationTimestamp

func (fake *Instance) GetCreationTimestamp() v1.Time

func (*Instance) GetCreationTimestampCallCount

func (fake *Instance) GetCreationTimestampCallCount() int

func (*Instance) GetCreationTimestampCalls

func (fake *Instance) GetCreationTimestampCalls(stub func() v1.Time)

func (*Instance) GetCreationTimestampReturns

func (fake *Instance) GetCreationTimestampReturns(result1 v1.Time)

func (*Instance) GetCreationTimestampReturnsOnCall

func (fake *Instance) GetCreationTimestampReturnsOnCall(i int, result1 v1.Time)

func (*Instance) GetDeletionGracePeriodSeconds

func (fake *Instance) GetDeletionGracePeriodSeconds() *int64

func (*Instance) GetDeletionGracePeriodSecondsCallCount

func (fake *Instance) GetDeletionGracePeriodSecondsCallCount() int

func (*Instance) GetDeletionGracePeriodSecondsCalls

func (fake *Instance) GetDeletionGracePeriodSecondsCalls(stub func() *int64)

func (*Instance) GetDeletionGracePeriodSecondsReturns

func (fake *Instance) GetDeletionGracePeriodSecondsReturns(result1 *int64)

func (*Instance) GetDeletionGracePeriodSecondsReturnsOnCall

func (fake *Instance) GetDeletionGracePeriodSecondsReturnsOnCall(i int, result1 *int64)

func (*Instance) GetDeletionTimestamp

func (fake *Instance) GetDeletionTimestamp() *v1.Time

func (*Instance) GetDeletionTimestampCallCount

func (fake *Instance) GetDeletionTimestampCallCount() int

func (*Instance) GetDeletionTimestampCalls

func (fake *Instance) GetDeletionTimestampCalls(stub func() *v1.Time)

func (*Instance) GetDeletionTimestampReturns

func (fake *Instance) GetDeletionTimestampReturns(result1 *v1.Time)

func (*Instance) GetDeletionTimestampReturnsOnCall

func (fake *Instance) GetDeletionTimestampReturnsOnCall(i int, result1 *v1.Time)

func (*Instance) GetFinalizers

func (fake *Instance) GetFinalizers() []string

func (*Instance) GetFinalizersCallCount

func (fake *Instance) GetFinalizersCallCount() int

func (*Instance) GetFinalizersCalls

func (fake *Instance) GetFinalizersCalls(stub func() []string)

func (*Instance) GetFinalizersReturns

func (fake *Instance) GetFinalizersReturns(result1 []string)

func (*Instance) GetFinalizersReturnsOnCall

func (fake *Instance) GetFinalizersReturnsOnCall(i int, result1 []string)

func (*Instance) GetGenerateName

func (fake *Instance) GetGenerateName() string

func (*Instance) GetGenerateNameCallCount

func (fake *Instance) GetGenerateNameCallCount() int

func (*Instance) GetGenerateNameCalls

func (fake *Instance) GetGenerateNameCalls(stub func() string)

func (*Instance) GetGenerateNameReturns

func (fake *Instance) GetGenerateNameReturns(result1 string)

func (*Instance) GetGenerateNameReturnsOnCall

func (fake *Instance) GetGenerateNameReturnsOnCall(i int, result1 string)

func (*Instance) GetGeneration

func (fake *Instance) GetGeneration() int64

func (*Instance) GetGenerationCallCount

func (fake *Instance) GetGenerationCallCount() int

func (*Instance) GetGenerationCalls

func (fake *Instance) GetGenerationCalls(stub func() int64)

func (*Instance) GetGenerationReturns

func (fake *Instance) GetGenerationReturns(result1 int64)

func (*Instance) GetGenerationReturnsOnCall

func (fake *Instance) GetGenerationReturnsOnCall(i int, result1 int64)

func (*Instance) GetLabels

func (fake *Instance) GetLabels() map[string]string

func (*Instance) GetLabelsCallCount

func (fake *Instance) GetLabelsCallCount() int

func (*Instance) GetLabelsCalls

func (fake *Instance) GetLabelsCalls(stub func() map[string]string)

func (*Instance) GetLabelsReturns

func (fake *Instance) GetLabelsReturns(result1 map[string]string)

func (*Instance) GetLabelsReturnsOnCall

func (fake *Instance) GetLabelsReturnsOnCall(i int, result1 map[string]string)

func (*Instance) GetManagedFields

func (fake *Instance) GetManagedFields() []v1.ManagedFieldsEntry

func (*Instance) GetManagedFieldsCallCount

func (fake *Instance) GetManagedFieldsCallCount() int

func (*Instance) GetManagedFieldsCalls

func (fake *Instance) GetManagedFieldsCalls(stub func() []v1.ManagedFieldsEntry)

func (*Instance) GetManagedFieldsReturns

func (fake *Instance) GetManagedFieldsReturns(result1 []v1.ManagedFieldsEntry)

func (*Instance) GetManagedFieldsReturnsOnCall

func (fake *Instance) GetManagedFieldsReturnsOnCall(i int, result1 []v1.ManagedFieldsEntry)

func (*Instance) GetName

func (fake *Instance) GetName() string

func (*Instance) GetNameCallCount

func (fake *Instance) GetNameCallCount() int

func (*Instance) GetNameCalls

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

func (*Instance) GetNameReturns

func (fake *Instance) GetNameReturns(result1 string)

func (*Instance) GetNameReturnsOnCall

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

func (*Instance) GetNamespace

func (fake *Instance) GetNamespace() string

func (*Instance) GetNamespaceCallCount

func (fake *Instance) GetNamespaceCallCount() int

func (*Instance) GetNamespaceCalls

func (fake *Instance) GetNamespaceCalls(stub func() string)

func (*Instance) GetNamespaceReturns

func (fake *Instance) GetNamespaceReturns(result1 string)

func (*Instance) GetNamespaceReturnsOnCall

func (fake *Instance) GetNamespaceReturnsOnCall(i int, result1 string)

func (*Instance) GetObjectKind

func (fake *Instance) GetObjectKind() schema.ObjectKind

func (*Instance) GetObjectKindCallCount

func (fake *Instance) GetObjectKindCallCount() int

func (*Instance) GetObjectKindCalls

func (fake *Instance) GetObjectKindCalls(stub func() schema.ObjectKind)

func (*Instance) GetObjectKindReturns

func (fake *Instance) GetObjectKindReturns(result1 schema.ObjectKind)

func (*Instance) GetObjectKindReturnsOnCall

func (fake *Instance) GetObjectKindReturnsOnCall(i int, result1 schema.ObjectKind)

func (*Instance) GetOwnerReferences

func (fake *Instance) GetOwnerReferences() []v1.OwnerReference

func (*Instance) GetOwnerReferencesCallCount

func (fake *Instance) GetOwnerReferencesCallCount() int

func (*Instance) GetOwnerReferencesCalls

func (fake *Instance) GetOwnerReferencesCalls(stub func() []v1.OwnerReference)

func (*Instance) GetOwnerReferencesReturns

func (fake *Instance) GetOwnerReferencesReturns(result1 []v1.OwnerReference)

func (*Instance) GetOwnerReferencesReturnsOnCall

func (fake *Instance) GetOwnerReferencesReturnsOnCall(i int, result1 []v1.OwnerReference)

func (*Instance) GetResourceVersion

func (fake *Instance) GetResourceVersion() string

func (*Instance) GetResourceVersionCallCount

func (fake *Instance) GetResourceVersionCallCount() int

func (*Instance) GetResourceVersionCalls

func (fake *Instance) GetResourceVersionCalls(stub func() string)

func (*Instance) GetResourceVersionReturns

func (fake *Instance) GetResourceVersionReturns(result1 string)

func (*Instance) GetResourceVersionReturnsOnCall

func (fake *Instance) GetResourceVersionReturnsOnCall(i int, result1 string)
func (fake *Instance) GetSelfLink() string

func (*Instance) GetSelfLinkCallCount

func (fake *Instance) GetSelfLinkCallCount() int

func (*Instance) GetSelfLinkCalls

func (fake *Instance) GetSelfLinkCalls(stub func() string)

func (*Instance) GetSelfLinkReturns

func (fake *Instance) GetSelfLinkReturns(result1 string)

func (*Instance) GetSelfLinkReturnsOnCall

func (fake *Instance) GetSelfLinkReturnsOnCall(i int, result1 string)

func (*Instance) GetUID

func (fake *Instance) GetUID() types.UID

func (*Instance) GetUIDCallCount

func (fake *Instance) GetUIDCallCount() int

func (*Instance) GetUIDCalls

func (fake *Instance) GetUIDCalls(stub func() types.UID)

func (*Instance) GetUIDReturns

func (fake *Instance) GetUIDReturns(result1 types.UID)

func (*Instance) GetUIDReturnsOnCall

func (fake *Instance) GetUIDReturnsOnCall(i int, result1 types.UID)

func (*Instance) Invocations

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

func (*Instance) IsHSMEnabled

func (fake *Instance) IsHSMEnabled() bool

func (*Instance) IsHSMEnabledCallCount

func (fake *Instance) IsHSMEnabledCallCount() int

func (*Instance) IsHSMEnabledCalls

func (fake *Instance) IsHSMEnabledCalls(stub func() bool)

func (*Instance) IsHSMEnabledReturns

func (fake *Instance) IsHSMEnabledReturns(result1 bool)

func (*Instance) IsHSMEnabledReturnsOnCall

func (fake *Instance) IsHSMEnabledReturnsOnCall(i int, result1 bool)

func (*Instance) SetAnnotations

func (fake *Instance) SetAnnotations(arg1 map[string]string)

func (*Instance) SetAnnotationsArgsForCall

func (fake *Instance) SetAnnotationsArgsForCall(i int) map[string]string

func (*Instance) SetAnnotationsCallCount

func (fake *Instance) SetAnnotationsCallCount() int

func (*Instance) SetAnnotationsCalls

func (fake *Instance) SetAnnotationsCalls(stub func(map[string]string))

func (*Instance) SetClusterName

func (fake *Instance) SetClusterName(arg1 string)

func (*Instance) SetClusterNameArgsForCall

func (fake *Instance) SetClusterNameArgsForCall(i int) string

func (*Instance) SetClusterNameCallCount

func (fake *Instance) SetClusterNameCallCount() int

func (*Instance) SetClusterNameCalls

func (fake *Instance) SetClusterNameCalls(stub func(string))

func (*Instance) SetCreationTimestamp

func (fake *Instance) SetCreationTimestamp(arg1 v1.Time)

func (*Instance) SetCreationTimestampArgsForCall

func (fake *Instance) SetCreationTimestampArgsForCall(i int) v1.Time

func (*Instance) SetCreationTimestampCallCount

func (fake *Instance) SetCreationTimestampCallCount() int

func (*Instance) SetCreationTimestampCalls

func (fake *Instance) SetCreationTimestampCalls(stub func(v1.Time))

func (*Instance) SetDeletionGracePeriodSeconds

func (fake *Instance) SetDeletionGracePeriodSeconds(arg1 *int64)

func (*Instance) SetDeletionGracePeriodSecondsArgsForCall

func (fake *Instance) SetDeletionGracePeriodSecondsArgsForCall(i int) *int64

func (*Instance) SetDeletionGracePeriodSecondsCallCount

func (fake *Instance) SetDeletionGracePeriodSecondsCallCount() int

func (*Instance) SetDeletionGracePeriodSecondsCalls

func (fake *Instance) SetDeletionGracePeriodSecondsCalls(stub func(*int64))

func (*Instance) SetDeletionTimestamp

func (fake *Instance) SetDeletionTimestamp(arg1 *v1.Time)

func (*Instance) SetDeletionTimestampArgsForCall

func (fake *Instance) SetDeletionTimestampArgsForCall(i int) *v1.Time

func (*Instance) SetDeletionTimestampCallCount

func (fake *Instance) SetDeletionTimestampCallCount() int

func (*Instance) SetDeletionTimestampCalls

func (fake *Instance) SetDeletionTimestampCalls(stub func(*v1.Time))

func (*Instance) SetFinalizers

func (fake *Instance) SetFinalizers(arg1 []string)

func (*Instance) SetFinalizersArgsForCall

func (fake *Instance) SetFinalizersArgsForCall(i int) []string

func (*Instance) SetFinalizersCallCount

func (fake *Instance) SetFinalizersCallCount() int

func (*Instance) SetFinalizersCalls

func (fake *Instance) SetFinalizersCalls(stub func([]string))

func (*Instance) SetGenerateName

func (fake *Instance) SetGenerateName(arg1 string)

func (*Instance) SetGenerateNameArgsForCall

func (fake *Instance) SetGenerateNameArgsForCall(i int) string

func (*Instance) SetGenerateNameCallCount

func (fake *Instance) SetGenerateNameCallCount() int

func (*Instance) SetGenerateNameCalls

func (fake *Instance) SetGenerateNameCalls(stub func(string))

func (*Instance) SetGeneration

func (fake *Instance) SetGeneration(arg1 int64)

func (*Instance) SetGenerationArgsForCall

func (fake *Instance) SetGenerationArgsForCall(i int) int64

func (*Instance) SetGenerationCallCount

func (fake *Instance) SetGenerationCallCount() int

func (*Instance) SetGenerationCalls

func (fake *Instance) SetGenerationCalls(stub func(int64))

func (*Instance) SetLabels

func (fake *Instance) SetLabels(arg1 map[string]string)

func (*Instance) SetLabelsArgsForCall

func (fake *Instance) SetLabelsArgsForCall(i int) map[string]string

func (*Instance) SetLabelsCallCount

func (fake *Instance) SetLabelsCallCount() int

func (*Instance) SetLabelsCalls

func (fake *Instance) SetLabelsCalls(stub func(map[string]string))

func (*Instance) SetManagedFields

func (fake *Instance) SetManagedFields(arg1 []v1.ManagedFieldsEntry)

func (*Instance) SetManagedFieldsArgsForCall

func (fake *Instance) SetManagedFieldsArgsForCall(i int) []v1.ManagedFieldsEntry

func (*Instance) SetManagedFieldsCallCount

func (fake *Instance) SetManagedFieldsCallCount() int

func (*Instance) SetManagedFieldsCalls

func (fake *Instance) SetManagedFieldsCalls(stub func([]v1.ManagedFieldsEntry))

func (*Instance) SetName

func (fake *Instance) SetName(arg1 string)

func (*Instance) SetNameArgsForCall

func (fake *Instance) SetNameArgsForCall(i int) string

func (*Instance) SetNameCallCount

func (fake *Instance) SetNameCallCount() int

func (*Instance) SetNameCalls

func (fake *Instance) SetNameCalls(stub func(string))

func (*Instance) SetNamespace

func (fake *Instance) SetNamespace(arg1 string)

func (*Instance) SetNamespaceArgsForCall

func (fake *Instance) SetNamespaceArgsForCall(i int) string

func (*Instance) SetNamespaceCallCount

func (fake *Instance) SetNamespaceCallCount() int

func (*Instance) SetNamespaceCalls

func (fake *Instance) SetNamespaceCalls(stub func(string))

func (*Instance) SetOwnerReferences

func (fake *Instance) SetOwnerReferences(arg1 []v1.OwnerReference)

func (*Instance) SetOwnerReferencesArgsForCall

func (fake *Instance) SetOwnerReferencesArgsForCall(i int) []v1.OwnerReference

func (*Instance) SetOwnerReferencesCallCount

func (fake *Instance) SetOwnerReferencesCallCount() int

func (*Instance) SetOwnerReferencesCalls

func (fake *Instance) SetOwnerReferencesCalls(stub func([]v1.OwnerReference))

func (*Instance) SetResourceVersion

func (fake *Instance) SetResourceVersion(arg1 string)

func (*Instance) SetResourceVersionArgsForCall

func (fake *Instance) SetResourceVersionArgsForCall(i int) string

func (*Instance) SetResourceVersionCallCount

func (fake *Instance) SetResourceVersionCallCount() int

func (*Instance) SetResourceVersionCalls

func (fake *Instance) SetResourceVersionCalls(stub func(string))
func (fake *Instance) SetSelfLink(arg1 string)

func (*Instance) SetSelfLinkArgsForCall

func (fake *Instance) SetSelfLinkArgsForCall(i int) string

func (*Instance) SetSelfLinkCallCount

func (fake *Instance) SetSelfLinkCallCount() int

func (*Instance) SetSelfLinkCalls

func (fake *Instance) SetSelfLinkCalls(stub func(string))

func (*Instance) SetUID

func (fake *Instance) SetUID(arg1 types.UID)

func (*Instance) SetUIDArgsForCall

func (fake *Instance) SetUIDArgsForCall(i int) types.UID

func (*Instance) SetUIDCallCount

func (fake *Instance) SetUIDCallCount() int

func (*Instance) SetUIDCalls

func (fake *Instance) SetUIDCalls(stub func(types.UID))

func (*Instance) UsingHSMProxy

func (fake *Instance) UsingHSMProxy() bool

func (*Instance) UsingHSMProxyCallCount

func (fake *Instance) UsingHSMProxyCallCount() int

func (*Instance) UsingHSMProxyCalls

func (fake *Instance) UsingHSMProxyCalls(stub func() bool)

func (*Instance) UsingHSMProxyReturns

func (fake *Instance) UsingHSMProxyReturns(result1 bool)

func (*Instance) UsingHSMProxyReturnsOnCall

func (fake *Instance) UsingHSMProxyReturnsOnCall(i int, result1 bool)

Jump to

Keyboard shortcuts

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