presenters

package
v0.0.0-...-91471a5 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricView

type MetricView struct {
	App          string
	CellId       string
	GUID         string
	Instance     string
	Job          string
	Metric       string
	Organisation string
	Space        string
}

type PathPresenter

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

func NewPathPresenter

func NewPathPresenter(template string) (PathPresenter, error)

func (PathPresenter) Present

func (p PathPresenter) Present(metric metrics.Metric) (string, error)

type SnakeCasePresenter

type SnakeCasePresenter struct {
}

func NewSnakeCasePresenter

func NewSnakeCasePresenter() SnakeCasePresenter

func (SnakeCasePresenter) Present

func (p SnakeCasePresenter) Present(str string) string

Jump to

Keyboard shortcuts

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