upstreamdata

package
v0.0.0-...-9758eb9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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

Build populates the socket with the given upstream data.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL