Documentation ¶
Index ¶
- Variables
- type ConfigRequest
- func (m *ConfigRequest) BindPort(name string, value uint16) error
- func (c *ConfigRequest) ConfigureProduct(productConfig *config.ProductConfig)
- func (*ConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (m *ConfigRequest) GetPort(name string) (uint16, error)
- func (m *ConfigRequest) GetSecret(name string) *wrappers.StringValue
- func (x *ConfigRequest) GetV1() *ConfigRequest_V1
- func (m *ConfigRequest) ListPorts() []a2conf.PortInfo
- func (m *ConfigRequest) ListSecrets() []a2conf.SecretInfo
- func (c *ConfigRequest) PrepareSystemConfig(certificate *config.TLSCredentials) (config.PreparedSystemConfig, error)
- func (*ConfigRequest) ProtoMessage()
- func (x *ConfigRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigRequest) Reset()
- func (m *ConfigRequest) ServiceName() string
- func (c *ConfigRequest) SetGlobalConfig(g *config.GlobalConfig)
- func (m *ConfigRequest) SetSecret(name string, value *wrappers.StringValue) error
- func (x *ConfigRequest) String() string
- func (c *ConfigRequest) Validate() error
- type ConfigRequest_V1
- func (*ConfigRequest_V1) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigRequest_V1) GetSvc() *ConfigRequest_V1_Service
- func (x *ConfigRequest_V1) GetSys() *ConfigRequest_V1_System
- func (*ConfigRequest_V1) ProtoMessage()
- func (x *ConfigRequest_V1) ProtoReflect() protoreflect.Message
- func (x *ConfigRequest_V1) Reset()
- func (x *ConfigRequest_V1) String() string
- type ConfigRequest_V1_Service
- type ConfigRequest_V1_System
- func (*ConfigRequest_V1_System) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigRequest_V1_System) GetFrontendTls() []*shared.FrontendTLSCredential
- func (x *ConfigRequest_V1_System) GetLog() *ConfigRequest_V1_System_Logger
- func (x *ConfigRequest_V1_System) GetMlsa() *shared.Mlsa
- func (x *ConfigRequest_V1_System) GetNgx() *ConfigRequest_V1_System_Nginx
- func (x *ConfigRequest_V1_System) GetProxy() *shared.Proxy
- func (x *ConfigRequest_V1_System) GetService() *ConfigRequest_V1_System_Service
- func (x *ConfigRequest_V1_System) GetStaticConfig() *ConfigRequest_V1_System_StaticConfig
- func (x *ConfigRequest_V1_System) GetTls() *shared.TLSCredentials
- func (*ConfigRequest_V1_System) ProtoMessage()
- func (x *ConfigRequest_V1_System) ProtoReflect() protoreflect.Message
- func (x *ConfigRequest_V1_System) Reset()
- func (x *ConfigRequest_V1_System) String() string
- type ConfigRequest_V1_System_Logger
- func (*ConfigRequest_V1_System_Logger) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigRequest_V1_System_Logger) GetLevel() *wrappers.StringValue
- func (*ConfigRequest_V1_System_Logger) ProtoMessage()
- func (x *ConfigRequest_V1_System_Logger) ProtoReflect() protoreflect.Message
- func (x *ConfigRequest_V1_System_Logger) Reset()
- func (x *ConfigRequest_V1_System_Logger) String() string
- type ConfigRequest_V1_System_Nginx
- func (*ConfigRequest_V1_System_Nginx) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigRequest_V1_System_Nginx) GetEvents() *ConfigRequest_V1_System_Nginx_Events
- func (x *ConfigRequest_V1_System_Nginx) GetHttp() *ConfigRequest_V1_System_Nginx_Http
- func (x *ConfigRequest_V1_System_Nginx) GetMail() *ConfigRequest_V1_System_Nginx_Mail
- func (x *ConfigRequest_V1_System_Nginx) GetMain() *ConfigRequest_V1_System_Nginx_Main
- func (*ConfigRequest_V1_System_Nginx) ProtoMessage()
- func (x *ConfigRequest_V1_System_Nginx) ProtoReflect() protoreflect.Message
- func (x *ConfigRequest_V1_System_Nginx) Reset()
- func (x *ConfigRequest_V1_System_Nginx) String() string
- type ConfigRequest_V1_System_Nginx_Events
- func (*ConfigRequest_V1_System_Nginx_Events) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigRequest_V1_System_Nginx_Events) GetMultiAccept() *wrappers.StringValue
- func (x *ConfigRequest_V1_System_Nginx_Events) GetWorkerConnections() *wrappers.Int32Value
- func (x *ConfigRequest_V1_System_Nginx_Events) GetWorkerProcessorMethod() *wrappers.StringValue
- func (*ConfigRequest_V1_System_Nginx_Events) ProtoMessage()
- func (x *ConfigRequest_V1_System_Nginx_Events) ProtoReflect() protoreflect.Message
- func (x *ConfigRequest_V1_System_Nginx_Events) Reset()
- func (x *ConfigRequest_V1_System_Nginx_Events) String() string
- type ConfigRequest_V1_System_Nginx_Http
- func (*ConfigRequest_V1_System_Nginx_Http) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigRequest_V1_System_Nginx_Http) GetAccessLog() *wrappers.StringValue
- func (x *ConfigRequest_V1_System_Nginx_Http) GetAccessLogBufferSize() *wrappers.StringValue
- func (x *ConfigRequest_V1_System_Nginx_Http) GetAccessLogFlushTime() *wrappers.StringValue
- func (x *ConfigRequest_V1_System_Nginx_Http) GetClientBodyBufferSize() *wrappers.StringValue
- func (x *ConfigRequest_V1_System_Nginx_Http) GetClientMaxBodySize() *wrappers.StringValue
- func (x *ConfigRequest_V1_System_Nginx_Http) GetDefaultType() *wrappers.StringValue
- func (x *ConfigRequest_V1_System_Nginx_Http) GetGzip() *wrappers.StringValue
- func (x *ConfigRequest_V1_System_Nginx_Http) GetGzipCompLevel() *wrappers.StringValue
- func (x *ConfigRequest_V1_System_Nginx_Http) GetGzipDisable() *wrappers.StringValue
- func (x *ConfigRequest_V1_System_Nginx_Http) GetGzipHttpVersion() *wrappers.StringValue
- func (x *ConfigRequest_V1_System_Nginx_Http) GetGzipMinLength() *wrappers.Int32Value
- func (x *ConfigRequest_V1_System_Nginx_Http) GetGzipProxied() *wrappers.StringValue
- func (x *ConfigRequest_V1_System_Nginx_Http) GetGzipTypes() *wrappers.StringValue
- func (x *ConfigRequest_V1_System_Nginx_Http) GetGzipVary() *wrappers.StringValue
- func (x *ConfigRequest_V1_System_Nginx_Http) GetIpv6Supported() *wrappers.BoolValue
- func (x *ConfigRequest_V1_System_Nginx_Http) GetKeepaliveRequests() *wrappers.Int32Value
- func (x *ConfigRequest_V1_System_Nginx_Http) GetKeepaliveTimeout() *wrappers.Int32Value
- func (x *ConfigRequest_V1_System_Nginx_Http) GetLargeClientHeaderBuffersNumber() *wrappers.Int32Value
- func (x *ConfigRequest_V1_System_Nginx_Http) GetLargeClientHeaderBuffersSize() *wrappers.StringValue
- func (x *ConfigRequest_V1_System_Nginx_Http) GetProxyBufferSize() *wrappers.StringValue
- func (x *ConfigRequest_V1_System_Nginx_Http) GetProxyBuffering() *wrappers.StringValue
- func (x *ConfigRequest_V1_System_Nginx_Http) GetProxyBuffers() *wrappers.StringValue
- func (x *ConfigRequest_V1_System_Nginx_Http) GetProxyBusyBuffersSize() *wrappers.StringValue
- func (x *ConfigRequest_V1_System_Nginx_Http) GetSendfile() *wrappers.StringValue
- func (x *ConfigRequest_V1_System_Nginx_Http) GetSslCiphers() *wrappers.StringValue
- func (x *ConfigRequest_V1_System_Nginx_Http) GetSslProtocols() *wrappers.StringValue
- func (x *ConfigRequest_V1_System_Nginx_Http) GetTcpNodelay() *wrappers.StringValue
- func (x *ConfigRequest_V1_System_Nginx_Http) GetTcpNopush() *wrappers.StringValue
- func (*ConfigRequest_V1_System_Nginx_Http) ProtoMessage()
- func (x *ConfigRequest_V1_System_Nginx_Http) ProtoReflect() protoreflect.Message
- func (x *ConfigRequest_V1_System_Nginx_Http) Reset()
- func (x *ConfigRequest_V1_System_Nginx_Http) String() string
- type ConfigRequest_V1_System_Nginx_Mail
- func (*ConfigRequest_V1_System_Nginx_Mail) Descriptor() ([]byte, []int)deprecated
- func (*ConfigRequest_V1_System_Nginx_Mail) ProtoMessage()
- func (x *ConfigRequest_V1_System_Nginx_Mail) ProtoReflect() protoreflect.Message
- func (x *ConfigRequest_V1_System_Nginx_Mail) Reset()
- func (x *ConfigRequest_V1_System_Nginx_Mail) String() string
- type ConfigRequest_V1_System_Nginx_Main
- func (*ConfigRequest_V1_System_Nginx_Main) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigRequest_V1_System_Nginx_Main) GetErrorLog() *wrappers.StringValue
- func (x *ConfigRequest_V1_System_Nginx_Main) GetWorkerProcesses() *wrappers.Int32Value
- func (*ConfigRequest_V1_System_Nginx_Main) ProtoMessage()
- func (x *ConfigRequest_V1_System_Nginx_Main) ProtoReflect() protoreflect.Message
- func (x *ConfigRequest_V1_System_Nginx_Main) Reset()
- func (x *ConfigRequest_V1_System_Nginx_Main) String() string
- type ConfigRequest_V1_System_Service
- func (*ConfigRequest_V1_System_Service) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigRequest_V1_System_Service) GetExternalFqdn() *wrappers.StringValue
- func (x *ConfigRequest_V1_System_Service) GetHost() *wrappers.StringValue
- func (x *ConfigRequest_V1_System_Service) GetHttpPort() *wrappers.Int32Value
- func (x *ConfigRequest_V1_System_Service) GetHttpsPort() *wrappers.Int32Value
- func (x *ConfigRequest_V1_System_Service) GetMaintenanceMode() *wrappers.BoolValue
- func (*ConfigRequest_V1_System_Service) ProtoMessage()
- func (x *ConfigRequest_V1_System_Service) ProtoReflect() protoreflect.Message
- func (x *ConfigRequest_V1_System_Service) Reset()
- func (x *ConfigRequest_V1_System_Service) String() string
- type ConfigRequest_V1_System_StaticConfig
- func (*ConfigRequest_V1_System_StaticConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigRequest_V1_System_StaticConfig) GetProducts() []string
- func (*ConfigRequest_V1_System_StaticConfig) ProtoMessage()
- func (x *ConfigRequest_V1_System_StaticConfig) ProtoReflect() protoreflect.Message
- func (x *ConfigRequest_V1_System_StaticConfig) Reset()
- func (x *ConfigRequest_V1_System_StaticConfig) String() string
Constants ¶
This section is empty.
Variables ¶
var File_config_load_balancer_config_request_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ConfigRequest ¶
type ConfigRequest struct { V1 *ConfigRequest_V1 `protobuf:"bytes,3,opt,name=v1,proto3" json:"v1,omitempty" toml:"v1,omitempty" mapstructure:"v1,omitempty"` // contains filtered or unexported fields }
func DefaultConfigRequest ¶
func DefaultConfigRequest() *ConfigRequest
DefaultConfigRequest returns a new ConfigRequest instance with default values. nolint: gomnd
func NewConfigRequest ¶
func NewConfigRequest() *ConfigRequest
NewConfigRequest returns a new ConfigRequests instance with zero values.
func (*ConfigRequest) BindPort ¶
func (m *ConfigRequest) BindPort(name string, value uint16) error
BindPort sets the port tagged with the given name
func (*ConfigRequest) ConfigureProduct ¶
func (c *ConfigRequest) ConfigureProduct(productConfig *config.ProductConfig)
func (*ConfigRequest) Descriptor
deprecated
func (*ConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigRequest.ProtoReflect.Descriptor instead.
func (*ConfigRequest) GetPort ¶
func (m *ConfigRequest) GetPort(name string) (uint16, error)
GetPort gets the port tagged with the given name. If the value is not set, it returns 0.
func (*ConfigRequest) GetSecret ¶
func (m *ConfigRequest) GetSecret(name string) *wrappers.StringValue
GetSecret gets a secret by name. Returns nil if it is not set
func (*ConfigRequest) GetV1 ¶
func (x *ConfigRequest) GetV1() *ConfigRequest_V1
func (*ConfigRequest) ListPorts ¶
func (m *ConfigRequest) ListPorts() []a2conf.PortInfo
ListPorts lists all the ports exposed by the config
func (*ConfigRequest) ListSecrets ¶
func (m *ConfigRequest) ListSecrets() []a2conf.SecretInfo
ListSecrets lists all the secrets exposed by the config
func (*ConfigRequest) PrepareSystemConfig ¶
func (c *ConfigRequest) PrepareSystemConfig(certificate *config.TLSCredentials) (config.PreparedSystemConfig, error)
PrepareSystemConfig returns a system configuration that can be used to start the service.
func (*ConfigRequest) ProtoMessage ¶
func (*ConfigRequest) ProtoMessage()
func (*ConfigRequest) ProtoReflect ¶
func (x *ConfigRequest) ProtoReflect() protoreflect.Message
func (*ConfigRequest) Reset ¶
func (x *ConfigRequest) Reset()
func (*ConfigRequest) ServiceName ¶
func (m *ConfigRequest) ServiceName() string
ServiceName returns the name of the service this config belongs to
func (*ConfigRequest) SetGlobalConfig ¶
func (c *ConfigRequest) SetGlobalConfig(g *config.GlobalConfig)
SetGlobalConfig takes a pointer to a config.GlobalConfig and applies any global configuration that the service requires.
func (*ConfigRequest) SetSecret ¶
func (m *ConfigRequest) SetSecret(name string, value *wrappers.StringValue) error
SetSecret sets a secret by name. Returns ErrSecretNotFound if the secret does not exist
func (*ConfigRequest) String ¶
func (x *ConfigRequest) String() string
func (*ConfigRequest) Validate ¶
func (c *ConfigRequest) Validate() error
ValidateConfigRequest validates that the config is sufficient to start the Service and returns true. nolint: gomnd
type ConfigRequest_V1 ¶
type ConfigRequest_V1 struct { Sys *ConfigRequest_V1_System `protobuf:"bytes,1,opt,name=sys,proto3" json:"sys,omitempty" toml:"sys,omitempty" mapstructure:"sys,omitempty"` Svc *ConfigRequest_V1_Service `protobuf:"bytes,2,opt,name=svc,proto3" json:"svc,omitempty" toml:"svc,omitempty" mapstructure:"svc,omitempty"` // contains filtered or unexported fields }
func (*ConfigRequest_V1) Descriptor
deprecated
func (*ConfigRequest_V1) Descriptor() ([]byte, []int)
Deprecated: Use ConfigRequest_V1.ProtoReflect.Descriptor instead.
func (*ConfigRequest_V1) GetSvc ¶
func (x *ConfigRequest_V1) GetSvc() *ConfigRequest_V1_Service
func (*ConfigRequest_V1) GetSys ¶
func (x *ConfigRequest_V1) GetSys() *ConfigRequest_V1_System
func (*ConfigRequest_V1) ProtoMessage ¶
func (*ConfigRequest_V1) ProtoMessage()
func (*ConfigRequest_V1) ProtoReflect ¶
func (x *ConfigRequest_V1) ProtoReflect() protoreflect.Message
func (*ConfigRequest_V1) Reset ¶
func (x *ConfigRequest_V1) Reset()
func (*ConfigRequest_V1) String ¶
func (x *ConfigRequest_V1) String() string
type ConfigRequest_V1_Service ¶
type ConfigRequest_V1_Service struct {
// contains filtered or unexported fields
}
func (*ConfigRequest_V1_Service) Descriptor
deprecated
func (*ConfigRequest_V1_Service) Descriptor() ([]byte, []int)
Deprecated: Use ConfigRequest_V1_Service.ProtoReflect.Descriptor instead.
func (*ConfigRequest_V1_Service) ProtoMessage ¶
func (*ConfigRequest_V1_Service) ProtoMessage()
func (*ConfigRequest_V1_Service) ProtoReflect ¶
func (x *ConfigRequest_V1_Service) ProtoReflect() protoreflect.Message
func (*ConfigRequest_V1_Service) Reset ¶
func (x *ConfigRequest_V1_Service) Reset()
func (*ConfigRequest_V1_Service) String ¶
func (x *ConfigRequest_V1_Service) String() string
type ConfigRequest_V1_System ¶
type ConfigRequest_V1_System struct { Mlsa *shared.Mlsa `protobuf:"bytes,1,opt,name=mlsa,proto3" json:"mlsa,omitempty" toml:"mlsa,omitempty" mapstructure:"mlsa,omitempty"` Tls *shared.TLSCredentials `protobuf:"bytes,2,opt,name=tls,proto3" json:"tls,omitempty" toml:"tls,omitempty" mapstructure:"tls,omitempty"` Service *ConfigRequest_V1_System_Service `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty" toml:"service,omitempty" mapstructure:"service,omitempty"` Log *ConfigRequest_V1_System_Logger `protobuf:"bytes,4,opt,name=log,proto3" json:"log,omitempty" toml:"log,omitempty" mapstructure:"log,omitempty"` Ngx *ConfigRequest_V1_System_Nginx `protobuf:"bytes,5,opt,name=ngx,proto3" json:"ngx,omitempty" toml:"ngx,omitempty" mapstructure:"ngx,omitempty"` Proxy *shared.Proxy `protobuf:"bytes,6,opt,name=proxy,proto3" json:"proxy,omitempty" toml:"proxy,omitempty" mapstructure:"proxy,omitempty"` FrontendTls []*shared.FrontendTLSCredential `` /* 162-byte string literal not displayed */ StaticConfig *ConfigRequest_V1_System_StaticConfig `` /* 167-byte string literal not displayed */ // contains filtered or unexported fields }
The load balancer is an infrastructure service so we're going to configure it via hab. Therefore, it's configuration will live in the System struct.
func (*ConfigRequest_V1_System) Descriptor
deprecated
func (*ConfigRequest_V1_System) Descriptor() ([]byte, []int)
Deprecated: Use ConfigRequest_V1_System.ProtoReflect.Descriptor instead.
func (*ConfigRequest_V1_System) GetFrontendTls ¶
func (x *ConfigRequest_V1_System) GetFrontendTls() []*shared.FrontendTLSCredential
func (*ConfigRequest_V1_System) GetLog ¶
func (x *ConfigRequest_V1_System) GetLog() *ConfigRequest_V1_System_Logger
func (*ConfigRequest_V1_System) GetMlsa ¶
func (x *ConfigRequest_V1_System) GetMlsa() *shared.Mlsa
func (*ConfigRequest_V1_System) GetNgx ¶
func (x *ConfigRequest_V1_System) GetNgx() *ConfigRequest_V1_System_Nginx
func (*ConfigRequest_V1_System) GetProxy ¶
func (x *ConfigRequest_V1_System) GetProxy() *shared.Proxy
func (*ConfigRequest_V1_System) GetService ¶
func (x *ConfigRequest_V1_System) GetService() *ConfigRequest_V1_System_Service
func (*ConfigRequest_V1_System) GetStaticConfig ¶
func (x *ConfigRequest_V1_System) GetStaticConfig() *ConfigRequest_V1_System_StaticConfig
func (*ConfigRequest_V1_System) GetTls ¶
func (x *ConfigRequest_V1_System) GetTls() *shared.TLSCredentials
func (*ConfigRequest_V1_System) ProtoMessage ¶
func (*ConfigRequest_V1_System) ProtoMessage()
func (*ConfigRequest_V1_System) ProtoReflect ¶
func (x *ConfigRequest_V1_System) ProtoReflect() protoreflect.Message
func (*ConfigRequest_V1_System) Reset ¶
func (x *ConfigRequest_V1_System) Reset()
func (*ConfigRequest_V1_System) String ¶
func (x *ConfigRequest_V1_System) String() string
type ConfigRequest_V1_System_Logger ¶
type ConfigRequest_V1_System_Logger struct { Level *wrappers.StringValue `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty" toml:"level,omitempty" mapstructure:"level,omitempty"` // contains filtered or unexported fields }
func (*ConfigRequest_V1_System_Logger) Descriptor
deprecated
func (*ConfigRequest_V1_System_Logger) Descriptor() ([]byte, []int)
Deprecated: Use ConfigRequest_V1_System_Logger.ProtoReflect.Descriptor instead.
func (*ConfigRequest_V1_System_Logger) GetLevel ¶
func (x *ConfigRequest_V1_System_Logger) GetLevel() *wrappers.StringValue
func (*ConfigRequest_V1_System_Logger) ProtoMessage ¶
func (*ConfigRequest_V1_System_Logger) ProtoMessage()
func (*ConfigRequest_V1_System_Logger) ProtoReflect ¶
func (x *ConfigRequest_V1_System_Logger) ProtoReflect() protoreflect.Message
func (*ConfigRequest_V1_System_Logger) Reset ¶
func (x *ConfigRequest_V1_System_Logger) Reset()
func (*ConfigRequest_V1_System_Logger) String ¶
func (x *ConfigRequest_V1_System_Logger) String() string
type ConfigRequest_V1_System_Nginx ¶
type ConfigRequest_V1_System_Nginx struct { // We've omitted the 'server', 'location', 'upstream' and other // smaller sub-contexts because they are always contained within // another context and are either not generalizable or can have // a default within a parent context. Main *ConfigRequest_V1_System_Nginx_Main `protobuf:"bytes,1,opt,name=main,proto3" json:"main,omitempty" toml:"main,omitempty" mapstructure:"main,omitempty"` Events *ConfigRequest_V1_System_Nginx_Events `protobuf:"bytes,2,opt,name=events,proto3" json:"events,omitempty" toml:"events,omitempty" mapstructure:"events,omitempty"` Http *ConfigRequest_V1_System_Nginx_Http `protobuf:"bytes,3,opt,name=http,proto3" json:"http,omitempty" toml:"http,omitempty" mapstructure:"http,omitempty"` Mail *ConfigRequest_V1_System_Nginx_Mail `protobuf:"bytes,4,opt,name=mail,proto3" json:"mail,omitempty" toml:"mail,omitempty" mapstructure:"mail,omitempty"` // contains filtered or unexported fields }
func NewNginxConfig ¶
func NewNginxConfig() *ConfigRequest_V1_System_Nginx
NewNginxConfig returns a new ConfigRequest_V1_System_Nginx instance with zero values.
func (*ConfigRequest_V1_System_Nginx) Descriptor
deprecated
func (*ConfigRequest_V1_System_Nginx) Descriptor() ([]byte, []int)
Deprecated: Use ConfigRequest_V1_System_Nginx.ProtoReflect.Descriptor instead.
func (*ConfigRequest_V1_System_Nginx) GetEvents ¶
func (x *ConfigRequest_V1_System_Nginx) GetEvents() *ConfigRequest_V1_System_Nginx_Events
func (*ConfigRequest_V1_System_Nginx) GetHttp ¶
func (x *ConfigRequest_V1_System_Nginx) GetHttp() *ConfigRequest_V1_System_Nginx_Http
func (*ConfigRequest_V1_System_Nginx) GetMail ¶
func (x *ConfigRequest_V1_System_Nginx) GetMail() *ConfigRequest_V1_System_Nginx_Mail
func (*ConfigRequest_V1_System_Nginx) GetMain ¶
func (x *ConfigRequest_V1_System_Nginx) GetMain() *ConfigRequest_V1_System_Nginx_Main
func (*ConfigRequest_V1_System_Nginx) ProtoMessage ¶
func (*ConfigRequest_V1_System_Nginx) ProtoMessage()
func (*ConfigRequest_V1_System_Nginx) ProtoReflect ¶
func (x *ConfigRequest_V1_System_Nginx) ProtoReflect() protoreflect.Message
func (*ConfigRequest_V1_System_Nginx) Reset ¶
func (x *ConfigRequest_V1_System_Nginx) Reset()
func (*ConfigRequest_V1_System_Nginx) String ¶
func (x *ConfigRequest_V1_System_Nginx) String() string
type ConfigRequest_V1_System_Nginx_Events ¶
type ConfigRequest_V1_System_Nginx_Events struct { WorkerConnections *wrappers.Int32Value `` /* 192-byte string literal not displayed */ // use $worker_processor_method; WorkerProcessorMethod *wrappers.StringValue `` /* 216-byte string literal not displayed */ MultiAccept *wrappers.StringValue `` /* 162-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ConfigRequest_V1_System_Nginx_Events) Descriptor
deprecated
func (*ConfigRequest_V1_System_Nginx_Events) Descriptor() ([]byte, []int)
Deprecated: Use ConfigRequest_V1_System_Nginx_Events.ProtoReflect.Descriptor instead.
func (*ConfigRequest_V1_System_Nginx_Events) GetMultiAccept ¶
func (x *ConfigRequest_V1_System_Nginx_Events) GetMultiAccept() *wrappers.StringValue
func (*ConfigRequest_V1_System_Nginx_Events) GetWorkerConnections ¶
func (x *ConfigRequest_V1_System_Nginx_Events) GetWorkerConnections() *wrappers.Int32Value
func (*ConfigRequest_V1_System_Nginx_Events) GetWorkerProcessorMethod ¶
func (x *ConfigRequest_V1_System_Nginx_Events) GetWorkerProcessorMethod() *wrappers.StringValue
func (*ConfigRequest_V1_System_Nginx_Events) ProtoMessage ¶
func (*ConfigRequest_V1_System_Nginx_Events) ProtoMessage()
func (*ConfigRequest_V1_System_Nginx_Events) ProtoReflect ¶
func (x *ConfigRequest_V1_System_Nginx_Events) ProtoReflect() protoreflect.Message
func (*ConfigRequest_V1_System_Nginx_Events) Reset ¶
func (x *ConfigRequest_V1_System_Nginx_Events) Reset()
func (*ConfigRequest_V1_System_Nginx_Events) String ¶
func (x *ConfigRequest_V1_System_Nginx_Events) String() string
type ConfigRequest_V1_System_Nginx_Http ¶
type ConfigRequest_V1_System_Nginx_Http struct { AccessLog *wrappers.StringValue `` /* 152-byte string literal not displayed */ AccessLogBufferSize *wrappers.StringValue `` /* 210-byte string literal not displayed */ AccessLogFlushTime *wrappers.StringValue `` /* 205-byte string literal not displayed */ ClientMaxBodySize *wrappers.StringValue `` /* 201-byte string literal not displayed */ ClientBodyBufferSize *wrappers.StringValue `` /* 216-byte string literal not displayed */ DefaultType *wrappers.StringValue `` /* 162-byte string literal not displayed */ KeepaliveTimeout *wrappers.Int32Value `` /* 187-byte string literal not displayed */ KeepaliveRequests *wrappers.Int32Value `` /* 192-byte string literal not displayed */ Gzip *wrappers.StringValue `protobuf:"bytes,7,opt,name=gzip,proto3" json:"gzip,omitempty" toml:"gzip,omitempty" mapstructure:"gzip,omitempty"` GzipCompLevel *wrappers.StringValue `` /* 176-byte string literal not displayed */ GzipDisable *wrappers.StringValue `` /* 162-byte string literal not displayed */ GzipHttpVersion *wrappers.StringValue `` /* 187-byte string literal not displayed */ GzipMinLength *wrappers.Int32Value `` /* 177-byte string literal not displayed */ GzipProxied *wrappers.StringValue `` /* 163-byte string literal not displayed */ GzipTypes *wrappers.StringValue `` /* 153-byte string literal not displayed */ GzipVary *wrappers.StringValue `` /* 148-byte string literal not displayed */ LargeClientHeaderBuffersSize *wrappers.StringValue `` /* 260-byte string literal not displayed */ LargeClientHeaderBuffersNumber *wrappers.Int32Value `` /* 270-byte string literal not displayed */ Sendfile *wrappers.StringValue `` /* 130-byte string literal not displayed */ SslCiphers *wrappers.StringValue `` /* 158-byte string literal not displayed */ SslProtocols *wrappers.StringValue `` /* 168-byte string literal not displayed */ TcpNodelay *wrappers.StringValue `` /* 158-byte string literal not displayed */ TcpNopush *wrappers.StringValue `` /* 153-byte string literal not displayed */ ProxyBuffering *wrappers.StringValue `` /* 178-byte string literal not displayed */ ProxyBufferSize *wrappers.StringValue `` /* 187-byte string literal not displayed */ ProxyBuffers *wrappers.StringValue `` /* 168-byte string literal not displayed */ ProxyBusyBuffersSize *wrappers.StringValue `` /* 216-byte string literal not displayed */ // Auto-calculated Ipv6Supported *wrappers.BoolValue `` /* 173-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ConfigRequest_V1_System_Nginx_Http) Descriptor
deprecated
func (*ConfigRequest_V1_System_Nginx_Http) Descriptor() ([]byte, []int)
Deprecated: Use ConfigRequest_V1_System_Nginx_Http.ProtoReflect.Descriptor instead.
func (*ConfigRequest_V1_System_Nginx_Http) GetAccessLog ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetAccessLog() *wrappers.StringValue
func (*ConfigRequest_V1_System_Nginx_Http) GetAccessLogBufferSize ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetAccessLogBufferSize() *wrappers.StringValue
func (*ConfigRequest_V1_System_Nginx_Http) GetAccessLogFlushTime ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetAccessLogFlushTime() *wrappers.StringValue
func (*ConfigRequest_V1_System_Nginx_Http) GetClientBodyBufferSize ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetClientBodyBufferSize() *wrappers.StringValue
func (*ConfigRequest_V1_System_Nginx_Http) GetClientMaxBodySize ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetClientMaxBodySize() *wrappers.StringValue
func (*ConfigRequest_V1_System_Nginx_Http) GetDefaultType ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetDefaultType() *wrappers.StringValue
func (*ConfigRequest_V1_System_Nginx_Http) GetGzip ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetGzip() *wrappers.StringValue
func (*ConfigRequest_V1_System_Nginx_Http) GetGzipCompLevel ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetGzipCompLevel() *wrappers.StringValue
func (*ConfigRequest_V1_System_Nginx_Http) GetGzipDisable ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetGzipDisable() *wrappers.StringValue
func (*ConfigRequest_V1_System_Nginx_Http) GetGzipHttpVersion ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetGzipHttpVersion() *wrappers.StringValue
func (*ConfigRequest_V1_System_Nginx_Http) GetGzipMinLength ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetGzipMinLength() *wrappers.Int32Value
func (*ConfigRequest_V1_System_Nginx_Http) GetGzipProxied ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetGzipProxied() *wrappers.StringValue
func (*ConfigRequest_V1_System_Nginx_Http) GetGzipTypes ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetGzipTypes() *wrappers.StringValue
func (*ConfigRequest_V1_System_Nginx_Http) GetGzipVary ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetGzipVary() *wrappers.StringValue
func (*ConfigRequest_V1_System_Nginx_Http) GetIpv6Supported ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetIpv6Supported() *wrappers.BoolValue
func (*ConfigRequest_V1_System_Nginx_Http) GetKeepaliveRequests ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetKeepaliveRequests() *wrappers.Int32Value
func (*ConfigRequest_V1_System_Nginx_Http) GetKeepaliveTimeout ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetKeepaliveTimeout() *wrappers.Int32Value
func (*ConfigRequest_V1_System_Nginx_Http) GetLargeClientHeaderBuffersNumber ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetLargeClientHeaderBuffersNumber() *wrappers.Int32Value
func (*ConfigRequest_V1_System_Nginx_Http) GetLargeClientHeaderBuffersSize ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetLargeClientHeaderBuffersSize() *wrappers.StringValue
func (*ConfigRequest_V1_System_Nginx_Http) GetProxyBufferSize ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetProxyBufferSize() *wrappers.StringValue
func (*ConfigRequest_V1_System_Nginx_Http) GetProxyBuffering ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetProxyBuffering() *wrappers.StringValue
func (*ConfigRequest_V1_System_Nginx_Http) GetProxyBuffers ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetProxyBuffers() *wrappers.StringValue
func (*ConfigRequest_V1_System_Nginx_Http) GetProxyBusyBuffersSize ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetProxyBusyBuffersSize() *wrappers.StringValue
func (*ConfigRequest_V1_System_Nginx_Http) GetSendfile ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetSendfile() *wrappers.StringValue
func (*ConfigRequest_V1_System_Nginx_Http) GetSslCiphers ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetSslCiphers() *wrappers.StringValue
func (*ConfigRequest_V1_System_Nginx_Http) GetSslProtocols ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetSslProtocols() *wrappers.StringValue
func (*ConfigRequest_V1_System_Nginx_Http) GetTcpNodelay ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetTcpNodelay() *wrappers.StringValue
func (*ConfigRequest_V1_System_Nginx_Http) GetTcpNopush ¶
func (x *ConfigRequest_V1_System_Nginx_Http) GetTcpNopush() *wrappers.StringValue
func (*ConfigRequest_V1_System_Nginx_Http) ProtoMessage ¶
func (*ConfigRequest_V1_System_Nginx_Http) ProtoMessage()
func (*ConfigRequest_V1_System_Nginx_Http) ProtoReflect ¶
func (x *ConfigRequest_V1_System_Nginx_Http) ProtoReflect() protoreflect.Message
func (*ConfigRequest_V1_System_Nginx_Http) Reset ¶
func (x *ConfigRequest_V1_System_Nginx_Http) Reset()
func (*ConfigRequest_V1_System_Nginx_Http) String ¶
func (x *ConfigRequest_V1_System_Nginx_Http) String() string
type ConfigRequest_V1_System_Nginx_Mail ¶
type ConfigRequest_V1_System_Nginx_Mail struct {
// contains filtered or unexported fields
}
func (*ConfigRequest_V1_System_Nginx_Mail) Descriptor
deprecated
func (*ConfigRequest_V1_System_Nginx_Mail) Descriptor() ([]byte, []int)
Deprecated: Use ConfigRequest_V1_System_Nginx_Mail.ProtoReflect.Descriptor instead.
func (*ConfigRequest_V1_System_Nginx_Mail) ProtoMessage ¶
func (*ConfigRequest_V1_System_Nginx_Mail) ProtoMessage()
func (*ConfigRequest_V1_System_Nginx_Mail) ProtoReflect ¶
func (x *ConfigRequest_V1_System_Nginx_Mail) ProtoReflect() protoreflect.Message
func (*ConfigRequest_V1_System_Nginx_Mail) Reset ¶
func (x *ConfigRequest_V1_System_Nginx_Mail) Reset()
func (*ConfigRequest_V1_System_Nginx_Mail) String ¶
func (x *ConfigRequest_V1_System_Nginx_Mail) String() string
type ConfigRequest_V1_System_Nginx_Main ¶
type ConfigRequest_V1_System_Nginx_Main struct { WorkerProcesses *wrappers.Int32Value `` /* 182-byte string literal not displayed */ ErrorLog *wrappers.StringValue `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ConfigRequest_V1_System_Nginx_Main) Descriptor
deprecated
func (*ConfigRequest_V1_System_Nginx_Main) Descriptor() ([]byte, []int)
Deprecated: Use ConfigRequest_V1_System_Nginx_Main.ProtoReflect.Descriptor instead.
func (*ConfigRequest_V1_System_Nginx_Main) GetErrorLog ¶
func (x *ConfigRequest_V1_System_Nginx_Main) GetErrorLog() *wrappers.StringValue
func (*ConfigRequest_V1_System_Nginx_Main) GetWorkerProcesses ¶
func (x *ConfigRequest_V1_System_Nginx_Main) GetWorkerProcesses() *wrappers.Int32Value
func (*ConfigRequest_V1_System_Nginx_Main) ProtoMessage ¶
func (*ConfigRequest_V1_System_Nginx_Main) ProtoMessage()
func (*ConfigRequest_V1_System_Nginx_Main) ProtoReflect ¶
func (x *ConfigRequest_V1_System_Nginx_Main) ProtoReflect() protoreflect.Message
func (*ConfigRequest_V1_System_Nginx_Main) Reset ¶
func (x *ConfigRequest_V1_System_Nginx_Main) Reset()
func (*ConfigRequest_V1_System_Nginx_Main) String ¶
func (x *ConfigRequest_V1_System_Nginx_Main) String() string
type ConfigRequest_V1_System_Service ¶
type ConfigRequest_V1_System_Service struct { Host *wrappers.StringValue `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty" toml:"host,omitempty" mapstructure:"host,omitempty"` HttpsPort *wrappers.Int32Value `` /* 152-byte string literal not displayed */ HttpPort *wrappers.Int32Value `` /* 147-byte string literal not displayed */ ExternalFqdn *wrappers.StringValue `` /* 167-byte string literal not displayed */ MaintenanceMode *wrappers.BoolValue `` /* 182-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ConfigRequest_V1_System_Service) Descriptor
deprecated
func (*ConfigRequest_V1_System_Service) Descriptor() ([]byte, []int)
Deprecated: Use ConfigRequest_V1_System_Service.ProtoReflect.Descriptor instead.
func (*ConfigRequest_V1_System_Service) GetExternalFqdn ¶
func (x *ConfigRequest_V1_System_Service) GetExternalFqdn() *wrappers.StringValue
func (*ConfigRequest_V1_System_Service) GetHost ¶
func (x *ConfigRequest_V1_System_Service) GetHost() *wrappers.StringValue
func (*ConfigRequest_V1_System_Service) GetHttpPort ¶
func (x *ConfigRequest_V1_System_Service) GetHttpPort() *wrappers.Int32Value
func (*ConfigRequest_V1_System_Service) GetHttpsPort ¶
func (x *ConfigRequest_V1_System_Service) GetHttpsPort() *wrappers.Int32Value
func (*ConfigRequest_V1_System_Service) GetMaintenanceMode ¶
func (x *ConfigRequest_V1_System_Service) GetMaintenanceMode() *wrappers.BoolValue
func (*ConfigRequest_V1_System_Service) ProtoMessage ¶
func (*ConfigRequest_V1_System_Service) ProtoMessage()
func (*ConfigRequest_V1_System_Service) ProtoReflect ¶
func (x *ConfigRequest_V1_System_Service) ProtoReflect() protoreflect.Message
func (*ConfigRequest_V1_System_Service) Reset ¶
func (x *ConfigRequest_V1_System_Service) Reset()
func (*ConfigRequest_V1_System_Service) String ¶
func (x *ConfigRequest_V1_System_Service) String() string
type ConfigRequest_V1_System_StaticConfig ¶
type ConfigRequest_V1_System_StaticConfig struct { Products []string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ConfigRequest_V1_System_StaticConfig) Descriptor
deprecated
func (*ConfigRequest_V1_System_StaticConfig) Descriptor() ([]byte, []int)
Deprecated: Use ConfigRequest_V1_System_StaticConfig.ProtoReflect.Descriptor instead.
func (*ConfigRequest_V1_System_StaticConfig) GetProducts ¶
func (x *ConfigRequest_V1_System_StaticConfig) GetProducts() []string
func (*ConfigRequest_V1_System_StaticConfig) ProtoMessage ¶
func (*ConfigRequest_V1_System_StaticConfig) ProtoMessage()
func (*ConfigRequest_V1_System_StaticConfig) ProtoReflect ¶
func (x *ConfigRequest_V1_System_StaticConfig) ProtoReflect() protoreflect.Message
func (*ConfigRequest_V1_System_StaticConfig) Reset ¶
func (x *ConfigRequest_V1_System_StaticConfig) Reset()
func (*ConfigRequest_V1_System_StaticConfig) String ¶
func (x *ConfigRequest_V1_System_StaticConfig) String() string