Versions in this module Expand all Collapse all v2 v2.40.3 Oct 30, 2025 v2.40.2 Oct 22, 2025 Changes in this version + type MockUI struct + func NewMockUI(ctrl *gomock.Controller) *MockUI + func (m *MockUI) Confirm(arg0 string, arg1 bool) (bool, error) + func (m *MockUI) EXPECT() *MockUIMockRecorder + func (m *MockUI) Input(arg0, arg1 string) (string, error) + func (m *MockUI) Password(arg0 string) (string, error) + func (m *MockUI) Select(arg0 string, arg1 []string) (int, error) + type MockUIMockRecorder struct + func (mr *MockUIMockRecorder) Confirm(arg0, arg1 interface{}) *gomock.Call + func (mr *MockUIMockRecorder) Input(arg0, arg1 interface{}) *gomock.Call + func (mr *MockUIMockRecorder) Password(arg0 interface{}) *gomock.Call + func (mr *MockUIMockRecorder) Select(arg0, arg1 interface{}) *gomock.Call + type Pipe struct + func (u Pipe) Confirm(message string, defaultValue bool) (bool, error) + type UI interface + Confirm func(message string, defaultValue bool) (bool, error) + func NewPrompt(stdin *streams.In, stdout *streams.Out) UI + type User struct + func (u User) Confirm(message string, defaultValue bool) (bool, error) Other modules containing this package github.com/docker/compose/v5