Documentation
¶
Index ¶
- func NewDynamicClient(staticClient *staticfake.Clientset, mapper meta.ResettableRESTMapper) *dynamicfake.FakeDynamicClient
- func NewStaticClient(mapper meta.ResettableRESTMapper) *staticfake.Clientset
- type CachedDiscoveryClient
- type ClientFactory
- func (f *ClientFactory) Discovery() discovery.CachedDiscoveryInterface
- func (f *ClientFactory) Dynamic() dynamic.Interface
- func (f *ClientFactory) KubeClient() kube.KubeClienter
- func (f *ClientFactory) KubeConfig() *kube.KubeConfig
- func (f *ClientFactory) LegacyClientGetter() *kube.LegacyClientGetter
- func (f *ClientFactory) Mapper() meta.ResettableRESTMapper
- func (f *ClientFactory) Static() kubernetes.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDynamicClient ¶
func NewDynamicClient(staticClient *staticfake.Clientset, mapper meta.ResettableRESTMapper) *dynamicfake.FakeDynamicClient
func NewStaticClient ¶
func NewStaticClient(mapper meta.ResettableRESTMapper) *staticfake.Clientset
Types ¶
type CachedDiscoveryClient ¶
type CachedDiscoveryClient struct {
*discfake.FakeDiscovery
}
func NewCachedDiscoveryClient ¶
func NewCachedDiscoveryClient() (*CachedDiscoveryClient, error)
func (*CachedDiscoveryClient) Fresh ¶
func (c *CachedDiscoveryClient) Fresh() bool
func (*CachedDiscoveryClient) Invalidate ¶
func (c *CachedDiscoveryClient) Invalidate()
type ClientFactory ¶
type ClientFactory struct {
// contains filtered or unexported fields
}
func NewClientFactory ¶
func NewClientFactory(ctx context.Context) (*ClientFactory, error)
func (*ClientFactory) Discovery ¶
func (f *ClientFactory) Discovery() discovery.CachedDiscoveryInterface
func (*ClientFactory) Dynamic ¶
func (f *ClientFactory) Dynamic() dynamic.Interface
func (*ClientFactory) KubeClient ¶
func (f *ClientFactory) KubeClient() kube.KubeClienter
func (*ClientFactory) KubeConfig ¶
func (f *ClientFactory) KubeConfig() *kube.KubeConfig
func (*ClientFactory) LegacyClientGetter ¶
func (f *ClientFactory) LegacyClientGetter() *kube.LegacyClientGetter
func (*ClientFactory) Mapper ¶
func (f *ClientFactory) Mapper() meta.ResettableRESTMapper
func (*ClientFactory) Static ¶
func (f *ClientFactory) Static() kubernetes.Interface
Click to show internal directories.
Click to hide internal directories.