Documentation ¶
Index ¶
- Variables
- func AddServiceAccountToAdmins(c kubernetes.Interface)
- func DumpLogs(clientset *kubernetes.Clientset, pods ...v1.Pod)
- func ExecInPod(clientset *kubernetes.Clientset, pod v1.Pod, cmd ...string) (string, string, error)
- func GetTestLink() string
- func KubeClient() (*kubernetes.Clientset, error)
- func LoadConfig() *rest.Config
- func Logf(format string, a ...interface{})
- func WaitForReady(clientset *kubernetes.Clientset, pod *v1.Pod)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MASTER string TESTLINK string MASTERNAME string )
Functions ¶
func AddServiceAccountToAdmins ¶
func AddServiceAccountToAdmins(c kubernetes.Interface)
AddServiceAccountToAdmins will add system:serviceaccounts to cluster-admin ClusterRole
func GetTestLink ¶
func GetTestLink() string
func KubeClient ¶
func KubeClient() (*kubernetes.Clientset, error)
func LoadConfig ¶
func WaitForReady ¶
func WaitForReady(clientset *kubernetes.Clientset, pod *v1.Pod)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.