Documentation
¶
Index ¶
- func Contains(s []string, e string, matchCase bool) bool
- func NewKubeClients(kubeconfig string) (*dynamic.DynamicClient, *discovery.DiscoveryClient, *kubernetes.Clientset, ...)
- func RemoveFinalizer(sr StuckResource, client *dynamic.DynamicClient) error
- func WriteJsonOutput(rr []RunResult)
- func WriteYamlOutput(rr []RunResult)
- type RunResult
- type RunResults
- type StuckResource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKubeClients ¶
func NewKubeClients(kubeconfig string) (*dynamic.DynamicClient, *discovery.DiscoveryClient, *kubernetes.Clientset, error)
func RemoveFinalizer ¶
func RemoveFinalizer(sr StuckResource, client *dynamic.DynamicClient) error
func WriteJsonOutput ¶
func WriteJsonOutput(rr []RunResult)
func WriteYamlOutput ¶
func WriteYamlOutput(rr []RunResult)
Types ¶
type RunResults ¶ added in v0.0.2
type StuckResource ¶
type StuckResource struct { ResourceName string ResourceType string ResourceNamespace string ResourceGroup string ResourceVersion string }
func GetNamespacedStuckResources ¶
func GetNamespacedStuckResources(namespace string, skipAPIResources []string, clientSet *kubernetes.Clientset, client *dynamic.DynamicClient, spinner *ysmrr.Spinner) ([]StuckResource, []string, error)
Click to show internal directories.
Click to hide internal directories.