client

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2017 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthConfig

type AuthConfig struct {
	URL           string `yaml:"url,omitempty"`
	CACertificate string `yaml:"ca_certificate,omitempty"`
	RefreshToken  string `yaml:"refresh_token,omitempty"`
}

type Service

type Service struct {
	svc.Service
	// contains filtered or unexported fields
}

func NewService

func NewService(runtime client.Runtime, uaaClientFactory helper.ClientFactory) Service

func (Service) AuthLogin

func (s Service) AuthLogin(remoteService env_api.InfoServiceResponse) (interface{}, error)

func (Service) AuthLogout

func (s Service) AuthLogout() error

func (Service) AuthRequest

func (s Service) AuthRequest(req *http.Request) error

func (Service) Description

func (s Service) Description() string

func (Service) GetCommand

func (s Service) GetCommand() interface{}

Jump to

Keyboard shortcuts

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