Documentation ¶
Index ¶
- func CreateResource(ctx context.Context, dynamicClient dynamic.Interface, ...) error
- func InstallNPD(ctx context.Context, kubeconfig string) error
- func ParseResources(clientset kubernetes.Interface, resource string) (*meta.RESTMapping, *unstructured.Unstructured, error)
- func PluginsInstaller(ctx context.Context, pluginName string, pluginResources string) (err error)
- func PluginsUninstaller(ctx context.Context, pluginName string, pluginResources string) (err error)
- func RemoveResource(ctx context.Context, dynamicClient dynamic.Interface, ...) error
- func ResourceCreater(installer Installer, resource string) (err error)
- func ResourceRemover(installer Installer, resource string) (err error)
- func UninstallNPD(ctx context.Context, kubeconfig string) error
- type Expends
- type Installer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateResource ¶
func CreateResource(ctx context.Context, dynamicClient dynamic.Interface, mapping *meta.RESTMapping, unstructuredResource *unstructured.Unstructured) error
func ParseResources ¶ added in v0.4.0
func ParseResources(clientset kubernetes.Interface, resource string) (*meta.RESTMapping, *unstructured.Unstructured, error)
ParseResources by parsing the resource, put the result into unstructuredResource and return it.
func PluginsInstaller ¶ added in v0.5.0
func PluginsUninstaller ¶ added in v0.5.0
func RemoveResource ¶
func RemoveResource(ctx context.Context, dynamicClient dynamic.Interface, mapping *meta.RESTMapping, unstructuredResource *unstructured.Unstructured) error
func ResourceCreater ¶ added in v0.5.0
func ResourceRemover ¶ added in v0.5.0
Types ¶
Click to show internal directories.
Click to hide internal directories.