Documentation
¶
Index ¶
Constants ¶
View Source
const LabelKeyIncludedInDryRunResultFlag = "metadata/include-in-dry-run-result"
View Source
const LabelKeyIncludedInResultBinaryFlag = "metadata/include-in-result-binary"
View Source
const LabelKeyIncludedInRunResultFlag = "metadata/include-in-run-result"
TODO: avoid circular dependency and use namespace in the flag name
View Source
const LabelKeyIncludedInTaskListFlag = "metadata/include-in-tasklist"
Variables ¶
This section is empty.
Functions ¶
func IncludeInDryRunResult ¶
func IncludeInResultBinary ¶
func IncludeInRunResult ¶
func IncludeInTaskList ¶
Types ¶
type MetadataFactory ¶
type MetadataFactory interface {
Instanciate() Metadata
}
type MetadataSet ¶
type MetadataSet struct {
// contains filtered or unexported fields
}
MetadataSet is a type containing data used in frontend except the actual inspection data.
func NewSet ¶
func NewSet() *MetadataSet
func (*MetadataSet) LoadOrStore ¶
func (m *MetadataSet) LoadOrStore(id string, factory MetadataFactory) Metadata
func (*MetadataSet) ToMap ¶
func (m *MetadataSet) ToMap(filters ...task.LabelFilter) (map[string]interface{}, error)
Click to show internal directories.
Click to hide internal directories.