Documentation
¶
Overview ¶
Package lifecycle owns the five-command component dependency lifecycle.
Index ¶
- type ListItem
- type Result
- type Service
- func (s Service) Add(ctx context.Context, source, name, ref, modulePath string) (Result, error)
- func (s Service) Init(id, description string) error
- func (s Service) List(name string) ([]ListItem, error)
- func (s Service) Pull(ctx context.Context, only string) ([]Result, error)
- func (s Service) Remove(ctx context.Context, name string) (Result, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListItem ¶
type ListItem struct {
Name string `json:"name"`
Component string `json:"component,omitempty"`
Git string `json:"git"`
Ref string `json:"ref,omitempty"`
Commit string `json:"commit,omitempty"`
Bindings []manifest.Binding `json:"bindings"`
Agent *manifest.LockedAgent `json:"agent,omitempty"`
Surface string `json:"surface,omitempty"`
Problems []string `json:"problems,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.