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 { _sourceWrappers.RuntimeClient // contains filtered or unexported fields }
RuntimeClientWithTracing implements _sourceWrappers.RuntimeClient interface instrumented with opentracing spans
func NewRuntimeClientWithTracing ¶
func NewRuntimeClientWithTracing(base _sourceWrappers.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 _sourceWrappers.RuntimeClient
func (RuntimeClientWithTracing) Delete ¶
func (_d RuntimeClientWithTracing) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) (err error)
Delete implements _sourceWrappers.RuntimeClient
func (RuntimeClientWithTracing) DeleteAllOf ¶
func (_d RuntimeClientWithTracing) DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) (err error)
DeleteAllOf implements _sourceWrappers.RuntimeClient
func (RuntimeClientWithTracing) Get ¶
func (_d RuntimeClientWithTracing) Get(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) (err error)
Get implements _sourceWrappers.RuntimeClient
func (RuntimeClientWithTracing) List ¶
func (_d RuntimeClientWithTracing) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) (err error)
List implements _sourceWrappers.RuntimeClient
func (RuntimeClientWithTracing) Patch ¶
func (_d RuntimeClientWithTracing) Patch(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption) (err error)
Patch implements _sourceWrappers.RuntimeClient
func (RuntimeClientWithTracing) Update ¶
func (_d RuntimeClientWithTracing) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) (err error)
Update implements _sourceWrappers.RuntimeClient
Click to show internal directories.
Click to hide internal directories.