Documentation ¶
Index ¶
Constants ¶
View Source
const ( OpusTypeExtensionAction OpusType = "erda/extension/action" OpusTypeExtensionAddon OpusType = "erda/extension/addon" OpusTypeArtifactsProject OpusType = "erda/artifacts/project" OpusLevelSystem OpusLevel = "sys" OpusLevelOrg OpusLevel = "org" PutOnOpusModeAppend PutOnOpusMode = "append" PutOnOpusModeOverride PutOnOpusMode = "override" LangUnknown Lang = "unknown" LangEn Lang = "en" LangEnUs Lang = "en_us" LangZh Lang = "zh" LangZhCn Lang = "zh_cn" )
Variables ¶
View Source
var ( OpusTypeNames = map[OpusType]string{ OpusTypeExtensionAction: "Action", OpusTypeExtensionAddon: "Addon", OpusTypeArtifactsProject: "Erda Artifacts", } LangTypes = map[Lang]string{ LangUnknown: "unknown", LangEn: "English", LangEnUs: "English", LangZh: "中文", LangZhCn: "中文", } )
Functions ¶
This section is empty.
Types ¶
type PutOnOpusMode ¶
type PutOnOpusMode string
func (PutOnOpusMode) Equal ¶
func (o PutOnOpusMode) Equal(s string) bool
func (PutOnOpusMode) String ¶
func (o PutOnOpusMode) String() string
Click to show internal directories.
Click to hide internal directories.