# Functions
DecodeAndLoadKubeConfig decodes a base64 encoded kubeconfig and attempts to load the Config.
GetKubeConfigPath given a kubeConfigPath that might be empty gets a kubeconfig path, by returning the provided value if is not empty, or the value of the kubeConfigEnv if set, or the default kubeconfig path in the users' home dir (~/.kube/config).
NewClient creates a new Kubernetes Client.
NewListPodsRequest takes NewListPodsRequestOpt's and returns a new instance of ListPodsRequest.
NewMockGetLogsFunc creates a GetLogsFunc that returns the provided logs when called.
WithListPodsRequestFieldSelectors allows the caller to define field selectors for the ListPods request.
WithListPodsRequestLabelSelectors allows the caller to define label selectors for the ListPods request.
WithListPodsRequestNamespace allows the caller to define namespace for the ListPods request.
WithListPodsRequestRetryOpts allows the caller to define retry options for the ListPods request.
# Structs
No description provided by the author
No description provided by the author
GetPodInfoRequest a request for getting pod info.
No description provided by the author
No description provided by the author
ListPodsRequest is a request to list the pods matching the search criteria.
ListPodsResponse is ListPods response.
MockClient a mock Kubernetes Client.
No description provided by the author
No description provided by the author
# Interfaces
Client A wrapper around the k8s clientset that provides an api that the provider can use.
# Type aliases
ListPodsRequestOpt is a functional option for NewListPodsRequest.
Pods is an alias for a v1.PodList so we can attach methods to it.