Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { AccountsInfo string MgmtAccountID string MasterAccountID string MasterRoleName string TenantRoleName string OrgUnits []string }
Options ... Options for Accounts() function
type Svc ¶ added in v0.1.2
type Svc struct {
// contains filtered or unexported fields
}
Svc ... type for holding session/config and AWS services For unit testing, set the iamSvc, organizationsSvc and downloaderSvc to an iface mock svc client
func NewAccountsSvc ¶ added in v0.1.2
func NewAccountsSvc(cfg client.ConfigProvider) (as *Svc, err error)
NewAccountsSvc ... creates new Svc struct
func (*Svc) AccountsList ¶ added in v0.1.2
func (as *Svc) AccountsList(opt Options) ([]*organizations.Account, error)
AccountsList ... performs Queries or parses accounts and returns all organization accounts
Click to show internal directories.
Click to hide internal directories.