options

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package options holds the currently supported path variables and query params for the graph handlers. See graph package for details.

Index

Constants

View Source
const (
	AppenderAll          string = "_all_"
	NamespaceAll         string = "all"
	NamespaceIstioSystem string = "istio-system"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Appenders    []appender.Appender
	Duration     time.Duration
	IncludeIstio bool // include istio-system services. Ignored for istio-system ns. Default false.
	Metric       string
	Namespaces   []string
	QueryTime    int64 // unix time in seconds
	Service      string
	Vendor       string
	VendorOptions
}

Options are all supported graph generation options.

func NewOptions

func NewOptions(r *http.Request) Options

type VendorOptions

type VendorOptions struct {
	GroupByVersion bool
	Timestamp      int64
}

VendorOptions are those that are supplied to the vendor-specific generators.

Jump to

Keyboard shortcuts

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