package
0.21.4
Repository: https://github.com/marquiz/kubernetes.git
Documentation: pkg.go.dev

# Functions

AddObjectsFromPath loads the JSON or YAML file containing Kubernetes API resources and adds them to the provided ObjectRetriever.
NewObjects implements the ObjectRetriever interface by introspecting the objects provided to Add() and returning them when the Kind method is invoked.
NewSimpleFake returns a client that will respond with the provided objects.
ObjectReaction returns a ReactionFunc that takes a generic action string of the form <verb>-<resource> or <verb>-<subresource>-<resource> and attempts to return a runtime Object or error that matches the requested action.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Fake implements client.Interface.
No description provided by the author
Fake implements ComponentStatusInterface.
FakeEndpoints implements EndpointInterface.
FakeEvents implements EventInterface.
FakeLimitRanges implements PodsInterface.
FakeNamespaces implements NamespacesInterface.
FakeNodes implements MinionInterface.
No description provided by the author
No description provided by the author
FakePods implements PodsInterface.
FakePodTemplates implements PodTemplatesInterface.
FakeReplicationControllers implements ReplicationControllerInterface.
FakeResourceQuotas implements ResourceQuotaInterface.
Fake implements SecretInterface.
FakeServiceAccounts implements ServiceAccountsInterface.
Fake implements ServiceInterface.

# Interfaces

ObjectRetriever abstracts the implementation for retrieving or setting generic objects.

# Type aliases

ReactionFunc is a function that returns an object or error for a given Action.