Documentation ¶
Index ¶
- type Config
- type Service
- func (s *Service) CreateUserDefinedTransformer(ctx context.Context, ...) (*connect.Response[mgmtv1alpha1.CreateUserDefinedTransformerResponse], error)
- func (s *Service) DeleteUserDefinedTransformer(ctx context.Context, ...) (*connect.Response[mgmtv1alpha1.DeleteUserDefinedTransformerResponse], error)
- func (s *Service) GetSystemTransformerBySource(ctx context.Context, ...) (*connect.Response[mgmtv1alpha1.GetSystemTransformerBySourceResponse], error)
- func (s *Service) GetSystemTransformers(ctx context.Context, ...) (*connect.Response[mgmtv1alpha1.GetSystemTransformersResponse], error)
- func (s *Service) GetUserDefinedTransformerById(ctx context.Context, ...) (*connect.Response[mgmtv1alpha1.GetUserDefinedTransformerByIdResponse], error)
- func (s *Service) GetUserDefinedTransformers(ctx context.Context, ...) (*connect.Response[mgmtv1alpha1.GetUserDefinedTransformersResponse], error)
- func (s *Service) IsTransformerNameAvailable(ctx context.Context, ...) (*connect.Response[mgmtv1alpha1.IsTransformerNameAvailableResponse], error)
- func (s *Service) UpdateUserDefinedTransformer(ctx context.Context, ...) (*connect.Response[mgmtv1alpha1.UpdateUserDefinedTransformerResponse], error)
- func (s *Service) ValidateUserJavascriptCode(ctx context.Context, ...) (*connect.Response[mgmtv1alpha1.ValidateUserJavascriptCodeResponse], error)
- func (s *Service) ValidateUserRegexCode(ctx context.Context, ...) (*connect.Response[mgmtv1alpha1.ValidateUserRegexCodeResponse], 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) CreateUserDefinedTransformer ¶
func (s *Service) CreateUserDefinedTransformer(ctx context.Context, req *connect.Request[mgmtv1alpha1.CreateUserDefinedTransformerRequest]) (*connect.Response[mgmtv1alpha1.CreateUserDefinedTransformerResponse], error)
func (*Service) DeleteUserDefinedTransformer ¶
func (s *Service) DeleteUserDefinedTransformer(ctx context.Context, req *connect.Request[mgmtv1alpha1.DeleteUserDefinedTransformerRequest]) (*connect.Response[mgmtv1alpha1.DeleteUserDefinedTransformerResponse], error)
func (*Service) GetSystemTransformerBySource ¶
func (s *Service) GetSystemTransformerBySource( ctx context.Context, req *connect.Request[mgmtv1alpha1.GetSystemTransformerBySourceRequest], ) (*connect.Response[mgmtv1alpha1.GetSystemTransformerBySourceResponse], error)
func (*Service) GetSystemTransformers ¶
func (s *Service) GetSystemTransformers( ctx context.Context, req *connect.Request[mgmtv1alpha1.GetSystemTransformersRequest], ) (*connect.Response[mgmtv1alpha1.GetSystemTransformersResponse], error)
func (*Service) GetUserDefinedTransformerById ¶
func (s *Service) GetUserDefinedTransformerById( ctx context.Context, req *connect.Request[mgmtv1alpha1.GetUserDefinedTransformerByIdRequest], ) (*connect.Response[mgmtv1alpha1.GetUserDefinedTransformerByIdResponse], error)
func (*Service) GetUserDefinedTransformers ¶
func (s *Service) GetUserDefinedTransformers( ctx context.Context, req *connect.Request[mgmtv1alpha1.GetUserDefinedTransformersRequest], ) (*connect.Response[mgmtv1alpha1.GetUserDefinedTransformersResponse], error)
func (*Service) IsTransformerNameAvailable ¶
func (s *Service) IsTransformerNameAvailable(ctx context.Context, req *connect.Request[mgmtv1alpha1.IsTransformerNameAvailableRequest]) (*connect.Response[mgmtv1alpha1.IsTransformerNameAvailableResponse], error)
func (*Service) UpdateUserDefinedTransformer ¶
func (s *Service) UpdateUserDefinedTransformer(ctx context.Context, req *connect.Request[mgmtv1alpha1.UpdateUserDefinedTransformerRequest]) (*connect.Response[mgmtv1alpha1.UpdateUserDefinedTransformerResponse], error)
func (*Service) ValidateUserJavascriptCode ¶
func (s *Service) ValidateUserJavascriptCode(ctx context.Context, req *connect.Request[mgmtv1alpha1.ValidateUserJavascriptCodeRequest]) (*connect.Response[mgmtv1alpha1.ValidateUserJavascriptCodeResponse], error)
use the goja library to validate that the javascript can compile and theoretically run
func (*Service) ValidateUserRegexCode ¶
func (s *Service) ValidateUserRegexCode(ctx context.Context, req *connect.Request[mgmtv1alpha1.ValidateUserRegexCodeRequest]) (*connect.Response[mgmtv1alpha1.ValidateUserRegexCodeResponse], error)
Click to show internal directories.
Click to hide internal directories.