etcd

package
v0.0.0-...-6079644 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2015 License: Apache-2.0 Imports: 7 Imported by: 0

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) GetUser

func (r *Etcd) GetUser(name string) (user *api.User, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL