Documentation
¶
Index ¶
- func NewMock() *slog.Logger
- type SDK
- func (_mock *SDK) CreateCSR(ctx context.Context, metadata certs.CSRMetadata, privKey any) (certs.CSR, errors.SDKError)
- func (_mock *SDK) DeleteCert(ctx context.Context, entityID string, domainID string, token string) errors.SDKError
- func (_mock *SDK) DownloadCA(ctx context.Context) (sdk.CertificateBundle, errors.SDKError)
- func (_m *SDK) EXPECT() *SDK_Expecter
- func (_mock *SDK) EntityID(ctx context.Context, serialNumber string, domainID string, token string) (string, errors.SDKError)
- func (_mock *SDK) GenerateCRL(ctx context.Context) ([]byte, errors.SDKError)
- func (_mock *SDK) IssueCert(ctx context.Context, entityID string, ttl string, ipAddrs []string, ...) (sdk.Certificate, errors.SDKError)
- func (_mock *SDK) IssueFromCSR(ctx context.Context, entityID string, ttl string, csr string, domainID string, ...) (sdk.Certificate, errors.SDKError)
- func (_mock *SDK) IssueFromCSRInternal(ctx context.Context, entityID string, ttl string, csr string, token string) (sdk.Certificate, errors.SDKError)
- func (_mock *SDK) ListCerts(ctx context.Context, pm sdk.PageMetadata, domainID string, token string) (sdk.CertificatePage, errors.SDKError)
- func (_mock *SDK) OCSP(ctx context.Context, serialNumber string, cert string) (sdk.OCSPResponse, errors.SDKError)
- func (_mock *SDK) RenewCert(ctx context.Context, serialNumber string, domainID string, token string) (sdk.Certificate, errors.SDKError)
- func (_mock *SDK) RevokeAll(ctx context.Context, entityID string, domainID string, token string) errors.SDKError
- func (_mock *SDK) RevokeCert(ctx context.Context, serialNumber string, domainID string, token string) errors.SDKError
- func (_mock *SDK) ViewCA(ctx context.Context) (sdk.Certificate, errors.SDKError)
- func (_mock *SDK) ViewCert(ctx context.Context, serialNumber string, domainID string, token string) (sdk.Certificate, errors.SDKError)
- type SDK_CreateCSR_Call
- type SDK_DeleteCert_Call
- type SDK_DownloadCA_Call
- func (_c *SDK_DownloadCA_Call) Return(certificateBundle sdk.CertificateBundle, sDKError errors.SDKError) *SDK_DownloadCA_Call
- func (_c *SDK_DownloadCA_Call) Run(run func(ctx context.Context)) *SDK_DownloadCA_Call
- func (_c *SDK_DownloadCA_Call) RunAndReturn(run func(ctx context.Context) (sdk.CertificateBundle, errors.SDKError)) *SDK_DownloadCA_Call
- type SDK_EntityID_Call
- type SDK_Expecter
- func (_e *SDK_Expecter) CreateCSR(ctx interface{}, metadata interface{}, privKey interface{}) *SDK_CreateCSR_Call
- func (_e *SDK_Expecter) DeleteCert(ctx interface{}, entityID interface{}, domainID interface{}, token interface{}) *SDK_DeleteCert_Call
- func (_e *SDK_Expecter) DownloadCA(ctx interface{}) *SDK_DownloadCA_Call
- func (_e *SDK_Expecter) EntityID(ctx interface{}, serialNumber interface{}, domainID interface{}, ...) *SDK_EntityID_Call
- func (_e *SDK_Expecter) GenerateCRL(ctx interface{}) *SDK_GenerateCRL_Call
- func (_e *SDK_Expecter) IssueCert(ctx interface{}, entityID interface{}, ttl interface{}, ipAddrs interface{}, ...) *SDK_IssueCert_Call
- func (_e *SDK_Expecter) IssueFromCSR(ctx interface{}, entityID interface{}, ttl interface{}, csr interface{}, ...) *SDK_IssueFromCSR_Call
- func (_e *SDK_Expecter) IssueFromCSRInternal(ctx interface{}, entityID interface{}, ttl interface{}, csr interface{}, ...) *SDK_IssueFromCSRInternal_Call
- func (_e *SDK_Expecter) ListCerts(ctx interface{}, pm interface{}, domainID interface{}, token interface{}) *SDK_ListCerts_Call
- func (_e *SDK_Expecter) OCSP(ctx interface{}, serialNumber interface{}, cert interface{}) *SDK_OCSP_Call
- func (_e *SDK_Expecter) RenewCert(ctx interface{}, serialNumber interface{}, domainID interface{}, ...) *SDK_RenewCert_Call
- func (_e *SDK_Expecter) RevokeAll(ctx interface{}, entityID interface{}, domainID interface{}, token interface{}) *SDK_RevokeAll_Call
- func (_e *SDK_Expecter) RevokeCert(ctx interface{}, serialNumber interface{}, domainID interface{}, ...) *SDK_RevokeCert_Call
- func (_e *SDK_Expecter) ViewCA(ctx interface{}) *SDK_ViewCA_Call
- func (_e *SDK_Expecter) ViewCert(ctx interface{}, serialNumber interface{}, domainID interface{}, ...) *SDK_ViewCert_Call
- type SDK_GenerateCRL_Call
- func (_c *SDK_GenerateCRL_Call) Return(bytes []byte, sDKError errors.SDKError) *SDK_GenerateCRL_Call
- func (_c *SDK_GenerateCRL_Call) Run(run func(ctx context.Context)) *SDK_GenerateCRL_Call
- func (_c *SDK_GenerateCRL_Call) RunAndReturn(run func(ctx context.Context) ([]byte, errors.SDKError)) *SDK_GenerateCRL_Call
- type SDK_IssueCert_Call
- type SDK_IssueFromCSRInternal_Call
- func (_c *SDK_IssueFromCSRInternal_Call) Return(certificate sdk.Certificate, sDKError errors.SDKError) *SDK_IssueFromCSRInternal_Call
- func (_c *SDK_IssueFromCSRInternal_Call) Run(...) *SDK_IssueFromCSRInternal_Call
- func (_c *SDK_IssueFromCSRInternal_Call) RunAndReturn(...) *SDK_IssueFromCSRInternal_Call
- type SDK_IssueFromCSR_Call
- type SDK_ListCerts_Call
- type SDK_OCSP_Call
- type SDK_RenewCert_Call
- type SDK_RevokeAll_Call
- type SDK_RevokeCert_Call
- type SDK_ViewCA_Call
- func (_c *SDK_ViewCA_Call) Return(certificate sdk.Certificate, sDKError errors.SDKError) *SDK_ViewCA_Call
- func (_c *SDK_ViewCA_Call) Run(run func(ctx context.Context)) *SDK_ViewCA_Call
- func (_c *SDK_ViewCA_Call) RunAndReturn(run func(ctx context.Context) (sdk.Certificate, errors.SDKError)) *SDK_ViewCA_Call
- type SDK_ViewCert_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SDK ¶ added in v0.18.0
SDK is an autogenerated mock type for the SDK type
func NewSDK ¶ added in v0.18.0
NewSDK creates a new instance of SDK. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SDK) CreateCSR ¶ added in v0.18.0
func (_mock *SDK) CreateCSR(ctx context.Context, metadata certs.CSRMetadata, privKey any) (certs.CSR, errors.SDKError)
CreateCSR provides a mock function for the type SDK
func (*SDK) DeleteCert ¶ added in v0.18.0
func (_mock *SDK) DeleteCert(ctx context.Context, entityID string, domainID string, token string) errors.SDKError
DeleteCert provides a mock function for the type SDK
func (*SDK) DownloadCA ¶ added in v0.18.0
DownloadCA provides a mock function for the type SDK
func (*SDK) EXPECT ¶ added in v0.18.0
func (_m *SDK) EXPECT() *SDK_Expecter
func (*SDK) EntityID ¶ added in v0.18.2
func (_mock *SDK) EntityID(ctx context.Context, serialNumber string, domainID string, token string) (string, errors.SDKError)
EntityID provides a mock function for the type SDK
func (*SDK) GenerateCRL ¶ added in v0.18.0
GenerateCRL provides a mock function for the type SDK
func (*SDK) IssueCert ¶ added in v0.18.0
func (_mock *SDK) IssueCert(ctx context.Context, entityID string, ttl string, ipAddrs []string, opts sdk.Options, domainID string, token string) (sdk.Certificate, errors.SDKError)
IssueCert provides a mock function for the type SDK
func (*SDK) IssueFromCSR ¶ added in v0.18.0
func (_mock *SDK) IssueFromCSR(ctx context.Context, entityID string, ttl string, csr string, domainID string, token string) (sdk.Certificate, errors.SDKError)
IssueFromCSR provides a mock function for the type SDK
func (*SDK) IssueFromCSRInternal ¶ added in v0.18.0
func (_mock *SDK) IssueFromCSRInternal(ctx context.Context, entityID string, ttl string, csr string, token string) (sdk.Certificate, errors.SDKError)
IssueFromCSRInternal provides a mock function for the type SDK
func (*SDK) ListCerts ¶ added in v0.18.0
func (_mock *SDK) ListCerts(ctx context.Context, pm sdk.PageMetadata, domainID string, token string) (sdk.CertificatePage, errors.SDKError)
ListCerts provides a mock function for the type SDK
func (*SDK) OCSP ¶ added in v0.18.0
func (_mock *SDK) OCSP(ctx context.Context, serialNumber string, cert string) (sdk.OCSPResponse, errors.SDKError)
OCSP provides a mock function for the type SDK
func (*SDK) RenewCert ¶ added in v0.18.0
func (_mock *SDK) RenewCert(ctx context.Context, serialNumber string, domainID string, token string) (sdk.Certificate, errors.SDKError)
RenewCert provides a mock function for the type SDK
func (*SDK) RevokeAll ¶ added in v0.18.0
func (_mock *SDK) RevokeAll(ctx context.Context, entityID string, domainID string, token string) errors.SDKError
RevokeAll provides a mock function for the type SDK
func (*SDK) RevokeCert ¶ added in v0.18.0
func (_mock *SDK) RevokeCert(ctx context.Context, serialNumber string, domainID string, token string) errors.SDKError
RevokeCert provides a mock function for the type SDK
type SDK_CreateCSR_Call ¶ added in v0.18.0
SDK_CreateCSR_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateCSR'
func (*SDK_CreateCSR_Call) Return ¶ added in v0.18.0
func (_c *SDK_CreateCSR_Call) Return(cSR certs.CSR, sDKError errors.SDKError) *SDK_CreateCSR_Call
func (*SDK_CreateCSR_Call) Run ¶ added in v0.18.0
func (_c *SDK_CreateCSR_Call) Run(run func(ctx context.Context, metadata certs.CSRMetadata, privKey any)) *SDK_CreateCSR_Call
func (*SDK_CreateCSR_Call) RunAndReturn ¶ added in v0.18.0
func (_c *SDK_CreateCSR_Call) RunAndReturn(run func(ctx context.Context, metadata certs.CSRMetadata, privKey any) (certs.CSR, errors.SDKError)) *SDK_CreateCSR_Call
type SDK_DeleteCert_Call ¶ added in v0.18.0
SDK_DeleteCert_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCert'
func (*SDK_DeleteCert_Call) Return ¶ added in v0.18.0
func (_c *SDK_DeleteCert_Call) Return(sDKError errors.SDKError) *SDK_DeleteCert_Call
func (*SDK_DeleteCert_Call) Run ¶ added in v0.18.0
func (_c *SDK_DeleteCert_Call) Run(run func(ctx context.Context, entityID string, domainID string, token string)) *SDK_DeleteCert_Call
func (*SDK_DeleteCert_Call) RunAndReturn ¶ added in v0.18.0
func (_c *SDK_DeleteCert_Call) RunAndReturn(run func(ctx context.Context, entityID string, domainID string, token string) errors.SDKError) *SDK_DeleteCert_Call
type SDK_DownloadCA_Call ¶ added in v0.18.0
SDK_DownloadCA_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadCA'
func (*SDK_DownloadCA_Call) Return ¶ added in v0.18.0
func (_c *SDK_DownloadCA_Call) Return(certificateBundle sdk.CertificateBundle, sDKError errors.SDKError) *SDK_DownloadCA_Call
func (*SDK_DownloadCA_Call) Run ¶ added in v0.18.0
func (_c *SDK_DownloadCA_Call) Run(run func(ctx context.Context)) *SDK_DownloadCA_Call
func (*SDK_DownloadCA_Call) RunAndReturn ¶ added in v0.18.0
func (_c *SDK_DownloadCA_Call) RunAndReturn(run func(ctx context.Context) (sdk.CertificateBundle, errors.SDKError)) *SDK_DownloadCA_Call
type SDK_EntityID_Call ¶ added in v0.18.2
SDK_EntityID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EntityID'
func (*SDK_EntityID_Call) Return ¶ added in v0.18.2
func (_c *SDK_EntityID_Call) Return(s string, sDKError errors.SDKError) *SDK_EntityID_Call
func (*SDK_EntityID_Call) Run ¶ added in v0.18.2
func (_c *SDK_EntityID_Call) Run(run func(ctx context.Context, serialNumber string, domainID string, token string)) *SDK_EntityID_Call
func (*SDK_EntityID_Call) RunAndReturn ¶ added in v0.18.2
func (_c *SDK_EntityID_Call) RunAndReturn(run func(ctx context.Context, serialNumber string, domainID string, token string) (string, errors.SDKError)) *SDK_EntityID_Call
type SDK_Expecter ¶ added in v0.18.0
type SDK_Expecter struct {
// contains filtered or unexported fields
}
func (*SDK_Expecter) CreateCSR ¶ added in v0.18.0
func (_e *SDK_Expecter) CreateCSR(ctx interface{}, metadata interface{}, privKey interface{}) *SDK_CreateCSR_Call
CreateCSR is a helper method to define mock.On call
- ctx context.Context
- metadata certs.CSRMetadata
- privKey any
func (*SDK_Expecter) DeleteCert ¶ added in v0.18.0
func (_e *SDK_Expecter) DeleteCert(ctx interface{}, entityID interface{}, domainID interface{}, token interface{}) *SDK_DeleteCert_Call
DeleteCert is a helper method to define mock.On call
- ctx context.Context
- entityID string
- domainID string
- token string
func (*SDK_Expecter) DownloadCA ¶ added in v0.18.0
func (_e *SDK_Expecter) DownloadCA(ctx interface{}) *SDK_DownloadCA_Call
DownloadCA is a helper method to define mock.On call
- ctx context.Context
func (*SDK_Expecter) EntityID ¶ added in v0.18.2
func (_e *SDK_Expecter) EntityID(ctx interface{}, serialNumber interface{}, domainID interface{}, token interface{}) *SDK_EntityID_Call
EntityID is a helper method to define mock.On call
- ctx context.Context
- serialNumber string
- domainID string
- token string
func (*SDK_Expecter) GenerateCRL ¶ added in v0.18.0
func (_e *SDK_Expecter) GenerateCRL(ctx interface{}) *SDK_GenerateCRL_Call
GenerateCRL is a helper method to define mock.On call
- ctx context.Context
func (*SDK_Expecter) IssueCert ¶ added in v0.18.0
func (_e *SDK_Expecter) IssueCert(ctx interface{}, entityID interface{}, ttl interface{}, ipAddrs interface{}, opts interface{}, domainID interface{}, token interface{}) *SDK_IssueCert_Call
IssueCert is a helper method to define mock.On call
- ctx context.Context
- entityID string
- ttl string
- ipAddrs []string
- opts sdk.Options
- domainID string
- token string
func (*SDK_Expecter) IssueFromCSR ¶ added in v0.18.0
func (_e *SDK_Expecter) IssueFromCSR(ctx interface{}, entityID interface{}, ttl interface{}, csr interface{}, domainID interface{}, token interface{}) *SDK_IssueFromCSR_Call
IssueFromCSR is a helper method to define mock.On call
- ctx context.Context
- entityID string
- ttl string
- csr string
- domainID string
- token string
func (*SDK_Expecter) IssueFromCSRInternal ¶ added in v0.18.0
func (_e *SDK_Expecter) IssueFromCSRInternal(ctx interface{}, entityID interface{}, ttl interface{}, csr interface{}, token interface{}) *SDK_IssueFromCSRInternal_Call
IssueFromCSRInternal is a helper method to define mock.On call
- ctx context.Context
- entityID string
- ttl string
- csr string
- token string
func (*SDK_Expecter) ListCerts ¶ added in v0.18.0
func (_e *SDK_Expecter) ListCerts(ctx interface{}, pm interface{}, domainID interface{}, token interface{}) *SDK_ListCerts_Call
ListCerts is a helper method to define mock.On call
- ctx context.Context
- pm sdk.PageMetadata
- domainID string
- token string
func (*SDK_Expecter) OCSP ¶ added in v0.18.0
func (_e *SDK_Expecter) OCSP(ctx interface{}, serialNumber interface{}, cert interface{}) *SDK_OCSP_Call
OCSP is a helper method to define mock.On call
- ctx context.Context
- serialNumber string
- cert string
func (*SDK_Expecter) RenewCert ¶ added in v0.18.0
func (_e *SDK_Expecter) RenewCert(ctx interface{}, serialNumber interface{}, domainID interface{}, token interface{}) *SDK_RenewCert_Call
RenewCert is a helper method to define mock.On call
- ctx context.Context
- serialNumber string
- domainID string
- token string
func (*SDK_Expecter) RevokeAll ¶ added in v0.18.0
func (_e *SDK_Expecter) RevokeAll(ctx interface{}, entityID interface{}, domainID interface{}, token interface{}) *SDK_RevokeAll_Call
RevokeAll is a helper method to define mock.On call
- ctx context.Context
- entityID string
- domainID string
- token string
func (*SDK_Expecter) RevokeCert ¶ added in v0.18.0
func (_e *SDK_Expecter) RevokeCert(ctx interface{}, serialNumber interface{}, domainID interface{}, token interface{}) *SDK_RevokeCert_Call
RevokeCert is a helper method to define mock.On call
- ctx context.Context
- serialNumber string
- domainID string
- token string
func (*SDK_Expecter) ViewCA ¶ added in v0.18.0
func (_e *SDK_Expecter) ViewCA(ctx interface{}) *SDK_ViewCA_Call
ViewCA is a helper method to define mock.On call
- ctx context.Context
func (*SDK_Expecter) ViewCert ¶ added in v0.18.0
func (_e *SDK_Expecter) ViewCert(ctx interface{}, serialNumber interface{}, domainID interface{}, token interface{}) *SDK_ViewCert_Call
ViewCert is a helper method to define mock.On call
- ctx context.Context
- serialNumber string
- domainID string
- token string
type SDK_GenerateCRL_Call ¶ added in v0.18.0
SDK_GenerateCRL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateCRL'
func (*SDK_GenerateCRL_Call) Return ¶ added in v0.18.0
func (_c *SDK_GenerateCRL_Call) Return(bytes []byte, sDKError errors.SDKError) *SDK_GenerateCRL_Call
func (*SDK_GenerateCRL_Call) Run ¶ added in v0.18.0
func (_c *SDK_GenerateCRL_Call) Run(run func(ctx context.Context)) *SDK_GenerateCRL_Call
func (*SDK_GenerateCRL_Call) RunAndReturn ¶ added in v0.18.0
func (_c *SDK_GenerateCRL_Call) RunAndReturn(run func(ctx context.Context) ([]byte, errors.SDKError)) *SDK_GenerateCRL_Call
type SDK_IssueCert_Call ¶ added in v0.18.0
SDK_IssueCert_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IssueCert'
func (*SDK_IssueCert_Call) Return ¶ added in v0.18.0
func (_c *SDK_IssueCert_Call) Return(certificate sdk.Certificate, sDKError errors.SDKError) *SDK_IssueCert_Call
func (*SDK_IssueCert_Call) RunAndReturn ¶ added in v0.18.0
func (_c *SDK_IssueCert_Call) RunAndReturn(run func(ctx context.Context, entityID string, ttl string, ipAddrs []string, opts sdk.Options, domainID string, token string) (sdk.Certificate, errors.SDKError)) *SDK_IssueCert_Call
type SDK_IssueFromCSRInternal_Call ¶ added in v0.18.0
SDK_IssueFromCSRInternal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IssueFromCSRInternal'
func (*SDK_IssueFromCSRInternal_Call) Return ¶ added in v0.18.0
func (_c *SDK_IssueFromCSRInternal_Call) Return(certificate sdk.Certificate, sDKError errors.SDKError) *SDK_IssueFromCSRInternal_Call
func (*SDK_IssueFromCSRInternal_Call) Run ¶ added in v0.18.0
func (_c *SDK_IssueFromCSRInternal_Call) Run(run func(ctx context.Context, entityID string, ttl string, csr string, token string)) *SDK_IssueFromCSRInternal_Call
func (*SDK_IssueFromCSRInternal_Call) RunAndReturn ¶ added in v0.18.0
func (_c *SDK_IssueFromCSRInternal_Call) RunAndReturn(run func(ctx context.Context, entityID string, ttl string, csr string, token string) (sdk.Certificate, errors.SDKError)) *SDK_IssueFromCSRInternal_Call
type SDK_IssueFromCSR_Call ¶ added in v0.18.0
SDK_IssueFromCSR_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IssueFromCSR'
func (*SDK_IssueFromCSR_Call) Return ¶ added in v0.18.0
func (_c *SDK_IssueFromCSR_Call) Return(certificate sdk.Certificate, sDKError errors.SDKError) *SDK_IssueFromCSR_Call
func (*SDK_IssueFromCSR_Call) Run ¶ added in v0.18.0
func (_c *SDK_IssueFromCSR_Call) Run(run func(ctx context.Context, entityID string, ttl string, csr string, domainID string, token string)) *SDK_IssueFromCSR_Call
func (*SDK_IssueFromCSR_Call) RunAndReturn ¶ added in v0.18.0
func (_c *SDK_IssueFromCSR_Call) RunAndReturn(run func(ctx context.Context, entityID string, ttl string, csr string, domainID string, token string) (sdk.Certificate, errors.SDKError)) *SDK_IssueFromCSR_Call
type SDK_ListCerts_Call ¶ added in v0.18.0
SDK_ListCerts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListCerts'
func (*SDK_ListCerts_Call) Return ¶ added in v0.18.0
func (_c *SDK_ListCerts_Call) Return(certificatePage sdk.CertificatePage, sDKError errors.SDKError) *SDK_ListCerts_Call
func (*SDK_ListCerts_Call) Run ¶ added in v0.18.0
func (_c *SDK_ListCerts_Call) Run(run func(ctx context.Context, pm sdk.PageMetadata, domainID string, token string)) *SDK_ListCerts_Call
func (*SDK_ListCerts_Call) RunAndReturn ¶ added in v0.18.0
func (_c *SDK_ListCerts_Call) RunAndReturn(run func(ctx context.Context, pm sdk.PageMetadata, domainID string, token string) (sdk.CertificatePage, errors.SDKError)) *SDK_ListCerts_Call
type SDK_OCSP_Call ¶ added in v0.18.0
SDK_OCSP_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OCSP'
func (*SDK_OCSP_Call) Return ¶ added in v0.18.0
func (_c *SDK_OCSP_Call) Return(oCSPResponse sdk.OCSPResponse, sDKError errors.SDKError) *SDK_OCSP_Call
func (*SDK_OCSP_Call) Run ¶ added in v0.18.0
func (_c *SDK_OCSP_Call) Run(run func(ctx context.Context, serialNumber string, cert string)) *SDK_OCSP_Call
func (*SDK_OCSP_Call) RunAndReturn ¶ added in v0.18.0
func (_c *SDK_OCSP_Call) RunAndReturn(run func(ctx context.Context, serialNumber string, cert string) (sdk.OCSPResponse, errors.SDKError)) *SDK_OCSP_Call
type SDK_RenewCert_Call ¶ added in v0.18.0
SDK_RenewCert_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RenewCert'
func (*SDK_RenewCert_Call) Return ¶ added in v0.18.0
func (_c *SDK_RenewCert_Call) Return(certificate sdk.Certificate, sDKError errors.SDKError) *SDK_RenewCert_Call
func (*SDK_RenewCert_Call) Run ¶ added in v0.18.0
func (_c *SDK_RenewCert_Call) Run(run func(ctx context.Context, serialNumber string, domainID string, token string)) *SDK_RenewCert_Call
func (*SDK_RenewCert_Call) RunAndReturn ¶ added in v0.18.0
func (_c *SDK_RenewCert_Call) RunAndReturn(run func(ctx context.Context, serialNumber string, domainID string, token string) (sdk.Certificate, errors.SDKError)) *SDK_RenewCert_Call
type SDK_RevokeAll_Call ¶ added in v0.18.0
SDK_RevokeAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevokeAll'
func (*SDK_RevokeAll_Call) Return ¶ added in v0.18.0
func (_c *SDK_RevokeAll_Call) Return(sDKError errors.SDKError) *SDK_RevokeAll_Call
func (*SDK_RevokeAll_Call) Run ¶ added in v0.18.0
func (_c *SDK_RevokeAll_Call) Run(run func(ctx context.Context, entityID string, domainID string, token string)) *SDK_RevokeAll_Call
func (*SDK_RevokeAll_Call) RunAndReturn ¶ added in v0.18.0
func (_c *SDK_RevokeAll_Call) RunAndReturn(run func(ctx context.Context, entityID string, domainID string, token string) errors.SDKError) *SDK_RevokeAll_Call
type SDK_RevokeCert_Call ¶ added in v0.18.0
SDK_RevokeCert_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevokeCert'
func (*SDK_RevokeCert_Call) Return ¶ added in v0.18.0
func (_c *SDK_RevokeCert_Call) Return(sDKError errors.SDKError) *SDK_RevokeCert_Call
func (*SDK_RevokeCert_Call) Run ¶ added in v0.18.0
func (_c *SDK_RevokeCert_Call) Run(run func(ctx context.Context, serialNumber string, domainID string, token string)) *SDK_RevokeCert_Call
func (*SDK_RevokeCert_Call) RunAndReturn ¶ added in v0.18.0
func (_c *SDK_RevokeCert_Call) RunAndReturn(run func(ctx context.Context, serialNumber string, domainID string, token string) errors.SDKError) *SDK_RevokeCert_Call
type SDK_ViewCA_Call ¶ added in v0.18.0
SDK_ViewCA_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ViewCA'
func (*SDK_ViewCA_Call) Return ¶ added in v0.18.0
func (_c *SDK_ViewCA_Call) Return(certificate sdk.Certificate, sDKError errors.SDKError) *SDK_ViewCA_Call
func (*SDK_ViewCA_Call) Run ¶ added in v0.18.0
func (_c *SDK_ViewCA_Call) Run(run func(ctx context.Context)) *SDK_ViewCA_Call
func (*SDK_ViewCA_Call) RunAndReturn ¶ added in v0.18.0
func (_c *SDK_ViewCA_Call) RunAndReturn(run func(ctx context.Context) (sdk.Certificate, errors.SDKError)) *SDK_ViewCA_Call
type SDK_ViewCert_Call ¶ added in v0.18.0
SDK_ViewCert_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ViewCert'
func (*SDK_ViewCert_Call) Return ¶ added in v0.18.0
func (_c *SDK_ViewCert_Call) Return(certificate sdk.Certificate, sDKError errors.SDKError) *SDK_ViewCert_Call
func (*SDK_ViewCert_Call) Run ¶ added in v0.18.0
func (_c *SDK_ViewCert_Call) Run(run func(ctx context.Context, serialNumber string, domainID string, token string)) *SDK_ViewCert_Call
func (*SDK_ViewCert_Call) RunAndReturn ¶ added in v0.18.0
func (_c *SDK_ViewCert_Call) RunAndReturn(run func(ctx context.Context, serialNumber string, domainID string, token string) (sdk.Certificate, errors.SDKError)) *SDK_ViewCert_Call