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

« back to all changes in this revision

Viewing changes to src/gopkg.in/goose.v1/testservices/identityservice/identityservice.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:
11
11
        SetupHTTP(mux *http.ServeMux)
12
12
}
13
13
 
14
 
// A ServiceProvider is an Openstack module which has service endpoints.
 
14
// Service wraps two possible Service versions
 
15
type Service struct {
 
16
        V2 V2Service
 
17
        V3 V3Service
 
18
}
 
19
 
 
20
// ServiceProvider is an Openstack module which has service endpoints.
15
21
type ServiceProvider interface {
 
22
        // For Keystone V2
16
23
        Endpoints() []Endpoint
 
24
        // For Keystone V3
 
25
        V3Endpoints() []V3Endpoint
17
26
}