Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RoleTables = []interface{}{ &Role{}, &RolePermission{}, }
View Source
var ServiceAccountTables = []interface{}{ &ServiceAccount{}, }
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CollectResource ¶
type Role ¶
type RolePermission ¶
type RolePermission struct {
ID uint `gorm:"primarykey"`
RoleID uint `neo:"ignore"`
ProjectID string `gorm:"-"`
Value string
}
func (RolePermission) TableName ¶ added in v0.7.0
func (RolePermission) TableName() string
type ServiceAccount ¶
type ServiceAccount struct {
ID uint `gorm:"primarykey"`
ProjectID string `neo:"unique"`
Region string
Description string
Disabled bool
DisplayName string
Email string
Etag string
Name string
Oauth2ClientId string
UniqueId string `neo:"unique"`
}
func (ServiceAccount) TableName ¶ added in v0.7.0
func (ServiceAccount) TableName() string
Click to show internal directories.
Click to hide internal directories.