Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Server information file configs MapServerInfoFile = "/var/run/numaflow/mapper-server-info" MapStreamServerInfoFile = "/var/run/numaflow/mapstreamer-server-info" ReduceServerInfoFile = "/var/run/numaflow/reducer-server-info" ReduceStreamServerInfoFile = "/var/run/numaflow/reducestreamer-server-info" SessionReduceServerInfoFile = "/var/run/numaflow/sessionreducer-server-info" SideInputServerInfoFile = "/var/run/numaflow/sideinput-server-info" SinkServerInfoFile = "/var/run/numaflow/sinker-server-info" SourceServerInfoFile = "/var/run/numaflow/sourcer-server-info" SourceTransformerServerInfoFile = "/var/run/numaflow/sourcetransformer-server-info" )
Variables ¶
This section is empty.
Functions ¶
func SDKServerInfo ¶
func SDKServerInfo(inputOptions ...Option) (*info.ServerInfo, error)
SDKServerInfo wait for the server to start and return the server info.
Types ¶
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.
Click to show internal directories.
Click to hide internal directories.