test

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2015 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action added in v0.4.2

type Action struct {
	Name   string
	Object interface{}
}

type IdentityRegistry added in v0.4.2

type IdentityRegistry struct {
	GetErr map[string]error
	Get    map[string]*api.Identity

	CreateErr error
	Create    *api.Identity

	UpdateErr error
	Update    *api.Identity

	ListErr error
	List    *api.IdentityList

	Actions *[]Action
}

func NewIdentityRegistry added in v0.4.2

func NewIdentityRegistry() *IdentityRegistry

func (*IdentityRegistry) CreateIdentity added in v0.4.2

func (r *IdentityRegistry) CreateIdentity(ctx kapi.Context, u *api.Identity) (*api.Identity, error)

func (*IdentityRegistry) GetIdentity added in v0.4.2

func (r *IdentityRegistry) GetIdentity(ctx kapi.Context, name string) (*api.Identity, error)

func (*IdentityRegistry) ListIdentities added in v0.4.2

func (r *IdentityRegistry) ListIdentities(ctx kapi.Context, labels labels.Selector) (*api.IdentityList, error)

func (*IdentityRegistry) UpdateIdentity added in v0.4.2

func (r *IdentityRegistry) UpdateIdentity(ctx kapi.Context, u *api.Identity) (*api.Identity, error)

type UserIdentityMappingRegistry added in v0.2.1

type UserIdentityMappingRegistry struct {
	Err                        error
	Created                    bool
	UserIdentityMapping        *api.UserIdentityMapping
	CreatedUserIdentityMapping *api.UserIdentityMapping
}

func (*UserIdentityMappingRegistry) CreateOrUpdateUserIdentityMapping added in v0.2.1

func (r *UserIdentityMappingRegistry) CreateOrUpdateUserIdentityMapping(mapping *api.UserIdentityMapping) (*api.UserIdentityMapping, bool, error)

func (*UserIdentityMappingRegistry) GetUserIdentityMapping added in v0.2.2

func (r *UserIdentityMappingRegistry) GetUserIdentityMapping(name string) (*api.UserIdentityMapping, error)

type UserRegistry

type UserRegistry struct {
	GetErr map[string]error
	Get    map[string]*api.User

	CreateErr error
	Create    *api.User

	UpdateErr map[string]error
	Update    *api.User

	ListErr error
	List    *api.UserList

	Actions *[]Action
}

func NewUserRegistry added in v0.4.2

func NewUserRegistry() *UserRegistry

func (*UserRegistry) CreateUser added in v0.4.2

func (r *UserRegistry) CreateUser(ctx kapi.Context, u *api.User) (*api.User, error)

func (*UserRegistry) GetUser

func (r *UserRegistry) GetUser(ctx kapi.Context, name string) (*api.User, error)

func (*UserRegistry) ListUsers added in v0.4.2

func (r *UserRegistry) ListUsers(ctx kapi.Context, labels labels.Selector) (*api.UserList, error)

func (*UserRegistry) UpdateUser added in v0.4.2

func (r *UserRegistry) UpdateUser(ctx kapi.Context, u *api.User) (*api.User, error)

Jump to

Keyboard shortcuts

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