Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ServiceAccount ¶
type ServiceAccount struct {
ProjectID uuid.UUID `bson:"project_id" json:"project_id"`
ServiceAccountID uuid.UUID `bson:"service_account_id" json:"service_account_id"`
Name string `bson:"name" json:"name"`
Data []byte `bson:"data" json:"data"`
}
func ServiceAccountFromProto ¶
func ServiceAccountFromProto(projectID, serviceAccountID uuid.UUID, c *service_account.ServiceAccount) (ServiceAccount, error)
func (ServiceAccount) ToProto ¶
func (c ServiceAccount) ToProto() (*service_account.ServiceAccount, error)
Click to show internal directories.
Click to hide internal directories.