Documentation ¶
Index ¶
- type Config
- type Service
- func (s *Service) CreateAccountApiKey(ctx context.Context, ...) (*connect.Response[mgmtv1alpha1.CreateAccountApiKeyResponse], error)
- func (s *Service) DeleteAccountApiKey(ctx context.Context, ...) (*connect.Response[mgmtv1alpha1.DeleteAccountApiKeyResponse], error)
- func (s *Service) GetAccountApiKey(ctx context.Context, ...) (*connect.Response[mgmtv1alpha1.GetAccountApiKeyResponse], error)
- func (s *Service) GetAccountApiKeys(ctx context.Context, ...) (*connect.Response[mgmtv1alpha1.GetAccountApiKeysResponse], error)
- func (s *Service) RegenerateAccountApiKey(ctx context.Context, ...) (*connect.Response[mgmtv1alpha1.RegenerateAccountApiKeyResponse], error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New( cfg *Config, db *nucleusdb.NucleusDb, useraccountService mgmtv1alpha1connect.UserAccountServiceClient, ) *Service
func (*Service) CreateAccountApiKey ¶
func (s *Service) CreateAccountApiKey( ctx context.Context, req *connect.Request[mgmtv1alpha1.CreateAccountApiKeyRequest], ) (*connect.Response[mgmtv1alpha1.CreateAccountApiKeyResponse], error)
func (*Service) DeleteAccountApiKey ¶
func (s *Service) DeleteAccountApiKey( ctx context.Context, req *connect.Request[mgmtv1alpha1.DeleteAccountApiKeyRequest], ) (*connect.Response[mgmtv1alpha1.DeleteAccountApiKeyResponse], error)
func (*Service) GetAccountApiKey ¶
func (s *Service) GetAccountApiKey( ctx context.Context, req *connect.Request[mgmtv1alpha1.GetAccountApiKeyRequest], ) (*connect.Response[mgmtv1alpha1.GetAccountApiKeyResponse], error)
func (*Service) GetAccountApiKeys ¶
func (s *Service) GetAccountApiKeys( ctx context.Context, req *connect.Request[mgmtv1alpha1.GetAccountApiKeysRequest], ) (*connect.Response[mgmtv1alpha1.GetAccountApiKeysResponse], error)
func (*Service) RegenerateAccountApiKey ¶
func (s *Service) RegenerateAccountApiKey( ctx context.Context, req *connect.Request[mgmtv1alpha1.RegenerateAccountApiKeyRequest], ) (*connect.Response[mgmtv1alpha1.RegenerateAccountApiKeyResponse], error)
Click to show internal directories.
Click to hide internal directories.