Aspire.Hosting.Nats
Official
📦 Aspire.Hosting.Natsv13.6.04Functions
1Types
1 types and 10 members
Types
Functions
method
addNatsbuilderAdds a NATS server resource to the application model.
addNats(name: string, port?: number, userName?: ParameterResource, password?: ParameterResource): NatsServerResourcemethod
withDataBindMountbuilderAdds a bind mount for the data folder to a NATS container resource.
withDataBindMount(source: string, isReadOnly?: boolean): NatsServerResourcemethod
withDataVolumebuilderAdds a named volume for the data folder to a NATS container resource.
withDataVolume(name?: string, isReadOnly?: boolean): NatsServerResourcemethod
withJetStreambuilderAdds JetStream support to the NATS server resource.
withJetStream(): NatsServerResource