kubeclient

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrConfigMapNotFound = errors.New("configmap of job is not found")

Functions

func CheckJobIsOwnedByUser

func CheckJobIsOwnedByUser(namespace, jobName string, jobType types.TrainingJobType) (bool, error)

func CreateAppConfigmap

func CreateAppConfigmap(name, namespace, configFileName, appInfoFileName, chartName, chartVersion string) (err error)

func DeleteConfigMap

func DeleteConfigMap(namespace string, name string) error

func GetConfigMap

func GetConfigMap(namespace string, name string) (*corev1.ConfigMap, error)

func UpdateConfigMapLabelsAndAnnotations

func UpdateConfigMapLabelsAndAnnotations(namespace string, name string, labels map[string]string, annotations map[string]string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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