accounts

package
v0.0.1-beta Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	apiv1.ServiceServer
	// contains filtered or unexported fields
}

func New

func New(cfg *config.Config, endpoints db.DatabaseEndpoints) *Service

func (*Service) DeleteServiceAccount

func (s *Service) DeleteServiceAccount(ctx context.Context, req *apiv1.ServiceAccountId) (*emptypb.Empty, error)

func (*Service) GetServiceAccountName

func (s *Service) GetServiceAccountName(ctx context.Context, req *apiv1.ServiceAccountName) (*apiv1.ServiceAccounts, error)

func (*Service) GetServiceAccountUuid

func (s *Service) GetServiceAccountUuid(ctx context.Context, req *apiv1.ServiceAccountId) (*apiv1.ServiceAccount, error)

func (*Service) ListServiceAccounts

func (s *Service) ListServiceAccounts(ctx context.Context, req *apiv1.QueryParameter) (*apiv1.ServiceAccounts, error)

Jump to

Keyboard shortcuts

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