Documentation
¶
Index ¶
- type Service
- func (s *Service) ChangeUserPassword(ctx context.Context, instanceId, username, newPassword string) error
- func (s *Service) DeleteUser(ctx context.Context, instanceId, username string) error
- func (s *Service) GetUserDatabaseAccess(ctx context.Context, instanceId, username string) ([]string, error)
- func (s *Service) GrantDatabaseAccess(ctx context.Context, instanceId, dbName, username string) error
- func (s *Service) ListDatabases(ctx context.Context, instanceId string) ([]string, error)
- func (s *Service) ListUsers(ctx context.Context, instanceId string) ([]couchdb.UserListEntry, error)
- func (s *Service) RevokeDatabaseAccess(ctx context.Context, instanceId, dbName, username string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New(repo repository.Repo) *Service
func (*Service) ChangeUserPassword ¶
func (*Service) DeleteUser ¶
func (*Service) GetUserDatabaseAccess ¶
func (*Service) GrantDatabaseAccess ¶
func (*Service) ListDatabases ¶
Click to show internal directories.
Click to hide internal directories.