erchef

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: 8 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,1,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 instance of ConfigRequest with default values.

func NewConfigRequest

func NewConfigRequest() *ConfigRequest

NewConfigRequest returns a new instance of ConfigRequest 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(creds *ac.TLSCredentials) (ac.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 *ac.GlobalConfig)

func (*ConfigRequest) String

func (m *ConfigRequest) String() string

func (*ConfigRequest) Validate

func (c *ConfigRequest) Validate() error

Validate validates that the config is sufficient to start the Service. If validation succeeds it will return nil, if it fails it will return a new instance of config.InvalidConfigError that has the missing keys and invalid fields populated.

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"`
	Log                  *ConfigRequest_V1_System_Log           `protobuf:"bytes,2,opt,name=log,proto3" json:"log,omitempty" toml:"log,omitempty" mapstructure:"log,omitempty"`
	Keygen               *ConfigRequest_V1_System_Keygen        `protobuf:"bytes,3,opt,name=keygen,proto3" json:"keygen,omitempty" toml:"keygen,omitempty" mapstructure:"keygen,omitempty"`
	Api                  *ConfigRequest_V1_System_ChefApi       `protobuf:"bytes,4,opt,name=api,proto3" json:"api,omitempty" toml:"api,omitempty" mapstructure:"api,omitempty"`
	Index                *ConfigRequest_V1_System_Indexing      `protobuf:"bytes,5,opt,name=index,proto3" json:"index,omitempty" toml:"index,omitempty" mapstructure:"index,omitempty"`
	Network              *ConfigRequest_V1_System_Network       `protobuf:"bytes,6,opt,name=network,proto3" json:"network,omitempty" toml:"network,omitempty" mapstructure:"network,omitempty"`
	Sql                  *ConfigRequest_V1_System_Sql           `protobuf:"bytes,7,opt,name=sql,proto3" json:"sql,omitempty" toml:"sql,omitempty" mapstructure:"sql,omitempty"`
	Authz                *ConfigRequest_V1_System_Authz         `protobuf:"bytes,8,opt,name=authz,proto3" json:"authz,omitempty" toml:"authz,omitempty" mapstructure:"authz,omitempty"`
	DataCollector        *ConfigRequest_V1_System_DataCollector `` /* 172-byte string literal not displayed */
	Depsolver            *ConfigRequest_V1_System_Depsolver     `` /* 134-byte string literal not displayed */
	Tls                  *shared.TLSCredentials                 `protobuf:"bytes,11,opt,name=tls,proto3" json:"tls,omitempty" toml:"tls,omitempty" mapstructure:"tls,omitempty"`
	Memory               *ConfigRequest_V1_System_Memory        `protobuf:"bytes,12,opt,name=memory,proto3" json:"memory,omitempty" toml:"memory,omitempty" mapstructure:"memory,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) Descriptor

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

func (*ConfigRequest_V1_System) GetApi

func (*ConfigRequest_V1_System) GetAuthz

func (*ConfigRequest_V1_System) GetDataCollector

func (*ConfigRequest_V1_System) GetDepsolver

func (*ConfigRequest_V1_System) GetIndex

func (*ConfigRequest_V1_System) GetKeygen

func (*ConfigRequest_V1_System) GetLog

func (*ConfigRequest_V1_System) GetMemory

func (*ConfigRequest_V1_System) GetMlsa

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

func (*ConfigRequest_V1_System) GetNetwork

func (*ConfigRequest_V1_System) GetSql

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_Authz

type ConfigRequest_V1_System_Authz struct {
	Fanout               *wrappers.Int32Value `protobuf:"bytes,1,opt,name=fanout,proto3" json:"fanout,omitempty" toml:"fanout,omitempty" mapstructure:"fanout,omitempty"`
	Timeout              *wrappers.Int32Value `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty" toml:"timeout,omitempty" mapstructure:"timeout,omitempty"`
	PoolInitSize         *wrappers.Int32Value `` /* 171-byte string literal not displayed */
	PoolMaxSize          *wrappers.Int32Value `` /* 166-byte string literal not displayed */
	PoolQueueMax         *wrappers.Int32Value `` /* 171-byte string literal not displayed */
	PoolQueueTimeout     *wrappers.Int32Value `` /* 191-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_Authz) Descriptor

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

func (*ConfigRequest_V1_System_Authz) GetFanout

func (*ConfigRequest_V1_System_Authz) GetPoolInitSize

func (m *ConfigRequest_V1_System_Authz) GetPoolInitSize() *wrappers.Int32Value

func (*ConfigRequest_V1_System_Authz) GetPoolMaxSize

func (m *ConfigRequest_V1_System_Authz) GetPoolMaxSize() *wrappers.Int32Value

func (*ConfigRequest_V1_System_Authz) GetPoolQueueMax

func (m *ConfigRequest_V1_System_Authz) GetPoolQueueMax() *wrappers.Int32Value

func (*ConfigRequest_V1_System_Authz) GetPoolQueueTimeout

func (m *ConfigRequest_V1_System_Authz) GetPoolQueueTimeout() *wrappers.Int32Value

func (*ConfigRequest_V1_System_Authz) GetTimeout

func (*ConfigRequest_V1_System_Authz) ProtoMessage

func (*ConfigRequest_V1_System_Authz) ProtoMessage()

func (*ConfigRequest_V1_System_Authz) Reset

func (m *ConfigRequest_V1_System_Authz) Reset()

func (*ConfigRequest_V1_System_Authz) String

func (*ConfigRequest_V1_System_Authz) XXX_DiscardUnknown

func (m *ConfigRequest_V1_System_Authz) XXX_DiscardUnknown()

func (*ConfigRequest_V1_System_Authz) XXX_Marshal

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

func (*ConfigRequest_V1_System_Authz) XXX_Merge

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

func (*ConfigRequest_V1_System_Authz) XXX_Size

func (m *ConfigRequest_V1_System_Authz) XXX_Size() int

func (*ConfigRequest_V1_System_Authz) XXX_Unmarshal

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

type ConfigRequest_V1_System_ChefApi

type ConfigRequest_V1_System_ChefApi struct {
	AuthSkew               *wrappers.Int32Value  `` /* 147-byte string literal not displayed */
	BulkFetchBatchSize     *wrappers.Int32Value  `` /* 205-byte string literal not displayed */
	MaxRequestSize         *wrappers.Int32Value  `` /* 181-byte string literal not displayed */
	BaseResourceUrl        *wrappers.StringValue `` /* 186-byte string literal not displayed */
	StrictSearchResultAcls *wrappers.BoolValue   `` /* 225-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_ChefApi) Descriptor

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

func (*ConfigRequest_V1_System_ChefApi) GetAuthSkew

func (*ConfigRequest_V1_System_ChefApi) GetBaseResourceUrl

func (m *ConfigRequest_V1_System_ChefApi) GetBaseResourceUrl() *wrappers.StringValue

func (*ConfigRequest_V1_System_ChefApi) GetBulkFetchBatchSize

func (m *ConfigRequest_V1_System_ChefApi) GetBulkFetchBatchSize() *wrappers.Int32Value

func (*ConfigRequest_V1_System_ChefApi) GetMaxRequestSize

func (m *ConfigRequest_V1_System_ChefApi) GetMaxRequestSize() *wrappers.Int32Value

func (*ConfigRequest_V1_System_ChefApi) GetStrictSearchResultAcls

func (m *ConfigRequest_V1_System_ChefApi) GetStrictSearchResultAcls() *wrappers.BoolValue

func (*ConfigRequest_V1_System_ChefApi) ProtoMessage

func (*ConfigRequest_V1_System_ChefApi) ProtoMessage()

func (*ConfigRequest_V1_System_ChefApi) Reset

func (*ConfigRequest_V1_System_ChefApi) String

func (*ConfigRequest_V1_System_ChefApi) XXX_DiscardUnknown

func (m *ConfigRequest_V1_System_ChefApi) XXX_DiscardUnknown()

func (*ConfigRequest_V1_System_ChefApi) XXX_Marshal

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

func (*ConfigRequest_V1_System_ChefApi) XXX_Merge

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

func (*ConfigRequest_V1_System_ChefApi) XXX_Size

func (m *ConfigRequest_V1_System_ChefApi) XXX_Size() int

func (*ConfigRequest_V1_System_ChefApi) XXX_Unmarshal

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

type ConfigRequest_V1_System_DataCollector

type ConfigRequest_V1_System_DataCollector struct {
	Timeout              *wrappers.Int32Value `protobuf:"bytes,1,opt,name=timeout,proto3" json:"timeout,omitempty" toml:"timeout,omitempty" mapstructure:"timeout,omitempty"`
	PoolInitSize         *wrappers.Int32Value `` /* 171-byte string literal not displayed */
	PoolMaxSize          *wrappers.Int32Value `` /* 166-byte string literal not displayed */
	PoolQueueMax         *wrappers.Int32Value `` /* 171-byte string literal not displayed */
	Enabled              *wrappers.BoolValue  `protobuf:"bytes,5,opt,name=enabled,proto3" json:"enabled,omitempty" toml:"enabled,omitempty" mapstructure:"enabled,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_DataCollector) Descriptor

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

func (*ConfigRequest_V1_System_DataCollector) GetEnabled

func (*ConfigRequest_V1_System_DataCollector) GetPoolInitSize

func (*ConfigRequest_V1_System_DataCollector) GetPoolMaxSize

func (*ConfigRequest_V1_System_DataCollector) GetPoolQueueMax

func (*ConfigRequest_V1_System_DataCollector) GetTimeout

func (*ConfigRequest_V1_System_DataCollector) ProtoMessage

func (*ConfigRequest_V1_System_DataCollector) ProtoMessage()

func (*ConfigRequest_V1_System_DataCollector) Reset

func (*ConfigRequest_V1_System_DataCollector) String

func (*ConfigRequest_V1_System_DataCollector) XXX_DiscardUnknown

func (m *ConfigRequest_V1_System_DataCollector) XXX_DiscardUnknown()

func (*ConfigRequest_V1_System_DataCollector) XXX_Marshal

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

func (*ConfigRequest_V1_System_DataCollector) XXX_Merge

func (*ConfigRequest_V1_System_DataCollector) XXX_Size

func (*ConfigRequest_V1_System_DataCollector) XXX_Unmarshal

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

type ConfigRequest_V1_System_Depsolver

type ConfigRequest_V1_System_Depsolver struct {
	Timeout              *wrappers.Int32Value `protobuf:"bytes,1,opt,name=timeout,proto3" json:"timeout,omitempty" toml:"timeout,omitempty" mapstructure:"timeout,omitempty"`
	PoolInitSize         *wrappers.Int32Value `` /* 171-byte string literal not displayed */
	PoolMaxSize          *wrappers.Int32Value `` /* 166-byte string literal not displayed */
	PoolQueueMax         *wrappers.Int32Value `` /* 171-byte string literal not displayed */
	PoolQueueTimeout     *wrappers.Int32Value `` /* 191-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_Depsolver) Descriptor

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

func (*ConfigRequest_V1_System_Depsolver) GetPoolInitSize

func (*ConfigRequest_V1_System_Depsolver) GetPoolMaxSize

func (*ConfigRequest_V1_System_Depsolver) GetPoolQueueMax

func (*ConfigRequest_V1_System_Depsolver) GetPoolQueueTimeout

func (m *ConfigRequest_V1_System_Depsolver) GetPoolQueueTimeout() *wrappers.Int32Value

func (*ConfigRequest_V1_System_Depsolver) GetTimeout

func (*ConfigRequest_V1_System_Depsolver) ProtoMessage

func (*ConfigRequest_V1_System_Depsolver) ProtoMessage()

func (*ConfigRequest_V1_System_Depsolver) Reset

func (*ConfigRequest_V1_System_Depsolver) String

func (*ConfigRequest_V1_System_Depsolver) XXX_DiscardUnknown

func (m *ConfigRequest_V1_System_Depsolver) XXX_DiscardUnknown()

func (*ConfigRequest_V1_System_Depsolver) XXX_Marshal

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

func (*ConfigRequest_V1_System_Depsolver) XXX_Merge

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

func (*ConfigRequest_V1_System_Depsolver) XXX_Size

func (m *ConfigRequest_V1_System_Depsolver) XXX_Size() int

func (*ConfigRequest_V1_System_Depsolver) XXX_Unmarshal

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

type ConfigRequest_V1_System_Indexing

type ConfigRequest_V1_System_Indexing struct {
	ReindexBatchSize     *wrappers.Int32Value `` /* 191-byte string literal not displayed */
	ReindexSleepMinMs    *wrappers.Int32Value `` /* 200-byte string literal not displayed */
	ReindexSleepMaxMs    *wrappers.Int32Value `` /* 200-byte string literal not displayed */
	ReindexItemRetries   *wrappers.Int32Value `` /* 201-byte string literal not displayed */
	Timeout              *wrappers.Int32Value `protobuf:"bytes,5,opt,name=timeout,proto3" json:"timeout,omitempty" toml:"timeout,omitempty" mapstructure:"timeout,omitempty"`
	PoolInitSize         *wrappers.Int32Value `` /* 171-byte string literal not displayed */
	PoolMaxSize          *wrappers.Int32Value `` /* 166-byte string literal not displayed */
	PoolQueueMax         *wrappers.Int32Value `` /* 171-byte string literal not displayed */
	BatchSize            *wrappers.Int32Value `` /* 152-byte string literal not displayed */
	BatchMaxWait         *wrappers.Int32Value `` /* 172-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_Indexing) Descriptor

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

func (*ConfigRequest_V1_System_Indexing) GetBatchMaxWait

func (*ConfigRequest_V1_System_Indexing) GetBatchSize

func (*ConfigRequest_V1_System_Indexing) GetPoolInitSize

func (*ConfigRequest_V1_System_Indexing) GetPoolMaxSize

func (*ConfigRequest_V1_System_Indexing) GetPoolQueueMax

func (*ConfigRequest_V1_System_Indexing) GetReindexBatchSize

func (m *ConfigRequest_V1_System_Indexing) GetReindexBatchSize() *wrappers.Int32Value

func (*ConfigRequest_V1_System_Indexing) GetReindexItemRetries

func (m *ConfigRequest_V1_System_Indexing) GetReindexItemRetries() *wrappers.Int32Value

func (*ConfigRequest_V1_System_Indexing) GetReindexSleepMaxMs

func (m *ConfigRequest_V1_System_Indexing) GetReindexSleepMaxMs() *wrappers.Int32Value

func (*ConfigRequest_V1_System_Indexing) GetReindexSleepMinMs

func (m *ConfigRequest_V1_System_Indexing) GetReindexSleepMinMs() *wrappers.Int32Value

func (*ConfigRequest_V1_System_Indexing) GetTimeout

func (*ConfigRequest_V1_System_Indexing) ProtoMessage

func (*ConfigRequest_V1_System_Indexing) ProtoMessage()

func (*ConfigRequest_V1_System_Indexing) Reset

func (*ConfigRequest_V1_System_Indexing) String

func (*ConfigRequest_V1_System_Indexing) XXX_DiscardUnknown

func (m *ConfigRequest_V1_System_Indexing) XXX_DiscardUnknown()

func (*ConfigRequest_V1_System_Indexing) XXX_Marshal

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

func (*ConfigRequest_V1_System_Indexing) XXX_Merge

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

func (*ConfigRequest_V1_System_Indexing) XXX_Size

func (m *ConfigRequest_V1_System_Indexing) XXX_Size() int

func (*ConfigRequest_V1_System_Indexing) XXX_Unmarshal

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

type ConfigRequest_V1_System_Keygen

type ConfigRequest_V1_System_Keygen struct {
	WorkerCount          *wrappers.Int32Value `` /* 162-byte string literal not displayed */
	CacheSize            *wrappers.Int32Value `` /* 152-byte string literal not displayed */
	StartSize            *wrappers.Int32Value `` /* 152-byte string literal not displayed */
	Timeout              *wrappers.Int32Value `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty" toml:"timeout,omitempty" mapstructure:"timeout,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_Keygen) Descriptor

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

func (*ConfigRequest_V1_System_Keygen) GetCacheSize

func (*ConfigRequest_V1_System_Keygen) GetStartSize

func (*ConfigRequest_V1_System_Keygen) GetTimeout

func (*ConfigRequest_V1_System_Keygen) GetWorkerCount

func (m *ConfigRequest_V1_System_Keygen) GetWorkerCount() *wrappers.Int32Value

func (*ConfigRequest_V1_System_Keygen) ProtoMessage

func (*ConfigRequest_V1_System_Keygen) ProtoMessage()

func (*ConfigRequest_V1_System_Keygen) Reset

func (m *ConfigRequest_V1_System_Keygen) Reset()

func (*ConfigRequest_V1_System_Keygen) String

func (*ConfigRequest_V1_System_Keygen) XXX_DiscardUnknown

func (m *ConfigRequest_V1_System_Keygen) XXX_DiscardUnknown()

func (*ConfigRequest_V1_System_Keygen) XXX_Marshal

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

func (*ConfigRequest_V1_System_Keygen) XXX_Merge

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

func (*ConfigRequest_V1_System_Keygen) XXX_Size

func (m *ConfigRequest_V1_System_Keygen) XXX_Size() int

func (*ConfigRequest_V1_System_Keygen) XXX_Unmarshal

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

type ConfigRequest_V1_System_Log

type ConfigRequest_V1_System_Log struct {
	Level                 *wrappers.StringValue `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty" toml:"level,omitempty" mapstructure:"level,omitempty"`
	RotationMaxBytes      *wrappers.Int64Value  `` /* 191-byte string literal not displayed */
	RotationMaxFiles      *wrappers.Int32Value  `` /* 191-byte string literal not displayed */
	MaxErrorLogsPerSecond *wrappers.Int32Value  `` /* 224-byte string literal not displayed */
	// TODO(ssd) 2018-07-24: Different log
	// rotation configurables require
	// different units.
	RotationMaxMegabytes *wrappers.Int32Value `` /* 211-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_Log) Descriptor

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

func (*ConfigRequest_V1_System_Log) GetLevel

func (*ConfigRequest_V1_System_Log) GetMaxErrorLogsPerSecond

func (m *ConfigRequest_V1_System_Log) GetMaxErrorLogsPerSecond() *wrappers.Int32Value

func (*ConfigRequest_V1_System_Log) GetRotationMaxBytes

func (m *ConfigRequest_V1_System_Log) GetRotationMaxBytes() *wrappers.Int64Value

func (*ConfigRequest_V1_System_Log) GetRotationMaxFiles

func (m *ConfigRequest_V1_System_Log) GetRotationMaxFiles() *wrappers.Int32Value

func (*ConfigRequest_V1_System_Log) GetRotationMaxMegabytes

func (m *ConfigRequest_V1_System_Log) GetRotationMaxMegabytes() *wrappers.Int32Value

func (*ConfigRequest_V1_System_Log) ProtoMessage

func (*ConfigRequest_V1_System_Log) ProtoMessage()

func (*ConfigRequest_V1_System_Log) Reset

func (m *ConfigRequest_V1_System_Log) Reset()

func (*ConfigRequest_V1_System_Log) String

func (m *ConfigRequest_V1_System_Log) String() string

func (*ConfigRequest_V1_System_Log) XXX_DiscardUnknown

func (m *ConfigRequest_V1_System_Log) XXX_DiscardUnknown()

func (*ConfigRequest_V1_System_Log) XXX_Marshal

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

func (*ConfigRequest_V1_System_Log) XXX_Merge

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

func (*ConfigRequest_V1_System_Log) XXX_Size

func (m *ConfigRequest_V1_System_Log) XXX_Size() int

func (*ConfigRequest_V1_System_Log) XXX_Unmarshal

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

type ConfigRequest_V1_System_Memory

type ConfigRequest_V1_System_Memory struct {
	MaxBytes             *wrappers.Int64Value `` /* 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_Memory) Descriptor

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

func (*ConfigRequest_V1_System_Memory) GetMaxBytes

func (*ConfigRequest_V1_System_Memory) ProtoMessage

func (*ConfigRequest_V1_System_Memory) ProtoMessage()

func (*ConfigRequest_V1_System_Memory) Reset

func (m *ConfigRequest_V1_System_Memory) Reset()

func (*ConfigRequest_V1_System_Memory) String

func (*ConfigRequest_V1_System_Memory) XXX_DiscardUnknown

func (m *ConfigRequest_V1_System_Memory) XXX_DiscardUnknown()

func (*ConfigRequest_V1_System_Memory) XXX_Marshal

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

func (*ConfigRequest_V1_System_Memory) XXX_Merge

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

func (*ConfigRequest_V1_System_Memory) XXX_Size

func (m *ConfigRequest_V1_System_Memory) XXX_Size() int

func (*ConfigRequest_V1_System_Memory) XXX_Unmarshal

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

type ConfigRequest_V1_System_Network

type ConfigRequest_V1_System_Network struct {
	Port                 *wrappers.Int32Value  `protobuf:"bytes,1,opt,name=port,proto3" json:"port,omitempty" toml:"port,omitempty" mapstructure:"port,omitempty"`
	ListenIp             *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_Network) Descriptor

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

func (*ConfigRequest_V1_System_Network) GetListenIp

func (*ConfigRequest_V1_System_Network) GetPort

func (*ConfigRequest_V1_System_Network) ProtoMessage

func (*ConfigRequest_V1_System_Network) ProtoMessage()

func (*ConfigRequest_V1_System_Network) Reset

func (*ConfigRequest_V1_System_Network) String

func (*ConfigRequest_V1_System_Network) XXX_DiscardUnknown

func (m *ConfigRequest_V1_System_Network) XXX_DiscardUnknown()

func (*ConfigRequest_V1_System_Network) XXX_Marshal

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

func (*ConfigRequest_V1_System_Network) XXX_Merge

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

func (*ConfigRequest_V1_System_Network) XXX_Size

func (m *ConfigRequest_V1_System_Network) XXX_Size() int

func (*ConfigRequest_V1_System_Network) XXX_Unmarshal

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

type ConfigRequest_V1_System_Sql

type ConfigRequest_V1_System_Sql struct {
	Timeout              *wrappers.Int32Value `protobuf:"bytes,1,opt,name=timeout,proto3" json:"timeout,omitempty" toml:"timeout,omitempty" mapstructure:"timeout,omitempty"`
	PoolInitSize         *wrappers.Int32Value `` /* 171-byte string literal not displayed */
	PoolMaxSize          *wrappers.Int32Value `` /* 166-byte string literal not displayed */
	PoolQueueMax         *wrappers.Int32Value `` /* 171-byte string literal not displayed */
	PoolQueueTimeout     *wrappers.Int32Value `` /* 191-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_Sql) Descriptor

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

func (*ConfigRequest_V1_System_Sql) GetPoolInitSize

func (m *ConfigRequest_V1_System_Sql) GetPoolInitSize() *wrappers.Int32Value

func (*ConfigRequest_V1_System_Sql) GetPoolMaxSize

func (m *ConfigRequest_V1_System_Sql) GetPoolMaxSize() *wrappers.Int32Value

func (*ConfigRequest_V1_System_Sql) GetPoolQueueMax

func (m *ConfigRequest_V1_System_Sql) GetPoolQueueMax() *wrappers.Int32Value

func (*ConfigRequest_V1_System_Sql) GetPoolQueueTimeout

func (m *ConfigRequest_V1_System_Sql) GetPoolQueueTimeout() *wrappers.Int32Value

func (*ConfigRequest_V1_System_Sql) GetTimeout

func (*ConfigRequest_V1_System_Sql) ProtoMessage

func (*ConfigRequest_V1_System_Sql) ProtoMessage()

func (*ConfigRequest_V1_System_Sql) Reset

func (m *ConfigRequest_V1_System_Sql) Reset()

func (*ConfigRequest_V1_System_Sql) String

func (m *ConfigRequest_V1_System_Sql) String() string

func (*ConfigRequest_V1_System_Sql) XXX_DiscardUnknown

func (m *ConfigRequest_V1_System_Sql) XXX_DiscardUnknown()

func (*ConfigRequest_V1_System_Sql) XXX_Marshal

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

func (*ConfigRequest_V1_System_Sql) XXX_Merge

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

func (*ConfigRequest_V1_System_Sql) XXX_Size

func (m *ConfigRequest_V1_System_Sql) XXX_Size() int

func (*ConfigRequest_V1_System_Sql) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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