// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/tidbcloud/aisupport/packages/sdk-go/infra/secret (interfaces: SecretSource)
//
// Generated by this command:
//
//	mockgen -destination secret_source_mock.go -package=secret github.com/tidbcloud/aisupport/packages/sdk-go/infra/secret SecretSource
//

// Package secret is a generated GoMock package.
package secret

import (
	context "context"
	reflect "reflect"

	gomock "go.uber.org/mock/gomock"
)

// MockSecretSource is a mock of SecretSource interface.
type MockSecretSource struct {
	ctrl     *gomock.Controller
	recorder *MockSecretSourceMockRecorder
	isgomock struct{}
}

// MockSecretSourceMockRecorder is the mock recorder for MockSecretSource.
type MockSecretSourceMockRecorder struct {
	mock *MockSecretSource
}

// NewMockSecretSource creates a new mock instance.
func NewMockSecretSource(ctrl *gomock.Controller) *MockSecretSource {
	mock := &MockSecretSource{ctrl: ctrl}
	mock.recorder = &MockSecretSourceMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockSecretSource) EXPECT() *MockSecretSourceMockRecorder {
	return m.recorder
}

// GetSecretValue mocks base method.
func (m *MockSecretSource) GetSecretValue(ctx context.Context, name string) (string, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetSecretValue", ctx, name)
	ret0, _ := ret[0].(string)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetSecretValue indicates an expected call of GetSecretValue.
func (mr *MockSecretSourceMockRecorder) GetSecretValue(ctx, name any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSecretValue", reflect.TypeOf((*MockSecretSource)(nil).GetSecretValue), ctx, name)
}
