Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Fixed some links in docs/PLUGIN_AUTHORING.md. #696

Merged
merged 2 commits into from
Feb 3, 2016

Conversation

IRCody
Copy link
Contributor

@IRCody IRCody commented Feb 3, 2016

No description provided.

@@ -87,7 +87,7 @@ GetConfigPolicy() (*cpolicy.ConfigPolicy, error)
Publish(contentType string, content []byte, config map[string]ctypes.ConfigValue) error
```
### Exposing a plugin
Creating the main program to serve the newly written plugin as an external process in main.go. By defining "Plugin.PluginMeta" with plugin specific settings, the newly created plugin may have its setting to override snap global settings. Please refer to [a sample](https://github.com/intelsdi-x/snap/blob/master/plugin/collector/snap-collector-mock1/main.go) to see how main.go is written. You may browse [snap global settings](https://github.com/intelsdi-x/snap/blob/master/snap.go#L45-L119).
Creating the main program to serve the newly written plugin as an external process in main.go. By defining "Plugin.PluginMeta" with plugin specific settings, the newly created plugin may have its setting to override snap global settings. Please refer to [a sample](https://github.com/intelsdi-x/snap/blob/master/plugin/collector/snap-collector-mock1/main.go) to see how main.go is written. You may browse [snap global settings](https://github.com/intelsdi-x/snap/blob/master/snapd.go#L45-L119).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice work!

@tiffanyfay
Copy link
Contributor

👍

@IRCody IRCody changed the title Fixed link to snap global settings in docs/PLUGIN_AUTHORING.md. Fixed some links in docs/PLUGIN_AUTHORING.md. Feb 3, 2016
@tiffanyfay
Copy link
Contributor

👍

tiffanyfay added a commit that referenced this pull request Feb 3, 2016
Fixed some links in docs/PLUGIN_AUTHORING.md.
@tiffanyfay tiffanyfay merged commit 7cb26be into intelsdi-x:master Feb 3, 2016
@IRCody IRCody deleted the update_plugin_authoring_doc branch February 22, 2016 19:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants