Discover Packages
github.com/GoogleCloudPlatform/kubernetes
staging
src
k8s.io
client-go
examples
fake-client
package
Version:
v1.13.11-beta.0
Opens a new window with list of versions in this module.
Published: Aug 19, 2019
License: Apache-2.0, Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Fake Client Example
This example demonstrates how to use a fake client with SharedInformerFactory in tests.
It covers:
Creating the fake client
Setting up real informers
Injecting events into those informers
Running
go test -v k8s.io/client-go/examples/fake-client
Expand ▾
Collapse ▴
Documentation
¶
Package fakeclient contains examples on how to use fakeclient in tests.
Note: This file is here to avoid warnings on go build since there are no
non-test files in this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.