Documentation ¶
Overview ¶
Package fake provides a fake Federator for use in tests.
Index ¶
- type Federator
- func (f *Federator) Delete(ctx context.Context, obj runtime.Object) error
- func (f *Federator) Distribute(ctx context.Context, obj runtime.Object) error
- func (f *Federator) FailOnDelete(err error)
- func (f *Federator) FailOnDistribute(err error)
- func (f *Federator) SetDelegator(d federate.Federator)
- 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 ¶
func (*Federator) Distribute ¶
func (*Federator) FailOnDelete ¶
func (*Federator) FailOnDistribute ¶
func (*Federator) SetDelegator ¶ added in v0.19.0
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.