cluster

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2017 License: Apache-2.0 Imports: 9 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCluster

func GetCluster(ctx context.Context) *client.Cluster

func GetClusterID

func GetClusterID(req *http.Request) string

func StoreCluster

func StoreCluster(ctx context.Context, cluster *client.Cluster) context.Context

Types

type Lookup

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

func NewLookup

func NewLookup(clusterURL string) *Lookup

func (*Lookup) Lookup

func (c *Lookup) Lookup(input *http.Request) (*client.Cluster, error)

Jump to

Keyboard shortcuts

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