metadata

package
v0.0.0-...-0fda810 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Low severity issues should be tagged with this
	Low severity = "LOW"
	// Medium severity issues should be tagged with this
	Medium severity = "MEDIUM"
	// High severity issues should be tagged with this
	High severity = "HIGH"

	// Epic is used when the linked issue type is an Epic
	Epic issueType = "Epic"
	// Story is used when the linked issue is of type Story
	Story issueType = "Story"
	// Defect is used when the linked issue is of type Defect/Bug
	Defect issueType = "Defect"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Identifiable

type Identifiable interface {
	AddIdentity(identity *metadatav1.Identity)
	GetIdentity() *metadatav1.Identity
}

Identifiable represents an object that has/needs an Identity

type MetaManager

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

MetaManager is used to create and update meta information for

func NewMetaManager

func NewMetaManager() *MetaManager

NewMetaManager creates a new meta data manager

func (*MetaManager) NewMeta

func (p *MetaManager) NewMeta(author string, objType string) (*metadatav1.Identity, error)

NewMeta creates a new identity

func (*MetaManager) UpdateMeta

func (p *MetaManager) UpdateMeta(author string, identity *metadatav1.Identity)

UpdateMeta updated the meta information

Jump to

Keyboard shortcuts

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