Skip to main content

PluginRegistryIface

This interface provides methods to access registered plugin entries. It allows retrieval of core plugins and Kubernetes-specific plugins.

Methods


GetCorePlugins()

@classmethod
def GetCorePlugins() - > []pluginsCore.PluginEntry

Fetches a list of registered core plugin entries. Callers use this to retrieve information about the core plugins available in the system.

Returns

TypeDescription
[]pluginsCore.PluginEntryA slice of PluginEntry objects representing the core plugins.

GetK8sPlugins()

@classmethod
def GetK8sPlugins() - > []k8sPlugin.PluginEntry

Fetches a list of registered Kubernetes plugin entries. Callers use this to retrieve information about the Kubernetes-specific plugins available in the system.

Returns

TypeDescription
[]k8sPlugin.PluginEntryA slice of PluginEntry objects representing the Kubernetes plugins.