Documentation ¶
Index ¶
- Variables
- func GenerateUniqueContainerName(pod *v1.Pod, container v1.Container) string
- func GetClient() (kubernetes.Interface, error)
- func GetRestConfig() (*rest.Config, error)
- func HandleErrorStream(errCh chan error)
- func Send(data interface{}, method string, url string, client *http.Client) error
- func ShrinkStringMap(o map[string]string) map[string]string
Constants ¶
This section is empty.
Variables ¶
View Source
var SUCCESSFUL_STATUS_CODES = []int{200, 201, 202, 203, 204, 205, 206, 207, 208, 226}
Functions ¶
func GenerateUniqueContainerName ¶ added in v1.0.0
func GetClient ¶
func GetClient() (kubernetes.Interface, error)
GetClient returns a clientset from inside the cluster
func GetRestConfig ¶
GetRestConfig returns a valid rest client for connecting to Kubernetes
func HandleErrorStream ¶ added in v1.0.0
func HandleErrorStream(errCh chan error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.