- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 4,062 for structpb (0.14 sec)
-
pilot/pkg/model/context.go
return node.ipMode } // ParseMetadata parses the opaque Metadata from an Envoy Node into string key-value pairs. // Any non-string values are ignored. func ParseMetadata(metadata *structpb.Struct) (*NodeMetadata, error) { if metadata == nil { return &NodeMetadata{}, nil } bootstrapNodeMeta, err := ParseBootstrapNodeMetadata(metadata) if err != nil { return nil, err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 08:29:05 UTC 2024 - 33.6K bytes - Viewed (1) -
src/reflect/abi_test.go
type Struct9 struct { Struct1 Struct7 } // Struct10 is a struct type that is too large to be // passed in registers. type Struct10 struct { Struct5 Struct8 } // Struct11 is a struct type that has several reference // types in it. type Struct11 struct { X map[string]int } // Struct12 has Struct11 embedded into it to test more // paths. type Struct12 struct { A int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 05 17:54:15 UTC 2022 - 26.4K bytes - Viewed (0) -
operator/pkg/translate/translate.go
} // ProtoToHelmValues function below is used by third party for integrations and has to be public // ProtoToHelmValues takes an interface which must be a struct ptr and recursively iterates through all its fields. // For each leaf, if looks for a mapping from the struct data path to the corresponding YAML path and if one is // found, it calls the associated mapping function if one is defined to populate the values YAML path.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 12 19:43:09 UTC 2024 - 36.3K bytes - Viewed (0) -
pkg/kube/inject/inject_test.go
} }) }) } } func Test_updateClusterEnvs(t *testing.T) { type args struct { container *corev1.Container newKVs map[string]string } tests := []struct { name string args args want *corev1.Container }{ { args: args{ container: &corev1.Container{},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 20:35:11 UTC 2024 - 34.1K bytes - Viewed (0) -
pkg/adsc/adsc.go
"google.golang.org/grpc/credentials" "google.golang.org/grpc/credentials/insecure" "google.golang.org/protobuf/proto" anypb "google.golang.org/protobuf/types/known/anypb" pstruct "google.golang.org/protobuf/types/known/structpb" mcp "istio.io/api/mcp/v1alpha1" "istio.io/api/mesh/v1alpha1" mem "istio.io/istio/pilot/pkg/config/memory" "istio.io/istio/pilot/pkg/model" "istio.io/istio/pilot/pkg/networking/util"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 05 22:18:49 UTC 2024 - 35K bytes - Viewed (0) -
test/struct0.go
// license that can be found in the LICENSE file. // Test zero length structs. // Used to not be evaluated. // Issue 2232. package main func recv(c chan interface{}) struct{} { return (<-c).(struct{}) } var m = make(map[interface{}]int) func recv1(c chan interface{}) { defer rec() m[(<-c).(struct{})] = 0 } func rec() { recover() } func main() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 565 bytes - Viewed (0) -
src/runtime/slice_test.go
b.Run("Ptr", func(b *testing.B) { var x []*byte for i := 0; i < b.N; i++ { x = append([]*byte(nil), ptrs...) _ = x } }) }) } type ( struct24 struct{ a, b, c int64 } struct32 struct{ a, b, c, d int64 } struct40 struct{ a, b, c, d, e int64 } ) func BenchmarkMakeSlice(b *testing.B) { const length = 2 b.Run("Byte", func(b *testing.B) { var x []byte for i := 0; i < b.N; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 17 09:45:44 UTC 2020 - 10.3K bytes - Viewed (0) -
test/abi/struct_lower_1.go
package main import "fmt" //go:registerparams //go:noinline func passStruct6(a Struct6) Struct6 { return a } type Struct6 struct { Struct1 } type Struct1 struct { A, B, C uint } func main() { fmt.Println(passStruct6(Struct6{Struct1{1, 2, 3}}))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 441 bytes - Viewed (0) -
src/cmd/compile/internal/types2/struct.go
) // ---------------------------------------------------------------------------- // API // A Struct represents a struct type. type Struct struct { fields []*Var // fields != nil indicates the struct is set up (possibly with len(fields) == 0) tags []string // field tags; nil if there are no tags } // NewStruct returns a new struct with the given fields and corresponding field tags.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 6.6K bytes - Viewed (0) -
src/go/types/struct.go
) // ---------------------------------------------------------------------------- // API // A Struct represents a struct type. type Struct struct { fields []*Var // fields != nil indicates the struct is set up (possibly with len(fields) == 0) tags []string // field tags; nil if there are no tags } // NewStruct returns a new struct with the given fields and corresponding field tags.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 6.1K bytes - Viewed (0)