Documentation ¶
Index ¶
- func GetRegionWorkspaceTags(instances []workspaces.Workspace, sess *session.Session) ([]workspaces.Tag, error)
- func GetRegionWorkspaces(sess *session.Session) ([]workspaces.Workspace, error)
- func WriteProfilesWorkspaces(profileWorkspaces ProfilesWorkspaces, options utils.Ec2Options) error
- type AccountWorkspaces
- type ProfilesWorkspaces
- type RegionWorkspaces
- type WorkspaceOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRegionWorkspaceTags ¶
func GetRegionWorkspaceTags(instances []workspaces.Workspace, sess *session.Session) ([]workspaces.Tag, error)
func GetRegionWorkspaces ¶
func GetRegionWorkspaces(sess *session.Session) ([]workspaces.Workspace, error)
GetRegionWorkspaces will take a session and pull all workspaces based on the region of the session
func WriteProfilesWorkspaces ¶
func WriteProfilesWorkspaces(profileWorkspaces ProfilesWorkspaces, options utils.Ec2Options) error
Types ¶
type AccountWorkspaces ¶
type AccountWorkspaces []RegionWorkspaces
func GetAccountWorkspaces ¶
func GetAccountWorkspaces(account utils.AccountInfo) (AccountWorkspaces, error)
GetAccountWorkspaces will take a profile and go through all regions to get all workspaces in the account
type ProfilesWorkspaces ¶
type ProfilesWorkspaces []AccountWorkspaces
func GetProfilesWorkspaces ¶
func GetProfilesWorkspaces(accounts []utils.AccountInfo) (ProfilesWorkspaces, error)
GetProfilesWorkspaces will return all the workspaces in all accounts of a given filename with a list of profiles in it
type RegionWorkspaces ¶
type RegionWorkspaces struct { AccountId string Region string Profile string Instances []workspaces.Workspace InstanceTags []workspaces.Tag }
type WorkspaceOptions ¶
type WorkspaceOptions struct {
Tags []string
}
Click to show internal directories.
Click to hide internal directories.