Documentation
¶
Index ¶
- Constants
- func SupportedVersions() []string
- type Digest
- type FileLock
- type Lock
- type LockSource
- type Set
- func (s *Set) Case(relative string) ([]byte, error)
- func (s *Set) File(relative string) (FileLock, bool)
- func (s *Set) Lock() Lock
- func (s *Set) Manifest() ([]byte, error)
- func (s *Set) ManifestSchema() ([]byte, error)
- func (s *Set) Read(relative string) ([]byte, error)
- func (s *Set) Schema() ([]byte, error)
- type UnsupportedVersionError
Constants ¶
View Source
const DraftVersion = "0.1.0-draft"
Variables ¶
This section is empty.
Functions ¶
func SupportedVersions ¶
func SupportedVersions() []string
Types ¶
type Lock ¶
type Lock struct {
FormatVersion int `json:"formatVersion"`
SpecVersion string `json:"specVersion"`
Source LockSource `json:"source"`
BundleDigest Digest `json:"bundleDigest"`
Files []FileLock `json:"files"`
}
type LockSource ¶
type Set ¶
type Set struct {
// contains filtered or unexported fields
}
func (*Set) ManifestSchema ¶
type UnsupportedVersionError ¶
type UnsupportedVersionError struct {
Version string
}
func (*UnsupportedVersionError) Error ¶
func (e *UnsupportedVersionError) Error() string
Click to show internal directories.
Click to hide internal directories.