Documentation ¶ Index ¶ func NewClient(session *session.Session, db *gorm.DB, log *zap.Logger, accountID string, ...) resource.ClientInterface type Client func (c *Client) CollectResource(resource string, config interface{}) error func (c *Client) Gateways(gConfig interface{}) error type Gateway Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewClient ¶ func NewClient(session *session.Session, db *gorm.DB, log *zap.Logger, accountID string, region string) resource.ClientInterface Types ¶ type Client ¶ type Client struct { // contains filtered or unexported fields } func (*Client) CollectResource ¶ func (c *Client) CollectResource(resource string, config interface{}) error func (*Client) Gateways ¶ func (c *Client) Gateways(gConfig interface{}) error type Gateway ¶ type Gateway struct { ID uint `gorm:"primarykey"` AccountID string Region string AmazonSideAsn *int64 DirectConnectGatewayId *string DirectConnectGatewayName *string DirectConnectGatewayState *string OwnerAccount *string StateChangeError *string } Source Files ¶ View all Source files client.gogateways.go Click to show internal directories. Click to hide internal directories.