test

package
v3.7.0-alpha.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

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]*userapi.Identity

	CreateErr error
	Create    *userapi.Identity

	UpdateErr error
	Update    *userapi.Identity

	ListErr error
	List    *userapi.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 apirequest.Context, u *userapi.Identity) (*userapi.Identity, error)

func (*IdentityRegistry) GetIdentity added in v0.4.2

func (r *IdentityRegistry) GetIdentity(ctx apirequest.Context, name string, options *metav1.GetOptions) (*userapi.Identity, error)

func (*IdentityRegistry) ListIdentities added in v0.4.2

func (*IdentityRegistry) UpdateIdentity added in v0.4.2

func (r *IdentityRegistry) UpdateIdentity(ctx apirequest.Context, u *userapi.Identity) (*userapi.Identity, error)

type UserIdentityMappingRegistry added in v0.2.1

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

func (*UserIdentityMappingRegistry) CreateOrUpdateUserIdentityMapping added in v0.2.1

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

func (*UserIdentityMappingRegistry) GetUserIdentityMapping added in v0.2.2

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

type UserRegistry

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

	CreateErr error
	Create    *userapi.User

	UpdateErr map[string]error
	Update    *userapi.User

	ListErr error
	List    *userapi.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 apirequest.Context, u *userapi.User) (*userapi.User, error)

func (*UserRegistry) GetUser

func (r *UserRegistry) GetUser(ctx apirequest.Context, name string, options *metav1.GetOptions) (*userapi.User, error)

func (*UserRegistry) ListUsers added in v0.4.2

func (r *UserRegistry) ListUsers(ctx apirequest.Context, options *metainternal.ListOptions) (*userapi.UserList, error)

func (*UserRegistry) UpdateUser added in v0.4.2

func (r *UserRegistry) UpdateUser(ctx apirequest.Context, u *userapi.User) (*userapi.User, error)

Jump to

Keyboard shortcuts

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