Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockSecureTLSBootstrapServiceClient
- func (m *MockSecureTLSBootstrapServiceClient) EXPECT() *MockSecureTLSBootstrapServiceClientMockRecorder
- func (m *MockSecureTLSBootstrapServiceClient) GetCredential(ctx context.Context, in *protos.CredentialRequest, opts ...grpc.CallOption) (*protos.CredentialResponse, error)
- func (m *MockSecureTLSBootstrapServiceClient) GetNonce(ctx context.Context, in *protos.NonceRequest, opts ...grpc.CallOption) (*protos.NonceResponse, error)
- func (m *MockSecureTLSBootstrapServiceClient) GetToken(ctx context.Context, in *protos.TokenRequest, opts ...grpc.CallOption) (*protos.TokenResponse, error)
- type MockSecureTLSBootstrapServiceClientMockRecorder
- func (mr *MockSecureTLSBootstrapServiceClientMockRecorder) GetCredential(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSecureTLSBootstrapServiceClientMockRecorder) GetNonce(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSecureTLSBootstrapServiceClientMockRecorder) GetToken(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockSecureTLSBootstrapServiceServer
- func (m *MockSecureTLSBootstrapServiceServer) EXPECT() *MockSecureTLSBootstrapServiceServerMockRecorder
- func (m *MockSecureTLSBootstrapServiceServer) GetCredential(arg0 context.Context, arg1 *protos.CredentialRequest) (*protos.CredentialResponse, error)
- func (m *MockSecureTLSBootstrapServiceServer) GetNonce(arg0 context.Context, arg1 *protos.NonceRequest) (*protos.NonceResponse, error)
- func (m *MockSecureTLSBootstrapServiceServer) GetToken(arg0 context.Context, arg1 *protos.TokenRequest) (*protos.TokenResponse, error)
- type MockSecureTLSBootstrapServiceServerMockRecorder
- func (mr *MockSecureTLSBootstrapServiceServerMockRecorder) GetCredential(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSecureTLSBootstrapServiceServerMockRecorder) GetNonce(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSecureTLSBootstrapServiceServerMockRecorder) GetToken(arg0, arg1 interface{}) *gomock.Call
- type MockUnsafeSecureTLSBootstrapServiceServer
- type MockUnsafeSecureTLSBootstrapServiceServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSecureTLSBootstrapServiceClient ¶
type MockSecureTLSBootstrapServiceClient struct {
// contains filtered or unexported fields
}
MockSecureTLSBootstrapServiceClient is a mock of SecureTLSBootstrapServiceClient interface.
func NewMockSecureTLSBootstrapServiceClient ¶
func NewMockSecureTLSBootstrapServiceClient(ctrl *gomock.Controller) *MockSecureTLSBootstrapServiceClient
NewMockSecureTLSBootstrapServiceClient creates a new mock instance.
func (*MockSecureTLSBootstrapServiceClient) EXPECT ¶
func (m *MockSecureTLSBootstrapServiceClient) EXPECT() *MockSecureTLSBootstrapServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSecureTLSBootstrapServiceClient) GetCredential ¶
func (m *MockSecureTLSBootstrapServiceClient) GetCredential(ctx context.Context, in *protos.CredentialRequest, opts ...grpc.CallOption) (*protos.CredentialResponse, error)
GetCredential mocks base method.
func (*MockSecureTLSBootstrapServiceClient) GetNonce ¶
func (m *MockSecureTLSBootstrapServiceClient) GetNonce(ctx context.Context, in *protos.NonceRequest, opts ...grpc.CallOption) (*protos.NonceResponse, error)
GetNonce mocks base method.
func (*MockSecureTLSBootstrapServiceClient) GetToken ¶
func (m *MockSecureTLSBootstrapServiceClient) GetToken(ctx context.Context, in *protos.TokenRequest, opts ...grpc.CallOption) (*protos.TokenResponse, error)
GetToken mocks base method.
type MockSecureTLSBootstrapServiceClientMockRecorder ¶
type MockSecureTLSBootstrapServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockSecureTLSBootstrapServiceClientMockRecorder is the mock recorder for MockSecureTLSBootstrapServiceClient.
func (*MockSecureTLSBootstrapServiceClientMockRecorder) GetCredential ¶
func (mr *MockSecureTLSBootstrapServiceClientMockRecorder) GetCredential(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetCredential indicates an expected call of GetCredential.
func (*MockSecureTLSBootstrapServiceClientMockRecorder) GetNonce ¶
func (mr *MockSecureTLSBootstrapServiceClientMockRecorder) GetNonce(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetNonce indicates an expected call of GetNonce.
func (*MockSecureTLSBootstrapServiceClientMockRecorder) GetToken ¶
func (mr *MockSecureTLSBootstrapServiceClientMockRecorder) GetToken(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetToken indicates an expected call of GetToken.
type MockSecureTLSBootstrapServiceServer ¶
type MockSecureTLSBootstrapServiceServer struct {
// contains filtered or unexported fields
}
MockSecureTLSBootstrapServiceServer is a mock of SecureTLSBootstrapServiceServer interface.
func NewMockSecureTLSBootstrapServiceServer ¶
func NewMockSecureTLSBootstrapServiceServer(ctrl *gomock.Controller) *MockSecureTLSBootstrapServiceServer
NewMockSecureTLSBootstrapServiceServer creates a new mock instance.
func (*MockSecureTLSBootstrapServiceServer) EXPECT ¶
func (m *MockSecureTLSBootstrapServiceServer) EXPECT() *MockSecureTLSBootstrapServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSecureTLSBootstrapServiceServer) GetCredential ¶
func (m *MockSecureTLSBootstrapServiceServer) GetCredential(arg0 context.Context, arg1 *protos.CredentialRequest) (*protos.CredentialResponse, error)
GetCredential mocks base method.
func (*MockSecureTLSBootstrapServiceServer) GetNonce ¶
func (m *MockSecureTLSBootstrapServiceServer) GetNonce(arg0 context.Context, arg1 *protos.NonceRequest) (*protos.NonceResponse, error)
GetNonce mocks base method.
func (*MockSecureTLSBootstrapServiceServer) GetToken ¶
func (m *MockSecureTLSBootstrapServiceServer) GetToken(arg0 context.Context, arg1 *protos.TokenRequest) (*protos.TokenResponse, error)
GetToken mocks base method.
type MockSecureTLSBootstrapServiceServerMockRecorder ¶
type MockSecureTLSBootstrapServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockSecureTLSBootstrapServiceServerMockRecorder is the mock recorder for MockSecureTLSBootstrapServiceServer.
func (*MockSecureTLSBootstrapServiceServerMockRecorder) GetCredential ¶
func (mr *MockSecureTLSBootstrapServiceServerMockRecorder) GetCredential(arg0, arg1 interface{}) *gomock.Call
GetCredential indicates an expected call of GetCredential.
func (*MockSecureTLSBootstrapServiceServerMockRecorder) GetNonce ¶
func (mr *MockSecureTLSBootstrapServiceServerMockRecorder) GetNonce(arg0, arg1 interface{}) *gomock.Call
GetNonce indicates an expected call of GetNonce.
func (*MockSecureTLSBootstrapServiceServerMockRecorder) GetToken ¶
func (mr *MockSecureTLSBootstrapServiceServerMockRecorder) GetToken(arg0, arg1 interface{}) *gomock.Call
GetToken indicates an expected call of GetToken.
type MockUnsafeSecureTLSBootstrapServiceServer ¶
type MockUnsafeSecureTLSBootstrapServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeSecureTLSBootstrapServiceServer is a mock of UnsafeSecureTLSBootstrapServiceServer interface.
func NewMockUnsafeSecureTLSBootstrapServiceServer ¶
func NewMockUnsafeSecureTLSBootstrapServiceServer(ctrl *gomock.Controller) *MockUnsafeSecureTLSBootstrapServiceServer
NewMockUnsafeSecureTLSBootstrapServiceServer creates a new mock instance.
func (*MockUnsafeSecureTLSBootstrapServiceServer) EXPECT ¶
func (m *MockUnsafeSecureTLSBootstrapServiceServer) EXPECT() *MockUnsafeSecureTLSBootstrapServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeSecureTLSBootstrapServiceServerMockRecorder ¶
type MockUnsafeSecureTLSBootstrapServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeSecureTLSBootstrapServiceServerMockRecorder is the mock recorder for MockUnsafeSecureTLSBootstrapServiceServer.