Documentation
¶
Index ¶
- Variables
- type LogCollectorConfig
- func (*LogCollectorConfig) Descriptor() ([]byte, []int)
- func (m *LogCollectorConfig) GetFilenamePrefix() string
- func (m *LogCollectorConfig) GetType() string
- func (*LogCollectorConfig) ProtoMessage()
- func (m *LogCollectorConfig) Reset()
- func (m *LogCollectorConfig) String() string
- func (m *LogCollectorConfig) XXX_DiscardUnknown()
- func (m *LogCollectorConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LogCollectorConfig) XXX_Merge(src proto.Message)
- func (m *LogCollectorConfig) XXX_Size() int
- func (m *LogCollectorConfig) XXX_Unmarshal(b []byte) error
- type LoggingConfig
- func (*LoggingConfig) Descriptor() ([]byte, []int)
- func (m *LoggingConfig) GetLogCollectorConfig() *LogCollectorConfig
- func (m *LoggingConfig) GetSamplingConfig() *SamplingConfig
- func (*LoggingConfig) ProtoMessage()
- func (m *LoggingConfig) Reset()
- func (m *LoggingConfig) String() string
- func (m *LoggingConfig) XXX_DiscardUnknown()
- func (m *LoggingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LoggingConfig) XXX_Merge(src proto.Message)
- func (m *LoggingConfig) XXX_Size() int
- func (m *LoggingConfig) XXX_Unmarshal(b []byte) error
- type ModelConfig
- func (*ModelConfig) Descriptor() ([]byte, []int)
- func (m *ModelConfig) GetBasePath() string
- func (m *ModelConfig) GetLoggingConfig() *LoggingConfig
- func (m *ModelConfig) GetModelPlatform() string
- func (m *ModelConfig) GetModelType() ModelTypedeprecated
- func (m *ModelConfig) GetModelVersionPolicy() *storage_path.FileSystemStoragePathSourceConfig_ServableVersionPolicy
- func (m *ModelConfig) GetName() string
- func (m *ModelConfig) GetVersionLabels() map[string]int64
- func (*ModelConfig) ProtoMessage()
- func (m *ModelConfig) Reset()
- func (m *ModelConfig) String() string
- func (m *ModelConfig) XXX_DiscardUnknown()
- func (m *ModelConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ModelConfig) XXX_Merge(src proto.Message)
- func (m *ModelConfig) XXX_Size() int
- func (m *ModelConfig) XXX_Unmarshal(b []byte) error
- type ModelConfigList
- func (*ModelConfigList) Descriptor() ([]byte, []int)
- func (m *ModelConfigList) GetConfig() []*ModelConfig
- func (*ModelConfigList) ProtoMessage()
- func (m *ModelConfigList) Reset()
- func (m *ModelConfigList) String() string
- func (m *ModelConfigList) XXX_DiscardUnknown()
- func (m *ModelConfigList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ModelConfigList) XXX_Merge(src proto.Message)
- func (m *ModelConfigList) XXX_Size() int
- func (m *ModelConfigList) XXX_Unmarshal(b []byte) error
- type ModelServerConfig
- func (*ModelServerConfig) Descriptor() ([]byte, []int)
- func (m *ModelServerConfig) GetConfig() isModelServerConfig_Config
- func (m *ModelServerConfig) GetCustomModelConfig() *any.Any
- func (m *ModelServerConfig) GetModelConfigList() *ModelConfigList
- func (*ModelServerConfig) ProtoMessage()
- func (m *ModelServerConfig) Reset()
- func (m *ModelServerConfig) String() string
- func (m *ModelServerConfig) XXX_DiscardUnknown()
- func (m *ModelServerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ModelServerConfig) XXX_Merge(src proto.Message)
- func (*ModelServerConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *ModelServerConfig) XXX_Size() int
- func (m *ModelServerConfig) XXX_Unmarshal(b []byte) error
- type ModelServerConfig_CustomModelConfig
- type ModelServerConfig_ModelConfigList
- type ModelType
- type MonitoringConfig
- func (*MonitoringConfig) Descriptor() ([]byte, []int)
- func (m *MonitoringConfig) GetPrometheusConfig() *PrometheusConfig
- func (*MonitoringConfig) ProtoMessage()
- func (m *MonitoringConfig) Reset()
- func (m *MonitoringConfig) String() string
- func (m *MonitoringConfig) XXX_DiscardUnknown()
- func (m *MonitoringConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MonitoringConfig) XXX_Merge(src proto.Message)
- func (m *MonitoringConfig) XXX_Size() int
- func (m *MonitoringConfig) XXX_Unmarshal(b []byte) error
- type PlatformConfig
- func (*PlatformConfig) Descriptor() ([]byte, []int)
- func (m *PlatformConfig) GetSourceAdapterConfig() *any.Any
- func (*PlatformConfig) ProtoMessage()
- func (m *PlatformConfig) Reset()
- func (m *PlatformConfig) String() string
- func (m *PlatformConfig) XXX_DiscardUnknown()
- func (m *PlatformConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PlatformConfig) XXX_Merge(src proto.Message)
- func (m *PlatformConfig) XXX_Size() int
- func (m *PlatformConfig) XXX_Unmarshal(b []byte) error
- type PlatformConfigMap
- func (*PlatformConfigMap) Descriptor() ([]byte, []int)
- func (m *PlatformConfigMap) GetPlatformConfigs() map[string]*PlatformConfig
- func (*PlatformConfigMap) ProtoMessage()
- func (m *PlatformConfigMap) Reset()
- func (m *PlatformConfigMap) String() string
- func (m *PlatformConfigMap) XXX_DiscardUnknown()
- func (m *PlatformConfigMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PlatformConfigMap) XXX_Merge(src proto.Message)
- func (m *PlatformConfigMap) XXX_Size() int
- func (m *PlatformConfigMap) XXX_Unmarshal(b []byte) error
- type PrometheusConfig
- func (*PrometheusConfig) Descriptor() ([]byte, []int)
- func (m *PrometheusConfig) GetEnable() bool
- func (m *PrometheusConfig) GetPath() string
- func (*PrometheusConfig) ProtoMessage()
- func (m *PrometheusConfig) Reset()
- func (m *PrometheusConfig) String() string
- func (m *PrometheusConfig) XXX_DiscardUnknown()
- func (m *PrometheusConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PrometheusConfig) XXX_Merge(src proto.Message)
- func (m *PrometheusConfig) XXX_Size() int
- func (m *PrometheusConfig) XXX_Unmarshal(b []byte) error
- type SSLConfig
- func (*SSLConfig) Descriptor() ([]byte, []int)
- func (m *SSLConfig) GetClientVerify() bool
- func (m *SSLConfig) GetCustomCa() string
- func (m *SSLConfig) GetServerCert() string
- func (m *SSLConfig) GetServerKey() string
- func (*SSLConfig) ProtoMessage()
- func (m *SSLConfig) Reset()
- func (m *SSLConfig) String() string
- func (m *SSLConfig) XXX_DiscardUnknown()
- func (m *SSLConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SSLConfig) XXX_Merge(src proto.Message)
- func (m *SSLConfig) XXX_Size() int
- func (m *SSLConfig) XXX_Unmarshal(b []byte) error
- type SamplingConfig
- func (*SamplingConfig) Descriptor() ([]byte, []int)
- func (m *SamplingConfig) GetSamplingRate() float64
- func (*SamplingConfig) ProtoMessage()
- func (m *SamplingConfig) Reset()
- func (m *SamplingConfig) String() string
- func (m *SamplingConfig) XXX_DiscardUnknown()
- func (m *SamplingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SamplingConfig) XXX_Merge(src proto.Message)
- func (m *SamplingConfig) XXX_Size() int
- func (m *SamplingConfig) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ModelType_name = map[int32]string{
0: "MODEL_TYPE_UNSPECIFIED",
1: "TENSORFLOW",
2: "OTHER",
}
View Source
var ModelType_value = map[string]int32{
"MODEL_TYPE_UNSPECIFIED": 0,
"TENSORFLOW": 1,
"OTHER": 2,
}
Functions ¶
This section is empty.
Types ¶
type LogCollectorConfig ¶
type LogCollectorConfig struct {
// Identifies the type of the LogCollector we will use to collect these logs.
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// The prefix to use for the filenames of the logs.
FilenamePrefix string `protobuf:"bytes,2,opt,name=filename_prefix,json=filenamePrefix,proto3" json:"filename_prefix,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*LogCollectorConfig) Descriptor ¶
func (*LogCollectorConfig) Descriptor() ([]byte, []int)
func (*LogCollectorConfig) GetFilenamePrefix ¶
func (m *LogCollectorConfig) GetFilenamePrefix() string
func (*LogCollectorConfig) GetType ¶
func (m *LogCollectorConfig) GetType() string
func (*LogCollectorConfig) ProtoMessage ¶
func (*LogCollectorConfig) ProtoMessage()
func (*LogCollectorConfig) Reset ¶
func (m *LogCollectorConfig) Reset()
func (*LogCollectorConfig) String ¶
func (m *LogCollectorConfig) String() string
func (*LogCollectorConfig) XXX_DiscardUnknown ¶
func (m *LogCollectorConfig) XXX_DiscardUnknown()
func (*LogCollectorConfig) XXX_Marshal ¶
func (m *LogCollectorConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LogCollectorConfig) XXX_Merge ¶
func (dst *LogCollectorConfig) XXX_Merge(src proto.Message)
func (*LogCollectorConfig) XXX_Size ¶
func (m *LogCollectorConfig) XXX_Size() int
func (*LogCollectorConfig) XXX_Unmarshal ¶
func (m *LogCollectorConfig) XXX_Unmarshal(b []byte) error
type LoggingConfig ¶
type LoggingConfig struct {
LogCollectorConfig *LogCollectorConfig `protobuf:"bytes,1,opt,name=log_collector_config,json=logCollectorConfig,proto3" json:"log_collector_config,omitempty"`
SamplingConfig *SamplingConfig `protobuf:"bytes,2,opt,name=sampling_config,json=samplingConfig,proto3" json:"sampling_config,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Configuration for logging query/responses.
func (*LoggingConfig) Descriptor ¶
func (*LoggingConfig) Descriptor() ([]byte, []int)
func (*LoggingConfig) GetLogCollectorConfig ¶
func (m *LoggingConfig) GetLogCollectorConfig() *LogCollectorConfig
func (*LoggingConfig) GetSamplingConfig ¶
func (m *LoggingConfig) GetSamplingConfig() *SamplingConfig
func (*LoggingConfig) ProtoMessage ¶
func (*LoggingConfig) ProtoMessage()
func (*LoggingConfig) Reset ¶
func (m *LoggingConfig) Reset()
func (*LoggingConfig) String ¶
func (m *LoggingConfig) String() string
func (*LoggingConfig) XXX_DiscardUnknown ¶
func (m *LoggingConfig) XXX_DiscardUnknown()
func (*LoggingConfig) XXX_Marshal ¶
func (m *LoggingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoggingConfig) XXX_Merge ¶
func (dst *LoggingConfig) XXX_Merge(src proto.Message)
func (*LoggingConfig) XXX_Size ¶
func (m *LoggingConfig) XXX_Size() int
func (*LoggingConfig) XXX_Unmarshal ¶
func (m *LoggingConfig) XXX_Unmarshal(b []byte) error
type ModelConfig ¶
type ModelConfig struct {
// Name of the model.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Base path to the model, excluding the version directory.
// E.g> for a model at /foo/bar/my_model/123, where 123 is the version, the
// base path is /foo/bar/my_model.
//
// (This can be changed once a model is in serving, *if* the underlying data
// remains the same. Otherwise there are no guarantees about whether the old
// or new data will be used for model versions currently loaded.)
BasePath string `protobuf:"bytes,2,opt,name=base_path,json=basePath,proto3" json:"base_path,omitempty"`
// Type of model.
// TODO(b/31336131): DEPRECATED. Please use 'model_platform' instead.
ModelType ModelType `protobuf:"varint,3,opt,name=model_type,json=modelType,proto3,enum=tensorflow.serving.ModelType" json:"model_type,omitempty"` // Deprecated: Do not use.
// Type of model (e.g. "tensorflow").
//
// (This cannot be changed once a model is in serving.)
ModelPlatform string `protobuf:"bytes,4,opt,name=model_platform,json=modelPlatform,proto3" json:"model_platform,omitempty"`
// Version policy for the model indicating which version(s) of the model to
// load and make available for serving simultaneously.
// The default option is to serve only the latest version of the model.
//
// (This can be changed once a model is in serving.)
ModelVersionPolicy *storage_path.FileSystemStoragePathSourceConfig_ServableVersionPolicy `protobuf:"bytes,7,opt,name=model_version_policy,json=modelVersionPolicy,proto3" json:"model_version_policy,omitempty"`
// String labels to associate with versions of the model, allowing inference
// queries to refer to versions by label instead of number. Multiple labels
// can map to the same version, but not vice-versa.
//
// An envisioned use-case for these labels is canarying tentative versions.
// For example, one can assign labels "stable" and "canary" to two specific
// versions. Perhaps initially "stable" is assigned to version 0 and "canary"
// to version 1. Once version 1 passes canary, one can shift the "stable"
// label to refer to version 1 (at that point both labels map to the same
// version -- version 1 -- which is fine). Later once version 2 is ready to
// canary one can move the "canary" label to version 2. And so on.
VersionLabels map[string]int64 `` /* 189-byte string literal not displayed */
// Configures logging requests and responses, to the model.
//
// (This can be changed once a model is in serving.)
LoggingConfig *LoggingConfig `protobuf:"bytes,6,opt,name=logging_config,json=loggingConfig,proto3" json:"logging_config,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Common configuration for loading a model being served.
func (*ModelConfig) Descriptor ¶
func (*ModelConfig) Descriptor() ([]byte, []int)
func (*ModelConfig) GetBasePath ¶
func (m *ModelConfig) GetBasePath() string
func (*ModelConfig) GetLoggingConfig ¶
func (m *ModelConfig) GetLoggingConfig() *LoggingConfig
func (*ModelConfig) GetModelPlatform ¶
func (m *ModelConfig) GetModelPlatform() string
func (*ModelConfig) GetModelType
deprecated
func (m *ModelConfig) GetModelType() ModelType
Deprecated: Do not use.
func (*ModelConfig) GetModelVersionPolicy ¶
func (m *ModelConfig) GetModelVersionPolicy() *storage_path.FileSystemStoragePathSourceConfig_ServableVersionPolicy
func (*ModelConfig) GetName ¶
func (m *ModelConfig) GetName() string
func (*ModelConfig) GetVersionLabels ¶
func (m *ModelConfig) GetVersionLabels() map[string]int64
func (*ModelConfig) ProtoMessage ¶
func (*ModelConfig) ProtoMessage()
func (*ModelConfig) Reset ¶
func (m *ModelConfig) Reset()
func (*ModelConfig) String ¶
func (m *ModelConfig) String() string
func (*ModelConfig) XXX_DiscardUnknown ¶
func (m *ModelConfig) XXX_DiscardUnknown()
func (*ModelConfig) XXX_Marshal ¶
func (m *ModelConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModelConfig) XXX_Merge ¶
func (dst *ModelConfig) XXX_Merge(src proto.Message)
func (*ModelConfig) XXX_Size ¶
func (m *ModelConfig) XXX_Size() int
func (*ModelConfig) XXX_Unmarshal ¶
func (m *ModelConfig) XXX_Unmarshal(b []byte) error
type ModelConfigList ¶
type ModelConfigList struct {
Config []*ModelConfig `protobuf:"bytes,1,rep,name=config,proto3" json:"config,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Static list of models to be loaded for serving.
func (*ModelConfigList) Descriptor ¶
func (*ModelConfigList) Descriptor() ([]byte, []int)
func (*ModelConfigList) GetConfig ¶
func (m *ModelConfigList) GetConfig() []*ModelConfig
func (*ModelConfigList) ProtoMessage ¶
func (*ModelConfigList) ProtoMessage()
func (*ModelConfigList) Reset ¶
func (m *ModelConfigList) Reset()
func (*ModelConfigList) String ¶
func (m *ModelConfigList) String() string
func (*ModelConfigList) XXX_DiscardUnknown ¶
func (m *ModelConfigList) XXX_DiscardUnknown()
func (*ModelConfigList) XXX_Marshal ¶
func (m *ModelConfigList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModelConfigList) XXX_Merge ¶
func (dst *ModelConfigList) XXX_Merge(src proto.Message)
func (*ModelConfigList) XXX_Size ¶
func (m *ModelConfigList) XXX_Size() int
func (*ModelConfigList) XXX_Unmarshal ¶
func (m *ModelConfigList) XXX_Unmarshal(b []byte) error
type ModelServerConfig ¶
type ModelServerConfig struct {
// ModelServer takes either a static file-based model config list or an Any
// proto representing custom model config that is fetched dynamically at
// runtime (through network RPC, custom service, etc.).
//
// Types that are valid to be assigned to Config:
// *ModelServerConfig_ModelConfigList
// *ModelServerConfig_CustomModelConfig
Config isModelServerConfig_Config `protobuf_oneof:"config"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
ModelServer config.
func (*ModelServerConfig) Descriptor ¶
func (*ModelServerConfig) Descriptor() ([]byte, []int)
func (*ModelServerConfig) GetConfig ¶
func (m *ModelServerConfig) GetConfig() isModelServerConfig_Config
func (*ModelServerConfig) GetCustomModelConfig ¶
func (m *ModelServerConfig) GetCustomModelConfig() *any.Any
func (*ModelServerConfig) GetModelConfigList ¶
func (m *ModelServerConfig) GetModelConfigList() *ModelConfigList
func (*ModelServerConfig) ProtoMessage ¶
func (*ModelServerConfig) ProtoMessage()
func (*ModelServerConfig) Reset ¶
func (m *ModelServerConfig) Reset()
func (*ModelServerConfig) String ¶
func (m *ModelServerConfig) String() string
func (*ModelServerConfig) XXX_DiscardUnknown ¶
func (m *ModelServerConfig) XXX_DiscardUnknown()
func (*ModelServerConfig) XXX_Marshal ¶
func (m *ModelServerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModelServerConfig) XXX_Merge ¶
func (dst *ModelServerConfig) XXX_Merge(src proto.Message)
func (*ModelServerConfig) XXX_OneofFuncs ¶
func (*ModelServerConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*ModelServerConfig) XXX_Size ¶
func (m *ModelServerConfig) XXX_Size() int
func (*ModelServerConfig) XXX_Unmarshal ¶
func (m *ModelServerConfig) XXX_Unmarshal(b []byte) error
type ModelServerConfig_ModelConfigList ¶
type ModelServerConfig_ModelConfigList struct {
ModelConfigList *ModelConfigList `protobuf:"bytes,1,opt,name=model_config_list,json=modelConfigList,proto3,oneof"`
}
type ModelType ¶
type ModelType int32
The type of model. TODO(b/31336131): DEPRECATED.
func (ModelType) EnumDescriptor ¶
type MonitoringConfig ¶
type MonitoringConfig struct {
PrometheusConfig *PrometheusConfig `protobuf:"bytes,1,opt,name=prometheus_config,json=prometheusConfig,proto3" json:"prometheus_config,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Configuration for monitoring.
func (*MonitoringConfig) Descriptor ¶
func (*MonitoringConfig) Descriptor() ([]byte, []int)
func (*MonitoringConfig) GetPrometheusConfig ¶
func (m *MonitoringConfig) GetPrometheusConfig() *PrometheusConfig
func (*MonitoringConfig) ProtoMessage ¶
func (*MonitoringConfig) ProtoMessage()
func (*MonitoringConfig) Reset ¶
func (m *MonitoringConfig) Reset()
func (*MonitoringConfig) String ¶
func (m *MonitoringConfig) String() string
func (*MonitoringConfig) XXX_DiscardUnknown ¶
func (m *MonitoringConfig) XXX_DiscardUnknown()
func (*MonitoringConfig) XXX_Marshal ¶
func (m *MonitoringConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MonitoringConfig) XXX_Merge ¶
func (dst *MonitoringConfig) XXX_Merge(src proto.Message)
func (*MonitoringConfig) XXX_Size ¶
func (m *MonitoringConfig) XXX_Size() int
func (*MonitoringConfig) XXX_Unmarshal ¶
func (m *MonitoringConfig) XXX_Unmarshal(b []byte) error
type PlatformConfig ¶
type PlatformConfig struct {
// The config proto for a SourceAdapter in the StoragePathSourceAdapter
// registry.
SourceAdapterConfig *any.Any `protobuf:"bytes,1,opt,name=source_adapter_config,json=sourceAdapterConfig,proto3" json:"source_adapter_config,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Configuration for a servable platform e.g. tensorflow or other ML systems.
func (*PlatformConfig) Descriptor ¶
func (*PlatformConfig) Descriptor() ([]byte, []int)
func (*PlatformConfig) GetSourceAdapterConfig ¶
func (m *PlatformConfig) GetSourceAdapterConfig() *any.Any
func (*PlatformConfig) ProtoMessage ¶
func (*PlatformConfig) ProtoMessage()
func (*PlatformConfig) Reset ¶
func (m *PlatformConfig) Reset()
func (*PlatformConfig) String ¶
func (m *PlatformConfig) String() string
func (*PlatformConfig) XXX_DiscardUnknown ¶
func (m *PlatformConfig) XXX_DiscardUnknown()
func (*PlatformConfig) XXX_Marshal ¶
func (m *PlatformConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlatformConfig) XXX_Merge ¶
func (dst *PlatformConfig) XXX_Merge(src proto.Message)
func (*PlatformConfig) XXX_Size ¶
func (m *PlatformConfig) XXX_Size() int
func (*PlatformConfig) XXX_Unmarshal ¶
func (m *PlatformConfig) XXX_Unmarshal(b []byte) error
type PlatformConfigMap ¶
type PlatformConfigMap struct {
// A map from a platform name to a platform config. The platform name is used
// in ModelConfig.model_platform.
PlatformConfigs map[string]*PlatformConfig `` /* 194-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*PlatformConfigMap) Descriptor ¶
func (*PlatformConfigMap) Descriptor() ([]byte, []int)
func (*PlatformConfigMap) GetPlatformConfigs ¶
func (m *PlatformConfigMap) GetPlatformConfigs() map[string]*PlatformConfig
func (*PlatformConfigMap) ProtoMessage ¶
func (*PlatformConfigMap) ProtoMessage()
func (*PlatformConfigMap) Reset ¶
func (m *PlatformConfigMap) Reset()
func (*PlatformConfigMap) String ¶
func (m *PlatformConfigMap) String() string
func (*PlatformConfigMap) XXX_DiscardUnknown ¶
func (m *PlatformConfigMap) XXX_DiscardUnknown()
func (*PlatformConfigMap) XXX_Marshal ¶
func (m *PlatformConfigMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlatformConfigMap) XXX_Merge ¶
func (dst *PlatformConfigMap) XXX_Merge(src proto.Message)
func (*PlatformConfigMap) XXX_Size ¶
func (m *PlatformConfigMap) XXX_Size() int
func (*PlatformConfigMap) XXX_Unmarshal ¶
func (m *PlatformConfigMap) XXX_Unmarshal(b []byte) error
type PrometheusConfig ¶
type PrometheusConfig struct {
// Whether to expose Prometheus metrics.
Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"`
// The endpoint to expose Prometheus metrics.
// If not specified, PrometheusExporter::kPrometheusPath value is used.
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Configuration for Prometheus monitoring.
func (*PrometheusConfig) Descriptor ¶
func (*PrometheusConfig) Descriptor() ([]byte, []int)
func (*PrometheusConfig) GetEnable ¶
func (m *PrometheusConfig) GetEnable() bool
func (*PrometheusConfig) GetPath ¶
func (m *PrometheusConfig) GetPath() string
func (*PrometheusConfig) ProtoMessage ¶
func (*PrometheusConfig) ProtoMessage()
func (*PrometheusConfig) Reset ¶
func (m *PrometheusConfig) Reset()
func (*PrometheusConfig) String ¶
func (m *PrometheusConfig) String() string
func (*PrometheusConfig) XXX_DiscardUnknown ¶
func (m *PrometheusConfig) XXX_DiscardUnknown()
func (*PrometheusConfig) XXX_Marshal ¶
func (m *PrometheusConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PrometheusConfig) XXX_Merge ¶
func (dst *PrometheusConfig) XXX_Merge(src proto.Message)
func (*PrometheusConfig) XXX_Size ¶
func (m *PrometheusConfig) XXX_Size() int
func (*PrometheusConfig) XXX_Unmarshal ¶
func (m *PrometheusConfig) XXX_Unmarshal(b []byte) error
type SSLConfig ¶
type SSLConfig struct {
// private server key for SSL
ServerKey string `protobuf:"bytes,1,opt,name=server_key,json=serverKey,proto3" json:"server_key,omitempty"`
// public server certificate
ServerCert string `protobuf:"bytes,2,opt,name=server_cert,json=serverCert,proto3" json:"server_cert,omitempty"`
// custom certificate authority
CustomCa string `protobuf:"bytes,3,opt,name=custom_ca,json=customCa,proto3" json:"custom_ca,omitempty"`
// valid client certificate required ?
ClientVerify bool `protobuf:"varint,4,opt,name=client_verify,json=clientVerify,proto3" json:"client_verify,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Configuration for a secure gRPC channel
func (*SSLConfig) Descriptor ¶
func (*SSLConfig) GetClientVerify ¶
func (*SSLConfig) GetCustomCa ¶
func (*SSLConfig) GetServerCert ¶
func (*SSLConfig) GetServerKey ¶
func (*SSLConfig) ProtoMessage ¶
func (*SSLConfig) ProtoMessage()
func (*SSLConfig) XXX_DiscardUnknown ¶
func (m *SSLConfig) XXX_DiscardUnknown()
func (*SSLConfig) XXX_Marshal ¶
func (*SSLConfig) XXX_Unmarshal ¶
type SamplingConfig ¶
type SamplingConfig struct {
// Requests will be logged uniformly at random with this probability. Valid
// range: [0, 1.0].
SamplingRate float64 `protobuf:"fixed64,1,opt,name=sampling_rate,json=samplingRate,proto3" json:"sampling_rate,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SamplingConfig) Descriptor ¶
func (*SamplingConfig) Descriptor() ([]byte, []int)
func (*SamplingConfig) GetSamplingRate ¶
func (m *SamplingConfig) GetSamplingRate() float64
func (*SamplingConfig) ProtoMessage ¶
func (*SamplingConfig) ProtoMessage()
func (*SamplingConfig) Reset ¶
func (m *SamplingConfig) Reset()
func (*SamplingConfig) String ¶
func (m *SamplingConfig) String() string
func (*SamplingConfig) XXX_DiscardUnknown ¶
func (m *SamplingConfig) XXX_DiscardUnknown()
func (*SamplingConfig) XXX_Marshal ¶
func (m *SamplingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SamplingConfig) XXX_Merge ¶
func (dst *SamplingConfig) XXX_Merge(src proto.Message)
func (*SamplingConfig) XXX_Size ¶
func (m *SamplingConfig) XXX_Size() int
func (*SamplingConfig) XXX_Unmarshal ¶
func (m *SamplingConfig) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.