Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Max = New(1.0) Min = New(0.0) )
Constant value that can be used for the modification of a ConfidenceLevel
Functions ¶
This section is empty.
Types ¶
type ConfidenceLevel ¶
type ConfidenceLevel struct {
// contains filtered or unexported fields
}
ConfidenceLevel A confidence level represents a level of confidence Example: A ConfidenceLevel could be used to represent the confidence that an algorithm is executable in a certain environment.
func New ¶
func New(value float64) ConfidenceLevel
New Get a new ConfidenceLevel; default value is confidenceLevelDefault
func (ConfidenceLevel) GetProperty ¶
func (confidenceLevel ConfidenceLevel) GetProperty() cdx.Property
GetProperty Generate a CycloneDX component property from this confidence
func (ConfidenceLevel) GetValue ¶
func (confidenceLevel ConfidenceLevel) GetValue() float64
GetValue Get the value of the ConfidenceLevel
Click to show internal directories.
Click to hide internal directories.