mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-03 11:45:45 +00:00
Enforce importas: - go.pinniped.dev/generated/latest/apis/supervisor/config/v1alpha1 - go.pinniped.dev/generated/latest/apis/supervisor/idp/v1alpha1
15 lines
348 B
Go
15 lines
348 B
Go
// Copyright 2021-2024 the Pinniped contributors. All Rights Reserved.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package valuelesscontext
|
|
|
|
import "context"
|
|
|
|
func New(ctx context.Context) context.Context {
|
|
return valuelessContext{Context: ctx}
|
|
}
|
|
|
|
type valuelessContext struct{ context.Context }
|
|
|
|
func (valuelessContext) Value(any) any { return nil }
|