Aspire.Hosting.Nats
Official
📦 Aspire.Hosting.Natsv17.0.0Import path
apphost/modules/aspire4Functions
1Types
1 types, 4 functions and 9 members
Handles
Functions
DistributedApplicationBuilder
NatsServerResource
method
WithDataBindMountbuilderAdds a bind mount for the data folder to a NATS container resource.
WithDataBindMount(source string, options ...*WithDataBindMountOptions) NatsServerResourcemethod
WithDataVolumebuilderAdds a named volume for the data folder to a NATS container resource.
WithDataVolume(options ...*WithDataVolumeOptions) NatsServerResourcemethod
WithJetStreambuilderAdds JetStream support to the NATS server resource.
WithJetStream() NatsServerResource