MCPcopy
hub / github.com/istio/istio / file_workloadapi_workload_proto_init

Function file_workloadapi_workload_proto_init

pkg/workloadapi/workload.pb.go:1953–1984  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1951
1952func init() { file_workloadapi_workload_proto_init() }
1953func file_workloadapi_workload_proto_init() {
1954 if File_workloadapi_workload_proto != nil {
1955 return
1956 }
1957 file_workloadapi_workload_proto_msgTypes[0].OneofWrappers = []any{
1958 (*Address_Workload)(nil),
1959 (*Address_Service)(nil),
1960 }
1961 file_workloadapi_workload_proto_msgTypes[8].OneofWrappers = []any{
1962 (*GatewayAddress_Hostname)(nil),
1963 (*GatewayAddress_Address)(nil),
1964 }
1965 file_workloadapi_workload_proto_msgTypes[9].OneofWrappers = []any{}
1966 type x struct{}
1967 out := protoimpl.TypeBuilder{
1968 File: protoimpl.DescBuilder{
1969 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1970 RawDescriptor: unsafe.Slice(unsafe.StringData(file_workloadapi_workload_proto_rawDesc), len(file_workloadapi_workload_proto_rawDesc)),
1971 NumEnums: 10,
1972 NumMessages: 13,
1973 NumExtensions: 0,
1974 NumServices: 0,
1975 },
1976 GoTypes: file_workloadapi_workload_proto_goTypes,
1977 DependencyIndexes: file_workloadapi_workload_proto_depIdxs,
1978 EnumInfos: file_workloadapi_workload_proto_enumTypes,
1979 MessageInfos: file_workloadapi_workload_proto_msgTypes,
1980 }.Build()
1981 File_workloadapi_workload_proto = out.File
1982 file_workloadapi_workload_proto_goTypes = nil
1983 file_workloadapi_workload_proto_depIdxs = nil
1984}

Callers 1

initFunction · 0.85

Calls 2

SliceMethod · 0.80
BuildMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…