Documentation
¶
Overview ¶
** Copyright [2013-2016] [Megam Systems] ** ** 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 [2013-2015] [Megam Systems] ** ** 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 ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Version string Branch string Commit string CPUProfile string MemProfile string Closed chan struct{} Server *Server // contains filtered or unexported fields }
Command represents the command executed by "vertice start".
type Config ¶
type Config struct { Meta *meta.Config `toml:"meta"` Deployd *deployd.Config `toml:"deployd"` HTTPD *httpd.Config `toml:"http"` Docker *docker.Config `toml:"docker"` Metrics *metricsd.Config `toml:"metrics"` DNS *dns.Config `toml:"dns"` Events *eventsd.Config `toml:"events"` Storage *storage.Config `toml:"storage"` Rancher *rancher.Config `toml:"rancher"` MarketPlaces *marketplacesd.Config `toml:"marketplaces"` }
func NewConfig ¶
func NewConfig() *Config
NewConfig returns an instance of Config with reasonable defaults.
func NewDemoConfig ¶
NewDemoConfig returns the config that runs when no config is specified.
type Server ¶
type Server struct { Services []Service // Profiling CPUProfile string MemProfile string // contains filtered or unexported fields }
Server represents a container for the metadata and storage data and services. It is built using a config and it manages the startup and shutdown of all services in the proper order.
type Start ¶
type Start struct {
// contains filtered or unexported fields
}
func (*Start) ParseConfig ¶
ParseConfig parses the config at path.