Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppMetadata ¶
type AppMetadata struct { Version string `json:"version"` Name string `json:"name"` Description string `json:"description,omitempty"` Maintainers Maintainers `json:"maintainers,omitempty"` }
AppMetadata is the format of the data found inside the metadata.yml file
func FromBundle ¶ added in v0.8.0
func FromBundle(bndl *bundle.Bundle) AppMetadata
Metadata extracts the docker-app metadata from the bundle
func Load ¶ added in v0.5.0
func Load(data []byte) (AppMetadata, error)
Load validates the given data and loads it into a metadata struct
type Maintainer ¶
Maintainer represents one of the apps's maintainers
func (Maintainer) String ¶
func (m Maintainer) String() string
String gives a string representation of a maintainer
type Maintainers ¶
type Maintainers []Maintainer
Maintainers is a list of maintainers
func (Maintainers) String ¶
func (ms Maintainers) String() string
String gives a string representation of a list of maintainers
Click to show internal directories.
Click to hide internal directories.