Documentation ¶
Index ¶
- type CAClient
- func (_m *CAClient) Enroll(_a0 *api.EnrollmentRequest) error
- func (_m *CAClient) GetAllIdentities(_a0 string) ([]*api.IdentityResponse, error)
- func (_m *CAClient) GetCAInfo() (*api.GetCAInfoResponse, error)
- func (_m *CAClient) GetIdentity(_a0 string, _a1 string) (*api.IdentityResponse, error)
- func (_m *CAClient) ModifyIdentity(_a0 *api.IdentityRequest) (*api.IdentityResponse, error)
- func (_m *CAClient) Reenroll(_a0 *api.ReenrollmentRequest) error
- func (_m *CAClient) Register(_a0 *api.RegistrationRequest) (string, error)
- func (_m *CAClient) Revoke(_a0 *api.RevocationRequest) (*api.RevocationResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CAClient ¶
CAClient is an autogenerated mock type for the CAClient type
func NewCAClient ¶ added in v0.9.18
NewCAClient creates a new instance of CAClient. 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 (*CAClient) Enroll ¶
func (_m *CAClient) Enroll(_a0 *api.EnrollmentRequest) error
Enroll provides a mock function with given fields: _a0
func (*CAClient) GetAllIdentities ¶
func (_m *CAClient) GetAllIdentities(_a0 string) ([]*api.IdentityResponse, error)
GetAllIdentities provides a mock function with given fields: _a0
func (*CAClient) GetCAInfo ¶
func (_m *CAClient) GetCAInfo() (*api.GetCAInfoResponse, error)
GetCAInfo provides a mock function with given fields:
func (*CAClient) GetIdentity ¶
GetIdentity provides a mock function with given fields: _a0, _a1
func (*CAClient) ModifyIdentity ¶
func (_m *CAClient) ModifyIdentity(_a0 *api.IdentityRequest) (*api.IdentityResponse, error)
ModifyIdentity provides a mock function with given fields: _a0
func (*CAClient) Reenroll ¶
func (_m *CAClient) Reenroll(_a0 *api.ReenrollmentRequest) error
Reenroll provides a mock function with given fields: _a0
func (*CAClient) Register ¶
func (_m *CAClient) Register(_a0 *api.RegistrationRequest) (string, error)
Register provides a mock function with given fields: _a0
func (*CAClient) Revoke ¶
func (_m *CAClient) Revoke(_a0 *api.RevocationRequest) (*api.RevocationResponse, error)
Revoke provides a mock function with given fields: _a0