Versions in this module Expand all Collapse all v0 v0.1.1 Nov 28, 2018 Changes in this version + var EmptyValues = map[string]interface{} + func UploadStringToRemoteFile(content string, host *pb.Host, filename string, owner, group, rights string) error + type ClusterTarget struct + func (t *ClusterTarget) Installed() []string + func (t *ClusterTarget) Methods() map[uint8]Method.Enum + func (t *ClusterTarget) Name() string + func (t *ClusterTarget) Type() string + type Feature struct + func NewFeature(name string) (*Feature, error) + func (f *Feature) Add(t Target, v Variables, s Settings) (Results, error) + func (f *Feature) Applyable(t Target) bool + func (f *Feature) BaseFilename() string + func (f *Feature) Check(t Target, v Variables, s Settings) (Results, error) + func (f *Feature) DisplayFilename() string + func (f *Feature) DisplayName() string + func (f *Feature) Remove(t Target, v Variables, s Settings) (Results, error) + func (f *Feature) Specs() *viper.Viper + type HostTarget struct + func (t *HostTarget) Installed() []string + func (t *HostTarget) Methods() map[uint8]Method.Enum + func (t *HostTarget) Name() string + func (t *HostTarget) Type() string + type Installer interface + Add func(*Feature, Target, Variables, Settings) (Results, error) + Check func(*Feature, Target, Variables, Settings) (Results, error) + Remove func(*Feature, Target, Variables, Settings) (Results, error) + func NewAptInstaller() Installer + func NewBashInstaller() Installer + func NewDcosInstaller() Installer + func NewDnfInstaller() Installer + func NewYumInstaller() Installer + type KongController struct + func NewKongController(host *pb.Host) (*KongController, error) + func (k *KongController) Apply(rule map[interface{}]interface{}, values *Variables) error + type NodeTarget struct + func (t *NodeTarget) Type() string + type Results map[string]stepResults + func (r Results) AllErrorMessages() string + func (r Results) ErrorMessagesOfHost(name string) string + func (r Results) ErrorMessagesOfStep(name string) string + func (r Results) Keys() []string + func (r Results) ResultsOfStep(name string) stepResults + func (r Results) Successful() bool + func (r Results) Transpose() Results + type Settings struct + Serialize bool + SkipFeatureRequirements bool + SkipProxy bool + SkipSizingRequirements bool + type Target interface + Installed func() []string + Methods func() map[uint8]Method.Enum + Name func() string + Type func() string + func NewClusterTarget(cluster clusterapi.Cluster) Target + func NewHostTarget(host *pb.Host) Target + func NewNodeTarget(host *pb.Host) Target + type Variables map[string]interface