client

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2021 License: Apache-2.0 Imports: 4 Imported by: 26

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	NetworkDNS          network.DNSBackend
	NetworkLoadBalancer network.LoadBalancerBackend
	NetworkVIP          network.VIPBackend
	NetworkZone         network.ZoneBackend
	StorageBlockVolume  storage.BlockVolumeBackend

	StormConfig storm.ConfigBackend
	StormServer storm.ServerBackend
}

API is the structure that houses all of our various API clients that interact with various Storm resources.

func NewAPI

func NewAPI(username string, password string, url string, timeout int) (*API, error)

NewAPI is the API client for interacting with Storm.

type Client

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

Client provides the HTTP backend.

func NewClient

func NewClient(config *lwApi.LWAPIConfig) (*Client, error)

NewClient returns a prepared API client.

Jump to

Keyboard shortcuts

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