- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for friendlyName (0.17 sec)
-
pkg/generated/openapi/cmd/models-schema/main.go
// the type. if schema, ok := v.Schema.Extensions[common.ExtensionV2Schema]; ok { if v2Schema, isOpenAPISchema := schema.(spec.Schema); isOpenAPISchema { schemaDefs[friendlyName(k)] = v2Schema continue } } schemaDefs[friendlyName(k)] = v.Schema } data, err := json.Marshal(&spec.Swagger{ SwaggerProps: spec.SwaggerProps{ Definitions: schemaDefs, Info: &spec.Info{ InfoProps: spec.InfoProps{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:52 UTC 2024 - 2.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/openapi/openapi.go
func (d *DefinitionNamer) GetDefinitionName(name string) (string, spec.Extensions) { if groupVersionKinds, ok := d.typeGroupVersionKinds[name]; ok { return friendlyName(name), spec.Extensions{ extensionGVK: groupVersionKinds.JSON(), } } return friendlyName(name), nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 09 18:11:41 UTC 2022 - 5.5K bytes - Viewed (0) -
pkg/config/analysis/legacy/source/kube/origin.go
FieldsMap map[string]int Cluster cluster.ID } var ( _ resource.Origin = &Origin{} _ resource.Reference = &Position{} ) // FriendlyName implements resource.Origin func (o *Origin) FriendlyName() string { parts := strings.Split(o.FullName.String(), "/") if len(parts) == 2 { // The istioctl convention is <type> [<namespace>/]<name>.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 2.8K bytes - Viewed (0) -
pkg/config/resource/origin.go
// limitations under the License. package resource import "istio.io/istio/pkg/cluster" // Origin of a resource. This is source-implementation dependent. type Origin interface { FriendlyName() string Namespace() Namespace Reference() Reference // FieldMap returns the flat map containing paths of the fields in the resource as keys, // and their corresponding line numbers as values
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 1.2K bytes - Viewed (0) -
pkg/config/analysis/diag/helper.go
name string ref resource.Reference fieldMap map[string]int cluster cluster.ID } func (o testOrigin) ClusterName() cluster.ID { return o.cluster } func (o testOrigin) FriendlyName() string { return o.name } func (o testOrigin) Comparator() string { return o.name } func (o testOrigin) Namespace() resource.Namespace { return "" }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 1.6K bytes - Viewed (0) -
pkg/config/analysis/diag/message.go
result := make(map[string]any) result["code"] = m.Type.Code() result["level"] = m.Type.Level().String() if includeOrigin && m.Resource != nil { result["origin"] = m.Resource.Origin.FriendlyName() if m.Resource.Origin.Reference() != nil { loc := m.Resource.Origin.Reference().String() if m.Line != 0 { loc = m.ReplaceLine(loc) } result["reference"] = loc } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 10 02:05:07 UTC 2022 - 5.1K bytes - Viewed (0) -
pkg/config/analysis/analyzers/schema/validation_test.go
Proto: original.Proto(), ProtoPackage: original.ProtoPackage(), ValidateProto: validateFn, }.MustBuild() } type fakeOrigin struct{} func (fakeOrigin) FriendlyName() string { return "myFriendlyName" } func (fakeOrigin) Comparator() string { return "myFriendlyName" } func (fakeOrigin) Namespace() resource.Namespace { return "myNamespace" }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 4.5K bytes - Viewed (0) -
src/net/interface_windows.go
if index == 0 { // ipv6IfIndex is a substitute for ifIndex index = aa.Ipv6IfIndex } if ifindex == 0 || ifindex == int(index) { ifi := Interface{ Index: int(index), Name: windows.UTF16PtrToString(aa.FriendlyName), } if aa.OperStatus == windows.IfOperStatusUp { ifi.Flags |= FlagUp ifi.Flags |= FlagRunning } // For now we need to infer link-layer service // capabilities from media types.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 10:25:02 UTC 2024 - 5.5K bytes - Viewed (0) -
pkg/config/analysis/local/istiod_analyze.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 21:06:13 UTC 2024 - 21.6K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
return "Cluster" } func (o clusterOrigin) String() string { return "" } func (o clusterOrigin) FriendlyName() string { return "Cluster" } func (o clusterOrigin) Comparator() string { return o.FriendlyName() } func (o clusterOrigin) Namespace() resource.Namespace { return "" } func (o clusterOrigin) Reference() resource.Reference {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 02:57:30 UTC 2024 - 19.3K bytes - Viewed (0)