Documentation
¶
Index ¶
- type Client
- func (c Client) DeleteObj(ctx context.Context, obj runtime.Object) error
- func (c Client) Get(ctx context.Context, key string) (imitator.Resp, error)
- func (c Client) GetPassThroughObj(ctx context.Context, key string) ([]byte, error)
- func (c Client) GetRevision() uint64
- func (c Client) Inject(msg model.Message)
- func (c Client) InsertOrUpdateObj(ctx context.Context, obj runtime.Object) error
- func (c Client) InsertOrUpdatePassThroughObj(ctx context.Context, obj []byte, key string) error
- func (c Client) List(ctx context.Context, key string) (imitator.Resp, error)
- func (c Client) SetRevision(version interface{})
- func (c Client) Watch(ctx context.Context, key string, ResourceVersion uint64) <-chan watch.Event
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { InjectF func(msg model.Message) InsertOrUpdateObjF func(ctx context.Context, obj runtime.Object) error DeleteObjF func(ctx context.Context, obj runtime.Object) error InsertOrUpdatePassThroughObjF func(ctx context.Context, obj []byte, key string) error GetPassThroughObjF func(ctx context.Context, key string) ([]byte, error) GetRevisionF func() uint64 SetRevisionF func(version interface{}) ListF func(ctx context.Context, key string) (imitator.Resp, error) GetF func(ctx context.Context, key string) (imitator.Resp, error) WatchF func(ctx context.Context, key string, ResourceVersion uint64) <-chan watch.Event }
Client fake
func (Client) GetPassThroughObj ¶
GetPassThroughObj fake
func (Client) InsertOrUpdateObj ¶
InsertOrUpdateObj fake
func (Client) InsertOrUpdatePassThroughObj ¶
InsertOrUpdatePassThroughObj fake
Click to show internal directories.
Click to hide internal directories.