package
0.0.0-20231018235809-90deddd72f8f
Repository: https://github.com/grailbio/reflow.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
Package volume implements support for maintaining (EBS) volumes on an EC2 instance by watching the disk usage of the underlying disk device and resizing the EBS volumes whenever necessary based on provided parameters.

# Functions

GetAMI gets the AMI ID for the AWS region derived from the given AWS session.
GetSpotPlacementScores returns spot placement scores for the given instance type in the given region.
InstanceType returns the instance type (and the amount of resources it provides) which is most appropriate for the needed resources.
NewManager creates a manager for the given managed cluster with the specified parameters.
NewSpotProber returns a spot prober which uses the given capacityFunc to determine capacity, the given maxProbeDepth as the depth to start probing at and uses the ttl as expiration of previously cached probing result.
OnDemandPrice returns the on-demand hourly price of the given instance type in the given region.

# Constants

ExpVarCluster is the expvar endpoint for ec2cluster information.
No description provided by the author

# Structs

CloudFile is a component of the cloudConfig configuration for CoreOS.
CloudUnit is a component of the cloudConfig configuration for CoreOS.
A Cluster implements a runner.Cluster backed by EC2.
InstanceSpec is a specification representing an instance configuration.
InstanceTypeStat is a tuple that stores the count of instances of a specified type within an AWS EC2 cluster.
ManagedInstance represents a concrete instance with a given specification and ID.
Manager manages the cluster by fulfilling requests to allocate instances asynchronously, while delegating the actual launching of a new instance to the ManagedCluster.
OverallStats is a set of variables that describe instances within an ec2cluster and various aggregations of those instances (i.e.

# Interfaces

ManagedCluster is a cluster which can be managed.

# Type aliases

InstanceSizeToDiskSpace is a mapping of EC2 instance size (e.g.