Versions in this module Expand all Collapse all v1 v1.2.6 Aug 31, 2020 Changes in this version + func YAMLToJSON(data []byte) ([]byte, error) + type DevfileCtx struct + Fs filesystem.Filesystem + func FakeContext(fs filesystem.Filesystem, absPath string) DevfileCtx + func NewDevfileCtx(path string) DevfileCtx + func NewURLDevfileCtx(url string) DevfileCtx + func (d *DevfileCtx) GetAbsPath() string + func (d *DevfileCtx) GetApiVersion() string + func (d *DevfileCtx) GetDevfileContent() []byte + func (d *DevfileCtx) GetFs() filesystem.Filesystem + func (d *DevfileCtx) IsApiVersionSupported() bool + func (d *DevfileCtx) Populate() (err error) + func (d *DevfileCtx) PopulateFromURL() (err error) + func (d *DevfileCtx) SetDevfileAPIVersion() error + func (d *DevfileCtx) SetDevfileContent() error + func (d *DevfileCtx) SetDevfileContentFromBytes(data []byte) error + func (d *DevfileCtx) SetDevfileJSONSchema() error + func (d *DevfileCtx) Validate() error + func (d *DevfileCtx) ValidateDevfileSchema() error