Versions in this module Expand all Collapse all v0 v0.2.4 Dec 2, 2020 v0.2.3 Dec 1, 2020 v0.2.2 Nov 29, 2020 v0.2.1 Nov 29, 2020 v0.2.0 Nov 27, 2020 Changes in this version + func NewClient(db *gorm.DB, log *zap.Logger, projectID string, region string) (resource.ClientInterface, error) + type Client struct + func (c *Client) CollectResource(resource string, config interface{}) error + func (c *Client) ProjectRoles(_ interface{}) error + func (c *Client) ServiceAccounts(_ interface{}) error + type Role struct + Deleted bool + Description string + Etag string + ID uint + IncludedPermissions []*RolePermission + Name string + ProjectID string + Region string + Stage string + Title string + type RolePermission struct + ID uint + RoleID uint + Value string + type ServiceAccount struct + Description string + Disabled bool + DisplayName string + Email string + Etag string + ID uint + Name string + Oauth2ClientId string + ProjectID string + Region string + UniqueId string