loginintegration

package
v0.0.0-...-cbea63e Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2021 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Login

func Login(email string, pass string, device string) *variables.TestVariables

Logs in a user Populates the 'driver_token' variable

func LoginOnShift

func LoginOnShift(email string, pass string, device string) *variables.TestVariables

Logs in and Puts a driver on shift Populates the 'driver_token' variable Populates the 'shift_id' variable

func Logout

func Logout(apitoken string)

Logs out a user

func OffShift

func OffShift(apiToken string, shiftId string)

Puts a driver off shift

func OffShiftLogout

func OffShiftLogout(apiToken string, shiftId string)

Takes the driver offshift and logs out.

func OnShift

func OnShift(apiToken string) *variables.TestVariables

Puts a driver on shift Populates the 'driver_token' variable Populates the 'shift_id' variable

Types

This section is empty.

Jump to

Keyboard shortcuts

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