kubeobj

package
v0.0.0-...-4eaa2e5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckObject

func CheckObject(ctx context.Context, clientset *kubernetes.Clientset, obj runtime.Object, namespace string) (string, string, error)

CheckObject - checks kubernetes object from *runtime.Object. Returns object name, kind and creation error

func CreateObject

func CreateObject(ctx context.Context, clientset *kubernetes.Clientset, obj runtime.Object, namespace string) (string, string, error)

CreateObject - creates kubernetes object from *runtime.Object. Returns object name, kind and creation error

func DeleteObject

func DeleteObject(ctx context.Context, clientset *kubernetes.Clientset, obj runtime.Object, namespace string) (string, string, error)

DeleteObject - checks kubernetes object from *runtime.Object. Returns object name, kind and creation error

func ReplaceObject

func ReplaceObject(ctx context.Context, clientset *kubernetes.Clientset, obj runtime.Object, namespace string) (string, string, error)

ReplaceObject - replaces kubernetes object from *runtime.Object. Returns object name, kind and creation error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL