Skip to content

Conversation

@lucymhdavies
Copy link

WIP. I wanna add tests for this before I consider it good, but wanted some feedback on the api.

e.g. this seems like something which should probably be a method of DockerClient rather than Task, which means I should also move Bind to be a method of DockerClient.

(Task is already a DockerClient, so wouldn't be a breaking change)

lucymhdavies pushed a commit to LMHD/lucli that referenced this pull request Jun 9, 2018
lucymhdavies pushed a commit to LMHD/lucli that referenced this pull request Jun 9, 2018
}

// BindDockerSocket is a utility function which binds the docker socket
func (t *Task) BindDockerSocket() error {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might want to call this AddBindDockerSocket, to align with Bind and AddBind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant