schema

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetServiceAccountIDFilter

func GetServiceAccountIDFilter(projectID, serviceAccountID uuid.UUID) bson.M

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL