Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
Register is used to register all our plugin services at the gRPC server. We can use the same handling for each plugin, except the clusters plugin. The clusters plugin uses a special handling because it is the only core plugin for kobs. The clusters plugin can also be used from other plugins to receive the Kubernetes resources of a cluster.
Types ¶
type Plugins ¶
type Plugins struct { pluginsProto.UnimplementedPluginsServer // contains filtered or unexported fields }
Plugins contains all fields and methods to interact with the configured Kubernetes Plugins. It must implement the Plugins service from the protocol buffers definition.
func (*Plugins) GetPlugins ¶
func (p *Plugins) GetPlugins(ctx context.Context, getPluginsRequest *pluginsProto.GetPluginsRequest) (*pluginsProto.GetPluginsResponse, error)
GetPlugins returns all loaded plugins with their name and type.
Click to show internal directories.
Click to hide internal directories.