pkg

package
v0.1.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAuthenticator

func GetAuthenticator() (core.Authenticator, error)

GetAuthenticator instantiates an Authenticator from external config file

Types

type Client

type Client struct {
	*bxsession.Session
	User           *User
	ResourceClient controllerv2.ResourceServiceInstanceRepository
}

Client is used to communicate with IBM Cloud holds the session and user information

func NewClient

func NewClient() *Client

NewClient instantiates and returns an IBM Cloud Client object with session, resource controller and userDetails

type User

type User struct {
	ID      string
	Email   string
	Account string
	// contains filtered or unexported fields
}

User holds the user specific information

Jump to

Keyboard shortcuts

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