RedisCredentials

public class RedisCredentials

Contains the credentials for a Redis service instance. You will typically receive an instance of this type through cloudEnv.getRedisCredentials(name: String).

Reference Redis.

  • The host name from the Redis service instance credentials.

    Declaration

    Swift

    public let host: String
  • The password from the Redis service instance credentials.

    Declaration

    Swift

    public let password: String
  • The port from the Redis service instance credentials.

    Declaration

    Swift

    public let port: Int
  • Initializes an instance of the Redis service credentials.

    Declaration

    Swift

    public init(host: String, password: String, port: Int)