client

package
v0.0.0-...-3c0e84f Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2019 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddConfig

func AddConfig(auth Auth, profileName, configName string, config util.Config) (util.Result, error)

func AddPluginConfig

func AddPluginConfig(auth Auth, profileName, configName, pluginName string, configMap map[string]string) (util.Result, error)

func AddProfile

func AddProfile(auth Auth, profileName string) (util.Result, error)

func AddSchedule

func AddSchedule(auth Auth, profileName, configName, policy, cronScheduleInput string) (util.Result, error)

func AppPluginInfo

func AppPluginInfo(auth Auth, config util.Config, pluginName, pluginType string) (util.PluginInfoResult, error)

func AppPluginList

func AppPluginList(auth Auth, pluginType string) ([]string, error)

func Archive

func Archive(auth Auth, config util.Config) (util.Result, error)

func ArchiveCreateCmd

func ArchiveCreateCmd(auth Auth, config util.Config) (util.Result, error)

func ArchiveDelete

func ArchiveDelete(auth Auth, config util.Config) (util.Result, error)

func ArchiveDeleteCmd

func ArchiveDeleteCmd(auth Auth, config util.Config) (util.Result, error)

func ArchiveList

func ArchiveList(auth Auth, profileName, configName, policyName string, config util.Config) (util.ResultSimple, []util.Archive, error)

func ArchivePluginInfo

func ArchivePluginInfo(auth Auth, config util.Config, pluginName, pluginType string) (util.PluginInfoResult, error)

func ArchivePluginList

func ArchivePluginList(auth Auth, pluginType string) ([]string, error)

func Backup

func Backup(auth Auth, config util.Config) (util.Result, error)

func BackupCreateCmd

func BackupCreateCmd(auth Auth, config util.Config) (util.Result, error)

func BackupDelete

func BackupDelete(auth Auth, config util.Config) (util.Result, error)

func BackupDeleteCmd

func BackupDeleteCmd(auth Auth, config util.Config) (util.Result, error)

func BackupList

func BackupList(auth Auth, profileName, configName, policyName string, config util.Config) (util.Backups, error)

func DeleteConfig

func DeleteConfig(auth Auth, profileName, configName string) (util.Result, error)

func DeleteConfigDir

func DeleteConfigDir(auth Auth, profileName, configName string) (util.Result, error)

func DeletePluginConfig

func DeletePluginConfig(auth Auth, profileName, configName, pluginName string) (util.Result, error)

func DeleteProfile

func DeleteProfile(auth Auth, profileName string) (util.Result, error)

func DeleteSchedule

func DeleteSchedule(auth Auth, profileName, configName, policy string) (util.Result, error)

func DeleteWorkflowResults

func DeleteWorkflowResults(auth Auth, profileName, configName string, workflowId string) (util.Result, error)

func Discover

func Discover(auth Auth, config util.Config) (util.DiscoverResult, error)

func GetAppServiceStatus

func GetAppServiceStatus(auth Auth) (util.Status, error)

func GetConfig

func GetConfig(auth Auth, profileName, configName string) (util.ConfigResult, error)

func GetDefaultConfig

func GetDefaultConfig(auth Auth) (util.ConfigResult, error)

func GetDefaultPluginConfig

func GetDefaultPluginConfig(auth Auth, pluginName string) (util.ConfigMapResult, error)

func GetJobList

func GetJobList(auth Auth, profileName, configName string) (util.Jobs, error)

func GetPluginConfig

func GetPluginConfig(auth Auth, profileName, configName, pluginName string) (util.ConfigMapResult, error)

func GetServerServiceStatus

func GetServerServiceStatus(auth Auth) (util.Status, error)

func GetStorageServiceStatus

func GetStorageServiceStatus(auth Auth) (util.Status, error)

func GetWorkflowStatus

func GetWorkflowStatus(auth Auth, profileName, configName string, id int) (util.WorkflowStatusResult, error)

func GetWorkflowStepResults

func GetWorkflowStepResults(auth Auth, profileName, configName string, workflowId int, step int) ([]util.Result, error)

func ListConfigs

func ListConfigs(auth Auth, profileName string) (util.Result, error)

func ListPluginConfigs

func ListPluginConfigs(auth Auth, profileName, configName string) (util.Result, error)

func ListProfiles

func ListProfiles(auth Auth) (util.Result, error)

func ListSchedules

func ListSchedules(auth Auth) (util.JobScheduleResult, error)

func PostAppRestoreCmd

func PostAppRestoreCmd(auth Auth, config util.Config) (util.Result, error)

func PostQuiesceCmd

func PostQuiesceCmd(auth Auth, config util.Config) (util.Result, error)

func PostRestore

func PostRestore(auth Auth, config util.Config) (util.Result, error)

func PostUnquiesceCmd

func PostUnquiesceCmd(auth Auth, config util.Config) (util.Result, error)

func PreAppRestoreCmd

func PreAppRestoreCmd(auth Auth, config util.Config) (util.Result, error)

func PreQuiesceCmd

func PreQuiesceCmd(auth Auth, config util.Config) (util.Result, error)

func PreRestore

func PreRestore(auth Auth, config util.Config) (util.Result, error)

func PreUnquiesceCmd

func PreUnquiesceCmd(auth Auth, config util.Config) (util.Result, error)

func Quiesce

func Quiesce(auth Auth, config util.Config) (util.Result, error)

func QuiesceCmd

func QuiesceCmd(auth Auth, config util.Config) (util.Result, error)

func Restore

func Restore(auth Auth, config util.Config) (util.Result, error)

func RestoreCmd

func RestoreCmd(auth Auth, config util.Config) (util.Result, error)

func SendTrapErrorCmd

func SendTrapErrorCmd(auth Auth, config util.Config) (util.Result, error)

func SendTrapSuccessCmd

func SendTrapSuccessCmd(auth Auth, config util.Config) (util.Result, error)

func SetAdditionalConfigParams

func SetAdditionalConfigParams(profileName, configName, policyName string, config util.Config) util.Config

func StartBackupWorkflow

func StartBackupWorkflow(auth Auth, profileName, configName, policyName string) (util.WorkflowResult, error)

func StartBackupWorkflowLocalConfig

func StartBackupWorkflowLocalConfig(auth Auth, profileName, configName, policyName string, config util.Config) (util.WorkflowResult, error)

func StartRestoreWorkflow

func StartRestoreWorkflow(auth Auth, profileName, configName, policyName, selectedWorkflowId string) (util.WorkflowResult, error)

func StartRestoreWorkflowLocalConfig

func StartRestoreWorkflowLocalConfig(auth Auth, profileName, configName, policyName, selectedWorkflowId string, config util.Config) (util.WorkflowResult, error)

func StoragePluginInfo

func StoragePluginInfo(auth Auth, config util.Config, pluginName, pluginType string) (util.PluginInfoResult, error)

func StoragePluginList

func StoragePluginList(auth Auth, pluginType string) ([]string, error)

func Unquiesce

func Unquiesce(auth Auth, config util.Config) (util.Result, error)

func UnquiesceCmd

func UnquiesceCmd(auth Auth, config util.Config) (util.Result, error)

Types

type Auth

type Auth struct {
	ServerHostname  string `json:"serverHostname,omitempty"`
	ServerPort      string `json:"serverPort,omitempty"`
	AppHostname     string `json:"appHostname,omitempty"`
	AppPort         string `json:"appPort,omitempty"`
	StorageHostname string `json:"storageHostname,omitempty"`
	StoragePort     string `json:"storagePort,omitempty"`
	Username        string `json:"username,omitempty"`
	Password        string `json:"password,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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