clientset

package
v0.0.0-...-386b7fa Latest Latest
Warning

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

Go to latest
Published: May 14, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clientset

type Clientset struct {
	BccClient *bcc.Client
	BlbClient *blb.Client
	EipClient *eip.Client
	VpcClient *vpc.Client
}

Clientset contains the clients for groups.

func NewFromConfig

func NewFromConfig(cfg *bce.Config) (*Clientset, error)

NewFromConfig create a new Clientset for the given config.

func (*Clientset) Bcc

func (c *Clientset) Bcc() *bcc.Client

Bcc retrieves the BccClient

func (*Clientset) Blb

func (c *Clientset) Blb() *blb.Client

Blb retrieves the BccClient

func (*Clientset) Eip

func (c *Clientset) Eip() *eip.Client

Eip retrieves the BccClient

func (*Clientset) Vpc

func (c *Clientset) Vpc() *vpc.Client

Vpc retrieves the VpcClient

type Interface

type Interface interface {
	Bcc() *bcc.Client
	Blb() *blb.Client
	Eip() *eip.Client
	Vpc() *vpc.Client
}

Interface contains all methods of clients

Jump to

Keyboard shortcuts

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