storageHelper

package
v0.0.0-...-8900df5 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddReplicationTarget

func AddReplicationTarget(nbmaster string, httpClient *http.Client, jwt string, stsName string, candId string) int

####################################################################### Add replication target to MSDP Sts #######################################################################

func CreateMSDPStorageServer

func CreateMSDPStorageServer(nbmaster string, httpClient *http.Client, jwt string) (int, string)

####################################################################### Create a MSDP Storage server #######################################################################

func DeleteReplicationTargets

func DeleteReplicationTargets(nbmaster string, httpClient *http.Client, jwt string, stsName string, id string) int

####################################################################### Delete Replication targets #######################################################################

func GetHTTPClient

func GetHTTPClient() *http.Client

############################################################## Setup the HTTP client to make NetBackup Storage API requests ##############################################################

func GetReplicationCandidates

func GetReplicationCandidates(nbmaster string, httpClient *http.Client, jwt string) (int, string)

####################################################################### Get Replication candidates #######################################################################

func GetReplicationTargets

func GetReplicationTargets(nbmaster string, httpClient *http.Client, jwt string, stsName string) (int, string)

####################################################################### Get Replication targets #######################################################################

func Login

func Login(nbmaster string, httpClient *http.Client, username string, password string, domainName string, domainType string) string

##################################### Login to the NetBackup webservices #####################################

Types

type Data

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

type DataArray

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

Jump to

Keyboard shortcuts

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