userservice

package
v3.5.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateUser

func CreateUser(request *msgs.CreateUserRequest, ns string) msgs.CreateUserResponse

CreateUser ... pgo create user user1

func CreateUserHandler

func CreateUserHandler(w http.ResponseWriter, r *http.Request)

CreateUserHandler ... pgo create user

func DeleteUser

func DeleteUser(name, selector, ns string) msgs.DeleteUserResponse

DeleteUser ...

func DeleteUserHandler

func DeleteUserHandler(w http.ResponseWriter, r *http.Request)

DeleteUserHandler ... pgo delete user someuser parameters name parameters selector returns a DeleteUserResponse

func GeneratePasswordExpireDate

func GeneratePasswordExpireDate(daysFromNow int) string

GeneratePasswordExpireDate ...

func ShowUser

func ShowUser(name, selector, expired, ns string) msgs.ShowUserResponse

ShowUser ...

func ShowUserHandler

func ShowUserHandler(w http.ResponseWriter, r *http.Request)

ShowUserHandler ... pgo show user parameters selector returns a ShowUserResponse

func User

func User(request *msgs.UserRequest, ns string) msgs.UserResponse
User ...

pgo user --change-password=bob --db=userdb

--expired=7 --selector=env=research --update-passwords=true
--valid-days=30

func UserHandler

func UserHandler(w http.ResponseWriter, r *http.Request)

UserHandler ... pgo user XXXX

Types

This section is empty.

Jump to

Keyboard shortcuts

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