예제 #1
0
func (prgm program) ID() container.ProgramID {
	return container.ProgramID(prgm.id)
}
예제 #2
0
func (osproc *client) ProgramID(name string) container.ProgramID {
	return container.ProgramID(newProgramID(name))
}
예제 #3
0
// ProgramID returns a container.ProgramID made from a docker image.
func (dk *client) ProgramID(dockerImageName string) container.ProgramID {
	return container.ProgramID(newProgramID(dockerImageName))
}