config

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CfiConfig

type CfiConfig struct {
	// IP is the address we will target routes at. Only mandatory and non guessable argument.
	IP string

	// Hoster (AWS or GCP) can be guessed automaticaly when we run on an instance
	Hoster string

	// Instance name or ID
	Instance string

	// When DryRun is true, we don't really apply changes
	DryRun bool

	// When Quiet is true, we only display errors
	Quiet bool

	// Project (GCP only) identifies the Google Project (guessed on instance)
	Project string

	// Zone is the AWS or GCP zone of the target instance
	Zone string

	// Region is the AWS region
	Region string

	// Ignore tables associated with the main route table
	NoMain bool

	// Interface ID
	Iface string

	// Subnet ID
	Subnet string

	// Target private IP
	TargetIP string

	// Restricted set of AWS route tables
	RouteTables []string

	// AwsAccesKeyID (AWS only) is the acccess key to use (if we don't use an instance profile's role)
	AwsAccesKeyID string

	// AwsSecretKey (AWS only) is the secret key to use (if we don't use an instance profile's role)
	AwsSecretKey string
}

CfiConfig is the configuration structucture

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL