Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MultiProcKey is the field used to indicate that MultiProc map mode is enabled // The value contains the number of servers spawned. MultiProcKey = "MULTIPROC" // MapModeKey field is used to indicate which map mode is enabled // If none is set, we consider the unary map as default MapModeKey = "MAP_MODE" )
Metadata keys used in the server info file
Variables ¶
View Source
var END = fmt.Sprintf("%U__END__", '\\')
Functions ¶
This section is empty.
Types ¶
type ContainerType ¶ added in v1.3.2
type ContainerType string
type Option ¶
type Option func(*Options)
Option is the interface to apply Options.
func WithServerInfoFilePath ¶
WithServerInfoFilePath sets the server info file path to the given path.
func WithServerInfoReadinessTimeout ¶
WithServerInfoReadinessTimeout sets the server info readiness timeout to the given timeout.
type Options ¶
type Options struct {
// contains filtered or unexported fields
}
func (*Options) ServerInfoFilePath ¶
ServerInfoFilePath returns the server info file path.
func (*Options) ServerInfoReadinessTimeout ¶
ServerInfoReadinessTimeout returns the server info readiness timeout.
type ServerInfo ¶ added in v1.3.2
type ServerInfo struct { Protocol Protocol `json:"protocol"` Language Language `json:"language"` MinimumNumaflowVersion string `json:"minimum_numaflow_version"` Version string `json:"version"` Metadata map[string]string `json:"metadata"` }
ServerInfo is the information about the server
func SDKServerInfo ¶
func SDKServerInfo(inputOptions ...Option) (*ServerInfo, error)
SDKServerInfo wait for the server to start and return the server info.
Click to show internal directories.
Click to hide internal directories.