Help us shape the future of Go! Take the 2026 Go Developer Survey

modelfile

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Modelfile

type Modelfile struct {
	mock.Mock
}

Modelfile is an autogenerated mock type for the Modelfile type

func NewModelfile

func NewModelfile(t interface {
	mock.TestingT
	Cleanup(func())
}) *Modelfile

NewModelfile creates a new instance of Modelfile. 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 (*Modelfile) Content

func (_m *Modelfile) Content() []byte

Content provides a mock function with no fields

func (*Modelfile) EXPECT

func (_m *Modelfile) EXPECT() *Modelfile_Expecter

func (*Modelfile) GetArch

func (_m *Modelfile) GetArch() string

GetArch provides a mock function with no fields

func (*Modelfile) GetCodes

func (_m *Modelfile) GetCodes() []string

GetCodes provides a mock function with no fields

func (*Modelfile) GetConfigs

func (_m *Modelfile) GetConfigs() []string

GetConfigs provides a mock function with no fields

func (*Modelfile) GetDatasets

func (_m *Modelfile) GetDatasets() []string

GetDatasets provides a mock function with no fields

func (*Modelfile) GetDocs

func (_m *Modelfile) GetDocs() []string

GetDocs provides a mock function with no fields

func (*Modelfile) GetFamily

func (_m *Modelfile) GetFamily() string

GetFamily provides a mock function with no fields

func (*Modelfile) GetFormat

func (_m *Modelfile) GetFormat() string

GetFormat provides a mock function with no fields

func (*Modelfile) GetModels

func (_m *Modelfile) GetModels() []string

GetModels provides a mock function with no fields

func (*Modelfile) GetName

func (_m *Modelfile) GetName() string

GetName provides a mock function with no fields

func (*Modelfile) GetParamsize

func (_m *Modelfile) GetParamsize() string

GetParamsize provides a mock function with no fields

func (*Modelfile) GetPrecision

func (_m *Modelfile) GetPrecision() string

GetPrecision provides a mock function with no fields

func (*Modelfile) GetQuantization

func (_m *Modelfile) GetQuantization() string

GetQuantization provides a mock function with no fields

type Modelfile_Content_Call

type Modelfile_Content_Call struct {
	*mock.Call
}

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

func (*Modelfile_Content_Call) Return

func (*Modelfile_Content_Call) Run

func (_c *Modelfile_Content_Call) Run(run func()) *Modelfile_Content_Call

func (*Modelfile_Content_Call) RunAndReturn

func (_c *Modelfile_Content_Call) RunAndReturn(run func() []byte) *Modelfile_Content_Call

type Modelfile_Expecter

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

func (*Modelfile_Expecter) Content

Content is a helper method to define mock.On call

func (*Modelfile_Expecter) GetArch

GetArch is a helper method to define mock.On call

func (*Modelfile_Expecter) GetCodes

GetCodes is a helper method to define mock.On call

func (*Modelfile_Expecter) GetConfigs

GetConfigs is a helper method to define mock.On call

func (*Modelfile_Expecter) GetDatasets

GetDatasets is a helper method to define mock.On call

func (*Modelfile_Expecter) GetDocs

GetDocs is a helper method to define mock.On call

func (*Modelfile_Expecter) GetFamily

GetFamily is a helper method to define mock.On call

func (*Modelfile_Expecter) GetFormat

GetFormat is a helper method to define mock.On call

func (*Modelfile_Expecter) GetModels

GetModels is a helper method to define mock.On call

func (*Modelfile_Expecter) GetName

GetName is a helper method to define mock.On call

func (*Modelfile_Expecter) GetParamsize

func (_e *Modelfile_Expecter) GetParamsize() *Modelfile_GetParamsize_Call

GetParamsize is a helper method to define mock.On call

func (*Modelfile_Expecter) GetPrecision

func (_e *Modelfile_Expecter) GetPrecision() *Modelfile_GetPrecision_Call

GetPrecision is a helper method to define mock.On call

func (*Modelfile_Expecter) GetQuantization

func (_e *Modelfile_Expecter) GetQuantization() *Modelfile_GetQuantization_Call

GetQuantization is a helper method to define mock.On call

type Modelfile_GetArch_Call

type Modelfile_GetArch_Call struct {
	*mock.Call
}

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

func (*Modelfile_GetArch_Call) Return

func (*Modelfile_GetArch_Call) Run

func (_c *Modelfile_GetArch_Call) Run(run func()) *Modelfile_GetArch_Call

func (*Modelfile_GetArch_Call) RunAndReturn

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

type Modelfile_GetCodes_Call

type Modelfile_GetCodes_Call struct {
	*mock.Call
}

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

func (*Modelfile_GetCodes_Call) Return

func (*Modelfile_GetCodes_Call) Run

func (_c *Modelfile_GetCodes_Call) Run(run func()) *Modelfile_GetCodes_Call

func (*Modelfile_GetCodes_Call) RunAndReturn

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

type Modelfile_GetConfigs_Call

type Modelfile_GetConfigs_Call struct {
	*mock.Call
}

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

func (*Modelfile_GetConfigs_Call) Return

func (*Modelfile_GetConfigs_Call) Run

func (*Modelfile_GetConfigs_Call) RunAndReturn

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

type Modelfile_GetDatasets_Call

type Modelfile_GetDatasets_Call struct {
	*mock.Call
}

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

func (*Modelfile_GetDatasets_Call) Return

func (*Modelfile_GetDatasets_Call) Run

func (*Modelfile_GetDatasets_Call) RunAndReturn

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

type Modelfile_GetDocs_Call

type Modelfile_GetDocs_Call struct {
	*mock.Call
}

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

func (*Modelfile_GetDocs_Call) Return

func (*Modelfile_GetDocs_Call) Run

func (_c *Modelfile_GetDocs_Call) Run(run func()) *Modelfile_GetDocs_Call

func (*Modelfile_GetDocs_Call) RunAndReturn

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

type Modelfile_GetFamily_Call

type Modelfile_GetFamily_Call struct {
	*mock.Call
}

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

func (*Modelfile_GetFamily_Call) Return

func (*Modelfile_GetFamily_Call) Run

func (*Modelfile_GetFamily_Call) RunAndReturn

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

type Modelfile_GetFormat_Call

type Modelfile_GetFormat_Call struct {
	*mock.Call
}

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

func (*Modelfile_GetFormat_Call) Return

func (*Modelfile_GetFormat_Call) Run

func (*Modelfile_GetFormat_Call) RunAndReturn

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

type Modelfile_GetModels_Call

type Modelfile_GetModels_Call struct {
	*mock.Call
}

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

func (*Modelfile_GetModels_Call) Return

func (*Modelfile_GetModels_Call) Run

func (*Modelfile_GetModels_Call) RunAndReturn

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

type Modelfile_GetName_Call

type Modelfile_GetName_Call struct {
	*mock.Call
}

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

func (*Modelfile_GetName_Call) Return

func (*Modelfile_GetName_Call) Run

func (_c *Modelfile_GetName_Call) Run(run func()) *Modelfile_GetName_Call

func (*Modelfile_GetName_Call) RunAndReturn

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

type Modelfile_GetParamsize_Call

type Modelfile_GetParamsize_Call struct {
	*mock.Call
}

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

func (*Modelfile_GetParamsize_Call) Return

func (*Modelfile_GetParamsize_Call) Run

func (*Modelfile_GetParamsize_Call) RunAndReturn

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

type Modelfile_GetPrecision_Call

type Modelfile_GetPrecision_Call struct {
	*mock.Call
}

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

func (*Modelfile_GetPrecision_Call) Return

func (*Modelfile_GetPrecision_Call) Run

func (*Modelfile_GetPrecision_Call) RunAndReturn

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

type Modelfile_GetQuantization_Call

type Modelfile_GetQuantization_Call struct {
	*mock.Call
}

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

func (*Modelfile_GetQuantization_Call) Return

func (*Modelfile_GetQuantization_Call) Run

func (*Modelfile_GetQuantization_Call) RunAndReturn

Jump to

Keyboard shortcuts

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