@@ -45,6 +45,7 @@ type fakeLBService struct {
4545 getFn func (context.Context , string ) (* godo.LoadBalancer , * godo.Response , error )
4646 listFn func (context.Context , * godo.ListOptions ) ([]godo.LoadBalancer , * godo.Response , error )
4747 listByNamesFn func (context.Context , []string , * godo.ListOptions ) ([]godo.LoadBalancer , * godo.Response , error )
48+ listByUUIDs func (context.Context , []string , * godo.ListOptions ) ([]godo.LoadBalancer , * godo.Response , error )
4849 createFn func (context.Context , * godo.LoadBalancerRequest ) (* godo.LoadBalancer , * godo.Response , error )
4950 updateFn func (ctx context.Context , lbID string , lbr * godo.LoadBalancerRequest ) (* godo.LoadBalancer , * godo.Response , error )
5051 deleteFn func (ctx context.Context , lbID string ) (* godo.Response , error )
@@ -67,6 +68,10 @@ func (f *fakeLBService) ListByNames(ctx context.Context, names []string, listOpt
6768 return f .listByNamesFn (ctx , names , listOpts )
6869}
6970
71+ func (f * fakeLBService ) ListByUUIDs (ctx context.Context , uuids []string , listOpts * godo.ListOptions ) ([]godo.LoadBalancer , * godo.Response , error ) {
72+ return f .listByUUIDs (ctx , uuids , listOpts )
73+ }
74+
7075func (f * fakeLBService ) Create (ctx context.Context , lbr * godo.LoadBalancerRequest ) (* godo.LoadBalancer , * godo.Response , error ) {
7176 return f .createFn (ctx , lbr )
7277}
0 commit comments