kubernetes

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeletePod

func DeletePod(podName string, namespace string) (err error)

func GetPodIps

func GetPodIps(labelKey string, labelVal string, namespace string) (instanceList map[string]string, err error)

func GetPods

func GetPods(labelKey string, labelVal string, namespace string) (pods *corev1.PodList, err error)

func GetSecret

func GetSecret(secretName string, secretKey string, namespace string) (secretValue string)

func PutSecret

func PutSecret(secretName string, secretKey string, secretValue string, namespace string) (err error)

Types

type PatchSpec

type PatchSpec struct {
	Op    string `json:"op"`
	Path  string `json:"path"`
	Value string `json:"value"`
}

Jump to

Keyboard shortcuts

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