package
1.10.1
Repository: https://github.com/atlassian-labs/cyclops.git
Documentation: pkg.go.dev

# Functions

BuildFakeClient creates a fake client.
BuildTestNode creates a node with specified capacity.
BuildTestNodes creates multiple nodes with the same options.
BuildTestPod builds a pod for testing.
BuildTestPods creates multiple pods with the same options.
BuildTestScenario from a ScenarioOpts.
FlattenScenario turns a Scenario into a FlatScenario.
NameFromChan returns a name from a channel update fails if timeout.
NewTestNodeWatcher creates a new mock NodeLister with the given nodes and options.
NewTestPodWatcher creates a new test PodLister with given pods and options.

# Structs

FlatScenario is a scenario of nodegroups and related components flatted into a single list.
MockAutoscalingService is a mock implementation of a cloud provider interface.
MockEc2Service mocks the EC2API for DescribeInstances.
NodeListerOptions options for creating test NodeLister.
NodeOpts minimal options for configuring a node object in testing.
PodListerOptions for creating a new test PodLister.
PodOpts are options for a pod.
Scenario is a scenario of nodegroups and related components as a map to list.
ScenarioOpts for creating Scenario.