mock

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSigningClient

type MockSigningClient struct {
	// contains filtered or unexported fields
}

MockSigningClient is a mock of SigningClient interface

func NewMockSigningClient

func NewMockSigningClient(ctrl *gomock.Controller) *MockSigningClient

NewMockSigningClient creates a new mock instance

func (*MockSigningClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockSigningClient) GetBlobAvailableSigningKeys

func (m *MockSigningClient) GetBlobAvailableSigningKeys(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*proto.KeyMetas, error)

GetBlobAvailableSigningKeys mocks base method

func (*MockSigningClient) GetBlobSigningKey

func (m *MockSigningClient) GetBlobSigningKey(ctx context.Context, in *proto.KeyMeta, opts ...grpc.CallOption) (*proto.PublicKey, error)

GetBlobSigningKey mocks base method

func (*MockSigningClient) GetHostSSHCertificateAvailableSigningKeys

func (m *MockSigningClient) GetHostSSHCertificateAvailableSigningKeys(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*proto.KeyMetas, error)

GetHostSSHCertificateAvailableSigningKeys mocks base method

func (*MockSigningClient) GetHostSSHCertificateSigningKey

func (m *MockSigningClient) GetHostSSHCertificateSigningKey(ctx context.Context, in *proto.KeyMeta, opts ...grpc.CallOption) (*proto.SSHKey, error)

GetHostSSHCertificateSigningKey mocks base method

func (*MockSigningClient) GetUserSSHCertificateAvailableSigningKeys

func (m *MockSigningClient) GetUserSSHCertificateAvailableSigningKeys(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*proto.KeyMetas, error)

GetUserSSHCertificateAvailableSigningKeys mocks base method

func (*MockSigningClient) GetUserSSHCertificateSigningKey

func (m *MockSigningClient) GetUserSSHCertificateSigningKey(ctx context.Context, in *proto.KeyMeta, opts ...grpc.CallOption) (*proto.SSHKey, error)

GetUserSSHCertificateSigningKey mocks base method

func (*MockSigningClient) GetX509CACertificate

func (m *MockSigningClient) GetX509CACertificate(ctx context.Context, in *proto.KeyMeta, opts ...grpc.CallOption) (*proto.X509Certificate, error)

GetX509CACertificate mocks base method

func (*MockSigningClient) GetX509CertificateAvailableSigningKeys

func (m *MockSigningClient) GetX509CertificateAvailableSigningKeys(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*proto.KeyMetas, error)

GetX509CertificateAvailableSigningKeys mocks base method

func (*MockSigningClient) PostHostSSHCertificate

func (m *MockSigningClient) PostHostSSHCertificate(ctx context.Context, in *proto.SSHCertificateSigningRequest, opts ...grpc.CallOption) (*proto.SSHKey, error)

PostHostSSHCertificate mocks base method

func (*MockSigningClient) PostSignBlob

PostSignBlob mocks base method

func (*MockSigningClient) PostUserSSHCertificate

func (m *MockSigningClient) PostUserSSHCertificate(ctx context.Context, in *proto.SSHCertificateSigningRequest, opts ...grpc.CallOption) (*proto.SSHKey, error)

PostUserSSHCertificate mocks base method

func (*MockSigningClient) PostX509Certificate

PostX509Certificate mocks base method

type MockSigningClientMockRecorder

type MockSigningClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockSigningClientMockRecorder is the mock recorder for MockSigningClient

func (*MockSigningClientMockRecorder) GetBlobAvailableSigningKeys

func (mr *MockSigningClientMockRecorder) GetBlobAvailableSigningKeys(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetBlobAvailableSigningKeys indicates an expected call of GetBlobAvailableSigningKeys

func (*MockSigningClientMockRecorder) GetBlobSigningKey

func (mr *MockSigningClientMockRecorder) GetBlobSigningKey(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetBlobSigningKey indicates an expected call of GetBlobSigningKey

func (*MockSigningClientMockRecorder) GetHostSSHCertificateAvailableSigningKeys

func (mr *MockSigningClientMockRecorder) GetHostSSHCertificateAvailableSigningKeys(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetHostSSHCertificateAvailableSigningKeys indicates an expected call of GetHostSSHCertificateAvailableSigningKeys

func (*MockSigningClientMockRecorder) GetHostSSHCertificateSigningKey

func (mr *MockSigningClientMockRecorder) GetHostSSHCertificateSigningKey(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetHostSSHCertificateSigningKey indicates an expected call of GetHostSSHCertificateSigningKey

func (*MockSigningClientMockRecorder) GetUserSSHCertificateAvailableSigningKeys

func (mr *MockSigningClientMockRecorder) GetUserSSHCertificateAvailableSigningKeys(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetUserSSHCertificateAvailableSigningKeys indicates an expected call of GetUserSSHCertificateAvailableSigningKeys

func (*MockSigningClientMockRecorder) GetUserSSHCertificateSigningKey

func (mr *MockSigningClientMockRecorder) GetUserSSHCertificateSigningKey(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetUserSSHCertificateSigningKey indicates an expected call of GetUserSSHCertificateSigningKey

func (*MockSigningClientMockRecorder) GetX509CACertificate

func (mr *MockSigningClientMockRecorder) GetX509CACertificate(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetX509CACertificate indicates an expected call of GetX509CACertificate

func (*MockSigningClientMockRecorder) GetX509CertificateAvailableSigningKeys

func (mr *MockSigningClientMockRecorder) GetX509CertificateAvailableSigningKeys(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetX509CertificateAvailableSigningKeys indicates an expected call of GetX509CertificateAvailableSigningKeys

func (*MockSigningClientMockRecorder) PostHostSSHCertificate

func (mr *MockSigningClientMockRecorder) PostHostSSHCertificate(ctx, in interface{}, opts ...interface{}) *gomock.Call

PostHostSSHCertificate indicates an expected call of PostHostSSHCertificate

func (*MockSigningClientMockRecorder) PostSignBlob

func (mr *MockSigningClientMockRecorder) PostSignBlob(ctx, in interface{}, opts ...interface{}) *gomock.Call

PostSignBlob indicates an expected call of PostSignBlob

func (*MockSigningClientMockRecorder) PostUserSSHCertificate

func (mr *MockSigningClientMockRecorder) PostUserSSHCertificate(ctx, in interface{}, opts ...interface{}) *gomock.Call

PostUserSSHCertificate indicates an expected call of PostUserSSHCertificate

func (*MockSigningClientMockRecorder) PostX509Certificate

func (mr *MockSigningClientMockRecorder) PostX509Certificate(ctx, in interface{}, opts ...interface{}) *gomock.Call

PostX509Certificate indicates an expected call of PostX509Certificate

type MockSigningServer

type MockSigningServer struct {
	// contains filtered or unexported fields
}

MockSigningServer is a mock of SigningServer interface

func NewMockSigningServer

func NewMockSigningServer(ctrl *gomock.Controller) *MockSigningServer

NewMockSigningServer creates a new mock instance

func (*MockSigningServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockSigningServer) GetBlobAvailableSigningKeys

func (m *MockSigningServer) GetBlobAvailableSigningKeys(arg0 context.Context, arg1 *empty.Empty) (*proto.KeyMetas, error)

GetBlobAvailableSigningKeys mocks base method

func (*MockSigningServer) GetBlobSigningKey

func (m *MockSigningServer) GetBlobSigningKey(arg0 context.Context, arg1 *proto.KeyMeta) (*proto.PublicKey, error)

GetBlobSigningKey mocks base method

func (*MockSigningServer) GetHostSSHCertificateAvailableSigningKeys

func (m *MockSigningServer) GetHostSSHCertificateAvailableSigningKeys(arg0 context.Context, arg1 *empty.Empty) (*proto.KeyMetas, error)

GetHostSSHCertificateAvailableSigningKeys mocks base method

func (*MockSigningServer) GetHostSSHCertificateSigningKey

func (m *MockSigningServer) GetHostSSHCertificateSigningKey(arg0 context.Context, arg1 *proto.KeyMeta) (*proto.SSHKey, error)

GetHostSSHCertificateSigningKey mocks base method

func (*MockSigningServer) GetUserSSHCertificateAvailableSigningKeys

func (m *MockSigningServer) GetUserSSHCertificateAvailableSigningKeys(arg0 context.Context, arg1 *empty.Empty) (*proto.KeyMetas, error)

GetUserSSHCertificateAvailableSigningKeys mocks base method

func (*MockSigningServer) GetUserSSHCertificateSigningKey

func (m *MockSigningServer) GetUserSSHCertificateSigningKey(arg0 context.Context, arg1 *proto.KeyMeta) (*proto.SSHKey, error)

GetUserSSHCertificateSigningKey mocks base method

func (*MockSigningServer) GetX509CACertificate

func (m *MockSigningServer) GetX509CACertificate(arg0 context.Context, arg1 *proto.KeyMeta) (*proto.X509Certificate, error)

GetX509CACertificate mocks base method

func (*MockSigningServer) GetX509CertificateAvailableSigningKeys

func (m *MockSigningServer) GetX509CertificateAvailableSigningKeys(arg0 context.Context, arg1 *empty.Empty) (*proto.KeyMetas, error)

GetX509CertificateAvailableSigningKeys mocks base method

func (*MockSigningServer) PostHostSSHCertificate

func (m *MockSigningServer) PostHostSSHCertificate(arg0 context.Context, arg1 *proto.SSHCertificateSigningRequest) (*proto.SSHKey, error)

PostHostSSHCertificate mocks base method

func (*MockSigningServer) PostSignBlob

func (m *MockSigningServer) PostSignBlob(arg0 context.Context, arg1 *proto.BlobSigningRequest) (*proto.Signature, error)

PostSignBlob mocks base method

func (*MockSigningServer) PostUserSSHCertificate

func (m *MockSigningServer) PostUserSSHCertificate(arg0 context.Context, arg1 *proto.SSHCertificateSigningRequest) (*proto.SSHKey, error)

PostUserSSHCertificate mocks base method

func (*MockSigningServer) PostX509Certificate

PostX509Certificate mocks base method

type MockSigningServerMockRecorder

type MockSigningServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockSigningServerMockRecorder is the mock recorder for MockSigningServer

func (*MockSigningServerMockRecorder) GetBlobAvailableSigningKeys

func (mr *MockSigningServerMockRecorder) GetBlobAvailableSigningKeys(arg0, arg1 interface{}) *gomock.Call

GetBlobAvailableSigningKeys indicates an expected call of GetBlobAvailableSigningKeys

func (*MockSigningServerMockRecorder) GetBlobSigningKey

func (mr *MockSigningServerMockRecorder) GetBlobSigningKey(arg0, arg1 interface{}) *gomock.Call

GetBlobSigningKey indicates an expected call of GetBlobSigningKey

func (*MockSigningServerMockRecorder) GetHostSSHCertificateAvailableSigningKeys

func (mr *MockSigningServerMockRecorder) GetHostSSHCertificateAvailableSigningKeys(arg0, arg1 interface{}) *gomock.Call

GetHostSSHCertificateAvailableSigningKeys indicates an expected call of GetHostSSHCertificateAvailableSigningKeys

func (*MockSigningServerMockRecorder) GetHostSSHCertificateSigningKey

func (mr *MockSigningServerMockRecorder) GetHostSSHCertificateSigningKey(arg0, arg1 interface{}) *gomock.Call

GetHostSSHCertificateSigningKey indicates an expected call of GetHostSSHCertificateSigningKey

func (*MockSigningServerMockRecorder) GetUserSSHCertificateAvailableSigningKeys

func (mr *MockSigningServerMockRecorder) GetUserSSHCertificateAvailableSigningKeys(arg0, arg1 interface{}) *gomock.Call

GetUserSSHCertificateAvailableSigningKeys indicates an expected call of GetUserSSHCertificateAvailableSigningKeys

func (*MockSigningServerMockRecorder) GetUserSSHCertificateSigningKey

func (mr *MockSigningServerMockRecorder) GetUserSSHCertificateSigningKey(arg0, arg1 interface{}) *gomock.Call

GetUserSSHCertificateSigningKey indicates an expected call of GetUserSSHCertificateSigningKey

func (*MockSigningServerMockRecorder) GetX509CACertificate

func (mr *MockSigningServerMockRecorder) GetX509CACertificate(arg0, arg1 interface{}) *gomock.Call

GetX509CACertificate indicates an expected call of GetX509CACertificate

func (*MockSigningServerMockRecorder) GetX509CertificateAvailableSigningKeys

func (mr *MockSigningServerMockRecorder) GetX509CertificateAvailableSigningKeys(arg0, arg1 interface{}) *gomock.Call

GetX509CertificateAvailableSigningKeys indicates an expected call of GetX509CertificateAvailableSigningKeys

func (*MockSigningServerMockRecorder) PostHostSSHCertificate

func (mr *MockSigningServerMockRecorder) PostHostSSHCertificate(arg0, arg1 interface{}) *gomock.Call

PostHostSSHCertificate indicates an expected call of PostHostSSHCertificate

func (*MockSigningServerMockRecorder) PostSignBlob

func (mr *MockSigningServerMockRecorder) PostSignBlob(arg0, arg1 interface{}) *gomock.Call

PostSignBlob indicates an expected call of PostSignBlob

func (*MockSigningServerMockRecorder) PostUserSSHCertificate

func (mr *MockSigningServerMockRecorder) PostUserSSHCertificate(arg0, arg1 interface{}) *gomock.Call

PostUserSSHCertificate indicates an expected call of PostUserSSHCertificate

func (*MockSigningServerMockRecorder) PostX509Certificate

func (mr *MockSigningServerMockRecorder) PostX509Certificate(arg0, arg1 interface{}) *gomock.Call

PostX509Certificate indicates an expected call of PostX509Certificate

Jump to

Keyboard shortcuts

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