mockfabricdep

package
v0.9.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CAClient

type CAClient struct {
	mock.Mock
}

CAClient is an autogenerated mock type for the CAClient type

func NewCAClient added in v0.9.18

func NewCAClient(t mockConstructorTestingTNewCAClient) *CAClient

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.

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

func (_m *CAClient) GetIdentity(_a0 string, _a1 string) (*api.IdentityResponse, error)

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

Revoke provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL