Documentation ¶
Index ¶
Constants ¶
View Source
const ( KeyBits = 4096 SettingPublicPem = "chef.public_pem" )
Variables ¶
View Source
var ( ErrMissingMetadataFile = util.NewInvalidArgumentErrorf("metadata.json file is missing") ErrInvalidName = util.NewInvalidArgumentErrorf("package name is invalid") ErrInvalidVersion = util.NewInvalidArgumentErrorf("package version is invalid") )
Functions ¶
This section is empty.
Types ¶
type Metadata ¶
type Metadata struct { Description string `json:"description,omitempty"` LongDescription string `json:"long_description,omitempty"` Author string `json:"author,omitempty"` License string `json:"license,omitempty"` RepositoryURL string `json:"repository_url,omitempty"` Dependencies map[string]string `json:"dependencies,omitempty"` }
Metadata represents the metadata of a Chef package
type Package ¶
Package represents a Chef package
func ParseChefMetadata ¶
ParseChefMetadata parses a metadata.json file to retrieve the metadata of a Chef package
Click to show internal directories.
Click to hide internal directories.