load_balancer

package
v0.0.0-...-0490640 Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte            `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32             `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func DefaultConfigRequest

func DefaultConfigRequest() *ConfigRequest

DefaultConfigRequest returns a new ConfigRequest instance with default values.

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) Descriptor

func (*ConfigRequest) Descriptor() ([]byte, []int)

func (*ConfigRequest) GetPort

func (m *ConfigRequest) GetPort(name string, value uint16) (uint16, error)

GetPort gets the port tagged with the given name. If the value is not set, it returns 0.

func (*ConfigRequest) GetV1

func (m *ConfigRequest) GetV1() *ConfigRequest_V1

func (*ConfigRequest) ListPorts

func (m *ConfigRequest) ListPorts() []a2conf.PortInfo

ListPorts lists all the ports 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) Reset

func (m *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) String

func (m *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.

func (*ConfigRequest) XXX_DiscardUnknown

func (m *ConfigRequest) XXX_DiscardUnknown()

func (*ConfigRequest) XXX_Marshal

func (m *ConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigRequest) XXX_Merge

func (dst *ConfigRequest) XXX_Merge(src proto.Message)

func (*ConfigRequest) XXX_Size

func (m *ConfigRequest) XXX_Size() int

func (*ConfigRequest) XXX_Unmarshal

func (m *ConfigRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                    `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                     `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ConfigRequest_V1) Descriptor

func (*ConfigRequest_V1) Descriptor() ([]byte, []int)

func (*ConfigRequest_V1) GetSvc

func (*ConfigRequest_V1) GetSys

func (*ConfigRequest_V1) ProtoMessage

func (*ConfigRequest_V1) ProtoMessage()

func (*ConfigRequest_V1) Reset

func (m *ConfigRequest_V1) Reset()

func (*ConfigRequest_V1) String

func (m *ConfigRequest_V1) String() string

func (*ConfigRequest_V1) XXX_DiscardUnknown

func (m *ConfigRequest_V1) XXX_DiscardUnknown()

func (*ConfigRequest_V1) XXX_Marshal

func (m *ConfigRequest_V1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigRequest_V1) XXX_Merge

func (dst *ConfigRequest_V1) XXX_Merge(src proto.Message)

func (*ConfigRequest_V1) XXX_Size

func (m *ConfigRequest_V1) XXX_Size() int

func (*ConfigRequest_V1) XXX_Unmarshal

func (m *ConfigRequest_V1) XXX_Unmarshal(b []byte) error

type ConfigRequest_V1_Service

type ConfigRequest_V1_Service struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ConfigRequest_V1_Service) Descriptor

func (*ConfigRequest_V1_Service) Descriptor() ([]byte, []int)

func (*ConfigRequest_V1_Service) ProtoMessage

func (*ConfigRequest_V1_Service) ProtoMessage()

func (*ConfigRequest_V1_Service) Reset

func (m *ConfigRequest_V1_Service) Reset()

func (*ConfigRequest_V1_Service) String

func (m *ConfigRequest_V1_Service) String() string

func (*ConfigRequest_V1_Service) XXX_DiscardUnknown

func (m *ConfigRequest_V1_Service) XXX_DiscardUnknown()

func (*ConfigRequest_V1_Service) XXX_Marshal

func (m *ConfigRequest_V1_Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigRequest_V1_Service) XXX_Merge

func (dst *ConfigRequest_V1_Service) XXX_Merge(src proto.Message)

func (*ConfigRequest_V1_Service) XXX_Size

func (m *ConfigRequest_V1_Service) XXX_Size() int

func (*ConfigRequest_V1_Service) XXX_Unmarshal

func (m *ConfigRequest_V1_Service) XXX_Unmarshal(b []byte) error

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 */
	XXX_NoUnkeyedLiteral struct{}                         `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                           `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                            `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

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

func (*ConfigRequest_V1_System) Descriptor() ([]byte, []int)

func (*ConfigRequest_V1_System) GetFrontendTls

func (m *ConfigRequest_V1_System) GetFrontendTls() []*shared.FrontendTLSCredential

func (*ConfigRequest_V1_System) GetLog

func (*ConfigRequest_V1_System) GetMlsa

func (m *ConfigRequest_V1_System) GetMlsa() *shared.Mlsa

func (*ConfigRequest_V1_System) GetNgx

func (*ConfigRequest_V1_System) GetProxy

func (m *ConfigRequest_V1_System) GetProxy() *shared.Proxy

func (*ConfigRequest_V1_System) GetService

func (*ConfigRequest_V1_System) GetTls

func (*ConfigRequest_V1_System) ProtoMessage

func (*ConfigRequest_V1_System) ProtoMessage()

func (*ConfigRequest_V1_System) Reset

func (m *ConfigRequest_V1_System) Reset()

func (*ConfigRequest_V1_System) String

func (m *ConfigRequest_V1_System) String() string

func (*ConfigRequest_V1_System) XXX_DiscardUnknown

func (m *ConfigRequest_V1_System) XXX_DiscardUnknown()

func (*ConfigRequest_V1_System) XXX_Marshal

func (m *ConfigRequest_V1_System) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigRequest_V1_System) XXX_Merge

func (dst *ConfigRequest_V1_System) XXX_Merge(src proto.Message)

func (*ConfigRequest_V1_System) XXX_Size

func (m *ConfigRequest_V1_System) XXX_Size() int

func (*ConfigRequest_V1_System) XXX_Unmarshal

func (m *ConfigRequest_V1_System) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ConfigRequest_V1_System_Logger) Descriptor

func (*ConfigRequest_V1_System_Logger) Descriptor() ([]byte, []int)

func (*ConfigRequest_V1_System_Logger) GetLevel

func (*ConfigRequest_V1_System_Logger) ProtoMessage

func (*ConfigRequest_V1_System_Logger) ProtoMessage()

func (*ConfigRequest_V1_System_Logger) Reset

func (m *ConfigRequest_V1_System_Logger) Reset()

func (*ConfigRequest_V1_System_Logger) String

func (*ConfigRequest_V1_System_Logger) XXX_DiscardUnknown

func (m *ConfigRequest_V1_System_Logger) XXX_DiscardUnknown()

func (*ConfigRequest_V1_System_Logger) XXX_Marshal

func (m *ConfigRequest_V1_System_Logger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigRequest_V1_System_Logger) XXX_Merge

func (dst *ConfigRequest_V1_System_Logger) XXX_Merge(src proto.Message)

func (*ConfigRequest_V1_System_Logger) XXX_Size

func (m *ConfigRequest_V1_System_Logger) XXX_Size() int

func (*ConfigRequest_V1_System_Logger) XXX_Unmarshal

func (m *ConfigRequest_V1_System_Logger) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}                              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

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

func (*ConfigRequest_V1_System_Nginx) Descriptor() ([]byte, []int)

func (*ConfigRequest_V1_System_Nginx) GetEvents

func (*ConfigRequest_V1_System_Nginx) GetHttp

func (*ConfigRequest_V1_System_Nginx) GetMail

func (*ConfigRequest_V1_System_Nginx) GetMain

func (*ConfigRequest_V1_System_Nginx) ProtoMessage

func (*ConfigRequest_V1_System_Nginx) ProtoMessage()

func (*ConfigRequest_V1_System_Nginx) Reset

func (m *ConfigRequest_V1_System_Nginx) Reset()

func (*ConfigRequest_V1_System_Nginx) String

func (*ConfigRequest_V1_System_Nginx) XXX_DiscardUnknown

func (m *ConfigRequest_V1_System_Nginx) XXX_DiscardUnknown()

func (*ConfigRequest_V1_System_Nginx) XXX_Marshal

func (m *ConfigRequest_V1_System_Nginx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigRequest_V1_System_Nginx) XXX_Merge

func (dst *ConfigRequest_V1_System_Nginx) XXX_Merge(src proto.Message)

func (*ConfigRequest_V1_System_Nginx) XXX_Size

func (m *ConfigRequest_V1_System_Nginx) XXX_Size() int

func (*ConfigRequest_V1_System_Nginx) XXX_Unmarshal

func (m *ConfigRequest_V1_System_Nginx) XXX_Unmarshal(b []byte) error

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 */
	XXX_NoUnkeyedLiteral  struct{}              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized      []byte                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache         int32                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ConfigRequest_V1_System_Nginx_Events) Descriptor

func (*ConfigRequest_V1_System_Nginx_Events) Descriptor() ([]byte, []int)

func (*ConfigRequest_V1_System_Nginx_Events) GetMultiAccept

func (*ConfigRequest_V1_System_Nginx_Events) GetWorkerConnections

func (m *ConfigRequest_V1_System_Nginx_Events) GetWorkerConnections() *wrappers.Int32Value

func (*ConfigRequest_V1_System_Nginx_Events) GetWorkerProcessorMethod

func (m *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) Reset

func (*ConfigRequest_V1_System_Nginx_Events) String

func (*ConfigRequest_V1_System_Nginx_Events) XXX_DiscardUnknown

func (m *ConfigRequest_V1_System_Nginx_Events) XXX_DiscardUnknown()

func (*ConfigRequest_V1_System_Nginx_Events) XXX_Marshal

func (m *ConfigRequest_V1_System_Nginx_Events) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigRequest_V1_System_Nginx_Events) XXX_Merge

func (*ConfigRequest_V1_System_Nginx_Events) XXX_Size

func (*ConfigRequest_V1_System_Nginx_Events) XXX_Unmarshal

func (m *ConfigRequest_V1_System_Nginx_Events) XXX_Unmarshal(b []byte) error

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 */
	// Auto-calculated
	Ipv6Supported        *wrappers.BoolValue `` /* 173-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}            `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32               `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ConfigRequest_V1_System_Nginx_Http) Descriptor

func (*ConfigRequest_V1_System_Nginx_Http) Descriptor() ([]byte, []int)

func (*ConfigRequest_V1_System_Nginx_Http) GetAccessLog

func (*ConfigRequest_V1_System_Nginx_Http) GetAccessLogBufferSize

func (m *ConfigRequest_V1_System_Nginx_Http) GetAccessLogBufferSize() *wrappers.StringValue

func (*ConfigRequest_V1_System_Nginx_Http) GetAccessLogFlushTime

func (m *ConfigRequest_V1_System_Nginx_Http) GetAccessLogFlushTime() *wrappers.StringValue

func (*ConfigRequest_V1_System_Nginx_Http) GetClientBodyBufferSize

func (m *ConfigRequest_V1_System_Nginx_Http) GetClientBodyBufferSize() *wrappers.StringValue

func (*ConfigRequest_V1_System_Nginx_Http) GetClientMaxBodySize

func (m *ConfigRequest_V1_System_Nginx_Http) GetClientMaxBodySize() *wrappers.StringValue

func (*ConfigRequest_V1_System_Nginx_Http) GetDefaultType

func (*ConfigRequest_V1_System_Nginx_Http) GetGzip

func (*ConfigRequest_V1_System_Nginx_Http) GetGzipCompLevel

func (*ConfigRequest_V1_System_Nginx_Http) GetGzipDisable

func (*ConfigRequest_V1_System_Nginx_Http) GetGzipHttpVersion

func (m *ConfigRequest_V1_System_Nginx_Http) GetGzipHttpVersion() *wrappers.StringValue

func (*ConfigRequest_V1_System_Nginx_Http) GetGzipMinLength

func (*ConfigRequest_V1_System_Nginx_Http) GetGzipProxied

func (*ConfigRequest_V1_System_Nginx_Http) GetGzipTypes

func (*ConfigRequest_V1_System_Nginx_Http) GetGzipVary

func (*ConfigRequest_V1_System_Nginx_Http) GetIpv6Supported

func (m *ConfigRequest_V1_System_Nginx_Http) GetIpv6Supported() *wrappers.BoolValue

func (*ConfigRequest_V1_System_Nginx_Http) GetKeepaliveRequests

func (m *ConfigRequest_V1_System_Nginx_Http) GetKeepaliveRequests() *wrappers.Int32Value

func (*ConfigRequest_V1_System_Nginx_Http) GetKeepaliveTimeout

func (m *ConfigRequest_V1_System_Nginx_Http) GetKeepaliveTimeout() *wrappers.Int32Value

func (*ConfigRequest_V1_System_Nginx_Http) GetLargeClientHeaderBuffersNumber

func (m *ConfigRequest_V1_System_Nginx_Http) GetLargeClientHeaderBuffersNumber() *wrappers.Int32Value

func (*ConfigRequest_V1_System_Nginx_Http) GetLargeClientHeaderBuffersSize

func (m *ConfigRequest_V1_System_Nginx_Http) GetLargeClientHeaderBuffersSize() *wrappers.StringValue

func (*ConfigRequest_V1_System_Nginx_Http) GetSendfile

func (*ConfigRequest_V1_System_Nginx_Http) GetSslCiphers

func (*ConfigRequest_V1_System_Nginx_Http) GetSslProtocols

func (*ConfigRequest_V1_System_Nginx_Http) GetTcpNodelay

func (*ConfigRequest_V1_System_Nginx_Http) GetTcpNopush

func (*ConfigRequest_V1_System_Nginx_Http) ProtoMessage

func (*ConfigRequest_V1_System_Nginx_Http) ProtoMessage()

func (*ConfigRequest_V1_System_Nginx_Http) Reset

func (*ConfigRequest_V1_System_Nginx_Http) String

func (*ConfigRequest_V1_System_Nginx_Http) XXX_DiscardUnknown

func (m *ConfigRequest_V1_System_Nginx_Http) XXX_DiscardUnknown()

func (*ConfigRequest_V1_System_Nginx_Http) XXX_Marshal

func (m *ConfigRequest_V1_System_Nginx_Http) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigRequest_V1_System_Nginx_Http) XXX_Merge

func (dst *ConfigRequest_V1_System_Nginx_Http) XXX_Merge(src proto.Message)

func (*ConfigRequest_V1_System_Nginx_Http) XXX_Size

func (*ConfigRequest_V1_System_Nginx_Http) XXX_Unmarshal

func (m *ConfigRequest_V1_System_Nginx_Http) XXX_Unmarshal(b []byte) error

type ConfigRequest_V1_System_Nginx_Mail

type ConfigRequest_V1_System_Nginx_Mail struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ConfigRequest_V1_System_Nginx_Mail) Descriptor

func (*ConfigRequest_V1_System_Nginx_Mail) Descriptor() ([]byte, []int)

func (*ConfigRequest_V1_System_Nginx_Mail) ProtoMessage

func (*ConfigRequest_V1_System_Nginx_Mail) ProtoMessage()

func (*ConfigRequest_V1_System_Nginx_Mail) Reset

func (*ConfigRequest_V1_System_Nginx_Mail) String

func (*ConfigRequest_V1_System_Nginx_Mail) XXX_DiscardUnknown

func (m *ConfigRequest_V1_System_Nginx_Mail) XXX_DiscardUnknown()

func (*ConfigRequest_V1_System_Nginx_Mail) XXX_Marshal

func (m *ConfigRequest_V1_System_Nginx_Mail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigRequest_V1_System_Nginx_Mail) XXX_Merge

func (dst *ConfigRequest_V1_System_Nginx_Mail) XXX_Merge(src proto.Message)

func (*ConfigRequest_V1_System_Nginx_Mail) XXX_Size

func (*ConfigRequest_V1_System_Nginx_Mail) XXX_Unmarshal

func (m *ConfigRequest_V1_System_Nginx_Mail) XXX_Unmarshal(b []byte) error

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 */
	XXX_NoUnkeyedLiteral struct{}              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ConfigRequest_V1_System_Nginx_Main) Descriptor

func (*ConfigRequest_V1_System_Nginx_Main) Descriptor() ([]byte, []int)

func (*ConfigRequest_V1_System_Nginx_Main) GetErrorLog

func (*ConfigRequest_V1_System_Nginx_Main) GetWorkerProcesses

func (m *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) Reset

func (*ConfigRequest_V1_System_Nginx_Main) String

func (*ConfigRequest_V1_System_Nginx_Main) XXX_DiscardUnknown

func (m *ConfigRequest_V1_System_Nginx_Main) XXX_DiscardUnknown()

func (*ConfigRequest_V1_System_Nginx_Main) XXX_Marshal

func (m *ConfigRequest_V1_System_Nginx_Main) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigRequest_V1_System_Nginx_Main) XXX_Merge

func (dst *ConfigRequest_V1_System_Nginx_Main) XXX_Merge(src proto.Message)

func (*ConfigRequest_V1_System_Nginx_Main) XXX_Size

func (*ConfigRequest_V1_System_Nginx_Main) XXX_Unmarshal

func (m *ConfigRequest_V1_System_Nginx_Main) XXX_Unmarshal(b []byte) error

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 */
	XXX_NoUnkeyedLiteral struct{}              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ConfigRequest_V1_System_Service) Descriptor

func (*ConfigRequest_V1_System_Service) Descriptor() ([]byte, []int)

func (*ConfigRequest_V1_System_Service) GetExternalFqdn

func (*ConfigRequest_V1_System_Service) GetHost

func (*ConfigRequest_V1_System_Service) GetHttpPort

func (*ConfigRequest_V1_System_Service) GetHttpsPort

func (*ConfigRequest_V1_System_Service) GetMaintenanceMode

func (m *ConfigRequest_V1_System_Service) GetMaintenanceMode() *wrappers.BoolValue

func (*ConfigRequest_V1_System_Service) ProtoMessage

func (*ConfigRequest_V1_System_Service) ProtoMessage()

func (*ConfigRequest_V1_System_Service) Reset

func (*ConfigRequest_V1_System_Service) String

func (*ConfigRequest_V1_System_Service) XXX_DiscardUnknown

func (m *ConfigRequest_V1_System_Service) XXX_DiscardUnknown()

func (*ConfigRequest_V1_System_Service) XXX_Marshal

func (m *ConfigRequest_V1_System_Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigRequest_V1_System_Service) XXX_Merge

func (dst *ConfigRequest_V1_System_Service) XXX_Merge(src proto.Message)

func (*ConfigRequest_V1_System_Service) XXX_Size

func (m *ConfigRequest_V1_System_Service) XXX_Size() int

func (*ConfigRequest_V1_System_Service) XXX_Unmarshal

func (m *ConfigRequest_V1_System_Service) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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