Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeClient ¶
type KubeClient interface { EnsureDeployment(name, namespace string, factory func() (*appsv1.Deployment, error)) (*appsv1.Deployment, error) EnsurePod(name, namespace string, factory func() (*corev1.Pod, error)) (*corev1.Pod, error) EnsureService(name, namespace string, factory func() (*corev1.Service, error)) (*corev1.Service, error) EnsureConfigMap(name, namespace string, factory func() (*corev1.ConfigMap, error)) (*corev1.ConfigMap, error) EnsureJob(name, namespace string, factory func() (*v1.Job, error)) (*v1.Job, error) ApplyStatefulSet(name, namespace string, s *appsv1.StatefulSet) error ApplyService(name, namespace string, s *corev1.Service) error ApplyDeployment(name, namespace string, d *appsv1.Deployment) error ApplySecret(name, namespace string, s *corev1.Secret) error GetDeployment(name, namespace string) (*appsv1.Deployment, error) DeleteDeployment(name, namespace string) error }
func New ¶
func New(kubeClientSet kubernetes.Interface, jobsLister batchlisters.JobLister) KubeClient
Click to show internal directories.
Click to hide internal directories.