~juju-qa/ubuntu/xenial/juju/xenial-2.0-beta3

« back to all changes in this revision

Viewing changes to src/gopkg.in/juju/charmrepo.v2-unstable/params.go

  • Committer: Martin Packman
  • Date: 2016-03-30 19:31:08 UTC
  • mfrom: (1.1.41)
  • Revision ID: martin.packman@canonical.com-20160330193108-h9iz3ak334uk0z5r
Merge new upstream source 2.0~beta3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// Copyright 2015 Canonical Ltd.
2
2
// Licensed under the AGPLv3, see LICENCE file for details.
3
3
 
4
 
package charmrepo
 
4
package charmrepo // import "gopkg.in/juju/charmrepo.v2-unstable"
5
5
 
6
6
import (
7
7
        "fmt"
8
8
 
9
9
        "gopkg.in/juju/charm.v6-unstable"
 
10
        "gopkg.in/juju/charm.v6-unstable/resource"
10
11
)
11
12
 
12
13
// InfoResponse is sent by the charm store in response to charm-info requests.
37
38
        Err      error
38
39
}
39
40
 
 
41
// ResourceResult holds the resources for a given charm and any error
 
42
// encountered in retrieving them.
 
43
type ResourceResult struct {
 
44
        Resources []resource.Resource
 
45
        Err       error
 
46
}
 
47
 
40
48
// NotFoundError represents an error indicating that the requested data wasn't found.
41
49
type NotFoundError struct {
42
50
        msg string