コード例 #1
0
ファイル: deployment.go プロジェクト: abhashyam/deployment
func cookbookAttachmentsRetrieve(client *cm15.Api, cookbookAttachmentsLocator string) []*cm15.CookbookAttachment {
	locator := client.CookbookAttachmentLocator(cookbookAttachmentsLocator)
	cookbookAttachments, err := locator.Index(rsapi.ApiParams{})
	if err != nil {
		fmt.Println("failed to find cookbook attachments: %s", err)
	}
	return cookbookAttachments
}