Documentation ¶
Index ¶
- type DummyPlugin
- func (s DummyPlugin) Close() (*plugin.Stats, error)
- func (s DummyPlugin) Delete(userId string) error
- func (s DummyPlugin) GetConfig() plugin.PluginConfig
- func (s DummyPlugin) GetVersion() (string, string, string)
- func (s DummyPlugin) Open(config plugin.PluginConfig, operation plugin.OperationType) error
- func (s DummyPlugin) Read() ([]*api.User, error)
- func (s DummyPlugin) Write(user *api.User) error
- type DummyPluginConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DummyPlugin ¶
type DummyPlugin struct { Config DummyPluginConfig Operation plugin.OperationType }
func NewDummyPlugin ¶
func NewDummyPlugin() *DummyPlugin
func (DummyPlugin) Delete ¶
func (s DummyPlugin) Delete(userId string) error
func (DummyPlugin) GetConfig ¶
func (s DummyPlugin) GetConfig() plugin.PluginConfig
func (DummyPlugin) GetVersion ¶ added in v0.0.5
func (s DummyPlugin) GetVersion() (string, string, string)
func (DummyPlugin) Open ¶
func (s DummyPlugin) Open(config plugin.PluginConfig, operation plugin.OperationType) error
type DummyPluginConfig ¶
type DummyPluginConfig struct { IntValue int `description:"int value" kind:"attribute" mode:"normal" readonly:"false" name:"int_value"` StringValue string `description:"string value" kind:"secret" mode:"masked" readonly:"false" name:"string_value"` }
func (*DummyPluginConfig) Description ¶
func (c *DummyPluginConfig) Description() string
func (*DummyPluginConfig) Validate ¶
func (c *DummyPluginConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.