Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NewKubernetesClient = func() KubernetesClient {
return &kubernetesClient{}
}
Functions ¶
This section is empty.
Types ¶
type KubernetesClient ¶
type KubernetesClient interface {
kubernetes.Interface
WithContextName(contextName string)
WithConfigPath(configPath string)
WithRateLimiterSettings(qps float32, burst int)
Init() error
DefaultNamespace() string
Dynamic() dynamic.Interface
APIResourceList(apiVersion string) ([]*metav1.APIResourceList, error)
APIResource(apiVersion string, kind string) (metav1.APIResource, error)
GroupVersionResource(apiVersion string, kind string) (schema.GroupVersionResource, error)
}
func NewFakeKubernetesClient ¶
func NewFakeKubernetesClient() KubernetesClient
Click to show internal directories.
Click to hide internal directories.