Documentation
¶
Index ¶
- Variables
- func GetKubeClient(log logger.Logger, contextName string, cfg *rest.Config, ...) (*kube.KubeHTTP, error)
- func GetKubeClientOptions() *runclient.Options
- func GetKubeConfigArgs() *genericclioptions.ConfigFlags
- func GetPodFromResourceDescription(namespacedName types.NamespacedName, kind string, kubeClient client.Client) (*corev1.Pod, error)
- func IsLocalCluster(kubeClient *kube.KubeHTTP) bool
- func RequestReconciliation(ctx context.Context, kubeClient client.Client, ...) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoPodsForService = errors.New("no pods found for service") ErrNoPodsForDeployment = errors.New("no pods found for deployment") ErrNoRunningPodsForService = errors.New("no running pods found for service") ErrNoRunningPodsForDeployment = errors.New("no running pods found for deployment") ErrDashboardPodNotFound = errors.New("dashboard pod not found") )
Functions ¶
func GetKubeClient ¶
func GetKubeClientOptions ¶
func GetKubeConfigArgs ¶
func GetKubeConfigArgs() *genericclioptions.ConfigFlags
func GetPodFromResourceDescription ¶ added in v0.9.4
func IsLocalCluster ¶
IsLocalCluster checks if it's a local cluster. See https://skaffold.dev/docs/environment/local-cluster/
func RequestReconciliation ¶
func RequestReconciliation(ctx context.Context, kubeClient client.Client, namespacedName types.NamespacedName, gvk schema.GroupVersionKind) (string, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.