clientset

package
v1.12.2-rc.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WrapWithLogging

func WrapWithLogging(inner dynamic.Interface, logger logr.Logger) dynamic.Interface

func WrapWithMetrics

func WrapWithMetrics(inner dynamic.Interface, metrics metrics.MetricsConfigManager, clientType metrics.ClientType) dynamic.Interface

func WrapWithTracing

func WrapWithTracing(inner dynamic.Interface) dynamic.Interface

Types

type Interface

type Interface interface {
	UpstreamInterface
	WithMetrics(metrics.MetricsConfigManager, metrics.ClientType) Interface
	WithTracing() Interface
	WithLogging(logr.Logger) Interface
}

func From

func NewForConfig

func NewForConfig(c *rest.Config, opts ...NewOption) (Interface, error)

func NewForConfigAndClient

func NewForConfigAndClient(c *rest.Config, httpClient *http.Client, opts ...NewOption) (Interface, error)

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config, opts ...NewOption) Interface

type NewOption

type NewOption func(Interface) Interface

func WithLogging

func WithLogging(logger logr.Logger) NewOption

func WithTracing

func WithTracing() NewOption

type UpstreamInterface added in v1.10.0

type UpstreamInterface = k8s_io_client_go_dynamic.Interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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