Documentation ¶
Overview ¶
Package ceb contains the core logic for the custom entrypoint binary ("ceb").
The CEB does not work on Windows.
Index ¶
Constants ¶
const (
DefaultPort = 5000
)
Variables ¶
var ErrURLSetup = errors.New("error configuring url service")
Functions ¶
Types ¶
type CEB ¶
type CEB struct {
// contains filtered or unexported fields
}
CEB represents the state of a running CEB.
func (*CEB) Close ¶
Close cleans up any resources created by the CEB and should be called to gracefully exit.
func (*CEB) DeploymentId ¶
DeploymentId returns the deployment ID that this CEB represents.
type Option ¶
func WithClient ¶
func WithClient(client pb.WaypointClient) Option
WithClient specifies the Waypoint client to use directly. This will override any env vars or any other form of client connection configuration.
func WithEnvDefaults ¶
func WithEnvDefaults() Option
WithEnvDefaults sets the configuration based on well-known accepted environment variables. If this is NOT called, then the environment variable based confiugration will be ignored.
type TestCEBData ¶
func TestCEB ¶
func TestCEB(t testing.T, opts ...Option) *TestCEBData
TestCEB runs a CEB for test purposes. This will start an in-memory server automatically if connection information is not configured.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package execwriter contains helpers for writing "waypoint exec" streams via an io.Writer.
|
Package execwriter contains helpers for writing "waypoint exec" streams via an io.Writer. |
Package ssh contains the login for the custom entrypoint binary to run an SSH server.
|
Package ssh contains the login for the custom entrypoint binary to run an SSH server. |
Package virtualceb is used to provide "virtual" CEB functionality.
|
Package virtualceb is used to provide "virtual" CEB functionality. |