mutates container caller must have handled cloning or creating a new child.
(ctx context.Context, target string, source dagql.ObjectResult[*Socket], owner string)
| 5926 | |
| 5927 | // mutates container caller must have handled cloning or creating a new child. |
| 5928 | func (container *Container) WithUnixSocket(ctx context.Context, target string, source dagql.ObjectResult[*Socket], owner string) (*Container, error) { |
| 5929 | target = absPath(container.Config.WorkingDir, target) |
| 5930 | return container.WithUnixSocketFromParent(ctx, dagql.ObjectResult[*Container]{}, target, source, owner) |
| 5931 | } |
| 5932 | |
| 5933 | func (container *Container) WithUnixSocketFromParent(ctx context.Context, parent dagql.ObjectResult[*Container], target string, source dagql.ObjectResult[*Socket], owner string) (*Container, error) { |
| 5934 | target = absPath(container.Config.WorkingDir, target) |
nothing calls this directly
no test coverage detected