Documentation
      ¶
    
    
  
    
  
    Index ¶
- func CreateSecContext(FS_GROUP string, SUPP string) string
 - func DrainDeployment(clientset *kubernetes.Clientset, name string, namespace string) error
 - func LoadTemplate(path string) *template.Template
 - func Patch(tprclient *rest.RESTClient, path string, value string, resource string, ...) error
 - func WaitUntilDeploymentIsDeleted(clientset *kubernetes.Clientset, depname string, timeout time.Duration, ...) error
 - func WaitUntilPod(clientset *kubernetes.Clientset, lo v1.ListOptions, podPhase v1.PodPhase, ...) error
 - func WaitUntilPodIsDeleted(clientset *kubernetes.Clientset, podname string, timeout time.Duration, ...) error
 - func WaitUntilReplicasetIsDeleted(clientset *kubernetes.Clientset, rcname string, timeout time.Duration, ...) error
 - type ThingSpec
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSecContext ¶
func DrainDeployment ¶
func DrainDeployment(clientset *kubernetes.Clientset, name string, namespace string) error
func LoadTemplate ¶
func WaitUntilDeploymentIsDeleted ¶
func WaitUntilDeploymentIsDeleted(clientset *kubernetes.Clientset, depname string, timeout time.Duration, namespace string) error
timeout := time.Minute
func WaitUntilPod ¶
func WaitUntilPod(clientset *kubernetes.Clientset, lo v1.ListOptions, podPhase v1.PodPhase, timeout time.Duration, namespace string) error
lo := v1.ListOptions{LabelSelector: "pg-database=" + "testpod"} podPhase is v1.PodRunning timeout := time.Minute
func WaitUntilPodIsDeleted ¶
func WaitUntilPodIsDeleted(clientset *kubernetes.Clientset, podname string, timeout time.Duration, namespace string) error
timeout := time.Minute
func WaitUntilReplicasetIsDeleted ¶
func WaitUntilReplicasetIsDeleted(clientset *kubernetes.Clientset, rcname string, timeout time.Duration, namespace string) error
timeout := time.Minute
Types ¶
 Click to show internal directories. 
   Click to hide internal directories.