linkerd2/controller/api/destination/resolver.go

10 lines
315 B
Go

package destination
type streamingDestinationResolver interface {
canResolve(host string, port int) (bool, error)
streamResolution(host string, port int, listener endpointUpdateListener) error
streamProfiles(host string, clientNs string, listener profileUpdateListener) error
getState() servicePorts
stop()
}