Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveClient ¶
ResolveClient resolves a session and builds its client in one call.
func ResolveWorkspace ¶ added in v0.3.0
func ResolveWorkspace(ctx context.Context, opts ResolveClientOptions) (string, error)
ResolveWorkspace resolves the workspace that the client of ResolveClient works in: the one a setting names, else the profile's default workspace. It is empty where neither names one.
Types ¶
type ResolveClientOptions ¶ added in v0.2.0
type ResolveClientOptions = auth.ResolveSessionOptions
ResolveClientOptions carries the setting sources and information about the calling frontend.
Click to show internal directories.
Click to hide internal directories.