Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient() (*kubernetes.Clientset, error)
NewClient creates a new Kubernetes client.
Types ¶
type DeploymentResource ¶
type DeploymentResource struct {
// contains filtered or unexported fields
}
func NewDeploymentResource ¶
func NewDeploymentResource(clientset *kubernetes.Clientset, namespace string) *DeploymentResource
type JobResource ¶
type JobResource struct {
Client batchv1.JobInterface
}
func NewJobResource ¶
func NewJobResource(clientset *kubernetes.Clientset, namespace string) *JobResource
type PodResource ¶
type PodResource struct {
// contains filtered or unexported fields
}
func NewPodResource ¶
func NewPodResource(clientset *kubernetes.Clientset, namespace string) *PodResource
type Resource ¶
type Resource struct { Watcher ResourceWatcher ReadyChecker ResourceReadyChecker }
type ResourceReadyChecker ¶
type ResourceWatcher ¶
type ServiceResource ¶
type ServiceResource struct {
Client *corev1.CoreV1Client
}
func NewServiceResource ¶
func NewServiceResource(client *corev1.CoreV1Client) *ServiceResource
Click to show internal directories.
Click to hide internal directories.