Versions in this module Expand all Collapse all v1 v1.16.1 Nov 13, 2019 Changes in this version + var ErrReadNamespace = errors.New("Could not read namespace from service account secret") + func CertPoolFromFile(filename string) (*x509.CertPool, error) + func CertsFromPEM(pemCerts []byte) ([]*x509.Certificate, error) + func NewClientInCluster() *client + type Deployment struct + Metadata *Metadata + Status *Status + type DeploymentList struct + Items []Deployment + type Kubernetes interface + ListDeployments func(labels map[string]string) (*DeploymentList, error) + UpdateDeployment func(string, interface{}) error + type Metadata struct + Annotations map[string]string + Labels map[string]string + Name string + type Spec struct + Template *Template + type Status struct + AvailableReplicas int + Replicas int + type Template struct + Metadata *Metadata