traced

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientWithTracing

type ClientWithTracing struct {
	k8s.Client
	// contains filtered or unexported fields
}

ClientWithTracing implements k8s.Client interface instrumented with opentracing spans

func NewClientWithTracing

func NewClientWithTracing(base k8s.Client, instance string, spanDecorator ...func(span trace.Span, params, results map[string]interface{})) ClientWithTracing

NewClientWithTracing returns ClientWithTracing

func (ClientWithTracing) Create

func (_d ClientWithTracing) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) (err error)

Create implements k8s.Client

func (ClientWithTracing) Delete

func (_d ClientWithTracing) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) (err error)

Delete implements k8s.Client

func (ClientWithTracing) DeleteAllOf

func (_d ClientWithTracing) DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) (err error)

DeleteAllOf implements k8s.Client

func (ClientWithTracing) Get

func (_d ClientWithTracing) Get(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) (err error)

Get implements k8s.Client

func (ClientWithTracing) List

func (_d ClientWithTracing) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) (err error)

List implements k8s.Client

func (ClientWithTracing) Patch

func (_d ClientWithTracing) Patch(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption) (err error)

Patch implements k8s.Client

func (ClientWithTracing) Update

func (_d ClientWithTracing) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) (err error)

Update implements k8s.Client

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL