apimachineryk8s.io/apimachinery/pkg/util/naming Index | Files

package naming

import "k8s.io/apimachinery/pkg/util/naming"

Index

Functions

func GetNameFromCallsite

func GetNameFromCallsite(ignoredPackages ...string) string

GetNameFromCallsite walks back through the call stack until we find a caller from outside of the ignoredPackages it returns back a shortpath/filename:line to aid in identification of this reflector when it starts logging

Source Files

from_stack.go

Version
v0.19.0-alpha.2
Published
Apr 18, 2020
Platform
js/wasm
Imports
6 packages
Last checked
3 hours ago

Tools for package owners.