perms

package
v1.13.4 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2017 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

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

Delete removes a user from an app.

func DeleteAdmin

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

DeleteAdmin removes administrative privilages from a user.

func List

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

List users that can access an app.

func ListAdmins

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

ListAdmins lists administrators.

func New

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

New adds a user to an app.

func NewAdmin

func NewAdmin(c *client.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