/
githubmirror
/
kubernetes
Обзор
Документация
Войти
/
githubmirror
/
kubernetes
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
vendor/github.com/go-openapi/jsonpointer/jsonname/ifaces.go
16 строк
549 B
Davanum Srinivas
Update k8s.io/kube-openapi to v0.0.0-20260721132016-d427ff9ee9ad
21 июл 2026, 16:56
Не верифицирован
21 июл 2026, 16:56
0706a3b
Код
Авторство
О чём код?
// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers // SPDX-License-Identifier: Apache-2.0 package jsonname import "reflect" // providerIface is an unexported compile-time contract that every name provider in this package is // expected to satisfy. // // It mirrors the interface declared by the main consumer of this module: // [github.com/go-openapi/jsonpointer.NameProvider]. type providerIface interface { GetGoName(subject any, name string) (string, bool) GetGoNameForType(tpe reflect.Type, name string) (string, bool) }