Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FixOldAllocations ¶
func FixOldAllocations(ctx context.Context, db *sql.DB, ec2 *ec2wrapper.EC2SessionManager) error
func GetLongLivedTaskNames ¶
func GetLongLivedTaskNames() []string
func GetTaskLoopTaskNames ¶
func GetTaskLoopTaskNames() []string
Types ¶
type Config ¶
type Config struct { DBURL string Key vpcapi.PrivateKey MaxConcurrentRequests int MaxIdleConnections int MaxOpenConnections int ReconcileInterval time.Duration // How often to collect DB table metrics TableMetricsInterval time.Duration TLSConfig *tls.Config EnabledLongLivedTasks []string EnabledTaskLoops []string TrunkNetworkInterfaceDescription string BranchNetworkInterfaceDescription string SubnetCIDRReservationDescription string WorkerRole string ZipkinURL string // The URL from where to fetch dynamic configs DynamicConfigURL string // contains filtered or unexported fields }
type DynamicConfig ¶
Dynamic configs have a default value, which can be overriden at runtime. These configs are periodically updated from the given dynamic config URL. Configs put here should be those that change often such as certain timeouts. Or killswitches for new features. And once those features become stable, the killswitch should be removed or moved to cmdline flags or environment variables.
func NewDynamicConfig ¶
func NewDynamicConfig() *DynamicConfig
Source Files ¶
- action_worker.go
- allocate.go
- assign_addresses_v3.go
- auth.go
- aws_types.go
- branch_enis.go
- config.go
- db.go
- delete_excess_branches.go
- delete_failed_assignments.go
- detach_unused_branch_eni.go
- eni.go
- faults.go
- gc_v3.go
- generate_assignment_id.go
- internal_apis.go
- long_lived_lock.go
- provision_instance.go
- prune_unused_ips.go
- reconcile_availability_zones.go
- reconcile_branch_eni_attachments.go
- reconcile_branch_enis.go
- reconcile_elastic_ips.go
- reconcile_security_groups.go
- reconcile_subnet_cidr_reservations.go
- reconcile_subnets.go
- reconcile_trunk_enis.go
- route_table.go
- scheduled_tasks.go
- service.go
- trunk_enis.go
- validator.go
Click to show internal directories.
Click to hide internal directories.