client

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2025 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAPIClient

func NewAPIClient(cfg Config) (*client.Ontap, error)

Types

type Config

type Config struct {
	AdminUser     string
	AdminPassword string
	Host          string
	InsecureTLS   bool
}

type MetroClusterClient

type MetroClusterClient []client.Ontap

MetroClusterClient holds n API clients, one for each cluster in a metro cluster.

func NewMetroClusterClient

func NewMetroClusterClient(cfg MetroClusterConfig) (*MetroClusterClient, error)

NewMetroClusterClient creates a new client for a metro cluster, which contains a client for each of the n clusters.

type MetroClusterConfig

type MetroClusterConfig []Config

MetroClusterConfig holds the configuration for n clusters in a metro cluster.

Jump to

Keyboard shortcuts

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