Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigRepository ¶
type ConfigRepository interface { Create(ctx context.Context, config *go_nuntio.HeraConfig) (*go_nuntio.HeraConfig, error) Get(ctx context.Context) (*go_nuntio.HeraConfig, error) UpdateGeneral(ctx context.Context, config *go_nuntio.HeraConfig) error UpdateAdvanced(ctx context.Context, config *go_nuntio.HeraConfig) error UpdateOidcProvider(ctx context.Context, oidcProvider *go_nuntio.OidcProvider) error UpdateOidcProviders(ctx context.Context, config *go_nuntio.HeraConfig) error UpdateEmailProvider(ctx context.Context, emailProvider *go_nuntio.EmailProvider) error UpdateTextProvider(ctx context.Context, textProvider *go_nuntio.TextProvider) error UpdateTemplate(ctx context.Context, template *go_nuntio.Template) error UpdateCallbacks(ctx context.Context, callbacks []string) error Delete(ctx context.Context) error }
func New ¶
func New(collection *mongo.Collection, crypto cryptox.Crypto, config *go_nuntio.HeraConfig) ConfigRepository
Click to show internal directories.
Click to hide internal directories.