Documentation
¶
Overview ¶
Copyright 2019 The Fossul Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2019 The Fossul Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2019 The Fossul Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2019 The Fossul Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2019 The Fossul Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2019 The Fossul Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2019 The Fossul Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func AddConfig(auth Auth, profileName, configName string, config util.Config) (util.Result, error)
- func AddPluginConfig(auth Auth, profileName, configName, pluginName string, ...) (util.Result, error)
- func AddProfile(auth Auth, profileName string) (util.Result, error)
- func AddSchedule(auth Auth, profileName, configName, policy, cronScheduleInput string) (util.Result, error)
- func AppPluginInfo(auth Auth, config util.Config, pluginName, pluginType string) (util.PluginInfoResult, error)
- func AppPluginList(auth Auth, pluginType string) ([]string, error)
- func Archive(auth Auth, config util.Config) (util.Result, error)
- func ArchiveCreateCmd(auth Auth, config util.Config) (util.Result, error)
- func ArchiveDelete(auth Auth, config util.Config) (util.Result, error)
- func ArchiveDeleteCmd(auth Auth, config util.Config) (util.Result, error)
- func ArchiveList(auth Auth, profileName, configName, policyName string, config util.Config) (util.Archives, error)
- func ArchivePluginInfo(auth Auth, config util.Config, pluginName, pluginType string) (util.PluginInfoResult, error)
- func ArchivePluginList(auth Auth, pluginType string) ([]string, error)
- func Backup(auth Auth, config util.Config) (util.Result, error)
- func BackupCreateCmd(auth Auth, config util.Config) (util.Result, error)
- func BackupDelete(auth Auth, config util.Config) (util.Result, error)
- func BackupDeleteCmd(auth Auth, config util.Config) (util.Result, error)
- func BackupList(auth Auth, profileName, configName, policyName string, config util.Config) (util.Backups, error)
- func DeleteConfig(auth Auth, profileName, configName string) (util.Result, error)
- func DeleteConfigDir(auth Auth, profileName, configName string) (util.Result, error)
- func DeletePluginConfig(auth Auth, profileName, configName, pluginName string) (util.Result, error)
- func DeleteProfile(auth Auth, profileName string) (util.Result, error)
- func DeleteSchedule(auth Auth, profileName, configName, policy string) (util.Result, error)
- func DeleteWorkflowResults(auth Auth, profileName, configName string, workflowId string) (util.Result, error)
- func Discover(auth Auth, config util.Config) (util.DiscoverResult, error)
- func GetAppServiceStatus(auth Auth) (util.Status, error)
- func GetConfig(auth Auth, profileName, configName string) (util.ConfigResult, error)
- func GetDefaultConfig(auth Auth) (util.ConfigResult, error)
- func GetDefaultPluginConfig(auth Auth, pluginName string) (util.ConfigMapResult, error)
- func GetJobList(auth Auth, profileName, configName string) (util.Jobs, error)
- func GetPluginConfig(auth Auth, profileName, configName, pluginName string) (util.ConfigMapResult, error)
- func GetServerServiceStatus(auth Auth) (util.Status, error)
- func GetStorageServiceStatus(auth Auth) (util.Status, error)
- func GetWorkflowStatus(auth Auth, profileName, configName string, id int) (util.WorkflowStatusResult, error)
- func GetWorkflowStepResults(auth Auth, profileName, configName string, workflowId int, step int) ([]util.Result, error)
- func ListConfigs(auth Auth, profileName string) (util.Result, error)
- func ListPluginConfigs(auth Auth, profileName, configName string) (util.Result, error)
- func ListProfiles(auth Auth) (util.Result, error)
- func ListSchedules(auth Auth) (util.JobScheduleResult, error)
- func PostAppRestoreCmd(auth Auth, config util.Config) (util.Result, error)
- func PostQuiesceCmd(auth Auth, config util.Config) (util.Result, error)
- func PostRestore(auth Auth, config util.Config) (util.Result, error)
- func PostUnquiesceCmd(auth Auth, config util.Config) (util.Result, error)
- func PreAppRestoreCmd(auth Auth, config util.Config) (util.Result, error)
- func PreQuiesceCmd(auth Auth, config util.Config) (util.Result, error)
- func PreRestore(auth Auth, config util.Config) (util.Result, error)
- func PreUnquiesceCmd(auth Auth, config util.Config) (util.Result, error)
- func Quiesce(auth Auth, config util.Config) (util.Result, error)
- func QuiesceCmd(auth Auth, config util.Config) (util.Result, error)
- func Restore(auth Auth, config util.Config) (util.Result, error)
- func RestoreCmd(auth Auth, config util.Config) (util.Result, error)
- func SendTrapErrorCmd(auth Auth, config util.Config) (util.Result, error)
- func SendTrapSuccessCmd(auth Auth, config util.Config) (util.Result, error)
- func SetAdditionalConfigParams(profileName, configName, policyName string, config util.Config) util.Config
- func StartBackupWorkflow(auth Auth, profileName, configName, policyName string) (util.WorkflowResult, error)
- func StartBackupWorkflowLocalConfig(auth Auth, profileName, configName, policyName string, config util.Config) (util.WorkflowResult, error)
- func StartRestoreWorkflow(auth Auth, profileName, configName, policyName, selectedWorkflowId string) (util.WorkflowResult, error)
- func StartRestoreWorkflowLocalConfig(auth Auth, profileName, configName, policyName, selectedWorkflowId string, ...) (util.WorkflowResult, error)
- func StoragePluginInfo(auth Auth, config util.Config, pluginName, pluginType string) (util.PluginInfoResult, error)
- func StoragePluginList(auth Auth, pluginType string) ([]string, error)
- func Unquiesce(auth Auth, config util.Config) (util.Result, error)
- func UnquiesceCmd(auth Auth, config util.Config) (util.Result, error)
- type Auth
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPluginConfig ¶
func AddSchedule ¶
func AppPluginInfo ¶
func ArchiveList ¶
func ArchivePluginInfo ¶
func BackupList ¶
func DeleteConfig ¶
func DeleteConfigDir ¶
func DeletePluginConfig ¶
func DeleteSchedule ¶
func DeleteWorkflowResults ¶
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 GetPluginConfig ¶
func GetPluginConfig(auth Auth, profileName, configName, pluginName string) (util.ConfigMapResult, error)
func GetWorkflowStatus ¶
func GetWorkflowStepResults ¶
func ListPluginConfigs ¶
func ListSchedules ¶
func ListSchedules(auth Auth) (util.JobScheduleResult, error)
func SendTrapSuccessCmd ¶
func StartBackupWorkflow ¶
func StartBackupWorkflow(auth Auth, profileName, configName, policyName string) (util.WorkflowResult, error)
func StartRestoreWorkflow ¶
func StartRestoreWorkflow(auth Auth, profileName, configName, policyName, selectedWorkflowId string) (util.WorkflowResult, error)
func StoragePluginInfo ¶
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"` }