mockidentity

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v0.9.18

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func NewClient added in v0.9.18

func NewClient(t mockConstructorTestingTNewClient) *Client

NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Client) Enroll added in v0.9.18

func (_m *Client) Enroll(res http.ResponseWriter, req *http.Request, params httprouter.Params) (*identity.Response, *util.RestError)

Enroll provides a mock function with given fields: res, req, params

func (*Client) Get added in v0.9.18

Get provides a mock function with given fields: res, req, params

func (*Client) List added in v0.9.18

func (_m *Client) List(res http.ResponseWriter, req *http.Request, params httprouter.Params) ([]*identity.Identity, *util.RestError)

List provides a mock function with given fields: res, req, params

func (*Client) Modify added in v0.9.18

Modify provides a mock function with given fields: res, req, params

func (*Client) Reenroll added in v0.9.18

func (_m *Client) Reenroll(res http.ResponseWriter, req *http.Request, params httprouter.Params) (*identity.Response, *util.RestError)

Reenroll provides a mock function with given fields: res, req, params

func (*Client) Register added in v0.9.18

Register provides a mock function with given fields: res, req, params

func (*Client) Revoke added in v0.9.18

Revoke provides a mock function with given fields: res, req, params

type IdentityClient

type IdentityClient struct {
	mock.Mock
}

IdentityClient is an autogenerated mock type for the IdentityClient type

func NewIdentityClient added in v0.9.18

func NewIdentityClient(t mockConstructorTestingTNewIdentityClient) *IdentityClient

NewIdentityClient creates a new instance of IdentityClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*IdentityClient) Enroll

Enroll provides a mock function with given fields: res, req, params

func (*IdentityClient) Get

Get provides a mock function with given fields: res, req, params

func (*IdentityClient) List

List provides a mock function with given fields: res, req, params

func (*IdentityClient) Modify

Modify provides a mock function with given fields: res, req, params

func (*IdentityClient) Reenroll

Reenroll provides a mock function with given fields: res, req, params

func (*IdentityClient) Register

Register provides a mock function with given fields: res, req, params

func (*IdentityClient) Revoke

Revoke provides a mock function with given fields: res, req, params

Jump to

Keyboard shortcuts

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