github.com/ouraigua/jenkins-library@v0.0.0-20231028010029-fbeaf2f3aa9b/pkg/jenkins/mocks/CredentialsManager.go (about) 1 // Code generated by mockery v2.7.5. DO NOT EDIT. 2 3 package mocks 4 5 import ( 6 context "context" 7 8 mock "github.com/stretchr/testify/mock" 9 ) 10 11 // CredentialsManager is an autogenerated mock type for the CredentialsManager type 12 type CredentialsManager struct { 13 mock.Mock 14 } 15 16 // Update provides a mock function with given fields: _a0, _a1, _a2, _a3 17 func (_m *CredentialsManager) Update(_a0 context.Context, _a1 string, _a2 string, _a3 interface{}) error { 18 ret := _m.Called(_a0, _a1, _a2, _a3) 19 20 var r0 error 21 if rf, ok := ret.Get(0).(func(context.Context, string, string, interface{}) error); ok { 22 r0 = rf(_a0, _a1, _a2, _a3) 23 } else { 24 r0 = ret.Error(0) 25 } 26 27 return r0 28 }