local

package
v2.3.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: AGPL-3.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiStore

type ApiStore struct {
	// contains filtered or unexported fields
}

func NewAPIStore

func NewAPIStore() *ApiStore

func (*ApiStore) CreateUser

func (apiStore *ApiStore) CreateUser(ctx context.Context, identity *idm.User) (*idm.User, error)

Writable user store sql, pydio, api

func (*ApiStore) CrossLoadShare

func (apiStore *ApiStore) CrossLoadShare(ctx context.Context, syncShare *models.SyncShare, target models.ReadableStore, params map[string]interface{}) error

func (*ApiStore) DeleteACL

func (apiStore *ApiStore) DeleteACL(ctx context.Context, acl *idm.ACL) error

func (*ApiStore) DeleteGroup

func (apiStore *ApiStore) DeleteGroup(ctx context.Context, identity *idm.User) error

func (*ApiStore) DeleteRole

func (apiStore *ApiStore) DeleteRole(ctx context.Context, identity *idm.Role) error

func (*ApiStore) DeleteUser

func (apiStore *ApiStore) DeleteUser(ctx context.Context, identity *idm.User) error

func (*ApiStore) GetGroupInfo

func (apiStore *ApiStore) GetGroupInfo(ctx context.Context, groupPath string, params map[string]interface{}) (u *idm.User, e error)

func (*ApiStore) GetUser

func (apiStore *ApiStore) GetUser(ctx context.Context, id string) (*idm.User, error)

Readable user store

func (*ApiStore) GetUserInfo

func (apiStore *ApiStore) GetUserInfo(ctx context.Context, userName string, params map[string]interface{}) (u *idm.User, aclCtxt context.Context, e error)

func (*ApiStore) ListACLs

func (apiStore *ApiStore) ListACLs(ctx context.Context, params map[string]interface{}) ([]*idm.ACL, error)

func (*ApiStore) ListConfig

func (apiStore *ApiStore) ListConfig(ctx context.Context, params map[string]interface{}) (*source.ChangeSet, error)

Configuration

func (*ApiStore) ListGroups

func (apiStore *ApiStore) ListGroups(ctx context.Context, params map[string]interface{}) ([]*idm.User, error)

func (*ApiStore) ListRoles

func (apiStore *ApiStore) ListRoles(ctx context.Context, userStore models.ReadableStore, params map[string]interface{}) ([]*idm.Role, error)

func (*ApiStore) ListShares

func (apiStore *ApiStore) ListShares(ctx context.Context, params map[string]interface{}) ([]*models.SyncShare, error)

SHARES

func (*ApiStore) ListUsers

func (apiStore *ApiStore) ListUsers(ctx context.Context, params map[string]interface{}, progress chan float32) (map[string]*idm.User, error)

func (*ApiStore) PutACL

func (apiStore *ApiStore) PutACL(ctx context.Context, acl *idm.ACL) error

ACL

func (*ApiStore) PutConfig

func (apiStore *ApiStore) PutConfig(ctx context.Context, changeset *source.ChangeSet) error

func (*ApiStore) PutGroup

func (apiStore *ApiStore) PutGroup(ctx context.Context, identity *idm.User) error

Groups

func (*ApiStore) PutRole

func (apiStore *ApiStore) PutRole(ctx context.Context, identity *idm.Role) (*idm.Role, error)

ROLES

func (*ApiStore) PutShare

func (apiStore *ApiStore) PutShare(ctx context.Context, s *models.SyncShare) error

func (*ApiStore) ReadNode

func (apiStore *ApiStore) ReadNode(ctx context.Context, wsUuid string, wsPath string) (*tree.Node, error)

func (*ApiStore) UpdateUser

func (apiStore *ApiStore) UpdateUser(ctx context.Context, identity *idm.User) (*idm.User, error)

UpdateUser creates a user with the old identity

Jump to

Keyboard shortcuts

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