...

Package naming

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

Overview ▾

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