api

package
v2.5.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Client       *cfclient.Client
	UAARefresher *UAATokenRefresher
}

Client is the PCF API Client

func New

func New() (c *Client, err error)

New API Client

type UAATokenRefresher

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

UAATokenRefresher ...

func NewUAATokenRefresher

func NewUAATokenRefresher(authEndpoint string,
	clientID string,
	clientSecret string,
	skipSSLValidation bool,
) (*UAATokenRefresher, error)

NewUAATokenRefresher ...

func (*UAATokenRefresher) RefreshAuthToken

func (uaa *UAATokenRefresher) RefreshAuthToken() (string, error)

RefreshAuthToken ...

Jump to

Keyboard shortcuts

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