MCPcopy Create free account
hub / github.com/devfile/api / DevfileFollower

Interface DevfileFollower

test/v200/utils/common/test_utils.go:59–76  ·  view source on GitHub ↗

DevfileFollower interface implemented by the parser tests for updating the parser data

Source from the content-addressed store, hash-verified

57
58// DevfileFollower interface implemented by the parser tests for updating the parser data
59type DevfileFollower interface {
60 AddCommand(schema.Command) error
61 UpdateCommand(schema.Command)
62 AddComponent(schema.Component) error
63 UpdateComponent(schema.Component)
64 AddProject(schema.Project) error
65 UpdateProject(schema.Project)
66 AddStarterProject(schema.StarterProject) error
67 UpdateStarterProject(schema.StarterProject)
68 AddEvent(schema.Events) error
69 UpdateEvent(schema.Events)
70 SetParent(schema.Parent) error
71 UpdateParent(schema.Parent)
72
73 SetMetaData(header.DevfileMetadata) error
74 UpdateMetaData(header.DevfileMetadata)
75 SetSchemaVersion(string)
76}
77
78// DevfileValidator interface implemented by the parser and api tests for verifying generated devfiles
79type DevfileValidator interface {

Callers 12

commandAddedMethod · 0.65
commandUpdatedMethod · 0.80
componentAddedMethod · 0.65
componentUpdatedMethod · 0.80
projectAddedMethod · 0.65
projectUpdatedMethod · 0.80
starterProjectAddedMethod · 0.65
starterProjectUpdatedMethod · 0.80
EventsAddedMethod · 0.80
EventsUpdatedMethod · 0.80
MetaDataAddedMethod · 0.80
MetaDataUpdatedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected