Last active
August 29, 2015 14:15
-
-
Save spheromak/552b88ff5576c8f24273 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Lock struct { | |
Name string `json:"name"` | |
RevisionId string `json:"revision_id"` | |
RunList []string `json:"run_list"` | |
CookBooks map[string]CookLock | |
} | |
type CookLock struct { | |
CacheKey string `json:"cache_key"` | |
DottedDecimalIdentifier string `json:"dotted_decimal_identifier"` | |
Identifier string `json:"identifier"` | |
Origin string `json:"origin"` | |
ScmInfo ScmInfo `json:"scm_info"` | |
Source string `json:"source"` | |
SourceOptions SourceOptions `json:"source_options"` | |
Version string `json:"version"` | |
} | |
type ScmInfo struct { | |
Published bool `json:"published"` | |
Remote string `json:"remote"` | |
Revision string `json:"revision"` | |
Scm string `json:"scm"` | |
SynchronizedRemoteBranches []string `json:"synchronized_remote_branches"` | |
WorkingTreeClean bool `json:"working_tree_clean"` | |
} | |
type SourceOptions struct { | |
Path string `json:"path"` | |
Artifactserver string `json:"artifactserver"` | |
Version string `json:"version"` | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Lock struct { | |
Name string `json:"name"` | |
RevisionId string `json:"revision_id"` | |
RunList []string `json:"run_list"` | |
CookBooks map[string]CookLock | |
} | |
type CookLock struct { | |
Version string `json:"version"` | |
CacheKey string `json:"cache_key"` | |
DottedDecimalIdentifier string `json:"dotted_decimal_identifier"` | |
Identifier string `json:"identifier"` | |
Origin string `json:"origin"` | |
Source string `json:"source"` | |
SourceOptions struct { | |
Path string `json:"path"` | |
Artifactserver string `json:"artifactserver"` | |
Version string `json:"version"` | |
} `json:"source_options"` | |
ScmInfo struct { | |
Published bool `json:"published"` | |
Remote string `json:"remote"` | |
Revision string `json:"revision"` | |
Scm string `json:"scm"` | |
SynchronizedRemoteBranches []string `json:"synchronized_remote_branches"` | |
WorkingTreeClean bool `json:"working_tree_clean"` | |
} `json:"scm_info"` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment