Package com.strongdm.api
Class Gateway
java.lang.Object
com.strongdm.api.Gateway
- All Implemented Interfaces:
Node
Gateway represents a StrongDM CLI installation running in gateway mode.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe hostname/port tuple which the gateway daemon will bind to.Device is a read only device name uploaded by the gateway process when it comes online.GatewayFilter can be used to restrict the peering between relays and gateways.getId()
Unique identifier of the Gateway.The public hostname/port tuple at which the gateway will be accessible to clients.Location is a read only network location uploaded by the gateway process when it comes online.Maintenance Windows define when this node is allowed to restart.getName()
Unique human-readable name of the Gateway.getState()
The current state of the gateway.getTags()
Tags is a map of key, value pairs.Version is a read only sdm binary version uploaded by the gateway process when it comes online.void
setBindAddress
(String in) The hostname/port tuple which the gateway daemon will bind to.void
Device is a read only device name uploaded by the gateway process when it comes online.void
GatewayFilter can be used to restrict the peering between relays and gateways.void
Unique identifier of the Gateway.void
The public hostname/port tuple at which the gateway will be accessible to clients.void
setLocation
(String in) Location is a read only network location uploaded by the gateway process when it comes online.void
Maintenance Windows define when this node is allowed to restart.void
Unique human-readable name of the Gateway.void
The current state of the gateway.void
Tags is a map of key, value pairs.void
setVersion
(String in) Version is a read only sdm binary version uploaded by the gateway process when it comes online.
-
Constructor Details
-
Gateway
public Gateway()
-
-
Method Details
-
getBindAddress
The hostname/port tuple which the gateway daemon will bind to. If not provided on create, set to "0.0.0.0:listen_address_port". -
setBindAddress
The hostname/port tuple which the gateway daemon will bind to. If not provided on create, set to "0.0.0.0:listen_address_port". -
getDevice
Device is a read only device name uploaded by the gateway process when it comes online. -
setDevice
Device is a read only device name uploaded by the gateway process when it comes online. -
getGatewayFilter
GatewayFilter can be used to restrict the peering between relays and gateways. Deprecated. -
setGatewayFilter
GatewayFilter can be used to restrict the peering between relays and gateways. Deprecated. -
getId
Unique identifier of the Gateway. -
setId
Unique identifier of the Gateway. -
getListenAddress
The public hostname/port tuple at which the gateway will be accessible to clients. -
setListenAddress
The public hostname/port tuple at which the gateway will be accessible to clients. -
getLocation
Location is a read only network location uploaded by the gateway process when it comes online. -
setLocation
Location is a read only network location uploaded by the gateway process when it comes online. -
getMaintenanceWindows
Maintenance Windows define when this node is allowed to restart. If a node is requested to restart, it will check each window to determine if any of them permit it to restart, and if any do, it will. This check is repeated per window until the restart is successfully completed. If not set here, may be set on the command line or via an environment variable on the process itself; any server setting will take precedence over local settings. This setting is ineffective for nodes below version 38.44.0. If this setting is not applied via this remote configuration or via local configuration, the default setting is used: always allow restarts if serving no connections, and allow a restart even if serving connections between 7-8 UTC, any day. -
setMaintenanceWindows
Maintenance Windows define when this node is allowed to restart. If a node is requested to restart, it will check each window to determine if any of them permit it to restart, and if any do, it will. This check is repeated per window until the restart is successfully completed. If not set here, may be set on the command line or via an environment variable on the process itself; any server setting will take precedence over local settings. This setting is ineffective for nodes below version 38.44.0. If this setting is not applied via this remote configuration or via local configuration, the default setting is used: always allow restarts if serving no connections, and allow a restart even if serving connections between 7-8 UTC, any day. -
getName
Unique human-readable name of the Gateway. Node names must include only letters, numbers, and hyphens (no spaces, underscores, or other special characters). Generated if not provided on create. -
setName
Unique human-readable name of the Gateway. Node names must include only letters, numbers, and hyphens (no spaces, underscores, or other special characters). Generated if not provided on create. -
getState
The current state of the gateway. One of: "new", "verifying_restart", "restarting", "started", "stopped", "dead", "unknown" -
setState
The current state of the gateway. One of: "new", "verifying_restart", "restarting", "started", "stopped", "dead", "unknown" -
getTags
Tags is a map of key, value pairs. -
setTags
Tags is a map of key, value pairs. -
getVersion
Version is a read only sdm binary version uploaded by the gateway process when it comes online. -
setVersion
Version is a read only sdm binary version uploaded by the gateway process when it comes online.
-