Versions in this module Expand all Collapse all v0 v0.0.310 Jun 15, 2022 Changes in this version + type Client interface + ApiExtensions func() apiextensionsclient.Interface + Config func() *rest.Config + Discovery func() discovery.DiscoveryInterface + Istio func() istioclient.Interface + KubeSphere func() kubesphere.Interface + Kubernetes func() kubernetes.Interface + Master func() string + Prometheus func() promresourcesclient.Interface + Snapshot func() snapshotclient.Interface + func NewFakeClientSets(k8sClient kubernetes.Interface, discoveryClient *discovery.DiscoveryClient, ...) Client + func NewKubernetesClient(options *KubernetesOptions) (Client, error) + func NewKubernetesClientOrDie(options *KubernetesOptions) Client + func NewNullClient() Client + type FakeClient struct + ApiExtensionClient apiextensionsclient.Interface + DiscoveryClient *discovery.DiscoveryClient + IstioClient istioclient.Interface + K8sClient kubernetes.Interface + KubeConfig *rest.Config + KubeSphereClient kubesphere.Interface + MasterURL string + SnapshotClient snapshotclient.Interface + func (n *FakeClient) ApiExtensions() apiextensionsclient.Interface + func (n *FakeClient) Config() *rest.Config + func (n *FakeClient) Discovery() discovery.DiscoveryInterface + func (n *FakeClient) Istio() istioclient.Interface + func (n *FakeClient) KubeSphere() kubesphere.Interface + func (n *FakeClient) Kubernetes() kubernetes.Interface + func (n *FakeClient) Master() string + func (n *FakeClient) Prometheus() promresourcesclient.Interface + func (n *FakeClient) Snapshot() snapshotclient.Interface + type KubernetesOptions struct + Burst int + KubeConfig string + Master string + QPS float32 + func NewKubernetesOptions() *KubernetesOptions + func (k *KubernetesOptions) AddFlags(fs *pflag.FlagSet, c *KubernetesOptions) + func (k *KubernetesOptions) ApplyTo(options *KubernetesOptions) + func (k *KubernetesOptions) Validate() []error