type exampleHandler …
type examplePluginEvent …
const exampleEventValidate …
const exampleEventRegister …
const exampleEventDeRegister …
func NewExampleHandler(supportedVersions []string, permitDeprecatedDir bool) *exampleHandler { … }
func (p *exampleHandler) ValidatePlugin(pluginName string, endpoint string, versions []string) error { … }
func (p *exampleHandler) RegisterPlugin(pluginName, endpoint string, versions []string) error { … }
func (p *exampleHandler) DeRegisterPlugin(pluginName string) { … }
func (p *exampleHandler) SendEvent(pluginName string, event examplePluginEvent) { … }
func (p *exampleHandler) DecreasePluginCount(pluginName string) (old int, ok bool) { … }
func dial(unixSocketPath string, timeout time.Duration) (registerapi.RegistrationClient, *grpc.ClientConn, error) { … }