Documentation ¶
Index ¶
- func WrapWithLogging(inner metadata.Interface, logger logr.Logger) metadata.Interface
- func WrapWithMetrics(inner metadata.Interface, metrics metrics.MetricsConfigManager, ...) metadata.Interface
- func WrapWithTracing(inner metadata.Interface) metadata.Interface
- type Interface
- func From(inner k8s_io_client_go_metadata.Interface, opts ...NewOption) Interface
- func NewForConfig(c *rest.Config, opts ...NewOption) (Interface, error)
- func NewForConfigAndClient(c *rest.Config, httpClient *http.Client, opts ...NewOption) (Interface, error)
- func NewForConfigOrDie(c *rest.Config, opts ...NewOption) Interface
- type NewOption
- type UpstreamInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WrapWithLogging ¶
func WrapWithMetrics ¶
func WrapWithMetrics(inner metadata.Interface, metrics metrics.MetricsConfigManager, clientType metrics.ClientType) metadata.Interface
Types ¶
type Interface ¶
type Interface interface { UpstreamInterface WithMetrics(metrics.MetricsConfigManager, metrics.ClientType) Interface WithTracing() Interface WithLogging(logr.Logger) Interface }
func NewForConfigAndClient ¶
type NewOption ¶
func WithLogging ¶
func WithMetrics ¶
func WithMetrics(m metrics.MetricsConfigManager, t metrics.ClientType) NewOption
func WithTracing ¶
func WithTracing() NewOption
type UpstreamInterface ¶ added in v1.10.0
type UpstreamInterface = k8s_io_client_go_metadata.Interface
Click to show internal directories.
Click to hide internal directories.