sshhelper

package
v0.0.0-...-c8e7285 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package sshhelper 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) NewKeys

func (m *MockSSHKeyGenerator) NewKeys() (entity.SSHKey, error)

NewKeys mocks base method.

type MockSSHKeyGeneratorMockRecorder

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

MockSSHKeyGeneratorMockRecorder is the mock recorder for MockSSHKeyGenerator.

func (*MockSSHKeyGeneratorMockRecorder) NewKeys

NewKeys indicates an expected call of NewKeys.

type SSHKeyGenerator

type SSHKeyGenerator interface {
	NewKeys() (entity.SSHKey, error)
}

SSHKeyGenerator define all functions to manage SSH keys.

func NewGenerator

func NewGenerator(logger logging.Logger) SSHKeyGenerator

NewGenerator is a constructor function.

Jump to

Keyboard shortcuts

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