Documentation ¶
Overview ¶
******************************************************************************
- Copyright 2017 Dell Inc. *
- 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 2017 Dell Inc. *
- 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 ¶
- Constants
- Variables
- func Destruct()
- func Init() bool
- func InvokeOperation(action string, services []string) bool
- func LoadRestRoutes() *mux.Router
- func ProcessResponse(response string) map[string]interface{}
- func Retry(useProfile string, timeout int, wait *sync.WaitGroup, ch chan error)
- type ConfigRespMap
- type ConfigurationStruct
- type ExecuteApp
- type MSMClient
- type MetricsRespMap
- type WritableInfo
Constants ¶
View Source
const ( START = "start" STOP = "stop" RESTART = "restart" )
Variables ¶
View Source
var LoggingClient logger.LoggingClient
Functions ¶
func InvokeOperation ¶
func LoadRestRoutes ¶
func ProcessResponse ¶
Types ¶
type ConfigRespMap ¶
type ConfigRespMap struct {
Configuration map[string]interface{}
}
type ConfigurationStruct ¶
type ConfigurationStruct struct { Writable WritableInfo Clients map[string]config.ClientInfo Service config.ServiceInfo ExecutorPath string Logging config.LoggingInfo FormatSpecifier string }
var Configuration *ConfigurationStruct
Global variables
type ExecuteApp ¶
type ExecuteApp struct { }
func (*ExecuteApp) Restart ¶
func (ec *ExecuteApp) Restart(service string) error
func (*ExecuteApp) Start ¶
func (ec *ExecuteApp) Start(service string) error
func (*ExecuteApp) Stop ¶
func (ec *ExecuteApp) Stop(service string) error
type MSMClient ¶
type MSMClient interface {
ProcessResponse(response string) ConfigRespMap
}
type MetricsRespMap ¶
type MetricsRespMap struct {
Metrics map[string]interface{}
}
type WritableInfo ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.