Documentation ¶
Index ¶
- type Provider
- type Provider_Expecter
- type Provider_GetMetadata_Call
- func (_c *Provider_GetMetadata_Call) Return(_a0 string, _a1 error) *Provider_GetMetadata_Call
- func (_c *Provider_GetMetadata_Call) Run(run func(ctx context.Context, path string)) *Provider_GetMetadata_Call
- func (_c *Provider_GetMetadata_Call) RunAndReturn(run func(context.Context, string) (string, error)) *Provider_GetMetadata_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
Provider is an autogenerated mock type for the Provider type
func NewProvider ¶
NewProvider creates a new instance of Provider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Provider) EXPECT ¶
func (_m *Provider) EXPECT() *Provider_Expecter
type Provider_Expecter ¶
type Provider_Expecter struct {
// contains filtered or unexported fields
}
func (*Provider_Expecter) GetMetadata ¶
func (_e *Provider_Expecter) GetMetadata(ctx interface{}, path interface{}) *Provider_GetMetadata_Call
GetMetadata is a helper method to define mock.On call
- ctx context.Context
- path string
type Provider_GetMetadata_Call ¶
Provider_GetMetadata_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMetadata'
func (*Provider_GetMetadata_Call) Return ¶
func (_c *Provider_GetMetadata_Call) Return(_a0 string, _a1 error) *Provider_GetMetadata_Call
func (*Provider_GetMetadata_Call) Run ¶
func (_c *Provider_GetMetadata_Call) Run(run func(ctx context.Context, path string)) *Provider_GetMetadata_Call
func (*Provider_GetMetadata_Call) RunAndReturn ¶
func (_c *Provider_GetMetadata_Call) RunAndReturn(run func(context.Context, string) (string, error)) *Provider_GetMetadata_Call
Click to show internal directories.
Click to hide internal directories.