Documentation
¶
Index ¶
- func ArtifactSupport() workspaceDomain.ArtifactSupport
- func DiscoveryProfile() workspaceDomain.DiscoveryProfile
- func LogicalName(name string) basespec.LogicalName
- func RoleFor(locator basespec.Locator) (artifactbuiltin.WorkspaceContextRole, bool)
- func RuntimeOrder(locator basespec.Locator) int
- type Definition
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArtifactSupport ¶
func ArtifactSupport() workspaceDomain.ArtifactSupport
func DiscoveryProfile ¶
func DiscoveryProfile() workspaceDomain.DiscoveryProfile
func LogicalName ¶
func LogicalName(name string) basespec.LogicalName
func RoleFor ¶
func RoleFor( locator basespec.Locator, ) (artifactbuiltin.WorkspaceContextRole, bool)
func RuntimeOrder ¶
Types ¶
type Definition ¶
type Definition struct {
Name string `json:"name"`
Role artifactbuiltin.WorkspaceContextRole `json:"role"`
MediaType artifactbuiltin.WorkspaceContextMediaType `json:"mediaType"`
Content string `json:"content"`
}
func ContextFromDefinition ¶
func ContextFromDefinition( value definition.Definition, ) (Definition, error)
ContextFromDefinition validates a canonical Workspace Context Artifact definition and returns its typed body in a single decode.
Click to show internal directories.
Click to hide internal directories.