Documentation ¶
Index ¶
- type DTO
- type FakePluginSettings
- func (ps *FakePluginSettings) DecryptedValues(dto *DTO) map[string]string
- func (ps *FakePluginSettings) GetPluginSettingByPluginID(ctx context.Context, args *GetByPluginIDArgs) (*DTO, error)
- func (ps *FakePluginSettings) GetPluginSettings(_ context.Context, _ *GetArgs) ([]*InfoDTO, error)
- func (ps *FakePluginSettings) UpdatePluginSetting(ctx context.Context, args *UpdateArgs) error
- func (ps *FakePluginSettings) UpdatePluginSettingPluginVersion(ctx context.Context, args *UpdatePluginVersionArgs) error
- type GetArgs
- type GetByPluginIDArgs
- type InfoDTO
- type Service
- type UpdateArgs
- type UpdatePluginVersionArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakePluginSettings ¶
func (*FakePluginSettings) DecryptedValues ¶
func (ps *FakePluginSettings) DecryptedValues(dto *DTO) map[string]string
DecryptedValues decrypts the encrypted secureJSONData of the provided plugin setting and returns the decrypted values.
func (*FakePluginSettings) GetPluginSettingByPluginID ¶
func (ps *FakePluginSettings) GetPluginSettingByPluginID(ctx context.Context, args *GetByPluginIDArgs) (*DTO, error)
GetPluginSettingByPluginID returns a Plugin Settings by Plugin ID
func (*FakePluginSettings) GetPluginSettings ¶
GetPluginSettings returns all Plugin Settings for the provided Org
func (*FakePluginSettings) UpdatePluginSetting ¶
func (ps *FakePluginSettings) UpdatePluginSetting(ctx context.Context, args *UpdateArgs) error
UpdatePluginSetting updates a Plugin Setting
func (*FakePluginSettings) UpdatePluginSettingPluginVersion ¶
func (ps *FakePluginSettings) UpdatePluginSettingPluginVersion(ctx context.Context, args *UpdatePluginVersionArgs) error
UpdatePluginSettingPluginVersion updates a Plugin Setting's plugin version
type GetByPluginIDArgs ¶
type Service ¶
type Service interface { // GetPluginSettings returns all Plugin Settings for the provided Org GetPluginSettings(ctx context.Context, args *GetArgs) ([]*InfoDTO, error) // GetPluginSettingByPluginID returns a Plugin Settings by Plugin ID GetPluginSettingByPluginID(ctx context.Context, args *GetByPluginIDArgs) (*DTO, error) // UpdatePluginSetting updates a Plugin Setting UpdatePluginSetting(ctx context.Context, args *UpdateArgs) error // UpdatePluginSettingPluginVersion updates a Plugin Setting's plugin version UpdatePluginSettingPluginVersion(ctx context.Context, args *UpdatePluginVersionArgs) error // DecryptedValues decrypts the encrypted secureJSONData of the provided plugin setting and // returns the decrypted values. DecryptedValues(ps *DTO) map[string]string }
type UpdateArgs ¶
type UpdatePluginVersionArgs ¶
Click to show internal directories.
Click to hide internal directories.