options

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Options package holds the option settings for a single graph generation.

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeOptions added in v0.8.0

type NodeOptions struct {
	App      string
	Service  string
	Version  string
	Workload string
}

NodeOptions are those that apply only to node-detail graphs

type Options

type Options struct {
	AccessibleNamespaces map[string]bool
	Appenders            []appender.Appender
	Duration             time.Duration
	IncludeIstio         bool // include istio-system services. Ignored for istio-system ns. Default false.
	InjectServiceNodes   bool // inject destination service nodes between source and destination nodes.
	Namespaces           []string
	QueryTime            int64 // unix time in seconds
	Vendor               string
	NodeOptions
	VendorOptions
}

Options are all supported graph generation options.

func NewOptions

func NewOptions(r *http.Request) Options

type VendorOptions

type VendorOptions struct {
	GraphType string
	GroupBy   string
	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