scoped

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2018 License: Apache-2.0 Imports: 16 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 interface {
	Authenticate(*tokens.AuthOptions) error
	GetMetadata() (*models.OpenstackMetadata, error)
}

func NewClient

func NewClient(authOptions *tokens.AuthOptions, logger log.Logger) (Client, error)

type LoggingClient

type LoggingClient struct {
	Client Client
	Logger log.Logger
}

func (LoggingClient) Authenticate

func (c LoggingClient) Authenticate(authOptions *tokens.AuthOptions) (err error)

func (LoggingClient) GetMetadata

func (c LoggingClient) GetMetadata() (metadata *models.OpenstackMetadata, err error)

Jump to

Keyboard shortcuts

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