Documentation ¶
Index ¶
- func NewFakeClients(opts *Options) mgrclient.Client
- func NewFakeClientsFor(fn func(c *FakerClient)) mgrclient.Client
- type FakerClient
- func (c *FakerClient) Cache() cache.Cache
- func (c *FakerClient) CacheDiscovery() discovery.CachedDiscoveryInterface
- func (c *FakerClient) ClientSet() kubernetes.Interface
- func (c *FakerClient) Direct() client.Client
- func (c *FakerClient) Discovery() discovery.DiscoveryInterface
- func (c *FakerClient) Metrics() versioned.Interface
- func (c *FakerClient) RESTMapper() meta.RESTMapper
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFakeClients ¶
NewFakeClients new fake client by given options
func NewFakeClientsFor ¶
func NewFakeClientsFor(fn func(c *FakerClient)) mgrclient.Client
NewFakeClientsFor new fake client by customize
Types ¶
type FakerClient ¶
type FakerClient struct {
// contains filtered or unexported fields
}
FakerClient implement kubernetes.client
func (*FakerClient) Cache ¶
func (c *FakerClient) Cache() cache.Cache
func (*FakerClient) CacheDiscovery ¶ added in v1.7.6
func (c *FakerClient) CacheDiscovery() discovery.CachedDiscoveryInterface
func (*FakerClient) ClientSet ¶
func (c *FakerClient) ClientSet() kubernetes.Interface
func (*FakerClient) Direct ¶
func (c *FakerClient) Direct() client.Client
func (*FakerClient) Discovery ¶
func (c *FakerClient) Discovery() discovery.DiscoveryInterface
func (*FakerClient) Metrics ¶
func (c *FakerClient) Metrics() versioned.Interface
func (*FakerClient) RESTMapper ¶
func (c *FakerClient) RESTMapper() meta.RESTMapper
Click to show internal directories.
Click to hide internal directories.