SeaweedFSBuilderExtensions
Classstaticnet10.0
Provides extension methods for adding SeaweedFS resources to an
Hosting.IDistributedApplicationBuilder. namespace Aspire.Hosting;
public static class SeaweedFSBuilderExtensions{ // ...}9 members
Methods9
Section titled MethodsAddSeaweedFS(IDistributedApplicationBuilder, string)extensionats exportIResourceBuilder<SeaweedFSContainerResource> Adds a base SeaweedFS container (Master and Volume APIs) to the application model. Chain with .WithS3() or .WithFiler() to enable additional APIs.
WithAccessKey(IResourceBuilder<SeaweedFSContainerResource>, IResourceBuilder<ParameterResource>)extensionats exportIResourceBuilder<SeaweedFSContainerResource> Configures the Access Key that the SeaweedFS S3 resource uses.
WithDataBindMount(IResourceBuilder<SeaweedFSContainerResource>, string, bool)extensionats exportIResourceBuilder<SeaweedFSContainerResource> Adds a bind mount for the SeaweedFS data folder.
WithDataVolume(IResourceBuilder<SeaweedFSContainerResource>, string?, bool)extensionats exportIResourceBuilder<SeaweedFSContainerResource> Adds a named volume for the SeaweedFS data folder.
WithFiler(IResourceBuilder<SeaweedFSContainerResource>, int?)extensionats exportIResourceBuilder<SeaweedFSContainerResource> Enables the SeaweedFS Native Filer API.
WithHostPort(IResourceBuilder<SeaweedFSContainerResource>, int?)extensionats exportIResourceBuilder<SeaweedFSContainerResource> Configures the Master API host port that the SeaweedFS resource is exposed on.
WithS3(IResourceBuilder<SeaweedFSContainerResource>, int?)extensionats exportIResourceBuilder<SeaweedFSContainerResource> Enables the SeaweedFS S3-Compatible API Gateway.
WithS3ConfigFile(IResourceBuilder<SeaweedFSContainerResource>, string)extensionats exportIResourceBuilder<SeaweedFSContainerResource> Configures the SeaweedFS S3 API to use a specific external security configuration file.
WithSecretKey(IResourceBuilder<SeaweedFSContainerResource>, IResourceBuilder<ParameterResource>)extensionats exportIResourceBuilder<SeaweedFSContainerResource> Configures the Secret Key that the SeaweedFS S3 resource uses.