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 (m *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 (m *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() *tensorflow_serving.FileSystemStoragePathSourceConfig_ServableVersionPolicy
- func (m *ModelConfig) GetName() string
- 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 (m *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 (m *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 (m *ModelServerConfig) XXX_Merge(src proto.Message)
- func (*ModelServerConfig) XXX_OneofWrappers() []interface{}
- func (m *ModelServerConfig) XXX_Size() int
- func (m *ModelServerConfig) XXX_Unmarshal(b []byte) error
- type ModelServerConfig_CustomModelConfig
- type ModelServerConfig_ModelConfigList
- type ModelType
- 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 (m *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 (m *PlatformConfigMap) XXX_Merge(src proto.Message)
- func (m *PlatformConfigMap) XXX_Size() int
- func (m *PlatformConfigMap) 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 (m *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 (m *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 (m *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 *tensorflow_serving.FileSystemStoragePathSourceConfig_ServableVersionPolicy `protobuf:"bytes,7,opt,name=model_version_policy,json=modelVersionPolicy,proto3" json:"model_version_policy,omitempty"` // 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() *tensorflow_serving.FileSystemStoragePathSourceConfig_ServableVersionPolicy
func (*ModelConfig) GetName ¶
func (m *ModelConfig) GetName() string
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 (m *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 (m *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 (m *ModelServerConfig) XXX_Merge(src proto.Message)
func (*ModelServerConfig) XXX_OneofWrappers ¶
func (*ModelServerConfig) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers 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 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 (m *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 (m *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 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 (m *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.