Documentation ¶
Index ¶
Constants ¶
View Source
const ( UpstreamTypeSSH = "ssh" UpstreamTypeAwsSSM = "aws-ssm" UpstreamTypeAwsEC2Conn = "aws-ec2connect" )
TODO: delete these and use SDK types.
We leave these here for now to avoid touching the logic that sets up the upstream connections (using these names).
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UpstreamDataBuilder ¶
type UpstreamDataBuilder struct {
// contains filtered or unexported fields
}
UpstreamDataBuilder builds a connector socket's upstream data given upstream configuration from the border0 api.
func NewUpstreamDataBuilder ¶
func NewUpstreamDataBuilder(logger *zap.Logger) *UpstreamDataBuilder
NewUpstreamDataBuilder is the UpstreamDataBuilder constructor.
func (*UpstreamDataBuilder) Build ¶
func (u *UpstreamDataBuilder) Build(s *models.Socket, config service.Configuration) error
Build populates the socket with the given upstream data.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.