Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultRestConfig ¶
func DefaultRestConfig() (*restclient.Config, error)
get the default one from the filesystem
func GetBearerToken ¶
func GetBearerToken(in *restclient.Config) (string, error)
convert the REST config into a bearer token
func GetRestConfig ¶
func GetRestConfig(token string) (*restclient.Config, error)
convert a bearer token into a REST config
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.