fake

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: JSON Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFakeConnector

func NewFakeConnector(schema interface{}) connectors.Connector

func NewFakeInterceptor

func NewFakeInterceptor(schema interface{}, interceptFunc interceptor.Intercepter) connectors.Connector

func NewFakePtrConnector

func NewFakePtrConnector(schema interface{}) connectors.Connector

Types

type FakeConnector

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

func (FakeConnector) Id

func (f FakeConnector) Id() string

func (*FakeConnector) Load

func (f *FakeConnector) Load(schema interface{}) (interface{}, error)

func (FakeConnector) Name

func (f FakeConnector) Name() string

func (FakeConnector) Schema

func (f FakeConnector) Schema() interface{}

func (*FakeConnector) SetSchema

func (f *FakeConnector) SetSchema(schema interface{})

func (FakeConnector) Tags

func (f FakeConnector) Tags() []string

type FakeInterceptor

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

func (FakeInterceptor) Id

func (f FakeInterceptor) Id() string

func (FakeInterceptor) Intercepter

func (f FakeInterceptor) Intercepter() interceptor.Intercepter

func (*FakeInterceptor) Load

func (f *FakeInterceptor) Load(schema interface{}) (interface{}, error)

func (FakeInterceptor) Name

func (f FakeInterceptor) Name() string

func (FakeInterceptor) Schema

func (f FakeInterceptor) Schema() interface{}

func (*FakeInterceptor) SetInterceptFunc

func (f *FakeInterceptor) SetInterceptFunc(interceptFunc interceptor.Intercepter)

func (*FakeInterceptor) SetSchema

func (f *FakeInterceptor) SetSchema(schema interface{})

func (FakeInterceptor) Tags

func (f FakeInterceptor) Tags() []string

type FakePtrConnector

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

func (FakePtrConnector) Id

func (f FakePtrConnector) Id() string

func (*FakePtrConnector) Load

func (f *FakePtrConnector) Load(schema interface{}) (interface{}, error)

func (FakePtrConnector) Name

func (f FakePtrConnector) Name() string

func (FakePtrConnector) Schema

func (f FakePtrConnector) Schema() interface{}

func (*FakePtrConnector) SetSchema

func (f *FakePtrConnector) SetSchema(schema interface{})

func (FakePtrConnector) Tags

func (f FakePtrConnector) Tags() []string

Jump to

Keyboard shortcuts

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