(ctx context.Context, namespace, name string)
| 675 | } |
| 676 | |
| 677 | func (c *SpaceComponent) Status(ctx context.Context, namespace, name string) (string, string, error) { |
| 678 | s, err := c.ss.FindByPath(ctx, namespace, name) |
| 679 | if err != nil { |
| 680 | return "", SpaceStatusStopped, fmt.Errorf("can't find space by path:%w", err) |
| 681 | } |
| 682 | return c.status(ctx, s) |
| 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) |
nothing calls this directly
no test coverage detected