Versions in this module Expand all Collapse all v2 v2.2.0 Sep 17, 2026 Changes in this version + type ServiceAccountAPI struct + func New(ctx context.Context, logger *zap.Logger, storage storageTY.Plugin) *ServiceAccountAPI + func (st *ServiceAccountAPI) Create(newToken *svcAccountTY.ServiceAccount) (*svcAccountTY.CreateAccountResponse, error) + func (st *ServiceAccountAPI) Delete(IDs []string) (int64, error) + func (st *ServiceAccountAPI) Get(filters []storageTY.Filter) (svcAccountTY.ServiceAccount, error) + func (st *ServiceAccountAPI) GetByID(ID string) (svcAccountTY.ServiceAccount, error) + func (st *ServiceAccountAPI) GetByTokenID(tokenID string) (svcAccountTY.ServiceAccount, error) + func (st *ServiceAccountAPI) GetByUserID(userID string) (svcAccountTY.ServiceAccount, error) + func (st *ServiceAccountAPI) GetEntityInterface() interface{} + func (st *ServiceAccountAPI) Import(data interface{}) error + func (st *ServiceAccountAPI) List(filters []storageTY.Filter, pagination *storageTY.Pagination) (*storageTY.Result, error) + func (st *ServiceAccountAPI) Save(token *svcAccountTY.ServiceAccount) error