mirror of
https://github.com/turbot/steampipe.git
synced 2026-02-22 14:00:14 -05:00
33 lines
840 B
Go
33 lines
840 B
Go
package steampipeconfig
|
|
|
|
type CloudMetadata struct {
|
|
Actor *ActorMetadata `json:"actor,omitempty"`
|
|
Identity *IdentityMetadata `json:"identity,omitempty"`
|
|
Workspace *WorkspaceMetadata `json:"workspace,omitempty"`
|
|
ConnectionString string `json:"-"`
|
|
}
|
|
|
|
func NewCloudMetadata() *CloudMetadata {
|
|
return &CloudMetadata{
|
|
Actor: &ActorMetadata{},
|
|
Identity: &IdentityMetadata{},
|
|
Workspace: &WorkspaceMetadata{},
|
|
}
|
|
}
|
|
|
|
type ActorMetadata struct {
|
|
Id string `json:"id,omitempty"`
|
|
Handle string `json:"handle,omitempty"`
|
|
}
|
|
|
|
type IdentityMetadata struct {
|
|
Id string `json:"id,omitempty"`
|
|
Handle string `json:"handle,omitempty"`
|
|
Type string `json:"type,omitempty"`
|
|
}
|
|
|
|
type WorkspaceMetadata struct {
|
|
Id string `json:"id,omitempty"`
|
|
Handle string `json:"handle,omitempty"`
|
|
}
|