runtimeclient

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 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 {
	_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

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

Jump to

Keyboard shortcuts

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