gitlab.com/jfprevost/gitlab-runner-notlscheck@v11.11.4+incompatible/executors/docker/internal/volumes/mock_Manager.go (about)

     1  // Code generated by mockery v1.0.0. DO NOT EDIT.
     2  
     3  package volumes
     4  
     5  import context "context"
     6  import mock "github.com/stretchr/testify/mock"
     7  
     8  // MockManager is an autogenerated mock type for the Manager type
     9  type MockManager struct {
    10  	mock.Mock
    11  }
    12  
    13  // Binds provides a mock function with given fields:
    14  func (_m *MockManager) Binds() []string {
    15  	ret := _m.Called()
    16  
    17  	var r0 []string
    18  	if rf, ok := ret.Get(0).(func() []string); ok {
    19  		r0 = rf()
    20  	} else {
    21  		if ret.Get(0) != nil {
    22  			r0 = ret.Get(0).([]string)
    23  		}
    24  	}
    25  
    26  	return r0
    27  }
    28  
    29  // Cleanup provides a mock function with given fields: ctx
    30  func (_m *MockManager) Cleanup(ctx context.Context) chan bool {
    31  	ret := _m.Called(ctx)
    32  
    33  	var r0 chan bool
    34  	if rf, ok := ret.Get(0).(func(context.Context) chan bool); ok {
    35  		r0 = rf(ctx)
    36  	} else {
    37  		if ret.Get(0) != nil {
    38  			r0 = ret.Get(0).(chan bool)
    39  		}
    40  	}
    41  
    42  	return r0
    43  }
    44  
    45  // ContainerIDs provides a mock function with given fields:
    46  func (_m *MockManager) ContainerIDs() []string {
    47  	ret := _m.Called()
    48  
    49  	var r0 []string
    50  	if rf, ok := ret.Get(0).(func() []string); ok {
    51  		r0 = rf()
    52  	} else {
    53  		if ret.Get(0) != nil {
    54  			r0 = ret.Get(0).([]string)
    55  		}
    56  	}
    57  
    58  	return r0
    59  }
    60  
    61  // Create provides a mock function with given fields: volume
    62  func (_m *MockManager) Create(volume string) error {
    63  	ret := _m.Called(volume)
    64  
    65  	var r0 error
    66  	if rf, ok := ret.Get(0).(func(string) error); ok {
    67  		r0 = rf(volume)
    68  	} else {
    69  		r0 = ret.Error(0)
    70  	}
    71  
    72  	return r0
    73  }
    74  
    75  // CreateTemporary provides a mock function with given fields: containerPath
    76  func (_m *MockManager) CreateTemporary(containerPath string) error {
    77  	ret := _m.Called(containerPath)
    78  
    79  	var r0 error
    80  	if rf, ok := ret.Get(0).(func(string) error); ok {
    81  		r0 = rf(containerPath)
    82  	} else {
    83  		r0 = ret.Error(0)
    84  	}
    85  
    86  	return r0
    87  }