Documentation
¶
Index ¶
- type AttestationStateServiceClient
- func (_m *AttestationStateServiceClient) EXPECT() *AttestationStateServiceClient_Expecter
- func (_mock *AttestationStateServiceClient) Initialized(ctx context.Context, in *v1.AttestationStateServiceInitializedRequest, ...) (*v1.AttestationStateServiceInitializedResponse, error)
- func (_mock *AttestationStateServiceClient) Read(ctx context.Context, in *v1.AttestationStateServiceReadRequest, ...) (*v1.AttestationStateServiceReadResponse, error)
- func (_mock *AttestationStateServiceClient) Reset(ctx context.Context, in *v1.AttestationStateServiceResetRequest, ...) (*v1.AttestationStateServiceResetResponse, error)
- func (_mock *AttestationStateServiceClient) Save(ctx context.Context, in *v1.AttestationStateServiceSaveRequest, ...) (*v1.AttestationStateServiceSaveResponse, error)
- type AttestationStateServiceClient_Expecter
- func (_e *AttestationStateServiceClient_Expecter) Initialized(ctx interface{}, in interface{}, opts ...interface{}) *AttestationStateServiceClient_Initialized_Call
- func (_e *AttestationStateServiceClient_Expecter) Read(ctx interface{}, in interface{}, opts ...interface{}) *AttestationStateServiceClient_Read_Call
- func (_e *AttestationStateServiceClient_Expecter) Reset(ctx interface{}, in interface{}, opts ...interface{}) *AttestationStateServiceClient_Reset_Call
- func (_e *AttestationStateServiceClient_Expecter) Save(ctx interface{}, in interface{}, opts ...interface{}) *AttestationStateServiceClient_Save_Call
- type AttestationStateServiceClient_Initialized_Call
- func (_c *AttestationStateServiceClient_Initialized_Call) Return(...) *AttestationStateServiceClient_Initialized_Call
- func (_c *AttestationStateServiceClient_Initialized_Call) Run(...) *AttestationStateServiceClient_Initialized_Call
- func (_c *AttestationStateServiceClient_Initialized_Call) RunAndReturn(...) *AttestationStateServiceClient_Initialized_Call
- type AttestationStateServiceClient_Read_Call
- func (_c *AttestationStateServiceClient_Read_Call) Return(attestationStateServiceReadResponse *v1.AttestationStateServiceReadResponse, ...) *AttestationStateServiceClient_Read_Call
- func (_c *AttestationStateServiceClient_Read_Call) Run(run func(ctx context.Context, in *v1.AttestationStateServiceReadRequest, ...)) *AttestationStateServiceClient_Read_Call
- func (_c *AttestationStateServiceClient_Read_Call) RunAndReturn(...) *AttestationStateServiceClient_Read_Call
- type AttestationStateServiceClient_Reset_Call
- func (_c *AttestationStateServiceClient_Reset_Call) Return(attestationStateServiceResetResponse *v1.AttestationStateServiceResetResponse, ...) *AttestationStateServiceClient_Reset_Call
- func (_c *AttestationStateServiceClient_Reset_Call) Run(run func(ctx context.Context, in *v1.AttestationStateServiceResetRequest, ...)) *AttestationStateServiceClient_Reset_Call
- func (_c *AttestationStateServiceClient_Reset_Call) RunAndReturn(...) *AttestationStateServiceClient_Reset_Call
- type AttestationStateServiceClient_Save_Call
- func (_c *AttestationStateServiceClient_Save_Call) Return(attestationStateServiceSaveResponse *v1.AttestationStateServiceSaveResponse, ...) *AttestationStateServiceClient_Save_Call
- func (_c *AttestationStateServiceClient_Save_Call) Run(run func(ctx context.Context, in *v1.AttestationStateServiceSaveRequest, ...)) *AttestationStateServiceClient_Save_Call
- func (_c *AttestationStateServiceClient_Save_Call) RunAndReturn(...) *AttestationStateServiceClient_Save_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttestationStateServiceClient ¶
AttestationStateServiceClient is an autogenerated mock type for the AttestationStateServiceClient type
func NewAttestationStateServiceClient ¶
func NewAttestationStateServiceClient(t interface {
mock.TestingT
Cleanup(func())
}) *AttestationStateServiceClient
NewAttestationStateServiceClient creates a new instance of AttestationStateServiceClient. 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 (*AttestationStateServiceClient) EXPECT ¶
func (_m *AttestationStateServiceClient) EXPECT() *AttestationStateServiceClient_Expecter
func (*AttestationStateServiceClient) Initialized ¶
func (_mock *AttestationStateServiceClient) Initialized(ctx context.Context, in *v1.AttestationStateServiceInitializedRequest, opts ...grpc.CallOption) (*v1.AttestationStateServiceInitializedResponse, error)
Initialized provides a mock function for the type AttestationStateServiceClient
func (*AttestationStateServiceClient) Read ¶
func (_mock *AttestationStateServiceClient) Read(ctx context.Context, in *v1.AttestationStateServiceReadRequest, opts ...grpc.CallOption) (*v1.AttestationStateServiceReadResponse, error)
Read provides a mock function for the type AttestationStateServiceClient
func (*AttestationStateServiceClient) Reset ¶
func (_mock *AttestationStateServiceClient) Reset(ctx context.Context, in *v1.AttestationStateServiceResetRequest, opts ...grpc.CallOption) (*v1.AttestationStateServiceResetResponse, error)
Reset provides a mock function for the type AttestationStateServiceClient
func (*AttestationStateServiceClient) Save ¶
func (_mock *AttestationStateServiceClient) Save(ctx context.Context, in *v1.AttestationStateServiceSaveRequest, opts ...grpc.CallOption) (*v1.AttestationStateServiceSaveResponse, error)
Save provides a mock function for the type AttestationStateServiceClient
type AttestationStateServiceClient_Expecter ¶
type AttestationStateServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*AttestationStateServiceClient_Expecter) Initialized ¶
func (_e *AttestationStateServiceClient_Expecter) Initialized(ctx interface{}, in interface{}, opts ...interface{}) *AttestationStateServiceClient_Initialized_Call
Initialized is a helper method to define mock.On call
- ctx context.Context
- in *v1.AttestationStateServiceInitializedRequest
- opts ...grpc.CallOption
func (*AttestationStateServiceClient_Expecter) Read ¶
func (_e *AttestationStateServiceClient_Expecter) Read(ctx interface{}, in interface{}, opts ...interface{}) *AttestationStateServiceClient_Read_Call
Read is a helper method to define mock.On call
- ctx context.Context
- in *v1.AttestationStateServiceReadRequest
- opts ...grpc.CallOption
func (*AttestationStateServiceClient_Expecter) Reset ¶
func (_e *AttestationStateServiceClient_Expecter) Reset(ctx interface{}, in interface{}, opts ...interface{}) *AttestationStateServiceClient_Reset_Call
Reset is a helper method to define mock.On call
- ctx context.Context
- in *v1.AttestationStateServiceResetRequest
- opts ...grpc.CallOption
func (*AttestationStateServiceClient_Expecter) Save ¶
func (_e *AttestationStateServiceClient_Expecter) Save(ctx interface{}, in interface{}, opts ...interface{}) *AttestationStateServiceClient_Save_Call
Save is a helper method to define mock.On call
- ctx context.Context
- in *v1.AttestationStateServiceSaveRequest
- opts ...grpc.CallOption
type AttestationStateServiceClient_Initialized_Call ¶
AttestationStateServiceClient_Initialized_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Initialized'
func (*AttestationStateServiceClient_Initialized_Call) Return ¶
func (_c *AttestationStateServiceClient_Initialized_Call) Return(attestationStateServiceInitializedResponse *v1.AttestationStateServiceInitializedResponse, err error) *AttestationStateServiceClient_Initialized_Call
func (*AttestationStateServiceClient_Initialized_Call) Run ¶
func (_c *AttestationStateServiceClient_Initialized_Call) Run(run func(ctx context.Context, in *v1.AttestationStateServiceInitializedRequest, opts ...grpc.CallOption)) *AttestationStateServiceClient_Initialized_Call
func (*AttestationStateServiceClient_Initialized_Call) RunAndReturn ¶
func (_c *AttestationStateServiceClient_Initialized_Call) RunAndReturn(run func(ctx context.Context, in *v1.AttestationStateServiceInitializedRequest, opts ...grpc.CallOption) (*v1.AttestationStateServiceInitializedResponse, error)) *AttestationStateServiceClient_Initialized_Call
type AttestationStateServiceClient_Read_Call ¶
AttestationStateServiceClient_Read_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Read'
func (*AttestationStateServiceClient_Read_Call) Return ¶
func (_c *AttestationStateServiceClient_Read_Call) Return(attestationStateServiceReadResponse *v1.AttestationStateServiceReadResponse, err error) *AttestationStateServiceClient_Read_Call
func (*AttestationStateServiceClient_Read_Call) Run ¶
func (_c *AttestationStateServiceClient_Read_Call) Run(run func(ctx context.Context, in *v1.AttestationStateServiceReadRequest, opts ...grpc.CallOption)) *AttestationStateServiceClient_Read_Call
func (*AttestationStateServiceClient_Read_Call) RunAndReturn ¶
func (_c *AttestationStateServiceClient_Read_Call) RunAndReturn(run func(ctx context.Context, in *v1.AttestationStateServiceReadRequest, opts ...grpc.CallOption) (*v1.AttestationStateServiceReadResponse, error)) *AttestationStateServiceClient_Read_Call
type AttestationStateServiceClient_Reset_Call ¶
AttestationStateServiceClient_Reset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Reset'
func (*AttestationStateServiceClient_Reset_Call) Return ¶
func (_c *AttestationStateServiceClient_Reset_Call) Return(attestationStateServiceResetResponse *v1.AttestationStateServiceResetResponse, err error) *AttestationStateServiceClient_Reset_Call
func (*AttestationStateServiceClient_Reset_Call) Run ¶
func (_c *AttestationStateServiceClient_Reset_Call) Run(run func(ctx context.Context, in *v1.AttestationStateServiceResetRequest, opts ...grpc.CallOption)) *AttestationStateServiceClient_Reset_Call
func (*AttestationStateServiceClient_Reset_Call) RunAndReturn ¶
func (_c *AttestationStateServiceClient_Reset_Call) RunAndReturn(run func(ctx context.Context, in *v1.AttestationStateServiceResetRequest, opts ...grpc.CallOption) (*v1.AttestationStateServiceResetResponse, error)) *AttestationStateServiceClient_Reset_Call
type AttestationStateServiceClient_Save_Call ¶
AttestationStateServiceClient_Save_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Save'
func (*AttestationStateServiceClient_Save_Call) Return ¶
func (_c *AttestationStateServiceClient_Save_Call) Return(attestationStateServiceSaveResponse *v1.AttestationStateServiceSaveResponse, err error) *AttestationStateServiceClient_Save_Call
func (*AttestationStateServiceClient_Save_Call) Run ¶
func (_c *AttestationStateServiceClient_Save_Call) Run(run func(ctx context.Context, in *v1.AttestationStateServiceSaveRequest, opts ...grpc.CallOption)) *AttestationStateServiceClient_Save_Call
func (*AttestationStateServiceClient_Save_Call) RunAndReturn ¶
func (_c *AttestationStateServiceClient_Save_Call) RunAndReturn(run func(ctx context.Context, in *v1.AttestationStateServiceSaveRequest, opts ...grpc.CallOption) (*v1.AttestationStateServiceSaveResponse, error)) *AttestationStateServiceClient_Save_Call