Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeCPURequestSetter
- func (fake *FakeCPURequestSetter) Invocations() map[string][][]interface{}
- func (fake *FakeCPURequestSetter) SetCPURequest(arg1 context.Context, arg2 *v1.StatefulSet, arg3 *resource.Quantity) (*v1.StatefulSet, error)
- func (fake *FakeCPURequestSetter) SetCPURequestArgsForCall(i int) (context.Context, *v1.StatefulSet, *resource.Quantity)
- func (fake *FakeCPURequestSetter) SetCPURequestCallCount() int
- func (fake *FakeCPURequestSetter) SetCPURequestCalls(...)
- func (fake *FakeCPURequestSetter) SetCPURequestReturns(result1 *v1.StatefulSet, result2 error)
- func (fake *FakeCPURequestSetter) SetCPURequestReturnsOnCall(i int, result1 *v1.StatefulSet, result2 error)
- type FakeJobsClient
- func (fake *FakeJobsClient) Invocations() map[string][][]interface{}
- func (fake *FakeJobsClient) List(arg1 context.Context, arg2 bool) ([]v1.Job, error)
- func (fake *FakeJobsClient) ListArgsForCall(i int) (context.Context, bool)
- func (fake *FakeJobsClient) ListCallCount() int
- func (fake *FakeJobsClient) ListCalls(stub func(context.Context, bool) ([]v1.Job, error))
- func (fake *FakeJobsClient) ListReturns(result1 []v1.Job, result2 error)
- func (fake *FakeJobsClient) ListReturnsOnCall(i int, result1 []v1.Job, result2 error)
- func (fake *FakeJobsClient) SetAnnotation(arg1 context.Context, arg2 *v1.Job, arg3 string, arg4 string) (*v1.Job, error)
- func (fake *FakeJobsClient) SetAnnotationArgsForCall(i int) (context.Context, *v1.Job, string, string)
- func (fake *FakeJobsClient) SetAnnotationCallCount() int
- func (fake *FakeJobsClient) SetAnnotationCalls(stub func(context.Context, *v1.Job, string, string) (*v1.Job, error))
- func (fake *FakeJobsClient) SetAnnotationReturns(result1 *v1.Job, result2 error)
- func (fake *FakeJobsClient) SetAnnotationReturnsOnCall(i int, result1 *v1.Job, result2 error)
- type FakeMigrationProvider
- func (fake *FakeMigrationProvider) GetLatestMigrationIndex() int
- func (fake *FakeMigrationProvider) GetLatestMigrationIndexCallCount() int
- func (fake *FakeMigrationProvider) GetLatestMigrationIndexCalls(stub func() int)
- func (fake *FakeMigrationProvider) GetLatestMigrationIndexReturns(result1 int)
- func (fake *FakeMigrationProvider) GetLatestMigrationIndexReturnsOnCall(i int, result1 int)
- func (fake *FakeMigrationProvider) Invocations() map[string][][]interface{}
- func (fake *FakeMigrationProvider) Provide() []migrations.MigrationStep
- func (fake *FakeMigrationProvider) ProvideCallCount() int
- func (fake *FakeMigrationProvider) ProvideCalls(stub func() []migrations.MigrationStep)
- func (fake *FakeMigrationProvider) ProvideReturns(result1 []migrations.MigrationStep)
- func (fake *FakeMigrationProvider) ProvideReturnsOnCall(i int, result1 []migrations.MigrationStep)
- type FakeMigrationStep
- func (fake *FakeMigrationStep) AppliesTo() migrations.ObjectType
- func (fake *FakeMigrationStep) AppliesToCallCount() int
- func (fake *FakeMigrationStep) AppliesToCalls(stub func() migrations.ObjectType)
- func (fake *FakeMigrationStep) AppliesToReturns(result1 migrations.ObjectType)
- func (fake *FakeMigrationStep) AppliesToReturnsOnCall(i int, result1 migrations.ObjectType)
- func (fake *FakeMigrationStep) Apply(arg1 context.Context, arg2 runtime.Object) error
- func (fake *FakeMigrationStep) ApplyArgsForCall(i int) (context.Context, runtime.Object)
- func (fake *FakeMigrationStep) ApplyCallCount() int
- func (fake *FakeMigrationStep) ApplyCalls(stub func(context.Context, runtime.Object) error)
- func (fake *FakeMigrationStep) ApplyReturns(result1 error)
- func (fake *FakeMigrationStep) ApplyReturnsOnCall(i int, result1 error)
- func (fake *FakeMigrationStep) Invocations() map[string][][]interface{}
- func (fake *FakeMigrationStep) SequenceID() int
- func (fake *FakeMigrationStep) SequenceIDCallCount() int
- func (fake *FakeMigrationStep) SequenceIDCalls(stub func() int)
- func (fake *FakeMigrationStep) SequenceIDReturns(result1 int)
- func (fake *FakeMigrationStep) SequenceIDReturnsOnCall(i int, result1 int)
- type FakePDBClient
- func (fake *FakePDBClient) Get(arg1 context.Context, arg2 string, arg3 string) (*v1beta1.PodDisruptionBudget, error)
- func (fake *FakePDBClient) GetArgsForCall(i int) (context.Context, string, string)
- func (fake *FakePDBClient) GetCallCount() int
- func (fake *FakePDBClient) GetCalls(...)
- func (fake *FakePDBClient) GetReturns(result1 *v1beta1.PodDisruptionBudget, result2 error)
- func (fake *FakePDBClient) GetReturnsOnCall(i int, result1 *v1beta1.PodDisruptionBudget, result2 error)
- func (fake *FakePDBClient) Invocations() map[string][][]interface{}
- func (fake *FakePDBClient) SetOwner(arg1 context.Context, arg2 *v1beta1.PodDisruptionBudget, arg3 *v1.StatefulSet) (*v1beta1.PodDisruptionBudget, error)
- func (fake *FakePDBClient) SetOwnerArgsForCall(i int) (context.Context, *v1beta1.PodDisruptionBudget, *v1.StatefulSet)
- func (fake *FakePDBClient) SetOwnerCallCount() int
- func (fake *FakePDBClient) SetOwnerCalls(...)
- func (fake *FakePDBClient) SetOwnerReturns(result1 *v1beta1.PodDisruptionBudget, result2 error)
- func (fake *FakePDBClient) SetOwnerReturnsOnCall(i int, result1 *v1beta1.PodDisruptionBudget, result2 error)
- type FakeSecretsClient
- func (fake *FakeSecretsClient) Get(arg1 context.Context, arg2 string, arg3 string) (*v1.Secret, error)
- func (fake *FakeSecretsClient) GetArgsForCall(i int) (context.Context, string, string)
- func (fake *FakeSecretsClient) GetCallCount() int
- func (fake *FakeSecretsClient) GetCalls(stub func(context.Context, string, string) (*v1.Secret, error))
- func (fake *FakeSecretsClient) GetReturns(result1 *v1.Secret, result2 error)
- func (fake *FakeSecretsClient) GetReturnsOnCall(i int, result1 *v1.Secret, result2 error)
- func (fake *FakeSecretsClient) Invocations() map[string][][]interface{}
- func (fake *FakeSecretsClient) SetOwner(arg1 context.Context, arg2 *v1.Secret, arg3 v1a.Object) (*v1.Secret, error)
- func (fake *FakeSecretsClient) SetOwnerArgsForCall(i int) (context.Context, *v1.Secret, v1a.Object)
- func (fake *FakeSecretsClient) SetOwnerCallCount() int
- func (fake *FakeSecretsClient) SetOwnerCalls(stub func(context.Context, *v1.Secret, v1a.Object) (*v1.Secret, error))
- func (fake *FakeSecretsClient) SetOwnerReturns(result1 *v1.Secret, result2 error)
- func (fake *FakeSecretsClient) SetOwnerReturnsOnCall(i int, result1 *v1.Secret, result2 error)
- type FakeStatefulsetsClient
- func (fake *FakeStatefulsetsClient) GetBySourceType(arg1 context.Context, arg2 string) ([]v1.StatefulSet, error)
- func (fake *FakeStatefulsetsClient) GetBySourceTypeArgsForCall(i int) (context.Context, string)
- func (fake *FakeStatefulsetsClient) GetBySourceTypeCallCount() int
- func (fake *FakeStatefulsetsClient) GetBySourceTypeCalls(stub func(context.Context, string) ([]v1.StatefulSet, error))
- func (fake *FakeStatefulsetsClient) GetBySourceTypeReturns(result1 []v1.StatefulSet, result2 error)
- func (fake *FakeStatefulsetsClient) GetBySourceTypeReturnsOnCall(i int, result1 []v1.StatefulSet, result2 error)
- func (fake *FakeStatefulsetsClient) Invocations() map[string][][]interface{}
- func (fake *FakeStatefulsetsClient) SetAnnotation(arg1 context.Context, arg2 *v1.StatefulSet, arg3 string, arg4 string) (*v1.StatefulSet, error)
- func (fake *FakeStatefulsetsClient) SetAnnotationArgsForCall(i int) (context.Context, *v1.StatefulSet, string, string)
- func (fake *FakeStatefulsetsClient) SetAnnotationCallCount() int
- func (fake *FakeStatefulsetsClient) SetAnnotationCalls(...)
- func (fake *FakeStatefulsetsClient) SetAnnotationReturns(result1 *v1.StatefulSet, result2 error)
- func (fake *FakeStatefulsetsClient) SetAnnotationReturnsOnCall(i int, result1 *v1.StatefulSet, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCPURequestSetter ¶
type FakeCPURequestSetter struct { SetCPURequestStub func(context.Context, *v1.StatefulSet, *resource.Quantity) (*v1.StatefulSet, error) // contains filtered or unexported fields }
func (*FakeCPURequestSetter) Invocations ¶
func (fake *FakeCPURequestSetter) Invocations() map[string][][]interface{}
func (*FakeCPURequestSetter) SetCPURequest ¶
func (fake *FakeCPURequestSetter) SetCPURequest(arg1 context.Context, arg2 *v1.StatefulSet, arg3 *resource.Quantity) (*v1.StatefulSet, error)
func (*FakeCPURequestSetter) SetCPURequestArgsForCall ¶
func (fake *FakeCPURequestSetter) SetCPURequestArgsForCall(i int) (context.Context, *v1.StatefulSet, *resource.Quantity)
func (*FakeCPURequestSetter) SetCPURequestCallCount ¶
func (fake *FakeCPURequestSetter) SetCPURequestCallCount() int
func (*FakeCPURequestSetter) SetCPURequestCalls ¶
func (fake *FakeCPURequestSetter) SetCPURequestCalls(stub func(context.Context, *v1.StatefulSet, *resource.Quantity) (*v1.StatefulSet, error))
func (*FakeCPURequestSetter) SetCPURequestReturns ¶
func (fake *FakeCPURequestSetter) SetCPURequestReturns(result1 *v1.StatefulSet, result2 error)
func (*FakeCPURequestSetter) SetCPURequestReturnsOnCall ¶
func (fake *FakeCPURequestSetter) SetCPURequestReturnsOnCall(i int, result1 *v1.StatefulSet, result2 error)
type FakeJobsClient ¶
type FakeJobsClient struct { ListStub func(context.Context, bool) ([]v1.Job, error) SetAnnotationStub func(context.Context, *v1.Job, string, string) (*v1.Job, error) // contains filtered or unexported fields }
func (*FakeJobsClient) Invocations ¶
func (fake *FakeJobsClient) Invocations() map[string][][]interface{}
func (*FakeJobsClient) ListArgsForCall ¶
func (fake *FakeJobsClient) ListArgsForCall(i int) (context.Context, bool)
func (*FakeJobsClient) ListCallCount ¶
func (fake *FakeJobsClient) ListCallCount() int
func (*FakeJobsClient) ListReturns ¶
func (fake *FakeJobsClient) ListReturns(result1 []v1.Job, result2 error)
func (*FakeJobsClient) ListReturnsOnCall ¶
func (fake *FakeJobsClient) ListReturnsOnCall(i int, result1 []v1.Job, result2 error)
func (*FakeJobsClient) SetAnnotation ¶
func (*FakeJobsClient) SetAnnotationArgsForCall ¶
func (*FakeJobsClient) SetAnnotationCallCount ¶
func (fake *FakeJobsClient) SetAnnotationCallCount() int
func (*FakeJobsClient) SetAnnotationCalls ¶
func (*FakeJobsClient) SetAnnotationReturns ¶
func (fake *FakeJobsClient) SetAnnotationReturns(result1 *v1.Job, result2 error)
func (*FakeJobsClient) SetAnnotationReturnsOnCall ¶
func (fake *FakeJobsClient) SetAnnotationReturnsOnCall(i int, result1 *v1.Job, result2 error)
type FakeMigrationProvider ¶
type FakeMigrationProvider struct { GetLatestMigrationIndexStub func() int ProvideStub func() []migrations.MigrationStep // contains filtered or unexported fields }
func (*FakeMigrationProvider) GetLatestMigrationIndex ¶
func (fake *FakeMigrationProvider) GetLatestMigrationIndex() int
func (*FakeMigrationProvider) GetLatestMigrationIndexCallCount ¶
func (fake *FakeMigrationProvider) GetLatestMigrationIndexCallCount() int
func (*FakeMigrationProvider) GetLatestMigrationIndexCalls ¶
func (fake *FakeMigrationProvider) GetLatestMigrationIndexCalls(stub func() int)
func (*FakeMigrationProvider) GetLatestMigrationIndexReturns ¶
func (fake *FakeMigrationProvider) GetLatestMigrationIndexReturns(result1 int)
func (*FakeMigrationProvider) GetLatestMigrationIndexReturnsOnCall ¶
func (fake *FakeMigrationProvider) GetLatestMigrationIndexReturnsOnCall(i int, result1 int)
func (*FakeMigrationProvider) Invocations ¶
func (fake *FakeMigrationProvider) Invocations() map[string][][]interface{}
func (*FakeMigrationProvider) Provide ¶
func (fake *FakeMigrationProvider) Provide() []migrations.MigrationStep
func (*FakeMigrationProvider) ProvideCallCount ¶
func (fake *FakeMigrationProvider) ProvideCallCount() int
func (*FakeMigrationProvider) ProvideCalls ¶
func (fake *FakeMigrationProvider) ProvideCalls(stub func() []migrations.MigrationStep)
func (*FakeMigrationProvider) ProvideReturns ¶
func (fake *FakeMigrationProvider) ProvideReturns(result1 []migrations.MigrationStep)
func (*FakeMigrationProvider) ProvideReturnsOnCall ¶
func (fake *FakeMigrationProvider) ProvideReturnsOnCall(i int, result1 []migrations.MigrationStep)
type FakeMigrationStep ¶
type FakeMigrationStep struct { AppliesToStub func() migrations.ObjectType ApplyStub func(context.Context, runtime.Object) error SequenceIDStub func() int // contains filtered or unexported fields }
func (*FakeMigrationStep) AppliesTo ¶
func (fake *FakeMigrationStep) AppliesTo() migrations.ObjectType
func (*FakeMigrationStep) AppliesToCallCount ¶
func (fake *FakeMigrationStep) AppliesToCallCount() int
func (*FakeMigrationStep) AppliesToCalls ¶
func (fake *FakeMigrationStep) AppliesToCalls(stub func() migrations.ObjectType)
func (*FakeMigrationStep) AppliesToReturns ¶
func (fake *FakeMigrationStep) AppliesToReturns(result1 migrations.ObjectType)
func (*FakeMigrationStep) AppliesToReturnsOnCall ¶
func (fake *FakeMigrationStep) AppliesToReturnsOnCall(i int, result1 migrations.ObjectType)
func (*FakeMigrationStep) ApplyArgsForCall ¶
func (*FakeMigrationStep) ApplyCallCount ¶
func (fake *FakeMigrationStep) ApplyCallCount() int
func (*FakeMigrationStep) ApplyCalls ¶
func (*FakeMigrationStep) ApplyReturns ¶
func (fake *FakeMigrationStep) ApplyReturns(result1 error)
func (*FakeMigrationStep) ApplyReturnsOnCall ¶
func (fake *FakeMigrationStep) ApplyReturnsOnCall(i int, result1 error)
func (*FakeMigrationStep) Invocations ¶
func (fake *FakeMigrationStep) Invocations() map[string][][]interface{}
func (*FakeMigrationStep) SequenceID ¶
func (fake *FakeMigrationStep) SequenceID() int
func (*FakeMigrationStep) SequenceIDCallCount ¶
func (fake *FakeMigrationStep) SequenceIDCallCount() int
func (*FakeMigrationStep) SequenceIDCalls ¶
func (fake *FakeMigrationStep) SequenceIDCalls(stub func() int)
func (*FakeMigrationStep) SequenceIDReturns ¶
func (fake *FakeMigrationStep) SequenceIDReturns(result1 int)
func (*FakeMigrationStep) SequenceIDReturnsOnCall ¶
func (fake *FakeMigrationStep) SequenceIDReturnsOnCall(i int, result1 int)
type FakePDBClient ¶
type FakePDBClient struct { GetStub func(context.Context, string, string) (*v1beta1.PodDisruptionBudget, error) SetOwnerStub func(context.Context, *v1beta1.PodDisruptionBudget, *v1.StatefulSet) (*v1beta1.PodDisruptionBudget, error) // contains filtered or unexported fields }
func (*FakePDBClient) Get ¶
func (fake *FakePDBClient) Get(arg1 context.Context, arg2 string, arg3 string) (*v1beta1.PodDisruptionBudget, error)
func (*FakePDBClient) GetArgsForCall ¶
func (*FakePDBClient) GetCallCount ¶
func (fake *FakePDBClient) GetCallCount() int
func (*FakePDBClient) GetCalls ¶
func (fake *FakePDBClient) GetCalls(stub func(context.Context, string, string) (*v1beta1.PodDisruptionBudget, error))
func (*FakePDBClient) GetReturns ¶
func (fake *FakePDBClient) GetReturns(result1 *v1beta1.PodDisruptionBudget, result2 error)
func (*FakePDBClient) GetReturnsOnCall ¶
func (fake *FakePDBClient) GetReturnsOnCall(i int, result1 *v1beta1.PodDisruptionBudget, result2 error)
func (*FakePDBClient) Invocations ¶
func (fake *FakePDBClient) Invocations() map[string][][]interface{}
func (*FakePDBClient) SetOwner ¶
func (fake *FakePDBClient) SetOwner(arg1 context.Context, arg2 *v1beta1.PodDisruptionBudget, arg3 *v1.StatefulSet) (*v1beta1.PodDisruptionBudget, error)
func (*FakePDBClient) SetOwnerArgsForCall ¶
func (fake *FakePDBClient) SetOwnerArgsForCall(i int) (context.Context, *v1beta1.PodDisruptionBudget, *v1.StatefulSet)
func (*FakePDBClient) SetOwnerCallCount ¶
func (fake *FakePDBClient) SetOwnerCallCount() int
func (*FakePDBClient) SetOwnerCalls ¶
func (fake *FakePDBClient) SetOwnerCalls(stub func(context.Context, *v1beta1.PodDisruptionBudget, *v1.StatefulSet) (*v1beta1.PodDisruptionBudget, error))
func (*FakePDBClient) SetOwnerReturns ¶
func (fake *FakePDBClient) SetOwnerReturns(result1 *v1beta1.PodDisruptionBudget, result2 error)
func (*FakePDBClient) SetOwnerReturnsOnCall ¶
func (fake *FakePDBClient) SetOwnerReturnsOnCall(i int, result1 *v1beta1.PodDisruptionBudget, result2 error)
type FakeSecretsClient ¶
type FakeSecretsClient struct { GetStub func(context.Context, string, string) (*v1.Secret, error) SetOwnerStub func(context.Context, *v1.Secret, v1a.Object) (*v1.Secret, error) // contains filtered or unexported fields }
func (*FakeSecretsClient) GetArgsForCall ¶
func (*FakeSecretsClient) GetCallCount ¶
func (fake *FakeSecretsClient) GetCallCount() int
func (*FakeSecretsClient) GetReturns ¶
func (fake *FakeSecretsClient) GetReturns(result1 *v1.Secret, result2 error)
func (*FakeSecretsClient) GetReturnsOnCall ¶
func (fake *FakeSecretsClient) GetReturnsOnCall(i int, result1 *v1.Secret, result2 error)
func (*FakeSecretsClient) Invocations ¶
func (fake *FakeSecretsClient) Invocations() map[string][][]interface{}
func (*FakeSecretsClient) SetOwnerArgsForCall ¶
func (*FakeSecretsClient) SetOwnerCallCount ¶
func (fake *FakeSecretsClient) SetOwnerCallCount() int
func (*FakeSecretsClient) SetOwnerCalls ¶
func (*FakeSecretsClient) SetOwnerReturns ¶
func (fake *FakeSecretsClient) SetOwnerReturns(result1 *v1.Secret, result2 error)
func (*FakeSecretsClient) SetOwnerReturnsOnCall ¶
func (fake *FakeSecretsClient) SetOwnerReturnsOnCall(i int, result1 *v1.Secret, result2 error)
type FakeStatefulsetsClient ¶
type FakeStatefulsetsClient struct { GetBySourceTypeStub func(context.Context, string) ([]v1.StatefulSet, error) SetAnnotationStub func(context.Context, *v1.StatefulSet, string, string) (*v1.StatefulSet, error) // contains filtered or unexported fields }
func (*FakeStatefulsetsClient) GetBySourceType ¶
func (fake *FakeStatefulsetsClient) GetBySourceType(arg1 context.Context, arg2 string) ([]v1.StatefulSet, error)
func (*FakeStatefulsetsClient) GetBySourceTypeArgsForCall ¶
func (fake *FakeStatefulsetsClient) GetBySourceTypeArgsForCall(i int) (context.Context, string)
func (*FakeStatefulsetsClient) GetBySourceTypeCallCount ¶
func (fake *FakeStatefulsetsClient) GetBySourceTypeCallCount() int
func (*FakeStatefulsetsClient) GetBySourceTypeCalls ¶
func (fake *FakeStatefulsetsClient) GetBySourceTypeCalls(stub func(context.Context, string) ([]v1.StatefulSet, error))
func (*FakeStatefulsetsClient) GetBySourceTypeReturns ¶
func (fake *FakeStatefulsetsClient) GetBySourceTypeReturns(result1 []v1.StatefulSet, result2 error)
func (*FakeStatefulsetsClient) GetBySourceTypeReturnsOnCall ¶
func (fake *FakeStatefulsetsClient) GetBySourceTypeReturnsOnCall(i int, result1 []v1.StatefulSet, result2 error)
func (*FakeStatefulsetsClient) Invocations ¶
func (fake *FakeStatefulsetsClient) Invocations() map[string][][]interface{}
func (*FakeStatefulsetsClient) SetAnnotation ¶
func (fake *FakeStatefulsetsClient) SetAnnotation(arg1 context.Context, arg2 *v1.StatefulSet, arg3 string, arg4 string) (*v1.StatefulSet, error)
func (*FakeStatefulsetsClient) SetAnnotationArgsForCall ¶
func (fake *FakeStatefulsetsClient) SetAnnotationArgsForCall(i int) (context.Context, *v1.StatefulSet, string, string)
func (*FakeStatefulsetsClient) SetAnnotationCallCount ¶
func (fake *FakeStatefulsetsClient) SetAnnotationCallCount() int
func (*FakeStatefulsetsClient) SetAnnotationCalls ¶
func (fake *FakeStatefulsetsClient) SetAnnotationCalls(stub func(context.Context, *v1.StatefulSet, string, string) (*v1.StatefulSet, error))
func (*FakeStatefulsetsClient) SetAnnotationReturns ¶
func (fake *FakeStatefulsetsClient) SetAnnotationReturns(result1 *v1.StatefulSet, result2 error)
func (*FakeStatefulsetsClient) SetAnnotationReturnsOnCall ¶
func (fake *FakeStatefulsetsClient) SetAnnotationReturnsOnCall(i int, result1 *v1.StatefulSet, result2 error)
Click to show internal directories.
Click to hide internal directories.