# Functions
Bool returns a pointer to the given bool.
BoolCopy returns a copy of the boolean pointer.
BoolPresent returns a boolean indicating if the pointer is nil, or if the pointer is pointing to the zero value.
BoolVal returns the value of the boolean at the pointer, or false if the pointer is nil.
BuildConfig builds a new Config object from the default configuration and the list of config files given and returns it after validation.
DefaultAuthConfig is the default configuration.
DefaultBufferPeriodConfig is the global default configuration for all tasks.
DefaultConfig returns the default configuration struct.
DefaultConsulConfig returns the default configuration struct.
DefaultCTSTLSConfig returns a configuration that is populated with the default values.
DefaultDriverConfig returns the default configuration struct.
No description provided by the author
DefaultServiceConfigs returns a configuration that is populated with the default values.
DefaultServiceRegistrationConfig returns a ServiceRegistrationConfig with default values.
DefaultSyslogConfig returns the default configuration struct.
DefaultTaskConfigs returns a configuration that is populated with the default values.
DefaultTerraformBackend returns the default configuration to Consul KV.
No description provided by the author
DefaultTerraformConfig returns the default configuration struct.
DefaultTerraformProviderConfigs returns a configuration that is populated with the default values.
DefaultTLSConfig returns a configuration that is populated with the default values.
DefaultTransportConfig returns a configuration that is populated with the default values.
DefaultVaultConfig returns a configuration that is populated with the default values.
EmptyConditionConfig sets an unconfigured condition with a non-null value.
FilterTasks filters the task configurations by task name.
Int returns a pointer to the given int.
IntCopy returns a copy of the int pointer.
IntVal returns the value of the int at the pointer, or 0 if the pointer is nil.
String returns a pointer to the given string.
StringCopy returns a copy of the string pointer.
StringPresent returns a boolean indicating if the pointer is nil, or if the pointer is pointing to the zero value.
StringVal returns the value of the string at the pointer, or "" if the pointer is nil.
TimeDuration returns a pointer to the given time.Duration.
TimeDurationCopy returns a copy of the time.Duration pointer.
TimeDurationVal returns the value of the string at the pointer, or 0 if the pointer is nil.
# Constants
DefaultConsulAddress is the default address to connect with Consul.
DefaultConsulKVPath is the default Consul KV path to use for CTS KV operations.
DefaultDialKeepAlive is the default amount of time to keep alive connections.
DefaultDialTimeout is the amount of time to attempt to dial before timing out.
DefaultIdleConnTimeout is the default connection timeout for idle connections.
DefaultLogLevel is the default logging level.
DefaultMaxIdleConns is the default number of maximum idle connections.
DefaultMaxIdleConnsPerHost is the default number of maximum idle connections per host.
No description provided by the author
DefaultPort is the default port to use for api server.
No description provided by the author
DefaultSyslogFacility is the default facility to log to.
DefaultTFBackendKVPath is the default KV path used for configuring the default backend to use Consul KV.
DefaultTLSHandshakeTimeout is the amount of time to negotiate the TLS handshake.
DefaultTLSVerify is the default value for TLS verification.
DefaultVaultRenewToken is the default value for if the Vault token should be renewed.
DefaultVaultUnwrapToken is the default value for if the Vault token should be unwrapped.
DefaultWorkingDir is the default location where CTS will manage artifacts generated for each task.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DefaultSyslogName is the default app name in syslog.
# Structs
AuthConfig is the HTTP basic authentication data.
BufferPeriodConfig is the min and max duration to buffer changes for tasks before executing.
CatalogServicesConditionConfig configures a condition configuration block of type 'catalog-services'.
CatalogServicesMonitorConfig configures a configuration block adhering to the monitor interface of type 'catalog-services'.
Config is used to configure CTS.
ConsulConfig is the configuration for Consul client.
ConsulKVConditionConfig configures a condition configuration block of type 'consul-kv'.
ConsulKVModuleInputConfig configures a module_input configuration block of type 'consul-kv'.
ConsulKVMonitorConfig configures a configuration block adhering to the monitor interface of type 'consul-kv'.
CTSTLSConfig is the configuration for TLS and mutual TLS on the CTS API.
DefaultCheckConfig is a configuration that controls whether to create a default health check on the CTS service in Consul.
DriverConfig is the configuration for the CTS driver used to execute infrastructure updates.
No description provided by the author
NoConditionMonitorConfig is used to set a non-null value to a task's condition configuration block when it is unconfigured.
ScheduleConditionConfig configures a condition configuration block of type 'schedule'.
ScheduleMonitorConfig exists purely to allow json / hcl conversions to work seamlessly by encoding and decoding under the "schedule" name.
ServiceConfig defines the explicit configuration for CTS to monitor a service.
ServiceRegistrationConfig is a configuration that controls how CTS will register itself as a service with Consul.
ServicesConditionConfig configures a condition configuration block of type 'services'.
ServicesModuleInputConfig configures a module_input configuration block of type 'services'.
ServicesMonitorConfig configures a configuration block adhering to the monitor interface of type 'services'.
SyslogConfig is the configuration for syslog.
TaskConfig is the configuration for a CTS task.
TerraformCloudWorkspaceConfig is an enterprise-only configuration that controls workspace attributes that are specific to a task.
TerraformConfig is the configuration for the Terraform driver.
TLSConfig is the configuration for TLS.
TransportConfig is the configuration to tune low-level APIs for the interactions on the wire.
VaultConfig is the configuration for connecting to a vault server.
# Interfaces
ConditionConfig configures a condition on a task.
ModuleInputConfig configures a module_input on a task.
MonitorConfig represents the base object for objects like monitor_input and condition, both of which "monitor" an object in order to perform some action.
# Type aliases
FlagAppendSliceValue implements the flag.Value interface and allows multiple calls to the same variable to append a list.
ModuleInputConfigs is a collection of ModuleInputConfig.
ServiceConfigs is a collection of ServiceConfig.
ServicesMeta is a useful type to abstract from the nested map of string which represents the user defined meta for each service a task monitors.
TaskConfigs is a collection of TaskConfig.
TerraformProviderConfig is a map representing the configuration for a single provider where the key is the name of provider and value is the configuration.
TerraformProviderConfigs is an array of configuration for each provider.