lookup

package
v0.0.0-...-bae14f2 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const SessionLength = 32

SessionLength length of selenium session id

Variables

This section is empty.

Functions

This section is empty.

Types

type Lookup

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

Lookup provides addresses of pod in k8s cluster by sessiion

func New

func New(pool *poolPkg.Pool, config *config.Config) Lookup

New creates new Lookup

func (Lookup) Resolve

func (l Lookup) Resolve(request *http.Request) (string, error)

Resolve finds ip of pod by session id, specified in request

Jump to

Keyboard shortcuts

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