(ctx context.Context, address string)
| 44 | } |
| 45 | |
| 46 | func (i *imlBalanceModule) SyncLocalBalances(ctx context.Context, address string) error { |
| 47 | releases, err := i.getLocalBalances(ctx, address) |
| 48 | if err != nil { |
| 49 | return err |
| 50 | } |
| 51 | return i.syncGateway(ctx, cluster.DefaultClusterID, releases, true) |
| 52 | } |
| 53 | |
| 54 | func (i *imlBalanceModule) Create(ctx context.Context, input *ai_balance_dto.Create) error { |
| 55 | has, err := i.balanceService.Exist(ctx, input.Provider, input.Model) |
nothing calls this directly
no test coverage detected