Documentation
¶
Index ¶
- type Model
- func (m *Model) Attributes() (attributes map[string]string)
- func (m *Model) Clone() (clone model.Model)
- func (m *Model) ID() (id string)
- func (m *Model) MetaInformation() (metaInformation *model.MetaInformation)
- func (m *Model) ModelID() (modelID string)
- func (m *Model) ModelIDWithoutProvider() (modelID string)
- func (m *Model) SetAttributes(attributes map[string]string)
- func (m *Model) WriteTests(ctx model.Context) (assessment metrics.Assessments, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶ added in v0.5.0
type Model struct {
// contains filtered or unexported fields
}
Model holds a Symflower model using the locally installed CLI.
func NewModelSmartTemplate ¶ added in v1.0.0
func NewModelSmartTemplate() (model *Model)
NewModelSmartTemplate returns a smart template Symflower model.
func NewModelSmartTemplateWithTimeout ¶ added in v1.0.0
NewModelSmartTemplateWithTimeout returns a smart template Symflower model with a given timeout.
func NewModelSymbolicExecution ¶ added in v1.0.0
func NewModelSymbolicExecution() (model *Model)
NewModelSymbolicExecution returns a symbolic execution Symflower model.
func NewModelSymbolicExecutionWithTimeout ¶ added in v1.0.0
NewModelSymbolicExecutionWithTimeout returns a symbolic execution Symflower model with a given timeout.
func (*Model) Attributes ¶ added in v1.0.2
Attributes returns query attributes.
func (*Model) ID ¶ added in v0.5.0
ID returns full identifier, including the provider and attributes.
func (*Model) MetaInformation ¶ added in v0.6.1
func (m *Model) MetaInformation() (metaInformation *model.MetaInformation)
MetaInformation returns the meta information of a model.
func (*Model) ModelID ¶ added in v1.0.2
ModelID returns the unique identifier of this model with its provider.
func (*Model) ModelIDWithoutProvider ¶ added in v1.0.2
ModelIDWithoutProvider returns the unique identifier of this model without its provider.
func (*Model) SetAttributes ¶ added in v1.0.6
SetAttributes sets the given attributes.
func (*Model) WriteTests ¶ added in v0.6.0
WriteTests generates test files for the given implementation file in a repository.