package
0.0.0-20170609135926-437b0eb26b07
Repository: https://github.com/mirantis/k8s-appcontroller.git
Documentation: pkg.go.dev

# Functions

ConfigMaps generates sample ConfigMapList collection object.
MakeConfigMap generates sample ConfigMap object.
MakeDaemonSet creates a daemonset base in its name.
MakeDependency generates Dependency object.
MakeDeployment creates mock Deployment.
MakeFlow generates sample Flow resource definition.
MakeFlowParameter creates stample Flow parameter object.
MakeJob generates sample Job object.
MakePersistentVolumeClaim creates a persistentVolumeClaim based on its name.
MakePetSet returns a new K8s PetSet object for the client to return.
MakePod generates sample Pod object.
MakeReplicaSet generates sample ReplicaSet object.
MakeResourceDefinition generates sample ResourceDefinition object.
MakeSecret generates sample Secret object.
MakeService creates a service based on its name.
MakeServiceAccount generates sample ServiceAccount object.
MakeStatefulSet returns a new K8s StatefulSet object for the client to return.
NewClient returns new fake client.
NewClient1_4 returns fake client for K8s 1.4.x.
NewClientWithFake returns new fake client and *testing.Fake object that can be used to catch client events.
NewCounterWithMemo creates new instance of CounterWithMemo.
NewCountingResource creates new instance of CountingResource.
NewResource creates new instance of Resource.
NewResourceWithMeta creates new instance of Resource.
ServiceAccounts generates sample ServiceAccountList collection object.

# Structs

CounterWithMemo is a counter with atomic increment and decrememt and memoization of miminum and maximum values of the counter.
CountingResource is a fake resource that becomes ready after given timeout.
Resource is a fake resource.