Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerExecProxy ¶
type DockerExecProxy struct {
ContainerNameAllowlist []string
}
type ECSSSMProxy ¶
type KubectlExecProxy ¶
type ProxyConfig ¶
type ProxyConfig struct {
Username string
Password string
IdentityFile string
IdentityPrivateKey []byte
Hostname string
Port int
SshClientConfig *ssh.ClientConfig
SshServerConfig *ssh.ServerConfig
AwsSSMTarget string
AwsEC2InstanceId string
AWSRegion string
AWSProfile string
ECSSSMProxy *ECSSSMProxy
IsKubectlExec bool
KubectlExecProxy *KubectlExecProxy
IsDockerExec bool
DockerExecProxy *DockerExecProxy
AwsConfig aws.Config
AwsUpstreamType string
Logger *zap.Logger
AwsCredentials *common.AwsCredentials
Recording bool
EndToEndEncryption bool
Hostkey *ssh.Signer
OrgSshCA ssh.PublicKey
Socket *models.Socket
Border0API border0.Border0API
Border0CertAuth bool
}
func BuildProxyConfig ¶
func BuildProxyConfig(logger *zap.Logger, socket models.Socket, AWSRegion, AWSProfile string, hostkey *ssh.Signer, org *models.Organization, border0API border0.Border0API) (*ProxyConfig, error)
func (*ProxyConfig) IsRecordingEnabled ¶
func (c *ProxyConfig) IsRecordingEnabled() bool
Click to show internal directories.
Click to hide internal directories.