runtimeclient

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyParam   = "key"
	ListParam  = "list" // ignored
	ObjParam   = "obj"
	OptsParam  = "opts" // ignored
	PatchParam = "patch"
)

Variables

This section is empty.

Functions

func DefaultDecorator

func DefaultDecorator() func(span trace.Span, params, results map[string]interface{})

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

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

Jump to

Keyboard shortcuts

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