Documentation ¶
Index ¶
- type ConfigPattern
- type Environments
- func (envs *Environments) FromJsonCode(jsonCode string) (*Environments, error)
- func (envs *Environments) FromJsonFile(path string) (*Environments, error)
- func (envs *Environments) FromXmlCode(xmlCode string) (*Environments, error)
- func (envs *Environments) FromXmlFile(path string) (*Environments, error)
- func (envs *Environments) FromYamlCode(yamlCode string) (*Environments, error)
- func (envs *Environments) FromYamlFile(path string) (*Environments, error)
- func (envs *Environments) Json() (string, error)
- func (envs *Environments) String() string
- func (envs *Environments) Xml() (string, error)
- func (envs *Environments) Yaml() (string, error)
- type HostGroups
- type HostGroupsConfig
- func (hgc *HostGroupsConfig) FromJsonCode(jsonCode string) (*HostGroupsConfig, error)
- func (hgc *HostGroupsConfig) FromJsonFile(path string) (*HostGroupsConfig, error)
- func (hgc *HostGroupsConfig) FromXmlCode(xmlCode string) (*HostGroupsConfig, error)
- func (hgc *HostGroupsConfig) FromXmlFile(path string) (*HostGroupsConfig, error)
- func (hgc *HostGroupsConfig) FromYamlCode(yamlCode string) (*HostGroupsConfig, error)
- func (hgc *HostGroupsConfig) FromYamlFile(path string) (*HostGroupsConfig, error)
- func (hgc *HostGroupsConfig) Json() (string, error)
- func (hgc *HostGroupsConfig) String() string
- func (hgc *HostGroupsConfig) Xml() (string, error)
- func (hgc *HostGroupsConfig) Yaml() (string, error)
- type HostValue
- type NameValue
- type Vars
- func (vars *Vars) FromJsonCode(jsonCode string) (*Vars, error)
- func (vars *Vars) FromJsonFile(path string) (*Vars, error)
- func (vars *Vars) FromXmlCode(xmlCode string) (*Vars, error)
- func (vars *Vars) FromXmlFile(path string) (*Vars, error)
- func (vars *Vars) FromYamlCode(yamlCode string) (*Vars, error)
- func (vars *Vars) FromYamlFile(path string) (*Vars, error)
- func (vars *Vars) Json() (string, error)
- func (vars *Vars) String() string
- func (vars *Vars) Xml() (string, error)
- func (vars *Vars) Yaml() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigPattern ¶
type ConfigPattern struct { Config *module.DeployConfig Type *module.DeployType Net *module.NetProtocolType Plugins *module.PluginsConfig Envs []NameValue Vars []NameValue HostGroups []HostGroups }
type Environments ¶
type Environments struct {
Envs []NameValue `yaml:"environments,omitempty" json:"environments,omitempty" xml:"environments,chardata,omitempty"`
}
func (*Environments) FromJsonCode ¶
func (envs *Environments) FromJsonCode(jsonCode string) (*Environments, error)
func (*Environments) FromJsonFile ¶
func (envs *Environments) FromJsonFile(path string) (*Environments, error)
func (*Environments) FromXmlCode ¶
func (envs *Environments) FromXmlCode(xmlCode string) (*Environments, error)
func (*Environments) FromXmlFile ¶
func (envs *Environments) FromXmlFile(path string) (*Environments, error)
func (*Environments) FromYamlCode ¶
func (envs *Environments) FromYamlCode(yamlCode string) (*Environments, error)
func (*Environments) FromYamlFile ¶
func (envs *Environments) FromYamlFile(path string) (*Environments, error)
func (*Environments) Json ¶
func (envs *Environments) Json() (string, error)
func (*Environments) String ¶
func (envs *Environments) String() string
func (*Environments) Xml ¶
func (envs *Environments) Xml() (string, error)
func (*Environments) Yaml ¶
func (envs *Environments) Yaml() (string, error)
type HostGroups ¶
type HostGroups struct { Name string `yaml:"name" json:"name" xml:"name,chardata"` Hosts []HostValue `yaml:"hosts" json:"hosts" xml:"hosts,chardata"` }
func (*HostGroups) String ¶
func (hg *HostGroups) String() string
type HostGroupsConfig ¶
type HostGroupsConfig struct {
HostGroups []HostGroups `yaml:"groups" json:"groups" xml:"groups,chardata"`
}
func (*HostGroupsConfig) FromJsonCode ¶
func (hgc *HostGroupsConfig) FromJsonCode(jsonCode string) (*HostGroupsConfig, error)
func (*HostGroupsConfig) FromJsonFile ¶
func (hgc *HostGroupsConfig) FromJsonFile(path string) (*HostGroupsConfig, error)
func (*HostGroupsConfig) FromXmlCode ¶
func (hgc *HostGroupsConfig) FromXmlCode(xmlCode string) (*HostGroupsConfig, error)
func (*HostGroupsConfig) FromXmlFile ¶
func (hgc *HostGroupsConfig) FromXmlFile(path string) (*HostGroupsConfig, error)
func (*HostGroupsConfig) FromYamlCode ¶
func (hgc *HostGroupsConfig) FromYamlCode(yamlCode string) (*HostGroupsConfig, error)
func (*HostGroupsConfig) FromYamlFile ¶
func (hgc *HostGroupsConfig) FromYamlFile(path string) (*HostGroupsConfig, error)
func (*HostGroupsConfig) Json ¶
func (hgc *HostGroupsConfig) Json() (string, error)
func (*HostGroupsConfig) String ¶
func (hgc *HostGroupsConfig) String() string
func (*HostGroupsConfig) Xml ¶
func (hgc *HostGroupsConfig) Xml() (string, error)
func (*HostGroupsConfig) Yaml ¶
func (hgc *HostGroupsConfig) Yaml() (string, error)
type HostValue ¶
type HostValue struct { Name string `yaml:"name" json:"name" xml:"name,chardata"` IpAddress string `yaml:"ipAddress,omitempty" json:"ipAddress,omitempty" xml:"ip-address,chardata,omitempty"` HostName string `yaml:"hostName,omitempty" json:"hostName,omitempty" xml:"host-name,chardata,omitempty"` Port string `yaml:"port,omitempty" json:"port,omitempty" xml:"port,chardata,omitempty"` Roles []string `yaml:"roles,omitempty" json:"roles,omitempty" xml:"roles,chardata,omitempty"` }
type NameValue ¶
Click to show internal directories.
Click to hide internal directories.