mocks

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: GPL-3.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NamedPropertySet

type NamedPropertySet struct {
	mock.Mock
}

NamedPropertySet is an autogenerated mock type for the NamedPropertySet type

func NewNamedPropertySet

func NewNamedPropertySet(t interface {
	mock.TestingT
	Cleanup(func())
}) *NamedPropertySet

NewNamedPropertySet creates a new instance of NamedPropertySet. 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 (*NamedPropertySet) Description

func (_m *NamedPropertySet) Description() string

Description provides a mock function with no fields

func (*NamedPropertySet) EXPECT

func (*NamedPropertySet) IsAllOptions

func (_m *NamedPropertySet) IsAllOptions() bool

IsAllOptions provides a mock function with no fields

func (*NamedPropertySet) IsClosed

func (_m *NamedPropertySet) IsClosed() bool

IsClosed provides a mock function with no fields

func (*NamedPropertySet) Name

func (_m *NamedPropertySet) Name() string

Name provides a mock function with no fields

func (*NamedPropertySet) OtherPropertyInfo

func (_m *NamedPropertySet) OtherPropertyInfo() config.PropertyInfo

OtherPropertyInfo provides a mock function with no fields

func (*NamedPropertySet) Properties

func (_m *NamedPropertySet) Properties() []string

Properties provides a mock function with no fields

func (*NamedPropertySet) PropertyInfo

func (_m *NamedPropertySet) PropertyInfo(name string) config.PropertyInfo

PropertyInfo provides a mock function with given fields: name

func (*NamedPropertySet) TypeName

func (_m *NamedPropertySet) TypeName() string

TypeName provides a mock function with no fields

type NamedPropertySet_Description_Call

type NamedPropertySet_Description_Call struct {
	*mock.Call
}

NamedPropertySet_Description_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Description'

func (*NamedPropertySet_Description_Call) Return

func (*NamedPropertySet_Description_Call) Run

func (*NamedPropertySet_Description_Call) RunAndReturn

type NamedPropertySet_Expecter

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

func (*NamedPropertySet_Expecter) Description

Description is a helper method to define mock.On call

func (*NamedPropertySet_Expecter) IsAllOptions

IsAllOptions is a helper method to define mock.On call

func (*NamedPropertySet_Expecter) IsClosed

IsClosed is a helper method to define mock.On call

func (*NamedPropertySet_Expecter) Name

Name is a helper method to define mock.On call

func (*NamedPropertySet_Expecter) OtherPropertyInfo

OtherPropertyInfo is a helper method to define mock.On call

func (*NamedPropertySet_Expecter) Properties

Properties is a helper method to define mock.On call

func (*NamedPropertySet_Expecter) PropertyInfo

func (_e *NamedPropertySet_Expecter) PropertyInfo(name interface{}) *NamedPropertySet_PropertyInfo_Call

PropertyInfo is a helper method to define mock.On call

  • name string

func (*NamedPropertySet_Expecter) TypeName

TypeName is a helper method to define mock.On call

type NamedPropertySet_IsAllOptions_Call

type NamedPropertySet_IsAllOptions_Call struct {
	*mock.Call
}

NamedPropertySet_IsAllOptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsAllOptions'

func (*NamedPropertySet_IsAllOptions_Call) Return

func (*NamedPropertySet_IsAllOptions_Call) Run

func (*NamedPropertySet_IsAllOptions_Call) RunAndReturn

type NamedPropertySet_IsClosed_Call

type NamedPropertySet_IsClosed_Call struct {
	*mock.Call
}

NamedPropertySet_IsClosed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsClosed'

func (*NamedPropertySet_IsClosed_Call) Return

func (*NamedPropertySet_IsClosed_Call) Run

func (*NamedPropertySet_IsClosed_Call) RunAndReturn

type NamedPropertySet_Name_Call

type NamedPropertySet_Name_Call struct {
	*mock.Call
}

NamedPropertySet_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'

func (*NamedPropertySet_Name_Call) Return

func (*NamedPropertySet_Name_Call) Run

func (*NamedPropertySet_Name_Call) RunAndReturn

func (_c *NamedPropertySet_Name_Call) RunAndReturn(run func() string) *NamedPropertySet_Name_Call

type NamedPropertySet_OtherPropertyInfo_Call

type NamedPropertySet_OtherPropertyInfo_Call struct {
	*mock.Call
}

NamedPropertySet_OtherPropertyInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OtherPropertyInfo'

func (*NamedPropertySet_OtherPropertyInfo_Call) Return

func (*NamedPropertySet_OtherPropertyInfo_Call) Run

func (*NamedPropertySet_OtherPropertyInfo_Call) RunAndReturn

type NamedPropertySet_Properties_Call

type NamedPropertySet_Properties_Call struct {
	*mock.Call
}

NamedPropertySet_Properties_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Properties'

func (*NamedPropertySet_Properties_Call) Return

func (*NamedPropertySet_Properties_Call) Run

func (*NamedPropertySet_Properties_Call) RunAndReturn

type NamedPropertySet_PropertyInfo_Call

type NamedPropertySet_PropertyInfo_Call struct {
	*mock.Call
}

NamedPropertySet_PropertyInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PropertyInfo'

func (*NamedPropertySet_PropertyInfo_Call) Return

func (*NamedPropertySet_PropertyInfo_Call) Run

func (*NamedPropertySet_PropertyInfo_Call) RunAndReturn

type NamedPropertySet_TypeName_Call

type NamedPropertySet_TypeName_Call struct {
	*mock.Call
}

NamedPropertySet_TypeName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TypeName'

func (*NamedPropertySet_TypeName_Call) Return

func (*NamedPropertySet_TypeName_Call) Run

func (*NamedPropertySet_TypeName_Call) RunAndReturn

type ProfileInfo

type ProfileInfo struct {
	mock.Mock
}

ProfileInfo is an autogenerated mock type for the ProfileInfo type

func NewProfileInfo

func NewProfileInfo(t interface {
	mock.TestingT
	Cleanup(func())
}) *ProfileInfo

NewProfileInfo creates a new instance of ProfileInfo. 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 (*ProfileInfo) EXPECT

func (_m *ProfileInfo) EXPECT() *ProfileInfo_Expecter

func (*ProfileInfo) IsAllOptions

func (_m *ProfileInfo) IsAllOptions() bool

IsAllOptions provides a mock function with no fields

func (*ProfileInfo) IsClosed

func (_m *ProfileInfo) IsClosed() bool

IsClosed provides a mock function with no fields

func (*ProfileInfo) OtherPropertyInfo

func (_m *ProfileInfo) OtherPropertyInfo() config.PropertyInfo

OtherPropertyInfo provides a mock function with no fields

func (*ProfileInfo) Properties

func (_m *ProfileInfo) Properties() []string

Properties provides a mock function with no fields

func (*ProfileInfo) PropertyInfo

func (_m *ProfileInfo) PropertyInfo(name string) config.PropertyInfo

PropertyInfo provides a mock function with given fields: name

func (*ProfileInfo) SectionInfo

func (_m *ProfileInfo) SectionInfo(name string) config.SectionInfo

SectionInfo provides a mock function with given fields: name

func (*ProfileInfo) Sections

func (_m *ProfileInfo) Sections() []string

Sections provides a mock function with no fields

func (*ProfileInfo) TypeName

func (_m *ProfileInfo) TypeName() string

TypeName provides a mock function with no fields

type ProfileInfo_Expecter

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

func (*ProfileInfo_Expecter) IsAllOptions

IsAllOptions is a helper method to define mock.On call

func (*ProfileInfo_Expecter) IsClosed

IsClosed is a helper method to define mock.On call

func (*ProfileInfo_Expecter) OtherPropertyInfo

OtherPropertyInfo is a helper method to define mock.On call

func (*ProfileInfo_Expecter) Properties

Properties is a helper method to define mock.On call

func (*ProfileInfo_Expecter) PropertyInfo

func (_e *ProfileInfo_Expecter) PropertyInfo(name interface{}) *ProfileInfo_PropertyInfo_Call

PropertyInfo is a helper method to define mock.On call

  • name string

func (*ProfileInfo_Expecter) SectionInfo

func (_e *ProfileInfo_Expecter) SectionInfo(name interface{}) *ProfileInfo_SectionInfo_Call

SectionInfo is a helper method to define mock.On call

  • name string

func (*ProfileInfo_Expecter) Sections

Sections is a helper method to define mock.On call

func (*ProfileInfo_Expecter) TypeName

TypeName is a helper method to define mock.On call

type ProfileInfo_IsAllOptions_Call

type ProfileInfo_IsAllOptions_Call struct {
	*mock.Call
}

ProfileInfo_IsAllOptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsAllOptions'

func (*ProfileInfo_IsAllOptions_Call) Return

func (*ProfileInfo_IsAllOptions_Call) Run

func (*ProfileInfo_IsAllOptions_Call) RunAndReturn

type ProfileInfo_IsClosed_Call

type ProfileInfo_IsClosed_Call struct {
	*mock.Call
}

ProfileInfo_IsClosed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsClosed'

func (*ProfileInfo_IsClosed_Call) Return

func (*ProfileInfo_IsClosed_Call) Run

func (*ProfileInfo_IsClosed_Call) RunAndReturn

func (_c *ProfileInfo_IsClosed_Call) RunAndReturn(run func() bool) *ProfileInfo_IsClosed_Call

type ProfileInfo_OtherPropertyInfo_Call

type ProfileInfo_OtherPropertyInfo_Call struct {
	*mock.Call
}

ProfileInfo_OtherPropertyInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OtherPropertyInfo'

func (*ProfileInfo_OtherPropertyInfo_Call) Return

func (*ProfileInfo_OtherPropertyInfo_Call) Run

func (*ProfileInfo_OtherPropertyInfo_Call) RunAndReturn

type ProfileInfo_Properties_Call

type ProfileInfo_Properties_Call struct {
	*mock.Call
}

ProfileInfo_Properties_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Properties'

func (*ProfileInfo_Properties_Call) Return

func (*ProfileInfo_Properties_Call) Run

func (*ProfileInfo_Properties_Call) RunAndReturn

func (_c *ProfileInfo_Properties_Call) RunAndReturn(run func() []string) *ProfileInfo_Properties_Call

type ProfileInfo_PropertyInfo_Call

type ProfileInfo_PropertyInfo_Call struct {
	*mock.Call
}

ProfileInfo_PropertyInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PropertyInfo'

func (*ProfileInfo_PropertyInfo_Call) Return

func (*ProfileInfo_PropertyInfo_Call) Run

func (*ProfileInfo_PropertyInfo_Call) RunAndReturn

type ProfileInfo_SectionInfo_Call

type ProfileInfo_SectionInfo_Call struct {
	*mock.Call
}

ProfileInfo_SectionInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SectionInfo'

func (*ProfileInfo_SectionInfo_Call) Return

func (*ProfileInfo_SectionInfo_Call) Run

func (*ProfileInfo_SectionInfo_Call) RunAndReturn

type ProfileInfo_Sections_Call

type ProfileInfo_Sections_Call struct {
	*mock.Call
}

ProfileInfo_Sections_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Sections'

func (*ProfileInfo_Sections_Call) Return

func (*ProfileInfo_Sections_Call) Run

func (*ProfileInfo_Sections_Call) RunAndReturn

func (_c *ProfileInfo_Sections_Call) RunAndReturn(run func() []string) *ProfileInfo_Sections_Call

type ProfileInfo_TypeName_Call

type ProfileInfo_TypeName_Call struct {
	*mock.Call
}

ProfileInfo_TypeName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TypeName'

func (*ProfileInfo_TypeName_Call) Return

func (*ProfileInfo_TypeName_Call) Run

func (*ProfileInfo_TypeName_Call) RunAndReturn

func (_c *ProfileInfo_TypeName_Call) RunAndReturn(run func() string) *ProfileInfo_TypeName_Call

type PropertyInfo

type PropertyInfo struct {
	mock.Mock
}

PropertyInfo is an autogenerated mock type for the PropertyInfo type

func NewPropertyInfo

func NewPropertyInfo(t interface {
	mock.TestingT
	Cleanup(func())
}) *PropertyInfo

NewPropertyInfo creates a new instance of PropertyInfo. 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 (*PropertyInfo) CanBeBool

func (_m *PropertyInfo) CanBeBool() bool

CanBeBool provides a mock function with no fields

func (*PropertyInfo) CanBeNil

func (_m *PropertyInfo) CanBeNil() bool

CanBeNil provides a mock function with no fields

func (*PropertyInfo) CanBeNumeric

func (_m *PropertyInfo) CanBeNumeric() bool

CanBeNumeric provides a mock function with no fields

func (*PropertyInfo) CanBePropertySet

func (_m *PropertyInfo) CanBePropertySet() bool

CanBePropertySet provides a mock function with no fields

func (*PropertyInfo) CanBeString

func (_m *PropertyInfo) CanBeString() bool

CanBeString provides a mock function with no fields

func (*PropertyInfo) DefaultValue

func (_m *PropertyInfo) DefaultValue() []string

DefaultValue provides a mock function with no fields

func (*PropertyInfo) Description

func (_m *PropertyInfo) Description() string

Description provides a mock function with no fields

func (*PropertyInfo) EXPECT

func (_m *PropertyInfo) EXPECT() *PropertyInfo_Expecter

func (*PropertyInfo) EnumValues

func (_m *PropertyInfo) EnumValues() []string

EnumValues provides a mock function with no fields

func (*PropertyInfo) ExampleValues

func (_m *PropertyInfo) ExampleValues() []string

ExampleValues provides a mock function with no fields

func (*PropertyInfo) Format

func (_m *PropertyInfo) Format() string

Format provides a mock function with no fields

func (*PropertyInfo) IsAnyType

func (_m *PropertyInfo) IsAnyType() bool

IsAnyType provides a mock function with no fields

func (*PropertyInfo) IsDeprecated

func (_m *PropertyInfo) IsDeprecated() bool

IsDeprecated provides a mock function with no fields

func (*PropertyInfo) IsMultiType

func (_m *PropertyInfo) IsMultiType() bool

IsMultiType provides a mock function with no fields

func (*PropertyInfo) IsOption

func (_m *PropertyInfo) IsOption() bool

IsOption provides a mock function with no fields

func (*PropertyInfo) IsRequired

func (_m *PropertyInfo) IsRequired() bool

IsRequired provides a mock function with no fields

func (*PropertyInfo) IsSingle

func (_m *PropertyInfo) IsSingle() bool

IsSingle provides a mock function with no fields

func (*PropertyInfo) IsSinglePropertySet added in v0.27.0

func (_m *PropertyInfo) IsSinglePropertySet() bool

IsSinglePropertySet provides a mock function with no fields

func (*PropertyInfo) MustBeInteger

func (_m *PropertyInfo) MustBeInteger() bool

MustBeInteger provides a mock function with no fields

func (*PropertyInfo) Name

func (_m *PropertyInfo) Name() string

Name provides a mock function with no fields

func (*PropertyInfo) NumericRange

func (_m *PropertyInfo) NumericRange() config.NumericRange

NumericRange provides a mock function with no fields

func (*PropertyInfo) Option

func (_m *PropertyInfo) Option() restic.Option

Option provides a mock function with no fields

func (*PropertyInfo) PropertySet

func (_m *PropertyInfo) PropertySet() config.NamedPropertySet

PropertySet provides a mock function with no fields

func (*PropertyInfo) ValidationPattern

func (_m *PropertyInfo) ValidationPattern() string

ValidationPattern provides a mock function with no fields

type PropertyInfo_CanBeBool_Call

type PropertyInfo_CanBeBool_Call struct {
	*mock.Call
}

PropertyInfo_CanBeBool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CanBeBool'

func (*PropertyInfo_CanBeBool_Call) Return

func (*PropertyInfo_CanBeBool_Call) Run

func (*PropertyInfo_CanBeBool_Call) RunAndReturn

func (_c *PropertyInfo_CanBeBool_Call) RunAndReturn(run func() bool) *PropertyInfo_CanBeBool_Call

type PropertyInfo_CanBeNil_Call

type PropertyInfo_CanBeNil_Call struct {
	*mock.Call
}

PropertyInfo_CanBeNil_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CanBeNil'

func (*PropertyInfo_CanBeNil_Call) Return

func (*PropertyInfo_CanBeNil_Call) Run

func (*PropertyInfo_CanBeNil_Call) RunAndReturn

func (_c *PropertyInfo_CanBeNil_Call) RunAndReturn(run func() bool) *PropertyInfo_CanBeNil_Call

type PropertyInfo_CanBeNumeric_Call

type PropertyInfo_CanBeNumeric_Call struct {
	*mock.Call
}

PropertyInfo_CanBeNumeric_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CanBeNumeric'

func (*PropertyInfo_CanBeNumeric_Call) Return

func (*PropertyInfo_CanBeNumeric_Call) Run

func (*PropertyInfo_CanBeNumeric_Call) RunAndReturn

type PropertyInfo_CanBePropertySet_Call

type PropertyInfo_CanBePropertySet_Call struct {
	*mock.Call
}

PropertyInfo_CanBePropertySet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CanBePropertySet'

func (*PropertyInfo_CanBePropertySet_Call) Return

func (*PropertyInfo_CanBePropertySet_Call) Run

func (*PropertyInfo_CanBePropertySet_Call) RunAndReturn

type PropertyInfo_CanBeString_Call

type PropertyInfo_CanBeString_Call struct {
	*mock.Call
}

PropertyInfo_CanBeString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CanBeString'

func (*PropertyInfo_CanBeString_Call) Return

func (*PropertyInfo_CanBeString_Call) Run

func (*PropertyInfo_CanBeString_Call) RunAndReturn

type PropertyInfo_DefaultValue_Call

type PropertyInfo_DefaultValue_Call struct {
	*mock.Call
}

PropertyInfo_DefaultValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DefaultValue'

func (*PropertyInfo_DefaultValue_Call) Return

func (*PropertyInfo_DefaultValue_Call) Run

func (*PropertyInfo_DefaultValue_Call) RunAndReturn

type PropertyInfo_Description_Call

type PropertyInfo_Description_Call struct {
	*mock.Call
}

PropertyInfo_Description_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Description'

func (*PropertyInfo_Description_Call) Return

func (*PropertyInfo_Description_Call) Run

func (*PropertyInfo_Description_Call) RunAndReturn

type PropertyInfo_EnumValues_Call

type PropertyInfo_EnumValues_Call struct {
	*mock.Call
}

PropertyInfo_EnumValues_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnumValues'

func (*PropertyInfo_EnumValues_Call) Return

func (*PropertyInfo_EnumValues_Call) Run

func (*PropertyInfo_EnumValues_Call) RunAndReturn

func (_c *PropertyInfo_EnumValues_Call) RunAndReturn(run func() []string) *PropertyInfo_EnumValues_Call

type PropertyInfo_ExampleValues_Call

type PropertyInfo_ExampleValues_Call struct {
	*mock.Call
}

PropertyInfo_ExampleValues_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExampleValues'

func (*PropertyInfo_ExampleValues_Call) Return

func (*PropertyInfo_ExampleValues_Call) Run

func (*PropertyInfo_ExampleValues_Call) RunAndReturn

type PropertyInfo_Expecter

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

func (*PropertyInfo_Expecter) CanBeBool

CanBeBool is a helper method to define mock.On call

func (*PropertyInfo_Expecter) CanBeNil

CanBeNil is a helper method to define mock.On call

func (*PropertyInfo_Expecter) CanBeNumeric

CanBeNumeric is a helper method to define mock.On call

func (*PropertyInfo_Expecter) CanBePropertySet

CanBePropertySet is a helper method to define mock.On call

func (*PropertyInfo_Expecter) CanBeString

CanBeString is a helper method to define mock.On call

func (*PropertyInfo_Expecter) DefaultValue

DefaultValue is a helper method to define mock.On call

func (*PropertyInfo_Expecter) Description

Description is a helper method to define mock.On call

func (*PropertyInfo_Expecter) EnumValues

EnumValues is a helper method to define mock.On call

func (*PropertyInfo_Expecter) ExampleValues

ExampleValues is a helper method to define mock.On call

func (*PropertyInfo_Expecter) Format

Format is a helper method to define mock.On call

func (*PropertyInfo_Expecter) IsAnyType

IsAnyType is a helper method to define mock.On call

func (*PropertyInfo_Expecter) IsDeprecated

IsDeprecated is a helper method to define mock.On call

func (*PropertyInfo_Expecter) IsMultiType

IsMultiType is a helper method to define mock.On call

func (*PropertyInfo_Expecter) IsOption

IsOption is a helper method to define mock.On call

func (*PropertyInfo_Expecter) IsRequired

IsRequired is a helper method to define mock.On call

func (*PropertyInfo_Expecter) IsSingle

IsSingle is a helper method to define mock.On call

func (*PropertyInfo_Expecter) IsSinglePropertySet added in v0.27.0

IsSinglePropertySet is a helper method to define mock.On call

func (*PropertyInfo_Expecter) MustBeInteger

MustBeInteger is a helper method to define mock.On call

func (*PropertyInfo_Expecter) Name

Name is a helper method to define mock.On call

func (*PropertyInfo_Expecter) NumericRange

NumericRange is a helper method to define mock.On call

func (*PropertyInfo_Expecter) Option

Option is a helper method to define mock.On call

func (*PropertyInfo_Expecter) PropertySet

PropertySet is a helper method to define mock.On call

func (*PropertyInfo_Expecter) ValidationPattern

ValidationPattern is a helper method to define mock.On call

type PropertyInfo_Format_Call

type PropertyInfo_Format_Call struct {
	*mock.Call
}

PropertyInfo_Format_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Format'

func (*PropertyInfo_Format_Call) Return

func (*PropertyInfo_Format_Call) Run

func (*PropertyInfo_Format_Call) RunAndReturn

func (_c *PropertyInfo_Format_Call) RunAndReturn(run func() string) *PropertyInfo_Format_Call

type PropertyInfo_IsAnyType_Call

type PropertyInfo_IsAnyType_Call struct {
	*mock.Call
}

PropertyInfo_IsAnyType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsAnyType'

func (*PropertyInfo_IsAnyType_Call) Return

func (*PropertyInfo_IsAnyType_Call) Run

func (*PropertyInfo_IsAnyType_Call) RunAndReturn

func (_c *PropertyInfo_IsAnyType_Call) RunAndReturn(run func() bool) *PropertyInfo_IsAnyType_Call

type PropertyInfo_IsDeprecated_Call

type PropertyInfo_IsDeprecated_Call struct {
	*mock.Call
}

PropertyInfo_IsDeprecated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsDeprecated'

func (*PropertyInfo_IsDeprecated_Call) Return

func (*PropertyInfo_IsDeprecated_Call) Run

func (*PropertyInfo_IsDeprecated_Call) RunAndReturn

type PropertyInfo_IsMultiType_Call

type PropertyInfo_IsMultiType_Call struct {
	*mock.Call
}

PropertyInfo_IsMultiType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsMultiType'

func (*PropertyInfo_IsMultiType_Call) Return

func (*PropertyInfo_IsMultiType_Call) Run

func (*PropertyInfo_IsMultiType_Call) RunAndReturn

type PropertyInfo_IsOption_Call

type PropertyInfo_IsOption_Call struct {
	*mock.Call
}

PropertyInfo_IsOption_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsOption'

func (*PropertyInfo_IsOption_Call) Return

func (*PropertyInfo_IsOption_Call) Run

func (*PropertyInfo_IsOption_Call) RunAndReturn

func (_c *PropertyInfo_IsOption_Call) RunAndReturn(run func() bool) *PropertyInfo_IsOption_Call

type PropertyInfo_IsRequired_Call

type PropertyInfo_IsRequired_Call struct {
	*mock.Call
}

PropertyInfo_IsRequired_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsRequired'

func (*PropertyInfo_IsRequired_Call) Return

func (*PropertyInfo_IsRequired_Call) Run

func (*PropertyInfo_IsRequired_Call) RunAndReturn

func (_c *PropertyInfo_IsRequired_Call) RunAndReturn(run func() bool) *PropertyInfo_IsRequired_Call

type PropertyInfo_IsSinglePropertySet_Call added in v0.27.0

type PropertyInfo_IsSinglePropertySet_Call struct {
	*mock.Call
}

PropertyInfo_IsSinglePropertySet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsSinglePropertySet'

func (*PropertyInfo_IsSinglePropertySet_Call) Return added in v0.27.0

func (*PropertyInfo_IsSinglePropertySet_Call) Run added in v0.27.0

func (*PropertyInfo_IsSinglePropertySet_Call) RunAndReturn added in v0.27.0

type PropertyInfo_IsSingle_Call

type PropertyInfo_IsSingle_Call struct {
	*mock.Call
}

PropertyInfo_IsSingle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsSingle'

func (*PropertyInfo_IsSingle_Call) Return

func (*PropertyInfo_IsSingle_Call) Run

func (*PropertyInfo_IsSingle_Call) RunAndReturn

func (_c *PropertyInfo_IsSingle_Call) RunAndReturn(run func() bool) *PropertyInfo_IsSingle_Call

type PropertyInfo_MustBeInteger_Call

type PropertyInfo_MustBeInteger_Call struct {
	*mock.Call
}

PropertyInfo_MustBeInteger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MustBeInteger'

func (*PropertyInfo_MustBeInteger_Call) Return

func (*PropertyInfo_MustBeInteger_Call) Run

func (*PropertyInfo_MustBeInteger_Call) RunAndReturn

type PropertyInfo_Name_Call

type PropertyInfo_Name_Call struct {
	*mock.Call
}

PropertyInfo_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'

func (*PropertyInfo_Name_Call) Return

func (*PropertyInfo_Name_Call) Run

func (_c *PropertyInfo_Name_Call) Run(run func()) *PropertyInfo_Name_Call

func (*PropertyInfo_Name_Call) RunAndReturn

func (_c *PropertyInfo_Name_Call) RunAndReturn(run func() string) *PropertyInfo_Name_Call

type PropertyInfo_NumericRange_Call

type PropertyInfo_NumericRange_Call struct {
	*mock.Call
}

PropertyInfo_NumericRange_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NumericRange'

func (*PropertyInfo_NumericRange_Call) Return

func (*PropertyInfo_NumericRange_Call) Run

func (*PropertyInfo_NumericRange_Call) RunAndReturn

type PropertyInfo_Option_Call

type PropertyInfo_Option_Call struct {
	*mock.Call
}

PropertyInfo_Option_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Option'

func (*PropertyInfo_Option_Call) Return

func (*PropertyInfo_Option_Call) Run

func (*PropertyInfo_Option_Call) RunAndReturn

func (_c *PropertyInfo_Option_Call) RunAndReturn(run func() restic.Option) *PropertyInfo_Option_Call

type PropertyInfo_PropertySet_Call

type PropertyInfo_PropertySet_Call struct {
	*mock.Call
}

PropertyInfo_PropertySet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PropertySet'

func (*PropertyInfo_PropertySet_Call) Return

func (*PropertyInfo_PropertySet_Call) Run

func (*PropertyInfo_PropertySet_Call) RunAndReturn

type PropertyInfo_ValidationPattern_Call

type PropertyInfo_ValidationPattern_Call struct {
	*mock.Call
}

PropertyInfo_ValidationPattern_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidationPattern'

func (*PropertyInfo_ValidationPattern_Call) Return

func (*PropertyInfo_ValidationPattern_Call) Run

func (*PropertyInfo_ValidationPattern_Call) RunAndReturn

type SectionInfo

type SectionInfo struct {
	mock.Mock
}

SectionInfo is an autogenerated mock type for the SectionInfo type

func NewSectionInfo

func NewSectionInfo(t interface {
	mock.TestingT
	Cleanup(func())
}) *SectionInfo

NewSectionInfo creates a new instance of SectionInfo. 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 (*SectionInfo) Command

func (_m *SectionInfo) Command() restic.CommandIf

Command provides a mock function with no fields

func (*SectionInfo) Description

func (_m *SectionInfo) Description() string

Description provides a mock function with no fields

func (*SectionInfo) EXPECT

func (_m *SectionInfo) EXPECT() *SectionInfo_Expecter

func (*SectionInfo) IsAllOptions

func (_m *SectionInfo) IsAllOptions() bool

IsAllOptions provides a mock function with no fields

func (*SectionInfo) IsClosed

func (_m *SectionInfo) IsClosed() bool

IsClosed provides a mock function with no fields

func (*SectionInfo) IsCommandSection

func (_m *SectionInfo) IsCommandSection() bool

IsCommandSection provides a mock function with no fields

func (*SectionInfo) Name

func (_m *SectionInfo) Name() string

Name provides a mock function with no fields

func (*SectionInfo) OtherPropertyInfo

func (_m *SectionInfo) OtherPropertyInfo() config.PropertyInfo

OtherPropertyInfo provides a mock function with no fields

func (*SectionInfo) Properties

func (_m *SectionInfo) Properties() []string

Properties provides a mock function with no fields

func (*SectionInfo) PropertyInfo

func (_m *SectionInfo) PropertyInfo(name string) config.PropertyInfo

PropertyInfo provides a mock function with given fields: name

func (*SectionInfo) TypeName

func (_m *SectionInfo) TypeName() string

TypeName provides a mock function with no fields

type SectionInfo_Command_Call

type SectionInfo_Command_Call struct {
	*mock.Call
}

SectionInfo_Command_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Command'

func (*SectionInfo_Command_Call) Return

func (*SectionInfo_Command_Call) Run

func (*SectionInfo_Command_Call) RunAndReturn

func (_c *SectionInfo_Command_Call) RunAndReturn(run func() restic.CommandIf) *SectionInfo_Command_Call

type SectionInfo_Description_Call

type SectionInfo_Description_Call struct {
	*mock.Call
}

SectionInfo_Description_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Description'

func (*SectionInfo_Description_Call) Return

func (*SectionInfo_Description_Call) Run

func (*SectionInfo_Description_Call) RunAndReturn

type SectionInfo_Expecter

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

func (*SectionInfo_Expecter) Command

Command is a helper method to define mock.On call

func (*SectionInfo_Expecter) Description

Description is a helper method to define mock.On call

func (*SectionInfo_Expecter) IsAllOptions

IsAllOptions is a helper method to define mock.On call

func (*SectionInfo_Expecter) IsClosed

IsClosed is a helper method to define mock.On call

func (*SectionInfo_Expecter) IsCommandSection

IsCommandSection is a helper method to define mock.On call

func (*SectionInfo_Expecter) Name

Name is a helper method to define mock.On call

func (*SectionInfo_Expecter) OtherPropertyInfo

OtherPropertyInfo is a helper method to define mock.On call

func (*SectionInfo_Expecter) Properties

Properties is a helper method to define mock.On call

func (*SectionInfo_Expecter) PropertyInfo

func (_e *SectionInfo_Expecter) PropertyInfo(name interface{}) *SectionInfo_PropertyInfo_Call

PropertyInfo is a helper method to define mock.On call

  • name string

func (*SectionInfo_Expecter) TypeName

TypeName is a helper method to define mock.On call

type SectionInfo_IsAllOptions_Call

type SectionInfo_IsAllOptions_Call struct {
	*mock.Call
}

SectionInfo_IsAllOptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsAllOptions'

func (*SectionInfo_IsAllOptions_Call) Return

func (*SectionInfo_IsAllOptions_Call) Run

func (*SectionInfo_IsAllOptions_Call) RunAndReturn

type SectionInfo_IsClosed_Call

type SectionInfo_IsClosed_Call struct {
	*mock.Call
}

SectionInfo_IsClosed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsClosed'

func (*SectionInfo_IsClosed_Call) Return

func (*SectionInfo_IsClosed_Call) Run

func (*SectionInfo_IsClosed_Call) RunAndReturn

func (_c *SectionInfo_IsClosed_Call) RunAndReturn(run func() bool) *SectionInfo_IsClosed_Call

type SectionInfo_IsCommandSection_Call

type SectionInfo_IsCommandSection_Call struct {
	*mock.Call
}

SectionInfo_IsCommandSection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCommandSection'

func (*SectionInfo_IsCommandSection_Call) Return

func (*SectionInfo_IsCommandSection_Call) Run

func (*SectionInfo_IsCommandSection_Call) RunAndReturn

type SectionInfo_Name_Call

type SectionInfo_Name_Call struct {
	*mock.Call
}

SectionInfo_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'

func (*SectionInfo_Name_Call) Return

func (*SectionInfo_Name_Call) Run

func (_c *SectionInfo_Name_Call) Run(run func()) *SectionInfo_Name_Call

func (*SectionInfo_Name_Call) RunAndReturn

func (_c *SectionInfo_Name_Call) RunAndReturn(run func() string) *SectionInfo_Name_Call

type SectionInfo_OtherPropertyInfo_Call

type SectionInfo_OtherPropertyInfo_Call struct {
	*mock.Call
}

SectionInfo_OtherPropertyInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OtherPropertyInfo'

func (*SectionInfo_OtherPropertyInfo_Call) Return

func (*SectionInfo_OtherPropertyInfo_Call) Run

func (*SectionInfo_OtherPropertyInfo_Call) RunAndReturn

type SectionInfo_Properties_Call

type SectionInfo_Properties_Call struct {
	*mock.Call
}

SectionInfo_Properties_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Properties'

func (*SectionInfo_Properties_Call) Return

func (*SectionInfo_Properties_Call) Run

func (*SectionInfo_Properties_Call) RunAndReturn

func (_c *SectionInfo_Properties_Call) RunAndReturn(run func() []string) *SectionInfo_Properties_Call

type SectionInfo_PropertyInfo_Call

type SectionInfo_PropertyInfo_Call struct {
	*mock.Call
}

SectionInfo_PropertyInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PropertyInfo'

func (*SectionInfo_PropertyInfo_Call) Return

func (*SectionInfo_PropertyInfo_Call) Run

func (*SectionInfo_PropertyInfo_Call) RunAndReturn

type SectionInfo_TypeName_Call

type SectionInfo_TypeName_Call struct {
	*mock.Call
}

SectionInfo_TypeName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TypeName'

func (*SectionInfo_TypeName_Call) Return

func (*SectionInfo_TypeName_Call) Run

func (*SectionInfo_TypeName_Call) RunAndReturn

func (_c *SectionInfo_TypeName_Call) RunAndReturn(run func() string) *SectionInfo_TypeName_Call

Jump to

Keyboard shortcuts

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