mocks

package
v0.0.0-...-1c5d739 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostExpirationRegistryInterface

type HostExpirationRegistryInterface struct {
	mock.Mock
}

HostExpirationRegistryInterface is an autogenerated mock type for the HostExpirationRegistryInterface type

func (*HostExpirationRegistryInterface) IsExpired

func (_m *HostExpirationRegistryInterface) IsExpired(_a0 string) (bool, error)

IsExpired provides a mock function with given fields: _a0

func (*HostExpirationRegistryInterface) Remove

func (_m *HostExpirationRegistryInterface) Remove(_a0 string)

Remove provides a mock function with given fields: _a0

func (*HostExpirationRegistryInterface) Set

func (_m *HostExpirationRegistryInterface) Set(_a0 string, _a1 int64)

Set provides a mock function with given fields: _a0, _a1

type Identity

type Identity struct {
	mock.Mock
}

func (*Identity) Expired

func (_m *Identity) Expired() bool

func (*Identity) HasAdminAccess

func (_m *Identity) HasAdminAccess() bool

func (*Identity) HasDFSAccess

func (_m *Identity) HasDFSAccess() bool

func (*Identity) HostID

func (_m *Identity) HostID() string

func (*Identity) PoolID

func (_m *Identity) PoolID() string

func (*Identity) Valid

func (_m *Identity) Valid() error

func (*Identity) Verifier

func (_m *Identity) Verifier() (auth.Verifier, error)

type RPCHeaderBuilder

type RPCHeaderBuilder struct {
	mock.Mock
}

func (*RPCHeaderBuilder) WriteHeader

func (_m *RPCHeaderBuilder) WriteHeader(_a0 io.Writer, _a1 []byte, _a2 bool) error

WriteHeader provides a mock function with given fields: _a0, _a1, _a2

type RPCHeaderParser

type RPCHeaderParser struct {
	mock.Mock
}

func (*RPCHeaderParser) ReadHeader

func (_m *RPCHeaderParser) ReadHeader(_a0 io.Reader) (auth.Identity, []byte, error)

ReadHeader provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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