You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
515 B
21 lines
515 B
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace LINGYUN.ApiGateway.Utils
|
|
{
|
|
public interface ILoadBalancerFinder
|
|
{
|
|
Task<List<LoadBalancerDescriptor>> GetLoadBalancersAsync();
|
|
}
|
|
|
|
public class LoadBalancerDescriptor
|
|
{
|
|
public string Type { get; }
|
|
public string DisplayName { get; }
|
|
public LoadBalancerDescriptor(string type, string displayName)
|
|
{
|
|
Type = type;
|
|
DisplayName = displayName;
|
|
}
|
|
}
|
|
}
|
|
|