Documentation ¶
Index ¶
- Constants
- type Plugin
- func (p *Plugin) AllowCommand(cliConnection plugin.CliConnection, args []string) (string, error)
- func (p *Plugin) DenyCommand(cliConnection plugin.CliConnection, args []string) (string, error)
- func (p *Plugin) GetMetadata() plugin.PluginMetadata
- func (p *Plugin) ListCommand(cliConnection plugin.CliConnection, args []string) (string, error)
- func (p *Plugin) Run(cliConnection plugin.CliConnection, args []string)
- func (p *Plugin) RunWithErrors(cliConnection plugin.CliConnection, args []string) (string, error)
- type ValidArgs
Constants ¶
View Source
const AllowCommand = "allow-access"
View Source
const CLR_G = "\x1b[32;1m"
View Source
const CLR_N = "\x1b[0m"
View Source
const CLR_R = "\x1b[31;1m"
View Source
const DenyCommand = "deny-access"
View Source
const ListCommand = "list-access"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct { Marshaler marshal.Marshaler Unmarshaler marshal.Unmarshaler }
func (*Plugin) AllowCommand ¶
func (*Plugin) DenyCommand ¶
func (*Plugin) GetMetadata ¶
func (p *Plugin) GetMetadata() plugin.PluginMetadata
func (*Plugin) ListCommand ¶
func (*Plugin) RunWithErrors ¶
Click to show internal directories.
Click to hide internal directories.