Documentation ¶
Overview ¶
Package fake provides a fake Federator for use in tests.
Index ¶
- type Federator
- func (f *Federator) Delete(_ context.Context, obj runtime.Object) error
- func (f *Federator) Distribute(_ context.Context, obj runtime.Object) error
- func (f *Federator) VerifyDelete(expected runtime.Object)
- func (f *Federator) VerifyDistribute(expected runtime.Object)
- func (f *Federator) VerifyNoDelete()
- func (f *Federator) VerifyNoDistribute()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Federator ¶
type Federator struct { FailOnDistribute error FailOnDelete error ResetOnFailure bool // contains filtered or unexported fields }
func (*Federator) Distribute ¶
func (*Federator) VerifyDelete ¶
func (*Federator) VerifyDistribute ¶
func (*Federator) VerifyNoDelete ¶
func (f *Federator) VerifyNoDelete()
func (*Federator) VerifyNoDistribute ¶
func (f *Federator) VerifyNoDistribute()
Click to show internal directories.
Click to hide internal directories.