(ctx context.Context, namespace, name string)
| 683 | } |
| 684 | |
| 685 | func (c *SpaceComponent) Logs(ctx context.Context, namespace, name string) (*deploy.MultiLogReader, error) { |
| 686 | s, err := c.ss.FindByPath(ctx, namespace, name) |
| 687 | if err != nil { |
| 688 | return nil, fmt.Errorf("can't find space by path:%w", err) |
| 689 | } |
| 690 | return c.deployer.Logs(ctx, types.DeployRepo{ |
| 691 | SpaceID: s.ID, |
| 692 | Namespace: namespace, |
| 693 | Name: name, |
| 694 | }) |
| 695 | } |
| 696 | |
| 697 | // HasEntryFile checks whether space repo has entry point file to run with |
| 698 | func (c *SpaceComponent) HasEntryFile(ctx context.Context, space *database.Space) bool { |
nothing calls this directly
no test coverage detected