client

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: Apache-2.0 Imports: 5 Imported by: 22

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
	NetworkDNSZone      network.DNSZoneBackend
	NetworkLoadBalancer network.LoadBalancerBackend
	NetworkVIP          network.VIPBackend
	NetworkZone         network.ZoneBackend
	StorageBlockVolume  storage.BlockVolumeBackend

	StormConfig storm.ConfigBackend
	StormServer storm.ServerBackend
	Asset       asset.AssetBackend
}

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