STRUCT
Cloud
Contents
- Properties
urlbucket
- Methods
cloud(bucket:url:)
swift
public struct Cloud: Codable, HashableA cloud configuration, used for remote caching.
Properties
url
swift
public let url: StringThe base URL that points to the s3 server.
bucket
swift
public let bucket: StringThe bucket unique identifier.
Methods
cloud(bucket:url:)
swift
public static func cloud(bucket: String, url: String) -> CloudReturns a generic cloud configuration.
- Parameters:
- projectId: Project unique identifier.
- url: Base URL to the Cloud server.
- Returns: A Cloud instance.
Parameters
| Name | Description |
|---|---|
| projectId | Project unique identifier. |
| url | Base URL to the Cloud server. |
