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 GCP emulator container.
type FlociGcpContainerResource 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() EndpointReferenceExpressionWithDataBindMount( source string, options ...*WithDataBindMountOptions,) FlociGcpContainerResourceParameters
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
FlociGcpContainerResource A reference to the I for further configuration.
Returns a handle; failures surface later via Err().
WithDataVolume( name string, options ...*WithDataVolumeOptions,) FlociGcpContainerResourceParameters
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
FlociGcpContainerResource A reference to the I for further configuration.
Returns a handle; failures surface later via Err().
FLOCI_GCP_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) FlociGcpContainerResourceParameters
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
FlociGcpContainerResource A reference to the I for further configuration.
Returns a handle; failures surface later via Err().
WithFlociUI(options ...*WithFlociUIOptions) FlociGcpContainerResourceParameters
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
FlociGcpContainerResource A reference to the I for further resource configuration.
Returns a handle; failures surface later via Err().