prometheus_uaa_client

package
v0.7.8 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(url string, fetchToken TokenFetcherFunc, insecure bool) (v1.API, error)

func NewUAATokenFetcher

func NewUAATokenFetcher(config UAAClientConfig) *uaaTokenFetcher

Types

type TokenFetcherFunc

type TokenFetcherFunc func() (string, error)

type UAAClientConfig

type UAAClientConfig struct {
	Insecure        bool
	UAAHost         string
	UAAClientID     string
	UAAClientSecret string
	Timeout         time.Duration
}

Jump to

Keyboard shortcuts

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