Documentation ¶
Overview ¶
Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at
http://aws.amazon.com/apache2.0/
or in the "license" file accompanying this file. This file 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.
Package rundaemon implements rundaemon plugin and its configuration
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateDaemonInput ¶
func ValidateDaemonInput(input ConfigureDaemonPluginInput) error
Types ¶
type ConfigureDaemonPluginInput ¶
type ConfigureDaemonPluginInput struct { contracts.PluginInput Name string `json:"name"` Action string `json:"action"` PackageLocation string `json:"packagelocation"` Command string `json:"command"` }
ConfigureDaemonPluginInput represents an action to run a package as a daemon.
type Plugin ¶
type Plugin struct { pluginutil.DefaultPlugin // ExeLocation is the location directory for a particular daemon ExeLocation string // Name is the name of the daemon Name string // CommandLine is the command line to launch the daemon (On Windows, ame of executable or a powershell script) CommandLine string }
Plugin is the type for the configureDaemon plugin.