Documentation ¶
Overview ¶
NOTE this package is deprecated. As soon as v24 is gone, we can drop this package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsExecutionFailed ¶
IsExecutionFailed asserts executionFailedError.
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Config ¶
type Config struct { EC2 EC2 Logger micrologger.Logger }
type EC2 ¶
type EC2 interface {
DescribeRouteTables(*ec2.DescribeRouteTablesInput) (*ec2.DescribeRouteTablesOutput, error)
}
type RouteTable ¶
type RouteTable struct {
// contains filtered or unexported fields
}
RouteTable is a service implementation fetching route table IDs for any given route table name. Once fetched the mapping between name and ID are cached in memory.
func New ¶
func New(config Config) (*RouteTable, error)
New creates a new route table service that has to be booted using Boot to cache the configured route table IDs associated with their names.
Click to show internal directories.
Click to hide internal directories.