Documentation

Index

Constants

View Source
const (
	DefaultExpirationBufferInSec = 30
	DefaultRequestTimeout        = 0 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	UaaEndpoint                   string `yaml:"uaa_endpoint"`
	ClientName                    string `yaml:"client_name"`
	ClientSecret                  string `yaml:"client_secret"`
	CACerts                       string `yaml:"ca_certs"`
	MaxNumberOfRetries            uint32
	RetryInterval                 time.Duration
	ExpirationBufferInSec         int64
	SkipVerification              bool
	InsecureAllowAnySigningMethod bool
	RequestTimeout                time.Duration
}

func (*Config) CheckCredentials

func (c *Config) CheckCredentials() error

func (*Config) CheckEndpoint

func (c *Config) CheckEndpoint() (*url.URL, error)

Source Files