Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSStocker ¶
AWSStocker object to make stock on AWS
func NewAWSStocker ¶
func NewAWSStocker(account *inventory.Account, logger *zap.Logger) *AWSStocker
NewAWSStocker create and returns a pointer to a new AWSStocker instance
func (*AWSStocker) CreateSession ¶
func (s *AWSStocker) CreateSession() error
CreateSession Initialices the AWS API session
type AzureStocker ¶
AzureStocker object to make stock on Azure
func NewAzureStocker ¶
func NewAzureStocker(account inventory.Account, logger *zap.Logger) *AzureStocker
NewAzureStocker create and returns a pointer to a new AzureStocker instance
func (AzureStocker) GetResults ¶
func (s AzureStocker) GetResults() inventory.Account
GetResults resturns the scanned results on this stocker instance
func (AzureStocker) MakeStock ¶
func (s AzureStocker) MakeStock() error
MakeStock Scans Azure cloud accounts
func (AzureStocker) PrintStock ¶
func (s AzureStocker) PrintStock()
PrintStock prints by stdout the account object belongs to this stocker
type GCPStocker ¶
GCPStocker object to make stock on GCP
func NewGCPStocker ¶
func NewGCPStocker(account inventory.Account, logger *zap.Logger) *GCPStocker
NewGCPStocker create and returns a pointer to a new GCPStocker instance
func (GCPStocker) GetResults ¶
func (s GCPStocker) GetResults() inventory.Account
GetResults resturns the scanned results on this stocker instance
func (GCPStocker) MakeStock ¶
func (s GCPStocker) MakeStock() error
MakeStock Scans GCP cloud accounts
func (GCPStocker) PrintStock ¶
func (s GCPStocker) PrintStock()
PrintStock prints by stdout the account object belongs to this stocker