type examplePlugin …
type pluginServiceV1Beta1 …
func (s *pluginServiceV1Beta1) GetExampleInfo(ctx context.Context, rqt *v1beta1.ExampleRequest) (*v1beta1.ExampleResponse, error) { … }
func (s *pluginServiceV1Beta1) RegisterService() { … }
type pluginServiceV1Beta2 …
func (s *pluginServiceV1Beta2) GetExampleInfo(ctx context.Context, rqt *v1beta2.ExampleRequest) (*v1beta2.ExampleResponse, error) { … }
func (s *pluginServiceV1Beta2) RegisterService() { … }
func NewExamplePlugin() *examplePlugin { … }
func NewTestExamplePlugin(pluginName string, pluginType string, endpoint string, advertisedVersions ...string) *examplePlugin { … }
func GetPluginInfo(plugin *examplePlugin) cache.PluginInfo { … }
func (e *examplePlugin) GetInfo(ctx context.Context, req *registerapi.InfoRequest) (*registerapi.PluginInfo, error) { … }
func (e *examplePlugin) NotifyRegistrationStatus(ctx context.Context, status *registerapi.RegistrationStatus) (*registerapi.RegistrationStatusResponse, error) { … }
func (e *examplePlugin) Serve(services ...string) error { … }
func (e *examplePlugin) Stop() error { … }