google.golang.org/grpc/attributes.Attributes.WithValue (method)

7 uses

	google.golang.org/grpc/attributes (current package)
		attributes.go#L52: func (a *Attributes) WithValue(key, value any) *Attributes {

	google.golang.org/grpc/balancer/grpclb/state
		state.go#L42: 	state.Attributes = state.Attributes.WithValue(key, s)

	google.golang.org/grpc/balancer/pickfirst/pickfirstleaf
		pickfirstleaf.go#L139: 	state.Attributes = state.Attributes.WithValue(enableHealthListenerKeyType{}, true)

	google.golang.org/grpc/internal/metadata
		metadata.go#L75: 	addr.Attributes = addr.Attributes.WithValue(mdKey, mdValue(md))

	google.golang.org/grpc/internal/proxyattributes
		proxyattributes.go#L42: 	addr.Attributes = addr.Attributes.WithValue(proxyOptionsKey, opts)

	google.golang.org/grpc/internal/resolver
		config_selector.go#L135: 	state.Attributes = state.Attributes.WithValue(csKey, cs)

	google.golang.org/grpc/internal/transport/networktype
		networktype.go#L34: 	address.Attributes = address.Attributes.WithValue(key, networkType)