cachekeycontext

package
v8.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package cachekeycontext stores and accesses the local context key in context.Context.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromContext

func FromContext(ctx context.Context) (string, bool)

FromContext returns the kept channel, if any.

func NewContext

func NewContext(ctx context.Context, v string) context.Context

NewContext returns a new context.Context that can be used to access the current reconciliation loop's cache key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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