OrleansService
Describes an Orleans service.
type OrleansService interface{}Methods
AsClient AsClient() OrleansServiceClientReturns
OrleansServiceClient A model of the clients of an Orleans service.
Returns a handle; failures surface later via Err().
WithBroadcastChannel WithBroadcastChannel(name string) OrleansServiceParameters
namestringThe name of the provider. This is the name the application will use to resolve the provider.Returns
OrleansService The Orleans service builder.
Returns a handle; failures surface later via Err().
WithClusterId WithClusterId(clusterId string) OrleansServiceParameters
clusterId stringThe ClusterId value.Returns
OrleansService The Orleans service builder.
Returns a handle; failures surface later via Err().
WithClustering WithClustering(provider ResourceWithConnectionString) OrleansServiceParameters
providerResourceWithConnectionString The provider.Returns
OrleansService The Orleans service builder.
Returns a handle; failures surface later via Err().
WithDevelopmentClustering() OrleansServiceReturns
OrleansService The Orleans service builder.
Returns a handle; failures surface later via Err().
WithGrainDirectory WithGrainDirectory( name string, provider ResourceWithConnectionString,) OrleansServiceParameters
namestringThe name of the provider. This is the name the application will use to resolve the provider.providerResourceWithConnectionString The provider to add.Returns
OrleansService The Orleans service builder.
Returns a handle; failures surface later via Err().
WithGrainStorage WithGrainStorage( name string, provider ResourceWithConnectionString,) OrleansServiceParameters
namestringThe name of the provider. This is the name the application will use to resolve the provider.providerResourceWithConnectionString The provider to add.Returns
OrleansService The Orleans service builder.
Returns a handle; failures surface later via Err().
WithMemoryGrainStorage WithMemoryGrainStorage(name string) OrleansServiceParameters
namestringThe name of the provider. This is the name the application will use to resolve the provider.Returns
OrleansService The Orleans service builder.
Returns a handle; failures surface later via Err().
WithMemoryReminders WithMemoryReminders() OrleansServiceReturns
OrleansService The Orleans service builder.
Returns a handle; failures surface later via Err().
WithMemoryStreaming WithMemoryStreaming(name string) OrleansServiceParameters
namestringThe name of the provider. This is the name the application will use to resolve the provider.Returns
OrleansService The Orleans service builder.
Returns a handle; failures surface later via Err().
WithReminders WithReminders(provider ResourceWithConnectionString) OrleansServiceParameters
providerResourceWithConnectionString The reminder storage provider.Returns
OrleansService The Orleans service builder.
Returns a handle; failures surface later via Err().
WithServiceId WithServiceId(serviceId string) OrleansServiceParameters
serviceId stringThe ServiceId value.Returns
OrleansService The Orleans service builder.
Returns a handle; failures surface later via Err().
WithStreaming WithStreaming( name string, provider ResourceWithConnectionString,) OrleansServiceParameters
namestringThe name of the provider. This is the name the application will use to resolve the provider.providerResourceWithConnectionString The provider to add.Returns
OrleansService The Orleans service builder.
Returns a handle; failures surface later via Err().