balancer/resolver: remove temporary backward-compatibility type aliases (#3309)
This commit is contained in:
@ -203,11 +203,6 @@ type ConfigParser interface {
|
|||||||
ParseConfig(LoadBalancingConfigJSON json.RawMessage) (serviceconfig.LoadBalancingConfig, error)
|
ParseConfig(LoadBalancingConfigJSON json.RawMessage) (serviceconfig.LoadBalancingConfig, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
// PickOptions is a type alias of PickInfo for legacy reasons.
|
|
||||||
//
|
|
||||||
// Deprecated: use PickInfo instead.
|
|
||||||
type PickOptions = PickInfo
|
|
||||||
|
|
||||||
// PickInfo contains additional information for the Pick operation.
|
// PickInfo contains additional information for the Pick operation.
|
||||||
type PickInfo struct {
|
type PickInfo struct {
|
||||||
// FullMethodName is the method name that NewClientStream() is called
|
// FullMethodName is the method name that NewClientStream() is called
|
||||||
|
@ -124,11 +124,6 @@ type Address struct {
|
|||||||
Metadata interface{}
|
Metadata interface{}
|
||||||
}
|
}
|
||||||
|
|
||||||
// BuildOption is a type alias of BuildOptions for legacy reasons.
|
|
||||||
//
|
|
||||||
// Deprecated: use BuildOptions instead.
|
|
||||||
type BuildOption = BuildOptions
|
|
||||||
|
|
||||||
// BuildOptions includes additional information for the builder to create
|
// BuildOptions includes additional information for the builder to create
|
||||||
// the resolver.
|
// the resolver.
|
||||||
type BuildOptions struct {
|
type BuildOptions struct {
|
||||||
@ -235,11 +230,6 @@ type Builder interface {
|
|||||||
Scheme() string
|
Scheme() string
|
||||||
}
|
}
|
||||||
|
|
||||||
// ResolveNowOption is a type alias of ResolveNowOptions for legacy reasons.
|
|
||||||
//
|
|
||||||
// Deprecated: use ResolveNowOptions instead.
|
|
||||||
type ResolveNowOption = ResolveNowOptions
|
|
||||||
|
|
||||||
// ResolveNowOptions includes additional information for ResolveNow.
|
// ResolveNowOptions includes additional information for ResolveNow.
|
||||||
type ResolveNowOptions struct{}
|
type ResolveNowOptions struct{}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user