PrimaryEndpoint EndpointReference getPrimaryEndpoint() EndpointReferenceAPI references are intentionally omitted from this search. To find API references, please search these dedicated API pages instead:
Resource for the Floci Azure emulator container.
type FlociAzureContainerResource interface { ExpressionValue IComputeResource Resource ResourceWithArgs ResourceWithConnectionString ResourceWithEndpoints ResourceWithEnvironment ResourceWithWaitSupport}ConnectionStringExpression *ReferenceExpression getScheme.ConnectionStringExpression() *ReferenceExpressionHostEndpointReferenceExpression getHost() EndpointReferenceExpressionPortEndpointReferenceExpression getPort() EndpointReferenceExpressionPrimaryEndpoint EndpointReference getPrimaryEndpoint() EndpointReferenceSchemeEndpointReferenceExpression gethttp unless a TLS certificate has been configured, in which case the endpoint is switched to https before the application starts. Floci serves both on the same port, so the port never changes.Scheme() EndpointReferenceExpressionWithCosmos(options ...*WithCosmosOptions) FlociAzureCosmosResourceParameters
options...*WithCosmosOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithCosmosOptions argument.
Name*stringThe name of the Cosmos DB resource (default: cosmos).AccountName *stringThe Cosmos account name segment (default: devstoreaccount1).Returns
FlociAzureCosmosResource A reference to the I for further configuration.
Returns a handle; failures surface later via Err().
WithDataBindMount( source string, options ...*WithDataBindMountOptions,) FlociAzureContainerResourceParameters
sourcestringThe host path to bind into the container.options...*WithDataBindMountOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithDataBindMountOptions argument.
IsReadOnly *boolWhether the bind mount should be read-only.Returns
FlociAzureContainerResource A reference to the I for further configuration.
Returns a handle; failures surface later via Err().
WithDataVolume( name string, options ...*WithDataVolumeOptions,) FlociAzureContainerResourceParameters
namestringThe name of the volume to mount.options...*WithDataVolumeOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithDataVolumeOptions argument.
IsReadOnly *boolWhether the volume should be read-only.Returns
FlociAzureContainerResource A reference to the I for further configuration.
Returns a handle; failures surface later via Err().
FLOCI_AZ_DOCKER_DOCKER_HOST to unix:///var/run/docker.sock (the container-side path where the socket is always mounted) so Floci can connect to it.WithDockerSocket(options ...*WithDockerSocketOptions) FlociAzureContainerResourceParameters
options...*WithDockerSocketOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithDockerSocketOptions argument.
SocketPath *stringOptional. Host path to the Docker socket (default: /var/run/docker.sock ). Non-standard paths (e.g. Podman at /run/user/1000/podman/podman.sock ) are bind-mounted to /var/run/docker.sock inside the container.Returns
FlociAzureContainerResource A reference to the I for further configuration.
Returns a handle; failures surface later via Err().
WithFlociUI(options ...*WithFlociUIOptions) FlociAzureContainerResourceParameters
options...*WithFlociUIOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithFlociUIOptions argument.
ConfigureContainer func(obj FlociUIContainerResource) callbackConfiguration callback for the Floci UI container resource.ContainerName *stringOptional. The name of the Floci UI container (default: {floci-name}-ui ).Returns
FlociAzureContainerResource A reference to the I for further resource configuration.
Returns a handle; failures surface later via Err().
WithServiceBus(options ...*WithServiceBusOptions) FlociAzureServiceBusResourceParameters
options...*WithServiceBusOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithServiceBusOptions argument.
Name*stringThe globally unique name of the Service Bus resource (default: servicebus). Pass a distinct name for each additional emulator.AmqpPort *float64Host port for plain AMQP (default: selected by the integration at startup).AmqpTlsPort *float64Host port for AMQPS/TLS (default: selected by the integration at startup).Returns
FlociAzureServiceBusResource A reference to the I for further configuration.
Returns a handle; failures surface later via Err().
WithStorage(options ...*WithStorageOptions) FlociAzureStorageResourceParameters
options...*WithStorageOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithStorageOptions argument.
Name*stringThe name of the Storage resource (default: storage).Returns
FlociAzureStorageResource A reference to the I for further configuration.
Returns a handle; failures surface later via Err().