Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Etcd ¶
type Etcd struct { tools.EtcdHelper // contains filtered or unexported fields }
Etcd implements UserIdentityMapping backed by etcd.
func New ¶
func New(helper tools.EtcdHelper, initializer user.Initializer) *Etcd
New returns a new Etcd.
func (*Etcd) CreateOrUpdateUserIdentityMapping ¶
func (r *Etcd) CreateOrUpdateUserIdentityMapping(mapping *api.UserIdentityMapping) (*api.UserIdentityMapping, bool, error)
CreateOrUpdateUserIdentityMapping implements useridentitymapping.Registry
func (*Etcd) GetUserIdentityMapping ¶ added in v0.2.2
func (r *Etcd) GetUserIdentityMapping(name string) (mapping *api.UserIdentityMapping, err error)
Click to show internal directories.
Click to hide internal directories.