Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTimezone ¶ added in v0.19.0
func RenderTable ¶
RenderTable renders a table to the standard output. It takes headers and rows as parameters.
Types ¶
type SevenPaceConfig ¶ added in v0.19.0
type SevenPaceConfig struct {
BaseURL string
Domain string
Username string
Password string
ActivityTypeID string
InsecureSkipTLS bool
}
SevenPaceConfig holds the settings for talking to an on-prem 7pace Timetracker instance using NTLM (Windows) authentication.
func GetSevenPaceConfig ¶ added in v0.19.0
func GetSevenPaceConfig() (SevenPaceConfig, error)
GetSevenPaceConfig reads the 7pace configuration from viper. Base URL, username and password are required; domain and activity type are optional.
Click to show internal directories.
Click to hide internal directories.