erchef

package
v0.0.0-...-d983439 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_config_erchef_config_request_proto protoreflect.FileDescriptor

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"`
	// contains filtered or unexported fields
}

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) 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(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) 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 *ac.GlobalConfig)

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

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.

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 (*ConfigRequest_V1) GetSys

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"`
	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"`
	ExternalAutomate *shared.External_Automate              `` /* 188-byte string literal not displayed */
	Ibrowse          *ConfigRequest_V1_System_IBrowse       `` /* 126-byte string literal not displayed */
	Health           *ConfigRequest_V1_System_HealthCheck   `protobuf:"bytes,15,opt,name=health,proto3" json:"health,omitempty" toml:"health,omitempty" mapstructure:"health,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ConfigRequest_V1_System) GetAuthz

func (*ConfigRequest_V1_System) GetDataCollector

func (*ConfigRequest_V1_System) GetDepsolver

func (*ConfigRequest_V1_System) GetExternalAutomate

func (x *ConfigRequest_V1_System) GetExternalAutomate() *shared.External_Automate

func (*ConfigRequest_V1_System) GetHealth

func (*ConfigRequest_V1_System) GetIbrowse

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 (x *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) 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_Authz

type ConfigRequest_V1_System_Authz struct {
	Fanout           *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=fanout,proto3" json:"fanout,omitempty" toml:"fanout,omitempty" mapstructure:"fanout,omitempty"`
	Timeout          *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty" toml:"timeout,omitempty" mapstructure:"timeout,omitempty"`
	PoolInitSize     *wrapperspb.Int32Value `` /* 171-byte string literal not displayed */
	PoolMaxSize      *wrapperspb.Int32Value `` /* 166-byte string literal not displayed */
	PoolQueueMax     *wrapperspb.Int32Value `` /* 171-byte string literal not displayed */
	PoolQueueTimeout *wrapperspb.Int32Value `` /* 191-byte string literal not displayed */
	CleanupBatchSize *wrapperspb.Int32Value `` /* 191-byte string literal not displayed */
	NodeLicense      *wrapperspb.Int32Value `` /* 162-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ConfigRequest_V1_System_Authz) Descriptor deprecated

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

Deprecated: Use ConfigRequest_V1_System_Authz.ProtoReflect.Descriptor instead.

func (*ConfigRequest_V1_System_Authz) GetCleanupBatchSize

func (x *ConfigRequest_V1_System_Authz) GetCleanupBatchSize() *wrapperspb.Int32Value

func (*ConfigRequest_V1_System_Authz) GetFanout

func (*ConfigRequest_V1_System_Authz) GetNodeLicense

func (*ConfigRequest_V1_System_Authz) GetPoolInitSize

func (x *ConfigRequest_V1_System_Authz) GetPoolInitSize() *wrapperspb.Int32Value

func (*ConfigRequest_V1_System_Authz) GetPoolMaxSize

func (*ConfigRequest_V1_System_Authz) GetPoolQueueMax

func (x *ConfigRequest_V1_System_Authz) GetPoolQueueMax() *wrapperspb.Int32Value

func (*ConfigRequest_V1_System_Authz) GetPoolQueueTimeout

func (x *ConfigRequest_V1_System_Authz) GetPoolQueueTimeout() *wrapperspb.Int32Value

func (*ConfigRequest_V1_System_Authz) GetTimeout

func (*ConfigRequest_V1_System_Authz) ProtoMessage

func (*ConfigRequest_V1_System_Authz) ProtoMessage()

func (*ConfigRequest_V1_System_Authz) ProtoReflect

func (*ConfigRequest_V1_System_Authz) Reset

func (x *ConfigRequest_V1_System_Authz) Reset()

func (*ConfigRequest_V1_System_Authz) String

type ConfigRequest_V1_System_ChefApi

type ConfigRequest_V1_System_ChefApi struct {
	AuthSkew                     *wrapperspb.Int32Value  `` /* 147-byte string literal not displayed */
	BulkFetchBatchSize           *wrapperspb.Int32Value  `` /* 205-byte string literal not displayed */
	MaxRequestSize               *wrapperspb.Int32Value  `` /* 181-byte string literal not displayed */
	BaseResourceUrl              *wrapperspb.StringValue `` /* 186-byte string literal not displayed */
	StrictSearchResultAcls       *wrapperspb.BoolValue   `` /* 225-byte string literal not displayed */
	ActionsFqdn                  *wrapperspb.StringValue `` /* 162-byte string literal not displayed */
	CbvCacheEnabled              *wrapperspb.BoolValue   `` /* 186-byte string literal not displayed */
	CbvCacheItemTtl              *wrapperspb.Int32Value  `` /* 190-byte string literal not displayed */
	S3UrlTtl                     *wrapperspb.Int32Value  `` /* 151-byte string literal not displayed */
	S3BucketName                 *wrapperspb.StringValue `` /* 172-byte string literal not displayed */
	S3Enabled                    *wrapperspb.BoolValue   `` /* 153-byte string literal not displayed */
	S3ExternalUrl                *wrapperspb.StringValue `` /* 177-byte string literal not displayed */
	S3UrlExpiryWindowSizePercent *wrapperspb.Int32Value  `` /* 264-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ConfigRequest_V1_System_ChefApi) Descriptor deprecated

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

Deprecated: Use ConfigRequest_V1_System_ChefApi.ProtoReflect.Descriptor instead.

func (*ConfigRequest_V1_System_ChefApi) GetActionsFqdn

func (*ConfigRequest_V1_System_ChefApi) GetAuthSkew

func (*ConfigRequest_V1_System_ChefApi) GetBaseResourceUrl

func (x *ConfigRequest_V1_System_ChefApi) GetBaseResourceUrl() *wrapperspb.StringValue

func (*ConfigRequest_V1_System_ChefApi) GetBulkFetchBatchSize

func (x *ConfigRequest_V1_System_ChefApi) GetBulkFetchBatchSize() *wrapperspb.Int32Value

func (*ConfigRequest_V1_System_ChefApi) GetCbvCacheEnabled

func (x *ConfigRequest_V1_System_ChefApi) GetCbvCacheEnabled() *wrapperspb.BoolValue

func (*ConfigRequest_V1_System_ChefApi) GetCbvCacheItemTtl

func (x *ConfigRequest_V1_System_ChefApi) GetCbvCacheItemTtl() *wrapperspb.Int32Value

func (*ConfigRequest_V1_System_ChefApi) GetMaxRequestSize

func (x *ConfigRequest_V1_System_ChefApi) GetMaxRequestSize() *wrapperspb.Int32Value

func (*ConfigRequest_V1_System_ChefApi) GetS3BucketName

func (*ConfigRequest_V1_System_ChefApi) GetS3Enabled

func (*ConfigRequest_V1_System_ChefApi) GetS3ExternalUrl

func (*ConfigRequest_V1_System_ChefApi) GetS3UrlExpiryWindowSizePercent

func (x *ConfigRequest_V1_System_ChefApi) GetS3UrlExpiryWindowSizePercent() *wrapperspb.Int32Value

func (*ConfigRequest_V1_System_ChefApi) GetS3UrlTtl

func (*ConfigRequest_V1_System_ChefApi) GetStrictSearchResultAcls

func (x *ConfigRequest_V1_System_ChefApi) GetStrictSearchResultAcls() *wrapperspb.BoolValue

func (*ConfigRequest_V1_System_ChefApi) ProtoMessage

func (*ConfigRequest_V1_System_ChefApi) ProtoMessage()

func (*ConfigRequest_V1_System_ChefApi) ProtoReflect

func (*ConfigRequest_V1_System_ChefApi) Reset

func (*ConfigRequest_V1_System_ChefApi) String

type ConfigRequest_V1_System_DataCollector

type ConfigRequest_V1_System_DataCollector struct {
	Timeout               *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=timeout,proto3" json:"timeout,omitempty" toml:"timeout,omitempty" mapstructure:"timeout,omitempty"`
	PoolInitSize          *wrapperspb.Int32Value `` /* 171-byte string literal not displayed */
	PoolMaxSize           *wrapperspb.Int32Value `` /* 166-byte string literal not displayed */
	PoolQueueMax          *wrapperspb.Int32Value `` /* 171-byte string literal not displayed */
	Enabled               *wrapperspb.BoolValue  `protobuf:"bytes,5,opt,name=enabled,proto3" json:"enabled,omitempty" toml:"enabled,omitempty" mapstructure:"enabled,omitempty"`
	PoolMaxAge            *wrapperspb.Int32Value `` /* 161-byte string literal not displayed */
	PoolCullInterval      *wrapperspb.Int32Value `` /* 191-byte string literal not displayed */
	MaxConnectionDuration *wrapperspb.Int32Value `` /* 216-byte string literal not displayed */
	IbrowseTimeout        *wrapperspb.Int32Value `` /* 177-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ConfigRequest_V1_System_DataCollector) Descriptor deprecated

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

Deprecated: Use ConfigRequest_V1_System_DataCollector.ProtoReflect.Descriptor instead.

func (*ConfigRequest_V1_System_DataCollector) GetEnabled

func (*ConfigRequest_V1_System_DataCollector) GetIbrowseTimeout

func (*ConfigRequest_V1_System_DataCollector) GetMaxConnectionDuration

func (x *ConfigRequest_V1_System_DataCollector) GetMaxConnectionDuration() *wrapperspb.Int32Value

func (*ConfigRequest_V1_System_DataCollector) GetPoolCullInterval

func (*ConfigRequest_V1_System_DataCollector) GetPoolInitSize

func (*ConfigRequest_V1_System_DataCollector) GetPoolMaxAge

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

func (*ConfigRequest_V1_System_DataCollector) Reset

func (*ConfigRequest_V1_System_DataCollector) String

type ConfigRequest_V1_System_Depsolver

type ConfigRequest_V1_System_Depsolver struct {
	Timeout          *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=timeout,proto3" json:"timeout,omitempty" toml:"timeout,omitempty" mapstructure:"timeout,omitempty"`
	PoolInitSize     *wrapperspb.Int32Value `` /* 171-byte string literal not displayed */
	PoolMaxSize      *wrapperspb.Int32Value `` /* 166-byte string literal not displayed */
	PoolQueueMax     *wrapperspb.Int32Value `` /* 171-byte string literal not displayed */
	PoolQueueTimeout *wrapperspb.Int32Value `` /* 191-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ConfigRequest_V1_System_Depsolver) Descriptor deprecated

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

Deprecated: Use ConfigRequest_V1_System_Depsolver.ProtoReflect.Descriptor instead.

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 (x *ConfigRequest_V1_System_Depsolver) GetPoolQueueTimeout() *wrapperspb.Int32Value

func (*ConfigRequest_V1_System_Depsolver) GetTimeout

func (*ConfigRequest_V1_System_Depsolver) ProtoMessage

func (*ConfigRequest_V1_System_Depsolver) ProtoMessage()

func (*ConfigRequest_V1_System_Depsolver) ProtoReflect

func (*ConfigRequest_V1_System_Depsolver) Reset

func (*ConfigRequest_V1_System_Depsolver) String

type ConfigRequest_V1_System_HealthCheck

type ConfigRequest_V1_System_HealthCheck struct {
	HealthPingTimeout *wrapperspb.Int32Value `` /* 196-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ConfigRequest_V1_System_HealthCheck) Descriptor deprecated

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

Deprecated: Use ConfigRequest_V1_System_HealthCheck.ProtoReflect.Descriptor instead.

func (*ConfigRequest_V1_System_HealthCheck) GetHealthPingTimeout

func (x *ConfigRequest_V1_System_HealthCheck) GetHealthPingTimeout() *wrapperspb.Int32Value

func (*ConfigRequest_V1_System_HealthCheck) ProtoMessage

func (*ConfigRequest_V1_System_HealthCheck) ProtoMessage()

func (*ConfigRequest_V1_System_HealthCheck) ProtoReflect

func (*ConfigRequest_V1_System_HealthCheck) Reset

func (*ConfigRequest_V1_System_HealthCheck) String

type ConfigRequest_V1_System_IBrowse

type ConfigRequest_V1_System_IBrowse struct {
	IbrowseMaxPipelineSize *wrapperspb.Int32Value `` /* 225-byte string literal not displayed */
	IbrowseMaxSessions     *wrapperspb.Int32Value `` /* 201-byte string literal not displayed */
	EnableIbrowseTraces    *wrapperspb.BoolValue  `` /* 206-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ConfigRequest_V1_System_IBrowse) Descriptor deprecated

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

Deprecated: Use ConfigRequest_V1_System_IBrowse.ProtoReflect.Descriptor instead.

func (*ConfigRequest_V1_System_IBrowse) GetEnableIbrowseTraces

func (x *ConfigRequest_V1_System_IBrowse) GetEnableIbrowseTraces() *wrapperspb.BoolValue

func (*ConfigRequest_V1_System_IBrowse) GetIbrowseMaxPipelineSize

func (x *ConfigRequest_V1_System_IBrowse) GetIbrowseMaxPipelineSize() *wrapperspb.Int32Value

func (*ConfigRequest_V1_System_IBrowse) GetIbrowseMaxSessions

func (x *ConfigRequest_V1_System_IBrowse) GetIbrowseMaxSessions() *wrapperspb.Int32Value

func (*ConfigRequest_V1_System_IBrowse) ProtoMessage

func (*ConfigRequest_V1_System_IBrowse) ProtoMessage()

func (*ConfigRequest_V1_System_IBrowse) ProtoReflect

func (*ConfigRequest_V1_System_IBrowse) Reset

func (*ConfigRequest_V1_System_IBrowse) String

type ConfigRequest_V1_System_Indexing

type ConfigRequest_V1_System_Indexing struct {
	ReindexBatchSize   *wrapperspb.Int32Value  `` /* 191-byte string literal not displayed */
	ReindexSleepMinMs  *wrapperspb.Int32Value  `` /* 200-byte string literal not displayed */
	ReindexSleepMaxMs  *wrapperspb.Int32Value  `` /* 200-byte string literal not displayed */
	ReindexItemRetries *wrapperspb.Int32Value  `` /* 201-byte string literal not displayed */
	Timeout            *wrapperspb.Int32Value  `protobuf:"bytes,5,opt,name=timeout,proto3" json:"timeout,omitempty" toml:"timeout,omitempty" mapstructure:"timeout,omitempty"`
	PoolInitSize       *wrapperspb.Int32Value  `` /* 171-byte string literal not displayed */
	PoolMaxSize        *wrapperspb.Int32Value  `` /* 166-byte string literal not displayed */
	PoolQueueMax       *wrapperspb.Int32Value  `` /* 171-byte string literal not displayed */
	BatchSize          *wrapperspb.Int32Value  `` /* 152-byte string literal not displayed */
	BatchMaxWait       *wrapperspb.Int32Value  `` /* 172-byte string literal not displayed */
	SearchProvider     *wrapperspb.StringValue `` /* 178-byte string literal not displayed */
	SearchQueueMode    *wrapperspb.StringValue `` /* 187-byte string literal not displayed */
	SearchAuthUsername *wrapperspb.StringValue `` /* 202-byte string literal not displayed */
	SearchAuthPassword *wrapperspb.StringValue `` /* 202-byte string literal not displayed */
	TrackTotalHits     *wrapperspb.BoolValue   `` /* 182-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ConfigRequest_V1_System_Indexing) Descriptor deprecated

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

Deprecated: Use ConfigRequest_V1_System_Indexing.ProtoReflect.Descriptor instead.

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 (x *ConfigRequest_V1_System_Indexing) GetReindexBatchSize() *wrapperspb.Int32Value

func (*ConfigRequest_V1_System_Indexing) GetReindexItemRetries

func (x *ConfigRequest_V1_System_Indexing) GetReindexItemRetries() *wrapperspb.Int32Value

func (*ConfigRequest_V1_System_Indexing) GetReindexSleepMaxMs

func (x *ConfigRequest_V1_System_Indexing) GetReindexSleepMaxMs() *wrapperspb.Int32Value

func (*ConfigRequest_V1_System_Indexing) GetReindexSleepMinMs

func (x *ConfigRequest_V1_System_Indexing) GetReindexSleepMinMs() *wrapperspb.Int32Value

func (*ConfigRequest_V1_System_Indexing) GetSearchAuthPassword

func (x *ConfigRequest_V1_System_Indexing) GetSearchAuthPassword() *wrapperspb.StringValue

func (*ConfigRequest_V1_System_Indexing) GetSearchAuthUsername

func (x *ConfigRequest_V1_System_Indexing) GetSearchAuthUsername() *wrapperspb.StringValue

func (*ConfigRequest_V1_System_Indexing) GetSearchProvider

func (*ConfigRequest_V1_System_Indexing) GetSearchQueueMode

func (x *ConfigRequest_V1_System_Indexing) GetSearchQueueMode() *wrapperspb.StringValue

func (*ConfigRequest_V1_System_Indexing) GetTimeout

func (*ConfigRequest_V1_System_Indexing) GetTrackTotalHits

func (x *ConfigRequest_V1_System_Indexing) GetTrackTotalHits() *wrapperspb.BoolValue

func (*ConfigRequest_V1_System_Indexing) ProtoMessage

func (*ConfigRequest_V1_System_Indexing) ProtoMessage()

func (*ConfigRequest_V1_System_Indexing) ProtoReflect

func (*ConfigRequest_V1_System_Indexing) Reset

func (*ConfigRequest_V1_System_Indexing) String

type ConfigRequest_V1_System_Keygen

type ConfigRequest_V1_System_Keygen struct {
	WorkerCount *wrapperspb.Int32Value `` /* 162-byte string literal not displayed */
	CacheSize   *wrapperspb.Int32Value `` /* 152-byte string literal not displayed */
	StartSize   *wrapperspb.Int32Value `` /* 152-byte string literal not displayed */
	Timeout     *wrapperspb.Int32Value `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty" toml:"timeout,omitempty" mapstructure:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigRequest_V1_System_Keygen) Descriptor deprecated

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

Deprecated: Use ConfigRequest_V1_System_Keygen.ProtoReflect.Descriptor instead.

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 (*ConfigRequest_V1_System_Keygen) ProtoMessage

func (*ConfigRequest_V1_System_Keygen) ProtoMessage()

func (*ConfigRequest_V1_System_Keygen) ProtoReflect

func (*ConfigRequest_V1_System_Keygen) Reset

func (x *ConfigRequest_V1_System_Keygen) Reset()

func (*ConfigRequest_V1_System_Keygen) String

type ConfigRequest_V1_System_Log

type ConfigRequest_V1_System_Log struct {
	Level                 *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty" toml:"level,omitempty" mapstructure:"level,omitempty"`
	RotationMaxBytes      *wrapperspb.Int64Value  `` /* 191-byte string literal not displayed */
	RotationMaxFiles      *wrapperspb.Int32Value  `` /* 191-byte string literal not displayed */
	MaxErrorLogsPerSecond *wrapperspb.Int32Value  `` /* 224-byte string literal not displayed */
	// TODO(ssd) 2018-07-24: Different log
	// rotation configurables require
	// different units.
	RotationMaxMegabytes *wrapperspb.Int32Value `` /* 211-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ConfigRequest_V1_System_Log) Descriptor deprecated

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

Deprecated: Use ConfigRequest_V1_System_Log.ProtoReflect.Descriptor instead.

func (*ConfigRequest_V1_System_Log) GetLevel

func (*ConfigRequest_V1_System_Log) GetMaxErrorLogsPerSecond

func (x *ConfigRequest_V1_System_Log) GetMaxErrorLogsPerSecond() *wrapperspb.Int32Value

func (*ConfigRequest_V1_System_Log) GetRotationMaxBytes

func (x *ConfigRequest_V1_System_Log) GetRotationMaxBytes() *wrapperspb.Int64Value

func (*ConfigRequest_V1_System_Log) GetRotationMaxFiles

func (x *ConfigRequest_V1_System_Log) GetRotationMaxFiles() *wrapperspb.Int32Value

func (*ConfigRequest_V1_System_Log) GetRotationMaxMegabytes

func (x *ConfigRequest_V1_System_Log) GetRotationMaxMegabytes() *wrapperspb.Int32Value

func (*ConfigRequest_V1_System_Log) ProtoMessage

func (*ConfigRequest_V1_System_Log) ProtoMessage()

func (*ConfigRequest_V1_System_Log) ProtoReflect

func (*ConfigRequest_V1_System_Log) Reset

func (x *ConfigRequest_V1_System_Log) Reset()

func (*ConfigRequest_V1_System_Log) String

func (x *ConfigRequest_V1_System_Log) String() string

type ConfigRequest_V1_System_Memory

type ConfigRequest_V1_System_Memory struct {
	MaxBytes *wrapperspb.Int64Value `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ConfigRequest_V1_System_Memory) Descriptor deprecated

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

Deprecated: Use ConfigRequest_V1_System_Memory.ProtoReflect.Descriptor instead.

func (*ConfigRequest_V1_System_Memory) GetMaxBytes

func (*ConfigRequest_V1_System_Memory) ProtoMessage

func (*ConfigRequest_V1_System_Memory) ProtoMessage()

func (*ConfigRequest_V1_System_Memory) ProtoReflect

func (*ConfigRequest_V1_System_Memory) Reset

func (x *ConfigRequest_V1_System_Memory) Reset()

func (*ConfigRequest_V1_System_Memory) String

type ConfigRequest_V1_System_Network

type ConfigRequest_V1_System_Network struct {
	Port *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=port,proto3" json:"port,omitempty" toml:"port,omitempty" mapstructure:"port,omitempty"`
	// Deprecated: Do not use.
	ListenIp *wrapperspb.StringValue `` // The listen host is no longer setable(localhost only)
	/* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ConfigRequest_V1_System_Network) Descriptor deprecated

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

Deprecated: Use ConfigRequest_V1_System_Network.ProtoReflect.Descriptor instead.

func (*ConfigRequest_V1_System_Network) GetListenIp deprecated

Deprecated: Do not use.

func (*ConfigRequest_V1_System_Network) GetPort

func (*ConfigRequest_V1_System_Network) ProtoMessage

func (*ConfigRequest_V1_System_Network) ProtoMessage()

func (*ConfigRequest_V1_System_Network) ProtoReflect

func (*ConfigRequest_V1_System_Network) Reset

func (*ConfigRequest_V1_System_Network) String

type ConfigRequest_V1_System_Sql

type ConfigRequest_V1_System_Sql struct {
	Timeout          *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=timeout,proto3" json:"timeout,omitempty" toml:"timeout,omitempty" mapstructure:"timeout,omitempty"`
	PoolInitSize     *wrapperspb.Int32Value `` /* 171-byte string literal not displayed */
	PoolMaxSize      *wrapperspb.Int32Value `` /* 166-byte string literal not displayed */
	PoolQueueMax     *wrapperspb.Int32Value `` /* 171-byte string literal not displayed */
	PoolQueueTimeout *wrapperspb.Int32Value `` /* 191-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ConfigRequest_V1_System_Sql) Descriptor deprecated

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

Deprecated: Use ConfigRequest_V1_System_Sql.ProtoReflect.Descriptor instead.

func (*ConfigRequest_V1_System_Sql) GetPoolInitSize

func (x *ConfigRequest_V1_System_Sql) GetPoolInitSize() *wrapperspb.Int32Value

func (*ConfigRequest_V1_System_Sql) GetPoolMaxSize

func (x *ConfigRequest_V1_System_Sql) GetPoolMaxSize() *wrapperspb.Int32Value

func (*ConfigRequest_V1_System_Sql) GetPoolQueueMax

func (x *ConfigRequest_V1_System_Sql) GetPoolQueueMax() *wrapperspb.Int32Value

func (*ConfigRequest_V1_System_Sql) GetPoolQueueTimeout

func (x *ConfigRequest_V1_System_Sql) GetPoolQueueTimeout() *wrapperspb.Int32Value

func (*ConfigRequest_V1_System_Sql) GetTimeout

func (*ConfigRequest_V1_System_Sql) ProtoMessage

func (*ConfigRequest_V1_System_Sql) ProtoMessage()

func (*ConfigRequest_V1_System_Sql) ProtoReflect

func (*ConfigRequest_V1_System_Sql) Reset

func (x *ConfigRequest_V1_System_Sql) Reset()

func (*ConfigRequest_V1_System_Sql) String

func (x *ConfigRequest_V1_System_Sql) String() string

Jump to

Keyboard shortcuts

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