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

9 uses

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

	google.golang.org/grpc
		clientconn.go#L1444: 		ac.curAddr.Attributes = ac.curAddr.Attributes.WithValue(securityLevelKey{}, secLevel)

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

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

	google.golang.org/grpc/experimental/balancer/weight
		weight.go#L49: 	endpoint.Attributes = endpoint.Attributes.WithValue(attributeKey{}, epInfo)

	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#L151: 	state.Attributes = state.Attributes.WithValue(csKey, cs)

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