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(useRegistry bool) bool
- func InvokeOperation(action string, services []string) error
- func IsKnownServiceKey(serviceKey string) bool
- func LoadRestRoutes() *mux.Router
- func ProcessResponse(response string) map[string]interface{}
- func Retry(useRegistry bool, useProfile string, timeout int, wait *sync.WaitGroup, ...)
- 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 ¶ added in v1.0.0
func IsKnownServiceKey ¶ added in v1.0.0
func LoadRestRoutes ¶ added in v1.0.0
func ProcessResponse ¶ added in v1.0.0
Types ¶
type ConfigRespMap ¶ added in v1.0.0
type ConfigRespMap struct {
Configuration map[string]interface{}
}
type ConfigurationStruct ¶ added in v1.0.0
type ConfigurationStruct struct { Writable WritableInfo Clients map[string]config.ClientInfo Service config.ServiceInfo ExecutorPath string Registry config.RegistryInfo Logging config.LoggingInfo FormatSpecifier string }
var Configuration *ConfigurationStruct
Global variables
type ExecuteApp ¶ added in v1.0.0
type ExecuteApp struct { }
func (*ExecuteApp) Restart ¶ added in v1.0.0
func (ec *ExecuteApp) Restart(service string) error
func (*ExecuteApp) Start ¶ added in v1.0.0
func (ec *ExecuteApp) Start(service string) error
func (*ExecuteApp) Stop ¶ added in v1.0.0
func (ec *ExecuteApp) Stop(service string) error
type MSMClient ¶ added in v1.0.0
type MSMClient interface {
ProcessResponse(response string) ConfigRespMap
}
type MetricsRespMap ¶ added in v1.0.0
type MetricsRespMap struct {
Metrics map[string]interface{}
}
type WritableInfo ¶ added in v1.0.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.