Documentation
¶
Index ¶
- func CleanupFakeClientReactions(clientInterface interface{})
- func FakeReaction(clientInterface interface{}, action string, resourcesToReact []string, ...)
- func GetActionsCount(fakeStruct *gotesting.Fake, countActions []string) map[string]int
- func GetClient(cl *fakeclient.ClientBuilder) client.WithWatch
- func GetClientBuilder() *fakeclient.ClientBuilder
- func GetClientBuilderWithObjects(objects ...client.Object) *fakeclient.ClientBuilder
- func GetFakeClaimclient(objects ...runtime.Object) claimClient.Interface
- func GetFakeClientForInterface(clientInterface interface{}) *gotesting.Fake
- func GetFakeKubeclient(objects ...runtime.Object) kubernetes.Interface
- func GetFakeLcmclient(objects ...runtime.Object) lcmclient.Interface
- func GetFakeRookclient(objects ...runtime.Object) rookclient.Interface
- func GetObjectForCompareFromList(objToCompare runtime.Object, listWithItems runtime.Object) (runtime.Object, error)
- func PrepareExpectedResources(input map[string]runtime.Object, output map[string]runtime.Object) map[string]runtime.Object
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupFakeClientReactions ¶
func CleanupFakeClientReactions(clientInterface interface{})
func FakeReaction ¶
func GetActionsCount ¶
func GetClient ¶
func GetClient(cl *fakeclient.ClientBuilder) client.WithWatch
func GetClientBuilder ¶
func GetClientBuilder() *fakeclient.ClientBuilder
func GetClientBuilderWithObjects ¶
func GetClientBuilderWithObjects(objects ...client.Object) *fakeclient.ClientBuilder
func GetFakeClaimclient ¶
func GetFakeClaimclient(objects ...runtime.Object) claimClient.Interface
func GetFakeKubeclient ¶
func GetFakeKubeclient(objects ...runtime.Object) kubernetes.Interface
func GetFakeRookclient ¶
func GetFakeRookclient(objects ...runtime.Object) rookclient.Interface
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.