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.33.0 (latest)
Published
Apr 11, 2025
Platform
linux/amd64
Imports
6 packages
Last checked
2 days ago

Tools for package owners.