commit | 42468321a74f21086f9f896bb1ffc1bb2c5bf1f9 | [log] [tgz] |
---|---|---|
author | Tres Seaver <tseaver@palladion.com> | Mon Sep 11 15:36:53 2017 -0400 |
committer | Jon Wayne Parrott <jonwayne@google.com> | Mon Sep 11 12:36:53 2017 -0700 |
tree | 5eafbe3ff3e42215f0b5b00ece225a54ecff7d72 | |
parent | 9281ca026019869bc5fb10ee288a5cd9e837808f [diff] |
Move read-only methods of 'Scoped' into new interface, 'ReadOnlyScoped'. (#195) Not all subclasses of 'Scoped' can sanely implement 'with_scopes' (e.g, on GCE the scopes are hard-wired in when creating the GCE node). Make 'Scoped' derive from 'ReadOnlyScoped', adding the 'with_scopes' method. Make GCE's 'credentials' class derive from 'ReadOnlyScoped'. Closes #194.