dlx

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2020 License: Apache-2.0 Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DLX

type DLX struct {
	// contains filtered or unexported fields
}

func NewDLX

func NewDLX(parentLogger logger.Logger,
	resourceScaler scaler_types.ResourceScaler,
	options scaler_types.DLXOptions) (*DLX, error)

func (*DLX) Start

func (d *DLX) Start() error

type Handler

type Handler struct {
	HandleFunc func(http.ResponseWriter, *http.Request)
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(parentLogger logger.Logger,
	resourceStarter *ResourceStarter,
	resourceScaler scaler_types.ResourceScaler,
	targetNameHeader string,
	targetPathHeader string,
	targetPort int) (Handler, error)

func (*Handler) URLBadParse

func (h *Handler) URLBadParse(resourceName string, err error) int

type ResourceStarter

type ResourceStarter struct {
	// contains filtered or unexported fields
}

func NewResourceStarter

func NewResourceStarter(parentLogger logger.Logger,
	scaler scaler_types.ResourceScaler,
	namespace string,
	resourceReadinessTimeout time.Duration) (*ResourceStarter, error)

type ResourceStatusResult

type ResourceStatusResult struct {
	ResourceName string
	Status       int
	Error        error
}

Jump to

Keyboard shortcuts

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