perms

package
v0.0.0-...-c9ffa05 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2018 License: MIT Imports: 4 Imported by: 2

Documentation

Overview

Package perms provides methods for managing user app and administrative permissions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(c *deis.Client, appID string, username string) error

Delete removes a user from an app.

func DeleteAdmin

func DeleteAdmin(c *deis.Client, username string) error

DeleteAdmin removes administrative privileges from a user.

func List

func List(c *deis.Client, appID string) ([]string, error)

List users that can access an app.

func ListAdmins

func ListAdmins(c *deis.Client, results int) ([]string, int, error)

ListAdmins lists deis platform administrators.

func New

func New(c *deis.Client, appID string, username string) error

New gives a user access to an app.

func NewAdmin

func NewAdmin(c *deis.Client, username string) error

NewAdmin makes a user an administrator.

Types

This section is empty.

Jump to

Keyboard shortcuts

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