Documentation ¶
Overview ¶
Package cloud contains logic to support connecting to a Turbot Pipes database
Index ¶
- Variables
- func GetLoginToken(ctx context.Context, id, code string) (string, error)
- func GetPipesMetadata(ctx context.Context, workspaceDatabaseString, token string) (*steampipeconfig.PipesMetadata, error)
- func GetUserName(ctx context.Context, token string) (string, error)
- func GetUserWorkspaceHandle(ctx context.Context, token string) (string, error)
- func LoadToken() (string, error)
- func PublishSnapshot(ctx context.Context, snapshot *steampipeconfig.SteampipeSnapshot, share bool) (string, error)
- func SaveToken(token string) error
- func WebLogin(ctx context.Context) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var UnconfirmedError = "Not confirmed"
Functions ¶
func GetLoginToken ¶
GetLoginToken uses the login id and code and retrieves an authentication token
func GetPipesMetadata ¶
func GetPipesMetadata(ctx context.Context, workspaceDatabaseString, token string) (*steampipeconfig.PipesMetadata, error)
func GetUserWorkspaceHandle ¶
GetUserWorkspaceHandle returns the handle of the user workspace
in format actorHandle/workspaceHandle
if there are 0 or > 1 workspaces this is an error
func PublishSnapshot ¶
func PublishSnapshot(ctx context.Context, snapshot *steampipeconfig.SteampipeSnapshot, share bool) (string, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.