Documentation ¶
Index ¶
- Constants
- func DefaultDecorator() func(span trace.Span, params, results map[string]interface{})
- type RuntimeClientWithTracing
- func (_d RuntimeClientWithTracing) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) (err error)
- func (_d RuntimeClientWithTracing) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) (err error)
- func (_d RuntimeClientWithTracing) DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) (err error)
- func (_d RuntimeClientWithTracing) Get(ctx context.Context, key client.ObjectKey, obj client.Object, ...) (err error)
- func (_d RuntimeClientWithTracing) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) (err error)
- func (_d RuntimeClientWithTracing) Patch(ctx context.Context, obj client.Object, patch client.Patch, ...) (err error)
- func (_d RuntimeClientWithTracing) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) (err error)
Constants ¶
View Source
const ( KeyParam = "key" ListParam = "list" // ignored ObjParam = "obj" OptsParam = "opts" // ignored PatchParam = "patch" )
Variables ¶
This section is empty.
Functions ¶
func DefaultDecorator ¶
Types ¶
type RuntimeClientWithTracing ¶
type RuntimeClientWithTracing struct { wrappers.RuntimeClient // contains filtered or unexported fields }
RuntimeClientWithTracing implements wrappers.RuntimeClient interface instrumented with opentracing spans
func NewRuntimeClientWithTracing ¶
func NewRuntimeClientWithTracing(base wrappers.RuntimeClient, spanDecorator ...func(span trace.Span, params, results map[string]interface{})) RuntimeClientWithTracing
NewRuntimeClientWithTracing returns RuntimeClientWithTracing
func (RuntimeClientWithTracing) Create ¶
func (_d RuntimeClientWithTracing) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) (err error)
Create implements wrappers.RuntimeClient
func (RuntimeClientWithTracing) Delete ¶
func (_d RuntimeClientWithTracing) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) (err error)
Delete implements wrappers.RuntimeClient
func (RuntimeClientWithTracing) DeleteAllOf ¶
func (_d RuntimeClientWithTracing) DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) (err error)
DeleteAllOf implements wrappers.RuntimeClient
func (RuntimeClientWithTracing) Get ¶
func (_d RuntimeClientWithTracing) Get(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) (err error)
Get implements wrappers.RuntimeClient
func (RuntimeClientWithTracing) List ¶
func (_d RuntimeClientWithTracing) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) (err error)
List implements wrappers.RuntimeClient
func (RuntimeClientWithTracing) Patch ¶
func (_d RuntimeClientWithTracing) Patch(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption) (err error)
Patch implements wrappers.RuntimeClient
func (RuntimeClientWithTracing) Update ¶
func (_d RuntimeClientWithTracing) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) (err error)
Update implements wrappers.RuntimeClient
Click to show internal directories.
Click to hide internal directories.