github.com/juju/juju@v0.0.0-20240430160146-1752b71fcf00/apiserver/facades/controller/secretbackendmanager/mocks/backendrotate.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: github.com/juju/juju/apiserver/facades/controller/secretbackendmanager (interfaces: BackendRotate) 3 // 4 // Generated by this command: 5 // 6 // mockgen -package mocks -destination mocks/backendrotate.go github.com/juju/juju/apiserver/facades/controller/secretbackendmanager BackendRotate 7 // 8 9 // Package mocks is a generated GoMock package. 10 package mocks 11 12 import ( 13 reflect "reflect" 14 15 state "github.com/juju/juju/state" 16 gomock "go.uber.org/mock/gomock" 17 ) 18 19 // MockBackendRotate is a mock of BackendRotate interface. 20 type MockBackendRotate struct { 21 ctrl *gomock.Controller 22 recorder *MockBackendRotateMockRecorder 23 } 24 25 // MockBackendRotateMockRecorder is the mock recorder for MockBackendRotate. 26 type MockBackendRotateMockRecorder struct { 27 mock *MockBackendRotate 28 } 29 30 // NewMockBackendRotate creates a new mock instance. 31 func NewMockBackendRotate(ctrl *gomock.Controller) *MockBackendRotate { 32 mock := &MockBackendRotate{ctrl: ctrl} 33 mock.recorder = &MockBackendRotateMockRecorder{mock} 34 return mock 35 } 36 37 // EXPECT returns an object that allows the caller to indicate expected use. 38 func (m *MockBackendRotate) EXPECT() *MockBackendRotateMockRecorder { 39 return m.recorder 40 } 41 42 // WatchSecretBackendRotationChanges mocks base method. 43 func (m *MockBackendRotate) WatchSecretBackendRotationChanges() (state.SecretBackendRotateWatcher, error) { 44 m.ctrl.T.Helper() 45 ret := m.ctrl.Call(m, "WatchSecretBackendRotationChanges") 46 ret0, _ := ret[0].(state.SecretBackendRotateWatcher) 47 ret1, _ := ret[1].(error) 48 return ret0, ret1 49 } 50 51 // WatchSecretBackendRotationChanges indicates an expected call of WatchSecretBackendRotationChanges. 52 func (mr *MockBackendRotateMockRecorder) WatchSecretBackendRotationChanges() *gomock.Call { 53 mr.mock.ctrl.T.Helper() 54 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WatchSecretBackendRotationChanges", reflect.TypeOf((*MockBackendRotate)(nil).WatchSecretBackendRotationChanges)) 55 }