Documentation ¶
Index ¶
Constants ¶
View Source
const ( MarkerEnvironment = "environment" MarkerApp = "app" MarkerComponent = "component" MarkerGateway = "gateway" MarkerPublishedApi = "published_api" // ACM dimensions AcmInfraWorkspacesNameDimension = "acm_infra_workspaces_name" AcmServiceWorkspacesNameDimension = "acm_service_workspaces_name" AcmEnvironmentsNameDimension = "acm_environments_name" AcmEnvironmentsTypeDimension = "acm_environments_type" AcmApiProxyNameDimension = "acm_api_proxy_name" AcmApiProxyHostnameDimension = "acm_api_proxy_hostname" AcmProxyApiVersionDimension = "acm_api_proxy_version" )
View Source
const ( NGINXBin = "/usr/sbin/nginx" NGINXStdOutLogFile = "./nginx-out.log" NGINXStdErrLogFile = "./nginx-err.log" ConfigFile = "/etc/nginx/nginx.conf" )
View Source
const ( NginxConfTemplate = `` /* 379-byte string literal not displayed */ HttpBlockTemplate = `` /* 341-byte string literal not displayed */ StreamBlockTemplate = `` /* 343-byte string literal not displayed */ ServerBlockTemplate = `` /* 236-byte string literal not displayed */ StreamServerBlockTemplate = `` /* 229-byte string literal not displayed */ LocationBlockTemplate = `` /* 214-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpBlock ¶
type NginxCommand ¶
type NginxCommand struct {
// contains filtered or unexported fields
}
func NewNginxCommand ¶
func NewNginxCommand(conf *NginxConf) (*NginxCommand, error)
func (*NginxCommand) Start ¶
func (c *NginxCommand) Start(t *testing.T)
type NginxConf ¶
type NginxConf struct { HttpBlock *HttpBlock StreamBlock *StreamBlock }
func NewNginxConf ¶
func NewNginxConf() *NginxConf
type Server ¶
type StreamBlock ¶
type StreamBlock struct { F5MetricsServer string F5MetricsMarkers map[string]string Upstreams map[string]Upstream Servers []StreamServer }
func (StreamBlock) Build ¶
func (c StreamBlock) Build() (string, error)
Click to show internal directories.
Click to hide internal directories.