ZitiHostConfigV1

public class ZitiHostConfigV1 : Codable, ZitiConfig

Class representation of host.v1 service configuration

  • Class representing port range

    See more

    Declaration

    Swift

    public class PortRange : Codable
  • Class representing listening options

    See more

    Declaration

    Swift

    public class ListenOptions : Codable
  • protocol

    Declaration

    Swift

    public var proto: String?
  • indicates whether or not to forward protocol

    Declaration

    Swift

    public var forwardProtocol: Bool?
  • listing of allowed protocols

    Declaration

    Swift

    public var allowedProtocols: [String]?
  • address

    Declaration

    Swift

    public var address: String?
  • indicates whether or not to forward address

    Declaration

    Swift

    public var forwardAddress: Bool?
  • listing of allowed addresses

    Declaration

    Swift

    public var allowedAddresses: [String]?
  • listing of allowed source addresses

    Declaration

    Swift

    public var allowedSourceAddresses: [String]?
  • port number

    Declaration

    Swift

    public var port: Int?
  • Indicates whether or not to forward port number

    Declaration

    Swift

    public var forwardPort: Bool?
  • listing of allowed port ranges

    Declaration

    Swift

    public var allowedPortRanges: [PortRange]?
  • Listen options

    Declaration

    Swift

    public var listenOptions: ListenOptions?