sshkey

package
v0.0.0-...-87359d1 Latest Latest
Warning

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

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

Documentation

Overview

Package sshkey is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSSHKeyGenerator

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

MockSSHKeyGenerator is a mock of SSHKeyGenerator interface.

func NewMockSSHKeyGenerator

func NewMockSSHKeyGenerator(ctrl *gomock.Controller) *MockSSHKeyGenerator

NewMockSSHKeyGenerator creates a new mock instance.

func (*MockSSHKeyGenerator) EXPECT

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

func (*MockSSHKeyGenerator) GenerateSSHKeyPair

func (m *MockSSHKeyGenerator) GenerateSSHKeyPair() ([]byte, []byte, error)

GenerateSSHKeyPair mocks base method.

type MockSSHKeyGeneratorMockRecorder

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

MockSSHKeyGeneratorMockRecorder is the mock recorder for MockSSHKeyGenerator.

func (*MockSSHKeyGeneratorMockRecorder) GenerateSSHKeyPair

func (mr *MockSSHKeyGeneratorMockRecorder) GenerateSSHKeyPair() *gomock.Call

GenerateSSHKeyPair indicates an expected call of GenerateSSHKeyPair.

type SSHKeyGenerator

type SSHKeyGenerator interface {
	GenerateSSHKeyPair() ([]byte, []byte, error)
}

type SSHKeyGeneratorImpl

type SSHKeyGeneratorImpl struct{}

func NewSSHKeyGenerator

func NewSSHKeyGenerator() *SSHKeyGeneratorImpl

func (*SSHKeyGeneratorImpl) GenerateSSHKeyPair

func (s *SSHKeyGeneratorImpl) GenerateSSHKeyPair() ([]byte, []byte, error)

Jump to

Keyboard shortcuts

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