Documentation ¶
Index ¶
- type AccountService
- func (s *AccountService) ChangeAPIKeyName(ctx context.Context, req *proto.ChangeAPIKeyNameRequest) (*proto.ChangeAPIKeyNameResponse, error)
- func (s *AccountService) CreateAPIKey(ctx context.Context, req *proto.CreateAPIKeyRequest) (*proto.CreateAPIKeyResponse, error)
- func (s *AccountService) CreateAccountV2(ctx context.Context, req *accountproto.CreateAccountV2Request) (*accountproto.CreateAccountV2Response, error)
- func (s *AccountService) CreateSearchFilter(ctx context.Context, req *accountproto.CreateSearchFilterRequest) (*accountproto.CreateSearchFilterResponse, error)
- func (s *AccountService) DeleteAccountV2(ctx context.Context, req *accountproto.DeleteAccountV2Request) (*accountproto.DeleteAccountV2Response, error)
- func (s *AccountService) DeleteSearchFilter(ctx context.Context, req *accountproto.DeleteSearchFilterRequest) (*accountproto.DeleteSearchFilterResponse, error)
- func (s *AccountService) DisableAPIKey(ctx context.Context, req *proto.DisableAPIKeyRequest) (*proto.DisableAPIKeyResponse, error)
- func (s *AccountService) DisableAccountV2(ctx context.Context, req *accountproto.DisableAccountV2Request) (*accountproto.DisableAccountV2Response, error)
- func (s *AccountService) EnableAPIKey(ctx context.Context, req *proto.EnableAPIKeyRequest) (*proto.EnableAPIKeyResponse, error)
- func (s *AccountService) EnableAccountV2(ctx context.Context, req *accountproto.EnableAccountV2Request) (*accountproto.EnableAccountV2Response, error)
- func (s *AccountService) GetAPIKey(ctx context.Context, req *proto.GetAPIKeyRequest) (*proto.GetAPIKeyResponse, error)
- func (s *AccountService) GetAPIKeyBySearchingAllEnvironments(ctx context.Context, req *proto.GetAPIKeyBySearchingAllEnvironmentsRequest) (*proto.GetAPIKeyBySearchingAllEnvironmentsResponse, error)
- func (s *AccountService) GetAccountV2(ctx context.Context, req *accountproto.GetAccountV2Request) (*accountproto.GetAccountV2Response, error)
- func (s *AccountService) GetAccountV2ByEnvironmentID(ctx context.Context, req *accountproto.GetAccountV2ByEnvironmentIDRequest) (*accountproto.GetAccountV2ByEnvironmentIDResponse, error)
- func (s *AccountService) GetMe(ctx context.Context, req *accountproto.GetMeRequest) (*accountproto.GetMeResponse, error)
- func (s *AccountService) GetMyOrganizations(ctx context.Context, _ *accountproto.GetMyOrganizationsRequest) (*accountproto.GetMyOrganizationsResponse, error)
- func (s *AccountService) GetMyOrganizationsByEmail(ctx context.Context, req *accountproto.GetMyOrganizationsByEmailRequest) (*accountproto.GetMyOrganizationsResponse, error)
- func (s *AccountService) ListAPIKeys(ctx context.Context, req *proto.ListAPIKeysRequest) (*proto.ListAPIKeysResponse, error)
- func (s *AccountService) ListAccountsV2(ctx context.Context, req *accountproto.ListAccountsV2Request) (*accountproto.ListAccountsV2Response, error)
- func (s *AccountService) Register(server *grpc.Server)
- func (s *AccountService) UpdateAPIKey(ctx context.Context, req *proto.UpdateAPIKeyRequest) (*proto.UpdateAPIKeyResponse, error)
- func (s *AccountService) UpdateAccountV2(ctx context.Context, req *accountproto.UpdateAccountV2Request) (*accountproto.UpdateAccountV2Response, error)
- func (s *AccountService) UpdateSearchFilter(ctx context.Context, req *accountproto.UpdateSearchFilterRequest) (*accountproto.UpdateSearchFilterResponse, error)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountService ¶
type AccountService struct {
// contains filtered or unexported fields
}
func NewAccountService ¶
func NewAccountService( e environmentclient.Client, mysqlClient mysql.Client, publisher publisher.Publisher, opts ...Option, ) *AccountService
func (*AccountService) ChangeAPIKeyName ¶
func (s *AccountService) ChangeAPIKeyName( ctx context.Context, req *proto.ChangeAPIKeyNameRequest, ) (*proto.ChangeAPIKeyNameResponse, error)
func (*AccountService) CreateAPIKey ¶
func (s *AccountService) CreateAPIKey( ctx context.Context, req *proto.CreateAPIKeyRequest, ) (*proto.CreateAPIKeyResponse, error)
func (*AccountService) CreateAccountV2 ¶ added in v0.4.0
func (s *AccountService) CreateAccountV2( ctx context.Context, req *accountproto.CreateAccountV2Request, ) (*accountproto.CreateAccountV2Response, error)
func (*AccountService) CreateSearchFilter ¶ added in v0.4.8
func (s *AccountService) CreateSearchFilter( ctx context.Context, req *accountproto.CreateSearchFilterRequest, ) (*accountproto.CreateSearchFilterResponse, error)
func (*AccountService) DeleteAccountV2 ¶ added in v0.4.0
func (s *AccountService) DeleteAccountV2( ctx context.Context, req *accountproto.DeleteAccountV2Request, ) (*accountproto.DeleteAccountV2Response, error)
func (*AccountService) DeleteSearchFilter ¶ added in v0.4.8
func (s *AccountService) DeleteSearchFilter( ctx context.Context, req *accountproto.DeleteSearchFilterRequest, ) (*accountproto.DeleteSearchFilterResponse, error)
func (*AccountService) DisableAPIKey ¶
func (s *AccountService) DisableAPIKey( ctx context.Context, req *proto.DisableAPIKeyRequest, ) (*proto.DisableAPIKeyResponse, error)
func (*AccountService) DisableAccountV2 ¶ added in v0.4.0
func (s *AccountService) DisableAccountV2( ctx context.Context, req *accountproto.DisableAccountV2Request, ) (*accountproto.DisableAccountV2Response, error)
func (*AccountService) EnableAPIKey ¶
func (s *AccountService) EnableAPIKey( ctx context.Context, req *proto.EnableAPIKeyRequest, ) (*proto.EnableAPIKeyResponse, error)
func (*AccountService) EnableAccountV2 ¶ added in v0.4.0
func (s *AccountService) EnableAccountV2( ctx context.Context, req *accountproto.EnableAccountV2Request, ) (*accountproto.EnableAccountV2Response, error)
func (*AccountService) GetAPIKey ¶
func (s *AccountService) GetAPIKey(ctx context.Context, req *proto.GetAPIKeyRequest) (*proto.GetAPIKeyResponse, error)
func (*AccountService) GetAPIKeyBySearchingAllEnvironments ¶
func (s *AccountService) GetAPIKeyBySearchingAllEnvironments( ctx context.Context, req *proto.GetAPIKeyBySearchingAllEnvironmentsRequest, ) (*proto.GetAPIKeyBySearchingAllEnvironmentsResponse, error)
func (*AccountService) GetAccountV2 ¶ added in v0.4.0
func (s *AccountService) GetAccountV2( ctx context.Context, req *accountproto.GetAccountV2Request, ) (*accountproto.GetAccountV2Response, error)
func (*AccountService) GetAccountV2ByEnvironmentID ¶ added in v0.4.0
func (s *AccountService) GetAccountV2ByEnvironmentID( ctx context.Context, req *accountproto.GetAccountV2ByEnvironmentIDRequest, ) (*accountproto.GetAccountV2ByEnvironmentIDResponse, error)
func (*AccountService) GetMe ¶
func (s *AccountService) GetMe( ctx context.Context, req *accountproto.GetMeRequest, ) (*accountproto.GetMeResponse, error)
func (*AccountService) GetMyOrganizations ¶ added in v0.4.0
func (s *AccountService) GetMyOrganizations( ctx context.Context, _ *accountproto.GetMyOrganizationsRequest, ) (*accountproto.GetMyOrganizationsResponse, error)
func (*AccountService) GetMyOrganizationsByEmail ¶ added in v0.4.0
func (s *AccountService) GetMyOrganizationsByEmail( ctx context.Context, req *accountproto.GetMyOrganizationsByEmailRequest, ) (*accountproto.GetMyOrganizationsResponse, error)
func (*AccountService) ListAPIKeys ¶
func (s *AccountService) ListAPIKeys( ctx context.Context, req *proto.ListAPIKeysRequest, ) (*proto.ListAPIKeysResponse, error)
func (*AccountService) ListAccountsV2 ¶ added in v0.4.0
func (s *AccountService) ListAccountsV2( ctx context.Context, req *accountproto.ListAccountsV2Request, ) (*accountproto.ListAccountsV2Response, error)
func (*AccountService) Register ¶
func (s *AccountService) Register(server *grpc.Server)
func (*AccountService) UpdateAPIKey ¶ added in v1.1.0
func (s *AccountService) UpdateAPIKey( ctx context.Context, req *proto.UpdateAPIKeyRequest, ) (*proto.UpdateAPIKeyResponse, error)
func (*AccountService) UpdateAccountV2 ¶ added in v0.4.0
func (s *AccountService) UpdateAccountV2( ctx context.Context, req *accountproto.UpdateAccountV2Request, ) (*accountproto.UpdateAccountV2Response, error)
func (*AccountService) UpdateSearchFilter ¶ added in v0.4.8
func (s *AccountService) UpdateSearchFilter( ctx context.Context, req *accountproto.UpdateSearchFilterRequest, ) (*accountproto.UpdateSearchFilterResponse, error)
Click to show internal directories.
Click to hide internal directories.