mocks

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Host

type Host struct {
	mock.Mock
}

func (*Host) Clone

func (m *Host) Clone(attributes ...host.Attribute) (host.Host, error)

func (*Host) Command

func (m *Host) Command(ctx context.Context, name string, options ...command.Option) (*command.Command, error)

func (*Host) Fs

func (m *Host) Fs(ctx context.Context, opts ...sftp.ClientOption) (afero.Fs, error)

func (*Host) Name

func (m *Host) Name() string

func (*Host) String

func (m *Host) String() string

func (*Host) Tags

func (m *Host) Tags() []string

Jump to

Keyboard shortcuts

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