func (m *MockPKI) Close() error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Close")
	ret0, _ := ret[0].(error)
	return ret0
}
Close mocks base method
package plugin
import (
	x509 "crypto/x509"
	plugin "github.com/baetyl/baetyl-cloud/v2/plugin"
	gomock "github.com/golang/mock/gomock"
	reflect "reflect"
)
type MockPKI struct {
	ctrl     *gomock.Controller
	recorder *MockPKIMockRecorder
}
type MockPKIMockRecorder struct {
	mock *MockPKI
}
func NewMockPKI(ctrl *gomock.Controller) *MockPKI {
	mock := &MockPKI{ctrl: ctrl}
	mock.recorder = &MockPKIMockRecorder{mock}
	return mock
}
func (m *MockPKI) EXPECT() *MockPKIMockRecorder {
	return m.recorder
}
func (m *MockPKI) GetRootCertId() string {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetRootCertId")
	ret0, _ := ret[0].(string)
	return ret0
}
func (mr *MockPKIMockRecorder) GetRootCertId() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRootCertId", reflect.TypeOf((*MockPKI)(nil).GetRootCertId))
}
func (m *MockPKI) CreateRootCert(info *x509.CertificateRequest, parentId string) (string, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "CreateRootCert", info, parentId)
	ret0, _ := ret[0].(string)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockPKIMockRecorder) CreateRootCert(info, parentId interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateRootCert", reflect.TypeOf((*MockPKI)(nil).CreateRootCert), info, parentId)
}
func (m *MockPKI) GetRootCert(rootId string) ([]byte, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetRootCert", rootId)
	ret0, _ := ret[0].([]byte)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockPKIMockRecorder) GetRootCert(rootId interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRootCert", reflect.TypeOf((*MockPKI)(nil).GetRootCert), rootId)
}
func (m *MockPKI) DeleteRootCert(rootId string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "DeleteRootCert", rootId)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockPKIMockRecorder) DeleteRootCert(rootId interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteRootCert", reflect.TypeOf((*MockPKI)(nil).DeleteRootCert), rootId)
}
func (m *MockPKI) CreateServerCert(csr []byte, rootId string) (string, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "CreateServerCert", csr, rootId)
	ret0, _ := ret[0].(string)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockPKIMockRecorder) CreateServerCert(csr, rootId interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateServerCert", reflect.TypeOf((*MockPKI)(nil).CreateServerCert), csr, rootId)
}
func (m *MockPKI) GetServerCert(certId string) ([]byte, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetServerCert", certId)
	ret0, _ := ret[0].([]byte)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockPKIMockRecorder) GetServerCert(certId interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServerCert", reflect.TypeOf((*MockPKI)(nil).GetServerCert), certId)
}
func (m *MockPKI) DeleteServerCert(certId string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "DeleteServerCert", certId)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockPKIMockRecorder) DeleteServerCert(certId interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteServerCert", reflect.TypeOf((*MockPKI)(nil).DeleteServerCert), certId)
}
func (m *MockPKI) CreateClientCert(csr []byte, rootId string) (string, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "CreateClientCert", csr, rootId)
	ret0, _ := ret[0].(string)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockPKIMockRecorder) CreateClientCert(csr, rootId interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateClientCert", reflect.TypeOf((*MockPKI)(nil).CreateClientCert), csr, rootId)
}
func (m *MockPKI) GetClientCert(certId string) ([]byte, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetClientCert", certId)
	ret0, _ := ret[0].([]byte)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockPKIMockRecorder) GetClientCert(certId interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClientCert", reflect.TypeOf((*MockPKI)(nil).GetClientCert), certId)
}
func (m *MockPKI) DeleteClientCert(certId string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "DeleteClientCert", certId)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockPKIMockRecorder) DeleteClientCert(certId interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteClientCert", reflect.TypeOf((*MockPKI)(nil).DeleteClientCert), certId)
}