(ctx context.Context, id string)
| 158 | } |
| 159 | |
| 160 | func (s *imlPublishService) GetDiff(ctx context.Context, id string) (*service_diff.Diff, error) { |
| 161 | ev, err := s.diffStore.GetByUUID(ctx, id) |
| 162 | if err != nil { |
| 163 | return nil, err |
| 164 | } |
| 165 | df := new(service_diff.Diff) |
| 166 | err = json.Unmarshal(ev.Data, df) |
| 167 | if err != nil { |
| 168 | return nil, err |
| 169 | } |
| 170 | return df, nil |
| 171 | } |
| 172 | |
| 173 | func (s *imlPublishService) ListProject(ctx context.Context, service string) ([]*Publish, error) { |
| 174 | flows, err := s.store.ListQuery(ctx, "service = ?", []interface{}{service}, "apply_time desc") |
nothing calls this directly
no outgoing calls
no test coverage detected