Documentation ¶
Overview ¶
Package cloud contains logic to support connecting to a Turbot Pipes database
Index ¶
- Variables
- func GetCloudMetadata(ctx context.Context, workspaceDatabaseString, token string) (*steampipeconfig.CloudMetadata, error)
- func GetLoginToken(ctx context.Context, id, code string) (string, 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 *dashboardtypes.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 GetCloudMetadata ¶
func GetCloudMetadata(ctx context.Context, workspaceDatabaseString, token string) (*steampipeconfig.CloudMetadata, error)
func GetLoginToken ¶ added in v0.17.0
GetLoginToken uses the login id and code and retrieves an authentication token
func GetUserName ¶ added in v0.17.0
func GetUserWorkspaceHandle ¶ added in v0.17.0
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 ¶ added in v0.17.0
func PublishSnapshot(ctx context.Context, snapshot *dashboardtypes.SteampipeSnapshot, share bool) (string, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.