Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientTlsConfig ¶ added in v0.8.0
func ClientTlsConfig(sessionAuthzData *targetspb.SessionAuthorizationData, host string) (*tls.Config, error)
ClientTlsConfig creates a TLS configuration from the session authorization data and host
Types ¶
type ConnectionInfo ¶
type ConnectionInfo struct {
ConnectionsLeft int32 `json:"connections_left"`
}
type SessionInfo ¶
type SessionInfo struct { Address string `json:"address"` Port int `json:"port"` Protocol string `json:"protocol"` Expiration time.Time `json:"expiration"` ConnectionLimit int32 `json:"connection_limit"` SessionId string `json:"session_id"` Credentials []*targets.SessionCredential `json:"credentials,omitempty"` }
type TerminationInfo ¶
type TerminationInfo struct {
Reason string `json:"termination_reason"`
}
Click to show internal directories.
Click to hide internal directories.