mocks

package
v0.18.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authenticator

type Authenticator struct {
	mock.Mock
}

Authenticator is an autogenerated mock type for the Authenticator type

func NewAuthenticator

func NewAuthenticator(t mockConstructorTestingTNewAuthenticator) *Authenticator

NewAuthenticator creates a new instance of Authenticator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Authenticator) Password

func (_m *Authenticator) Password(ctx ssh.Context, user string, password string) bool

Password provides a mock function with given fields: ctx, user, password

func (*Authenticator) PublicKey

func (_m *Authenticator) PublicKey(ctx ssh.Context, user string, key ssh.PublicKey) bool

PublicKey provides a mock function with given fields: ctx, user, key

Jump to

Keyboard shortcuts

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