Documentation ¶
Index ¶
- type FileSystemStoragePathSourceConfig
- func (*FileSystemStoragePathSourceConfig) Descriptor() ([]byte, []int)
- func (m *FileSystemStoragePathSourceConfig) GetBasePath() stringdeprecated
- func (m *FileSystemStoragePathSourceConfig) GetFailIfZeroVersionsAtStartup() bool
- func (m *FileSystemStoragePathSourceConfig) GetFileSystemPollWaitSeconds() int64
- func (m *FileSystemStoragePathSourceConfig) GetServableName() stringdeprecated
- func (m *FileSystemStoragePathSourceConfig) GetServables() []*FileSystemStoragePathSourceConfig_ServableToMonitor
- func (*FileSystemStoragePathSourceConfig) ProtoMessage()
- func (m *FileSystemStoragePathSourceConfig) Reset()
- func (m *FileSystemStoragePathSourceConfig) String() string
- func (m *FileSystemStoragePathSourceConfig) XXX_DiscardUnknown()
- func (m *FileSystemStoragePathSourceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FileSystemStoragePathSourceConfig) XXX_Merge(src proto.Message)
- func (m *FileSystemStoragePathSourceConfig) XXX_Size() int
- func (m *FileSystemStoragePathSourceConfig) XXX_Unmarshal(b []byte) error
- type FileSystemStoragePathSourceConfig_ServableToMonitor
- func (*FileSystemStoragePathSourceConfig_ServableToMonitor) Descriptor() ([]byte, []int)
- func (m *FileSystemStoragePathSourceConfig_ServableToMonitor) GetBasePath() string
- func (m *FileSystemStoragePathSourceConfig_ServableToMonitor) GetServableName() string
- func (m *FileSystemStoragePathSourceConfig_ServableToMonitor) GetServableVersionPolicy() *FileSystemStoragePathSourceConfig_ServableVersionPolicy
- func (*FileSystemStoragePathSourceConfig_ServableToMonitor) ProtoMessage()
- func (m *FileSystemStoragePathSourceConfig_ServableToMonitor) Reset()
- func (m *FileSystemStoragePathSourceConfig_ServableToMonitor) String() string
- func (m *FileSystemStoragePathSourceConfig_ServableToMonitor) XXX_DiscardUnknown()
- func (m *FileSystemStoragePathSourceConfig_ServableToMonitor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FileSystemStoragePathSourceConfig_ServableToMonitor) XXX_Merge(src proto.Message)
- func (m *FileSystemStoragePathSourceConfig_ServableToMonitor) XXX_Size() int
- func (m *FileSystemStoragePathSourceConfig_ServableToMonitor) XXX_Unmarshal(b []byte) error
- type FileSystemStoragePathSourceConfig_ServableVersionPolicy
- func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy) Descriptor() ([]byte, []int)
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy) GetAll() *FileSystemStoragePathSourceConfig_ServableVersionPolicy_All
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy) GetLatest() *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy) GetPolicyChoice() isFileSystemStoragePathSourceConfig_ServableVersionPolicy_PolicyChoice
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy) GetSpecific() *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific
- func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy) ProtoMessage()
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy) Reset()
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy) String() string
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy) XXX_DiscardUnknown()
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FileSystemStoragePathSourceConfig_ServableVersionPolicy) XXX_Merge(src proto.Message)
- func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy) XXX_Size() int
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy) XXX_Unmarshal(b []byte) error
- type FileSystemStoragePathSourceConfig_ServableVersionPolicy_All
- func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_All) Descriptor() ([]byte, []int)
- func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_All) ProtoMessage()
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_All) Reset()
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_All) String() string
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_All) XXX_DiscardUnknown()
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_All) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FileSystemStoragePathSourceConfig_ServableVersionPolicy_All) XXX_Merge(src proto.Message)
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_All) XXX_Size() int
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_All) XXX_Unmarshal(b []byte) error
- type FileSystemStoragePathSourceConfig_ServableVersionPolicy_All_
- type FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest
- func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) Descriptor() ([]byte, []int)
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) GetNumVersions() uint32
- func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) ProtoMessage()
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) Reset()
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) String() string
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) XXX_DiscardUnknown()
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) XXX_Merge(src proto.Message)
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) XXX_Size() int
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) XXX_Unmarshal(b []byte) error
- type FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest_
- type FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific
- func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) Descriptor() ([]byte, []int)
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) GetVersions() []int64
- func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) ProtoMessage()
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) Reset()
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) String() string
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) XXX_DiscardUnknown()
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) XXX_Merge(src proto.Message)
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) XXX_Size() int
- func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) XXX_Unmarshal(b []byte) error
- type FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific_
- type StaticStoragePathSourceConfig
- func (*StaticStoragePathSourceConfig) Descriptor() ([]byte, []int)
- func (m *StaticStoragePathSourceConfig) GetServableName() string
- func (m *StaticStoragePathSourceConfig) GetVersionNum() int64
- func (m *StaticStoragePathSourceConfig) GetVersionPath() string
- func (*StaticStoragePathSourceConfig) ProtoMessage()
- func (m *StaticStoragePathSourceConfig) Reset()
- func (m *StaticStoragePathSourceConfig) String() string
- func (m *StaticStoragePathSourceConfig) XXX_DiscardUnknown()
- func (m *StaticStoragePathSourceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StaticStoragePathSourceConfig) XXX_Merge(src proto.Message)
- func (m *StaticStoragePathSourceConfig) XXX_Size() int
- func (m *StaticStoragePathSourceConfig) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystemStoragePathSourceConfig ¶
type FileSystemStoragePathSourceConfig struct { // The servables to monitor for new versions, and aspire. Servables []*FileSystemStoragePathSourceConfig_ServableToMonitor `protobuf:"bytes,5,rep,name=servables,proto3" json:"servables,omitempty"` // A single servable name/base_path pair to monitor. // DEPRECATED: Use 'servables' instead. // TODO(b/30898016): Stop using these fields, and ultimately remove them here. ServableName string `protobuf:"bytes,1,opt,name=servable_name,json=servableName,proto3" json:"servable_name,omitempty"` // Deprecated: Do not use. BasePath string `protobuf:"bytes,2,opt,name=base_path,json=basePath,proto3" json:"base_path,omitempty"` // Deprecated: Do not use. // How long to wait between file-system polling to look for children of // 'base_path', in seconds. // // For testing use only: a negative value disables the polling thread. FileSystemPollWaitSeconds int64 `` /* 143-byte string literal not displayed */ // If true, then FileSystemStoragePathSource::Create() and ::UpdateConfig() // fail if, for any configured servables, the file system doesn't currently // contain at least one version under the base path. // (Otherwise, it will emit a warning and keep pinging the file system to // check for a version to appear later.) FailIfZeroVersionsAtStartup bool `` /* 151-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Config proto for FileSystemStoragePathSource.
func (*FileSystemStoragePathSourceConfig) Descriptor ¶
func (*FileSystemStoragePathSourceConfig) Descriptor() ([]byte, []int)
func (*FileSystemStoragePathSourceConfig) GetBasePath
deprecated
func (m *FileSystemStoragePathSourceConfig) GetBasePath() string
Deprecated: Do not use.
func (*FileSystemStoragePathSourceConfig) GetFailIfZeroVersionsAtStartup ¶
func (m *FileSystemStoragePathSourceConfig) GetFailIfZeroVersionsAtStartup() bool
func (*FileSystemStoragePathSourceConfig) GetFileSystemPollWaitSeconds ¶
func (m *FileSystemStoragePathSourceConfig) GetFileSystemPollWaitSeconds() int64
func (*FileSystemStoragePathSourceConfig) GetServableName
deprecated
func (m *FileSystemStoragePathSourceConfig) GetServableName() string
Deprecated: Do not use.
func (*FileSystemStoragePathSourceConfig) GetServables ¶
func (m *FileSystemStoragePathSourceConfig) GetServables() []*FileSystemStoragePathSourceConfig_ServableToMonitor
func (*FileSystemStoragePathSourceConfig) ProtoMessage ¶
func (*FileSystemStoragePathSourceConfig) ProtoMessage()
func (*FileSystemStoragePathSourceConfig) Reset ¶
func (m *FileSystemStoragePathSourceConfig) Reset()
func (*FileSystemStoragePathSourceConfig) String ¶
func (m *FileSystemStoragePathSourceConfig) String() string
func (*FileSystemStoragePathSourceConfig) XXX_DiscardUnknown ¶
func (m *FileSystemStoragePathSourceConfig) XXX_DiscardUnknown()
func (*FileSystemStoragePathSourceConfig) XXX_Marshal ¶
func (m *FileSystemStoragePathSourceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FileSystemStoragePathSourceConfig) XXX_Merge ¶
func (dst *FileSystemStoragePathSourceConfig) XXX_Merge(src proto.Message)
func (*FileSystemStoragePathSourceConfig) XXX_Size ¶
func (m *FileSystemStoragePathSourceConfig) XXX_Size() int
func (*FileSystemStoragePathSourceConfig) XXX_Unmarshal ¶
func (m *FileSystemStoragePathSourceConfig) XXX_Unmarshal(b []byte) error
type FileSystemStoragePathSourceConfig_ServableToMonitor ¶
type FileSystemStoragePathSourceConfig_ServableToMonitor struct { // The servable name to supply in aspired-versions callback calls. Child // paths of 'base_path' are considered to be versions of this servable. ServableName string `protobuf:"bytes,1,opt,name=servable_name,json=servableName,proto3" json:"servable_name,omitempty"` // The path to monitor, i.e. look for child paths of the form base_path/123. BasePath string `protobuf:"bytes,2,opt,name=base_path,json=basePath,proto3" json:"base_path,omitempty"` // The policy to determines the number of versions of the servable to be // served at the same time. ServableVersionPolicy *FileSystemStoragePathSourceConfig_ServableVersionPolicy `` /* 126-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A servable name and base path to look for versions of the servable.
func (*FileSystemStoragePathSourceConfig_ServableToMonitor) Descriptor ¶
func (*FileSystemStoragePathSourceConfig_ServableToMonitor) Descriptor() ([]byte, []int)
func (*FileSystemStoragePathSourceConfig_ServableToMonitor) GetBasePath ¶
func (m *FileSystemStoragePathSourceConfig_ServableToMonitor) GetBasePath() string
func (*FileSystemStoragePathSourceConfig_ServableToMonitor) GetServableName ¶
func (m *FileSystemStoragePathSourceConfig_ServableToMonitor) GetServableName() string
func (*FileSystemStoragePathSourceConfig_ServableToMonitor) GetServableVersionPolicy ¶
func (m *FileSystemStoragePathSourceConfig_ServableToMonitor) GetServableVersionPolicy() *FileSystemStoragePathSourceConfig_ServableVersionPolicy
func (*FileSystemStoragePathSourceConfig_ServableToMonitor) ProtoMessage ¶
func (*FileSystemStoragePathSourceConfig_ServableToMonitor) ProtoMessage()
func (*FileSystemStoragePathSourceConfig_ServableToMonitor) Reset ¶
func (m *FileSystemStoragePathSourceConfig_ServableToMonitor) Reset()
func (*FileSystemStoragePathSourceConfig_ServableToMonitor) String ¶
func (m *FileSystemStoragePathSourceConfig_ServableToMonitor) String() string
func (*FileSystemStoragePathSourceConfig_ServableToMonitor) XXX_DiscardUnknown ¶
func (m *FileSystemStoragePathSourceConfig_ServableToMonitor) XXX_DiscardUnknown()
func (*FileSystemStoragePathSourceConfig_ServableToMonitor) XXX_Marshal ¶
func (m *FileSystemStoragePathSourceConfig_ServableToMonitor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FileSystemStoragePathSourceConfig_ServableToMonitor) XXX_Merge ¶
func (dst *FileSystemStoragePathSourceConfig_ServableToMonitor) XXX_Merge(src proto.Message)
func (*FileSystemStoragePathSourceConfig_ServableToMonitor) XXX_Size ¶
func (m *FileSystemStoragePathSourceConfig_ServableToMonitor) XXX_Size() int
func (*FileSystemStoragePathSourceConfig_ServableToMonitor) XXX_Unmarshal ¶
func (m *FileSystemStoragePathSourceConfig_ServableToMonitor) XXX_Unmarshal(b []byte) error
type FileSystemStoragePathSourceConfig_ServableVersionPolicy ¶
type FileSystemStoragePathSourceConfig_ServableVersionPolicy struct { // Types that are valid to be assigned to PolicyChoice: // *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest_ // *FileSystemStoragePathSourceConfig_ServableVersionPolicy_All_ // *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific_ PolicyChoice isFileSystemStoragePathSourceConfig_ServableVersionPolicy_PolicyChoice `protobuf_oneof:"policy_choice"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A policy that dictates which version(s) of a servable should be served.
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy) Descriptor ¶
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy) Descriptor() ([]byte, []int)
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy) GetPolicyChoice ¶
func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy) GetPolicyChoice() isFileSystemStoragePathSourceConfig_ServableVersionPolicy_PolicyChoice
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy) GetSpecific ¶
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy) ProtoMessage ¶
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy) ProtoMessage()
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy) Reset ¶
func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy) Reset()
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy) String ¶
func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy) String() string
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy) XXX_DiscardUnknown ¶
func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy) XXX_DiscardUnknown()
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy) XXX_Marshal ¶
func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy) XXX_Merge ¶
func (dst *FileSystemStoragePathSourceConfig_ServableVersionPolicy) XXX_Merge(src proto.Message)
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy) XXX_OneofFuncs ¶
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy) 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 (*FileSystemStoragePathSourceConfig_ServableVersionPolicy) XXX_Size ¶
func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy) XXX_Size() int
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy) XXX_Unmarshal ¶
func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy) XXX_Unmarshal(b []byte) error
type FileSystemStoragePathSourceConfig_ServableVersionPolicy_All ¶
type FileSystemStoragePathSourceConfig_ServableVersionPolicy_All struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Serve all versions found on disk.
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_All) Descriptor ¶
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_All) Descriptor() ([]byte, []int)
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_All) ProtoMessage ¶
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_All) ProtoMessage()
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_All) Reset ¶
func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_All) Reset()
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_All) String ¶
func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_All) String() string
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_All) XXX_DiscardUnknown ¶
func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_All) XXX_DiscardUnknown()
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_All) XXX_Marshal ¶
func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_All) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_All) XXX_Merge ¶
func (dst *FileSystemStoragePathSourceConfig_ServableVersionPolicy_All) XXX_Merge(src proto.Message)
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_All) XXX_Size ¶
func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_All) XXX_Size() int
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_All) XXX_Unmarshal ¶
func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_All) XXX_Unmarshal(b []byte) error
type FileSystemStoragePathSourceConfig_ServableVersionPolicy_All_ ¶
type FileSystemStoragePathSourceConfig_ServableVersionPolicy_All_ struct {
All *FileSystemStoragePathSourceConfig_ServableVersionPolicy_All `protobuf:"bytes,101,opt,name=all,proto3,oneof"`
}
type FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest ¶
type FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest struct { // Number of latest versions to serve. (The default is 1.) NumVersions uint32 `protobuf:"varint,1,opt,name=num_versions,json=numVersions,proto3" json:"num_versions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Serve the latest versions (i.e. the ones with the highest version numbers), among those found on disk.
This is the default policy, with the default number of versions as 1.
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) Descriptor ¶
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) Descriptor() ([]byte, []int)
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) GetNumVersions ¶
func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) GetNumVersions() uint32
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) ProtoMessage ¶
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) ProtoMessage()
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) Reset ¶
func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) Reset()
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) String ¶
func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) String() string
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) XXX_DiscardUnknown ¶
func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) XXX_DiscardUnknown()
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) XXX_Marshal ¶
func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) XXX_Merge ¶
func (dst *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) XXX_Merge(src proto.Message)
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) XXX_Size ¶
func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) XXX_Size() int
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) XXX_Unmarshal ¶
func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest) XXX_Unmarshal(b []byte) error
type FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest_ ¶
type FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest_ struct {
Latest *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Latest `protobuf:"bytes,100,opt,name=latest,proto3,oneof"`
}
type FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific ¶
type FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific struct { // The version numbers to serve. Versions []int64 `protobuf:"varint,1,rep,packed,name=versions,proto3" json:"versions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Serve a specific version (or set of versions).
This policy is useful for rolling back to a specific version, or for canarying a specific version while still serving a separate stable version.
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) Descriptor ¶
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) Descriptor() ([]byte, []int)
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) GetVersions ¶
func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) GetVersions() []int64
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) ProtoMessage ¶
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) ProtoMessage()
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) Reset ¶
func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) Reset()
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) String ¶
func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) String() string
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) XXX_DiscardUnknown ¶
func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) XXX_DiscardUnknown()
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) XXX_Marshal ¶
func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) XXX_Merge ¶
func (dst *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) XXX_Merge(src proto.Message)
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) XXX_Size ¶
func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) XXX_Size() int
func (*FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) XXX_Unmarshal ¶
func (m *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific) XXX_Unmarshal(b []byte) error
type FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific_ ¶
type FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific_ struct {
Specific *FileSystemStoragePathSourceConfig_ServableVersionPolicy_Specific `protobuf:"bytes,102,opt,name=specific,proto3,oneof"`
}
type StaticStoragePathSourceConfig ¶
type StaticStoragePathSourceConfig struct { // The single servable name, version number and path to supply statically. ServableName string `protobuf:"bytes,1,opt,name=servable_name,json=servableName,proto3" json:"servable_name,omitempty"` VersionNum int64 `protobuf:"varint,2,opt,name=version_num,json=versionNum,proto3" json:"version_num,omitempty"` VersionPath string `protobuf:"bytes,3,opt,name=version_path,json=versionPath,proto3" json:"version_path,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Config proto for StaticStoragePathSource.
func (*StaticStoragePathSourceConfig) Descriptor ¶
func (*StaticStoragePathSourceConfig) Descriptor() ([]byte, []int)
func (*StaticStoragePathSourceConfig) GetServableName ¶
func (m *StaticStoragePathSourceConfig) GetServableName() string
func (*StaticStoragePathSourceConfig) GetVersionNum ¶
func (m *StaticStoragePathSourceConfig) GetVersionNum() int64
func (*StaticStoragePathSourceConfig) GetVersionPath ¶
func (m *StaticStoragePathSourceConfig) GetVersionPath() string
func (*StaticStoragePathSourceConfig) ProtoMessage ¶
func (*StaticStoragePathSourceConfig) ProtoMessage()
func (*StaticStoragePathSourceConfig) Reset ¶
func (m *StaticStoragePathSourceConfig) Reset()
func (*StaticStoragePathSourceConfig) String ¶
func (m *StaticStoragePathSourceConfig) String() string
func (*StaticStoragePathSourceConfig) XXX_DiscardUnknown ¶
func (m *StaticStoragePathSourceConfig) XXX_DiscardUnknown()
func (*StaticStoragePathSourceConfig) XXX_Marshal ¶
func (m *StaticStoragePathSourceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StaticStoragePathSourceConfig) XXX_Merge ¶
func (dst *StaticStoragePathSourceConfig) XXX_Merge(src proto.Message)
func (*StaticStoragePathSourceConfig) XXX_Size ¶
func (m *StaticStoragePathSourceConfig) XXX_Size() int
func (*StaticStoragePathSourceConfig) XXX_Unmarshal ¶
func (m *StaticStoragePathSourceConfig) XXX_Unmarshal(b []byte) error