module

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Autogenerated

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSpec

func GetSpec() (*types.Spec, error)

Types

type Apt

type Apt struct {
	ModuleName string
	Params     AptParams
	Result     AptResult
}

func NewApt

func NewApt() *Apt

func (*Apt) GetParams

func (m *Apt) GetParams() interface{}

func (*Apt) GetResult

func (m *Apt) GetResult() interface{}

func (*Apt) GetResultRaw

func (m *Apt) GetResultRaw() string

func (*Apt) GetType

func (m *Apt) GetType() string

func (*Apt) Run

func (m *Apt) Run() error

type AptKey

type AptKey struct {
	ModuleName string
	Params     AptKeyParams
	Result     AptKeyResult
}

func NewAptKey

func NewAptKey() *AptKey

func (*AptKey) GetParams

func (m *AptKey) GetParams() interface{}

func (*AptKey) GetResult

func (m *AptKey) GetResult() interface{}

func (*AptKey) GetResultRaw

func (m *AptKey) GetResultRaw() string

func (*AptKey) GetType

func (m *AptKey) GetType() string

func (*AptKey) Run

func (m *AptKey) Run() error

type AptKeyParams

type AptKeyParams struct {

	// Data
	Data string `yaml:"data,omitempty" json:"data,omitempty"`

	// File
	File string `yaml:"file,omitempty" json:"file,omitempty"`

	// Id
	Id string `yaml:"id,omitempty" json:"id,omitempty"`

	// Keyring
	Keyring string `yaml:"keyring,omitempty" json:"keyring,omitempty"`

	// Keyserver
	Keyserver string `yaml:"keyserver,omitempty" json:"keyserver,omitempty"`

	// State
	State string `yaml:"state,omitempty" json:"state,omitempty"`

	// Url
	Url string `yaml:"url,omitempty" json:"url,omitempty"`

	// ValidateCerts
	ValidateCerts bool `yaml:"validate_certs,omitempty" json:"validate_certs,omitempty"`
}

type AptKeyResult

type AptKeyResult struct {
	Raw string

	// After
	After []map[string]interface{} `yaml:"after,omitempty" json:"after,omitempty"`

	// Before
	Before []map[string]interface{} `yaml:"before,omitempty" json:"before,omitempty"`

	// Fp
	Fp string `yaml:"fp,omitempty" json:"fp,omitempty"`

	// Id
	Id string `yaml:"id,omitempty" json:"id,omitempty"`

	// KeyId
	KeyId string `yaml:"key_id,omitempty" json:"key_id,omitempty"`

	// ShortId
	ShortId string `yaml:"short_id,omitempty" json:"short_id,omitempty"`
}

type AptParams

type AptParams struct {

	// AllowChangeHeldPackages
	AllowChangeHeldPackages bool `yaml:"allow_change_held_packages,omitempty" json:"allow_change_held_packages,omitempty"`

	// AllowDowngrade
	AllowDowngrade bool `yaml:"allow_downgrade,omitempty" json:"allow_downgrade,omitempty"`

	// AllowUnauthenticated
	AllowUnauthenticated bool `yaml:"allow_unauthenticated,omitempty" json:"allow_unauthenticated,omitempty"`

	// Autoclean
	Autoclean bool `yaml:"autoclean,omitempty" json:"autoclean,omitempty"`

	// Autoremove
	Autoremove bool `yaml:"autoremove,omitempty" json:"autoremove,omitempty"`

	// CacheValidTime
	CacheValidTime int `yaml:"cache_valid_time,omitempty" json:"cache_valid_time,omitempty"`

	// Clean
	Clean bool `yaml:"clean,omitempty" json:"clean,omitempty"`

	// Deb
	Deb string `yaml:"deb,omitempty" json:"deb,omitempty"`

	// DefaultRelease
	DefaultRelease string `yaml:"default_release,omitempty" json:"default_release,omitempty"`

	// DpkgOptions
	DpkgOptions string `yaml:"dpkg_options,omitempty" json:"dpkg_options,omitempty"`

	// FailOnAutoremove
	FailOnAutoremove bool `yaml:"fail_on_autoremove,omitempty" json:"fail_on_autoremove,omitempty"`

	// Force
	Force bool `yaml:"force,omitempty" json:"force,omitempty"`

	// ForceAptGet
	ForceAptGet bool `yaml:"force_apt_get,omitempty" json:"force_apt_get,omitempty"`

	// InstallRecommends
	InstallRecommends bool `yaml:"install_recommends,omitempty" json:"install_recommends,omitempty"`

	// LockTimeout
	LockTimeout int `yaml:"lock_timeout,omitempty" json:"lock_timeout,omitempty"`

	// Name
	Name []string `yaml:"name,omitempty" json:"name,omitempty"`

	// OnlyUpgrade
	OnlyUpgrade bool `yaml:"only_upgrade,omitempty" json:"only_upgrade,omitempty"`

	// PolicyRcD
	PolicyRcD int `yaml:"policy_rc_d,omitempty" json:"policy_rc_d,omitempty"`

	// Purge
	Purge bool `yaml:"purge,omitempty" json:"purge,omitempty"`

	// State
	State string `yaml:"state,omitempty" json:"state,omitempty"`

	// UpdateCache
	UpdateCache bool `yaml:"update_cache,omitempty" json:"update_cache,omitempty"`

	// UpdateCacheRetries
	UpdateCacheRetries int `yaml:"update_cache_retries,omitempty" json:"update_cache_retries,omitempty"`

	// UpdateCacheRetryMaxDelay
	UpdateCacheRetryMaxDelay int `yaml:"update_cache_retry_max_delay,omitempty" json:"update_cache_retry_max_delay,omitempty"`

	// Upgrade
	Upgrade string `yaml:"upgrade,omitempty" json:"upgrade,omitempty"`
}

type AptRepository

type AptRepository struct {
	ModuleName string
	Params     AptRepositoryParams
	Result     AptRepositoryResult
}

func NewAptRepository

func NewAptRepository() *AptRepository

func (*AptRepository) GetParams

func (m *AptRepository) GetParams() interface{}

func (*AptRepository) GetResult

func (m *AptRepository) GetResult() interface{}

func (*AptRepository) GetResultRaw

func (m *AptRepository) GetResultRaw() string

func (*AptRepository) GetType

func (m *AptRepository) GetType() string

func (*AptRepository) Run

func (m *AptRepository) Run() error

type AptRepositoryParams

type AptRepositoryParams struct {

	// Codename
	Codename string `yaml:"codename,omitempty" json:"codename,omitempty"`

	// Filename
	Filename string `yaml:"filename,omitempty" json:"filename,omitempty"`

	// InstallPythonApt
	InstallPythonApt bool `yaml:"install_python_apt,omitempty" json:"install_python_apt,omitempty"`

	// Mode
	Mode string `yaml:"mode,omitempty" json:"mode,omitempty"`

	// Repo
	Repo string `yaml:"repo,omitempty" json:"repo,omitempty"`

	// State
	State string `yaml:"state,omitempty" json:"state,omitempty"`

	// UpdateCache
	UpdateCache bool `yaml:"update_cache,omitempty" json:"update_cache,omitempty"`

	// UpdateCacheRetries
	UpdateCacheRetries int `yaml:"update_cache_retries,omitempty" json:"update_cache_retries,omitempty"`

	// UpdateCacheRetryMaxDelay
	UpdateCacheRetryMaxDelay int `yaml:"update_cache_retry_max_delay,omitempty" json:"update_cache_retry_max_delay,omitempty"`

	// ValidateCerts
	ValidateCerts bool `yaml:"validate_certs,omitempty" json:"validate_certs,omitempty"`
}

type AptRepositoryResult

type AptRepositoryResult struct {
	Raw string
}

type AptResult

type AptResult struct {
	Raw string

	// CacheUpdateTime
	CacheUpdateTime int `yaml:"cache_update_time,omitempty" json:"cache_update_time,omitempty"`

	// CacheUpdated
	CacheUpdated bool `yaml:"cache_updated,omitempty" json:"cache_updated,omitempty"`

	// Stderr
	Stderr string `yaml:"stderr,omitempty" json:"stderr,omitempty"`

	// Stdout
	Stdout string `yaml:"stdout,omitempty" json:"stdout,omitempty"`
}

type Assemble

type Assemble struct {
	ModuleName string
	Params     AssembleParams
	Result     AssembleResult
}

func NewAssemble

func NewAssemble() *Assemble

func (*Assemble) GetParams

func (m *Assemble) GetParams() interface{}

func (*Assemble) GetResult

func (m *Assemble) GetResult() interface{}

func (*Assemble) GetResultRaw

func (m *Assemble) GetResultRaw() string

func (*Assemble) GetType

func (m *Assemble) GetType() string

func (*Assemble) Run

func (m *Assemble) Run() error

type AssembleParams

type AssembleParams struct {

	// Backup
	Backup bool `yaml:"backup,omitempty" json:"backup,omitempty"`

	// Delimiter
	Delimiter string `yaml:"delimiter,omitempty" json:"delimiter,omitempty"`

	// Dest
	Dest string `yaml:"dest,omitempty" json:"dest,omitempty"`

	// IgnoreHidden
	IgnoreHidden bool `yaml:"ignore_hidden,omitempty" json:"ignore_hidden,omitempty"`

	// Regexp
	Regexp string `yaml:"regexp,omitempty" json:"regexp,omitempty"`

	// RemoteSrc
	RemoteSrc bool `yaml:"remote_src,omitempty" json:"remote_src,omitempty"`

	// Src
	Src string `yaml:"src,omitempty" json:"src,omitempty"`

	// Validate
	Validate string `yaml:"validate,omitempty" json:"validate,omitempty"`
}

type AssembleResult

type AssembleResult struct {
	Raw string
}

type AsyncStatus

type AsyncStatus struct {
	ModuleName string
	Params     AsyncStatusParams
	Result     AsyncStatusResult
}

func NewAsyncStatus

func NewAsyncStatus() *AsyncStatus

func (*AsyncStatus) GetParams

func (m *AsyncStatus) GetParams() interface{}

func (*AsyncStatus) GetResult

func (m *AsyncStatus) GetResult() interface{}

func (*AsyncStatus) GetResultRaw

func (m *AsyncStatus) GetResultRaw() string

func (*AsyncStatus) GetType

func (m *AsyncStatus) GetType() string

func (*AsyncStatus) Run

func (m *AsyncStatus) Run() error

type AsyncStatusParams

type AsyncStatusParams struct {

	// Jid
	Jid string `yaml:"jid,omitempty" json:"jid,omitempty"`

	// Mode
	Mode string `yaml:"mode,omitempty" json:"mode,omitempty"`
}

type AsyncStatusResult

type AsyncStatusResult struct {
	Raw string

	// AnsibleJobId
	AnsibleJobId string `yaml:"ansible_job_id,omitempty" json:"ansible_job_id,omitempty"`

	// Erased
	Erased string `yaml:"erased,omitempty" json:"erased,omitempty"`

	// Finished
	Finished int `yaml:"finished,omitempty" json:"finished,omitempty"`

	// Started
	Started int `yaml:"started,omitempty" json:"started,omitempty"`

	// Stderr
	Stderr string `yaml:"stderr,omitempty" json:"stderr,omitempty"`

	// Stdout
	Stdout string `yaml:"stdout,omitempty" json:"stdout,omitempty"`
}

type Blockinfile

type Blockinfile struct {
	ModuleName string
	Params     BlockinfileParams
	Result     BlockinfileResult
}

func NewBlockinfile

func NewBlockinfile() *Blockinfile

func (*Blockinfile) GetParams

func (m *Blockinfile) GetParams() interface{}

func (*Blockinfile) GetResult

func (m *Blockinfile) GetResult() interface{}

func (*Blockinfile) GetResultRaw

func (m *Blockinfile) GetResultRaw() string

func (*Blockinfile) GetType

func (m *Blockinfile) GetType() string

func (*Blockinfile) Run

func (m *Blockinfile) Run() error

type BlockinfileParams

type BlockinfileParams struct {

	// Backup
	Backup bool `yaml:"backup,omitempty" json:"backup,omitempty"`

	// Block
	Block string `yaml:"block,omitempty" json:"block,omitempty"`

	// Create
	Create bool `yaml:"create,omitempty" json:"create,omitempty"`

	// Insertafter
	Insertafter string `yaml:"insertafter,omitempty" json:"insertafter,omitempty"`

	// Insertbefore
	Insertbefore string `yaml:"insertbefore,omitempty" json:"insertbefore,omitempty"`

	// Marker
	Marker string `yaml:"marker,omitempty" json:"marker,omitempty"`

	// MarkerBegin
	MarkerBegin string `yaml:"marker_begin,omitempty" json:"marker_begin,omitempty"`

	// MarkerEnd
	MarkerEnd string `yaml:"marker_end,omitempty" json:"marker_end,omitempty"`

	// Path
	Path string `yaml:"path,omitempty" json:"path,omitempty"`

	// State
	State string `yaml:"state,omitempty" json:"state,omitempty"`
}

type BlockinfileResult

type BlockinfileResult struct {
	Raw string
}

type Command

type Command struct {
	ModuleName string
	Params     CommandParams
	Result     CommandResult
}

func NewCommand

func NewCommand() *Command

func (*Command) GetParams

func (m *Command) GetParams() interface{}

func (*Command) GetResult

func (m *Command) GetResult() interface{}

func (*Command) GetResultRaw

func (m *Command) GetResultRaw() string

func (*Command) GetType

func (m *Command) GetType() string

func (*Command) Run

func (m *Command) Run() error

type CommandParams

type CommandParams struct {

	// Argv
	Argv []string `yaml:"argv,omitempty" json:"argv,omitempty"`

	// Chdir
	Chdir string `yaml:"chdir,omitempty" json:"chdir,omitempty"`

	// Cmd
	Cmd string `yaml:"cmd,omitempty" json:"cmd,omitempty"`

	// Creates
	Creates string `yaml:"creates,omitempty" json:"creates,omitempty"`

	// FreeForm
	FreeForm string `yaml:"free_form,omitempty" json:"free_form,omitempty"`

	// Removes
	Removes string `yaml:"removes,omitempty" json:"removes,omitempty"`

	// Stdin
	Stdin string `yaml:"stdin,omitempty" json:"stdin,omitempty"`

	// StdinAddNewline
	StdinAddNewline bool `yaml:"stdin_add_newline,omitempty" json:"stdin_add_newline,omitempty"`

	// StripEmptyEnds
	StripEmptyEnds bool `yaml:"strip_empty_ends,omitempty" json:"strip_empty_ends,omitempty"`

	// Warn
	Warn bool `yaml:"warn,omitempty" json:"warn,omitempty"`
}

type CommandResult

type CommandResult struct {
	Raw string

	// Cmd
	Cmd []map[string]interface{} `yaml:"cmd,omitempty" json:"cmd,omitempty"`

	// Delta
	Delta string `yaml:"delta,omitempty" json:"delta,omitempty"`

	// End
	End string `yaml:"end,omitempty" json:"end,omitempty"`

	// Msg
	Msg bool `yaml:"msg,omitempty" json:"msg,omitempty"`

	// Rc
	Rc int `yaml:"rc,omitempty" json:"rc,omitempty"`

	// Start
	Start string `yaml:"start,omitempty" json:"start,omitempty"`

	// Stderr
	Stderr string `yaml:"stderr,omitempty" json:"stderr,omitempty"`

	// StderrLines
	StderrLines []map[string]interface{} `yaml:"stderr_lines,omitempty" json:"stderr_lines,omitempty"`

	// Stdout
	Stdout string `yaml:"stdout,omitempty" json:"stdout,omitempty"`

	// StdoutLines
	StdoutLines []map[string]interface{} `yaml:"stdout_lines,omitempty" json:"stdout_lines,omitempty"`
}

type Copy

type Copy struct {
	ModuleName string
	Params     CopyParams
	Result     CopyResult
}

func NewCopy

func NewCopy() *Copy

func (*Copy) GetParams

func (m *Copy) GetParams() interface{}

func (*Copy) GetResult

func (m *Copy) GetResult() interface{}

func (*Copy) GetResultRaw

func (m *Copy) GetResultRaw() string

func (*Copy) GetType

func (m *Copy) GetType() string

func (*Copy) Run

func (m *Copy) Run() error

type CopyParams

type CopyParams struct {

	// Backup
	Backup bool `yaml:"backup,omitempty" json:"backup,omitempty"`

	// Checksum
	Checksum string `yaml:"checksum,omitempty" json:"checksum,omitempty"`

	// Content
	Content string `yaml:"content,omitempty" json:"content,omitempty"`

	// Dest
	Dest string `yaml:"dest,omitempty" json:"dest,omitempty"`

	// DirectoryMode
	DirectoryMode string `yaml:"directory_mode,omitempty" json:"directory_mode,omitempty"`

	// Follow
	Follow bool `yaml:"follow,omitempty" json:"follow,omitempty"`

	// Force
	Force bool `yaml:"force,omitempty" json:"force,omitempty"`

	// LocalFollow
	LocalFollow bool `yaml:"local_follow,omitempty" json:"local_follow,omitempty"`

	// Mode
	Mode string `yaml:"mode,omitempty" json:"mode,omitempty"`

	// RemoteSrc
	RemoteSrc bool `yaml:"remote_src,omitempty" json:"remote_src,omitempty"`

	// Src
	Src string `yaml:"src,omitempty" json:"src,omitempty"`
}

type CopyResult

type CopyResult struct {
	Raw string

	// BackupFile
	BackupFile string `yaml:"backup_file,omitempty" json:"backup_file,omitempty"`

	// Checksum
	Checksum string `yaml:"checksum,omitempty" json:"checksum,omitempty"`

	// Dest
	Dest string `yaml:"dest,omitempty" json:"dest,omitempty"`

	// Gid
	Gid int `yaml:"gid,omitempty" json:"gid,omitempty"`

	// Group
	Group string `yaml:"group,omitempty" json:"group,omitempty"`

	// Md5sum
	Md5sum string `yaml:"md5sum,omitempty" json:"md5sum,omitempty"`

	// Mode
	Mode string `yaml:"mode,omitempty" json:"mode,omitempty"`

	// Owner
	Owner string `yaml:"owner,omitempty" json:"owner,omitempty"`

	// Size
	Size int `yaml:"size,omitempty" json:"size,omitempty"`

	// Src
	Src string `yaml:"src,omitempty" json:"src,omitempty"`

	// State
	State string `yaml:"state,omitempty" json:"state,omitempty"`

	// Uid
	Uid int `yaml:"uid,omitempty" json:"uid,omitempty"`
}

type Cron

type Cron struct {
	ModuleName string
	Params     CronParams
	Result     CronResult
}

func NewCron

func NewCron() *Cron

func (*Cron) GetParams

func (m *Cron) GetParams() interface{}

func (*Cron) GetResult

func (m *Cron) GetResult() interface{}

func (*Cron) GetResultRaw

func (m *Cron) GetResultRaw() string

func (*Cron) GetType

func (m *Cron) GetType() string

func (*Cron) Run

func (m *Cron) Run() error

type CronParams

type CronParams struct {

	// Backup
	Backup bool `yaml:"backup,omitempty" json:"backup,omitempty"`

	// CronFile
	CronFile string `yaml:"cron_file,omitempty" json:"cron_file,omitempty"`

	// Day
	Day string `yaml:"day,omitempty" json:"day,omitempty"`

	// Disabled
	Disabled bool `yaml:"disabled,omitempty" json:"disabled,omitempty"`

	// Env
	Env bool `yaml:"env,omitempty" json:"env,omitempty"`

	// Hour
	Hour string `yaml:"hour,omitempty" json:"hour,omitempty"`

	// Insertafter
	Insertafter string `yaml:"insertafter,omitempty" json:"insertafter,omitempty"`

	// Insertbefore
	Insertbefore string `yaml:"insertbefore,omitempty" json:"insertbefore,omitempty"`

	// Job
	Job string `yaml:"job,omitempty" json:"job,omitempty"`

	// Minute
	Minute string `yaml:"minute,omitempty" json:"minute,omitempty"`

	// Month
	Month string `yaml:"month,omitempty" json:"month,omitempty"`

	// Name
	Name string `yaml:"name,omitempty" json:"name,omitempty"`

	// SpecialTime
	SpecialTime string `yaml:"special_time,omitempty" json:"special_time,omitempty"`

	// State
	State string `yaml:"state,omitempty" json:"state,omitempty"`

	// User
	User string `yaml:"user,omitempty" json:"user,omitempty"`

	// Weekday
	Weekday string `yaml:"weekday,omitempty" json:"weekday,omitempty"`
}

type CronResult

type CronResult struct {
	Raw string
}

type Debconf

type Debconf struct {
	ModuleName string
	Params     DebconfParams
	Result     DebconfResult
}

func NewDebconf

func NewDebconf() *Debconf

func (*Debconf) GetParams

func (m *Debconf) GetParams() interface{}

func (*Debconf) GetResult

func (m *Debconf) GetResult() interface{}

func (*Debconf) GetResultRaw

func (m *Debconf) GetResultRaw() string

func (*Debconf) GetType

func (m *Debconf) GetType() string

func (*Debconf) Run

func (m *Debconf) Run() error

type DebconfParams

type DebconfParams struct {

	// Name
	Name string `yaml:"name,omitempty" json:"name,omitempty"`

	// Question
	Question string `yaml:"question,omitempty" json:"question,omitempty"`

	// Unseen
	Unseen bool `yaml:"unseen,omitempty" json:"unseen,omitempty"`

	// Value
	Value string `yaml:"value,omitempty" json:"value,omitempty"`

	// Vtype
	Vtype string `yaml:"vtype,omitempty" json:"vtype,omitempty"`
}

type DebconfResult

type DebconfResult struct {
	Raw string
}

type Dnf

type Dnf struct {
	ModuleName string
	Params     DnfParams
	Result     DnfResult
}

func NewDnf

func NewDnf() *Dnf

func (*Dnf) GetParams

func (m *Dnf) GetParams() interface{}

func (*Dnf) GetResult

func (m *Dnf) GetResult() interface{}

func (*Dnf) GetResultRaw

func (m *Dnf) GetResultRaw() string

func (*Dnf) GetType

func (m *Dnf) GetType() string

func (*Dnf) Run

func (m *Dnf) Run() error

type DnfParams

type DnfParams struct {

	// AllowDowngrade
	AllowDowngrade bool `yaml:"allow_downgrade,omitempty" json:"allow_downgrade,omitempty"`

	// Allowerasing
	Allowerasing bool `yaml:"allowerasing,omitempty" json:"allowerasing,omitempty"`

	// Autoremove
	Autoremove bool `yaml:"autoremove,omitempty" json:"autoremove,omitempty"`

	// Bugfix
	Bugfix bool `yaml:"bugfix,omitempty" json:"bugfix,omitempty"`

	// Cacheonly
	Cacheonly bool `yaml:"cacheonly,omitempty" json:"cacheonly,omitempty"`

	// ConfFile
	ConfFile string `yaml:"conf_file,omitempty" json:"conf_file,omitempty"`

	// DisableExcludes
	DisableExcludes string `yaml:"disable_excludes,omitempty" json:"disable_excludes,omitempty"`

	// DisableGpgCheck
	DisableGpgCheck bool `yaml:"disable_gpg_check,omitempty" json:"disable_gpg_check,omitempty"`

	// DisablePlugin
	DisablePlugin []string `yaml:"disable_plugin,omitempty" json:"disable_plugin,omitempty"`

	// Disablerepo
	Disablerepo []string `yaml:"disablerepo,omitempty" json:"disablerepo,omitempty"`

	// DownloadDir
	DownloadDir string `yaml:"download_dir,omitempty" json:"download_dir,omitempty"`

	// DownloadOnly
	DownloadOnly bool `yaml:"download_only,omitempty" json:"download_only,omitempty"`

	// EnablePlugin
	EnablePlugin []string `yaml:"enable_plugin,omitempty" json:"enable_plugin,omitempty"`

	// Enablerepo
	Enablerepo []string `yaml:"enablerepo,omitempty" json:"enablerepo,omitempty"`

	// Exclude
	Exclude []string `yaml:"exclude,omitempty" json:"exclude,omitempty"`

	// InstallRepoquery
	InstallRepoquery bool `yaml:"install_repoquery,omitempty" json:"install_repoquery,omitempty"`

	// InstallWeakDeps
	InstallWeakDeps bool `yaml:"install_weak_deps,omitempty" json:"install_weak_deps,omitempty"`

	// Installroot
	Installroot string `yaml:"installroot,omitempty" json:"installroot,omitempty"`

	// List
	List string `yaml:"list,omitempty" json:"list,omitempty"`

	// LockTimeout
	LockTimeout int `yaml:"lock_timeout,omitempty" json:"lock_timeout,omitempty"`

	// Name
	Name []string `yaml:"name,omitempty" json:"name,omitempty"`

	// Nobest
	Nobest bool `yaml:"nobest,omitempty" json:"nobest,omitempty"`

	// Releasever
	Releasever string `yaml:"releasever,omitempty" json:"releasever,omitempty"`

	// Security
	Security bool `yaml:"security,omitempty" json:"security,omitempty"`

	// SkipBroken
	SkipBroken bool `yaml:"skip_broken,omitempty" json:"skip_broken,omitempty"`

	// Sslverify
	Sslverify bool `yaml:"sslverify,omitempty" json:"sslverify,omitempty"`

	// State
	State string `yaml:"state,omitempty" json:"state,omitempty"`

	// UpdateCache
	UpdateCache bool `yaml:"update_cache,omitempty" json:"update_cache,omitempty"`

	// UpdateOnly
	UpdateOnly bool `yaml:"update_only,omitempty" json:"update_only,omitempty"`

	// ValidateCerts
	ValidateCerts bool `yaml:"validate_certs,omitempty" json:"validate_certs,omitempty"`
}

type DnfResult

type DnfResult struct {
	Raw string
}

type DpkgSelections

type DpkgSelections struct {
	ModuleName string
	Params     DpkgSelectionsParams
	Result     DpkgSelectionsResult
}

func NewDpkgSelections

func NewDpkgSelections() *DpkgSelections

func (*DpkgSelections) GetParams

func (m *DpkgSelections) GetParams() interface{}

func (*DpkgSelections) GetResult

func (m *DpkgSelections) GetResult() interface{}

func (*DpkgSelections) GetResultRaw

func (m *DpkgSelections) GetResultRaw() string

func (*DpkgSelections) GetType

func (m *DpkgSelections) GetType() string

func (*DpkgSelections) Run

func (m *DpkgSelections) Run() error

type DpkgSelectionsParams

type DpkgSelectionsParams struct {

	// Name
	Name string `yaml:"name,omitempty" json:"name,omitempty"`

	// Selection
	Selection string `yaml:"selection,omitempty" json:"selection,omitempty"`
}

type DpkgSelectionsResult

type DpkgSelectionsResult struct {
	Raw string
}

type Expect

type Expect struct {
	ModuleName string
	Params     ExpectParams
	Result     ExpectResult
}

func NewExpect

func NewExpect() *Expect

func (*Expect) GetParams

func (m *Expect) GetParams() interface{}

func (*Expect) GetResult

func (m *Expect) GetResult() interface{}

func (*Expect) GetResultRaw

func (m *Expect) GetResultRaw() string

func (*Expect) GetType

func (m *Expect) GetType() string

func (*Expect) Run

func (m *Expect) Run() error

type ExpectParams

type ExpectParams struct {

	// Chdir
	Chdir string `yaml:"chdir,omitempty" json:"chdir,omitempty"`

	// Command
	Command string `yaml:"command,omitempty" json:"command,omitempty"`

	// Creates
	Creates string `yaml:"creates,omitempty" json:"creates,omitempty"`

	// Echo
	Echo bool `yaml:"echo,omitempty" json:"echo,omitempty"`

	// Removes
	Removes string `yaml:"removes,omitempty" json:"removes,omitempty"`

	// Responses
	Responses map[string]interface{} `yaml:"responses,omitempty" json:"responses,omitempty"`

	// Timeout
	Timeout int `yaml:"timeout,omitempty" json:"timeout,omitempty"`
}

type ExpectResult

type ExpectResult struct {
	Raw string
}

type File

type File struct {
	ModuleName string
	Params     FileParams
	Result     FileResult
}

func NewFile

func NewFile() *File

func (*File) GetParams

func (m *File) GetParams() interface{}

func (*File) GetResult

func (m *File) GetResult() interface{}

func (*File) GetResultRaw

func (m *File) GetResultRaw() string

func (*File) GetType

func (m *File) GetType() string

func (*File) Run

func (m *File) Run() error

type FileParams

type FileParams struct {

	// AccessTime
	AccessTime string `yaml:"access_time,omitempty" json:"access_time,omitempty"`

	// AccessTimeFormat
	AccessTimeFormat string `yaml:"access_time_format,omitempty" json:"access_time_format,omitempty"`

	// Follow
	Follow bool `yaml:"follow,omitempty" json:"follow,omitempty"`

	// Force
	Force bool `yaml:"force,omitempty" json:"force,omitempty"`

	// ModificationTime
	ModificationTime string `yaml:"modification_time,omitempty" json:"modification_time,omitempty"`

	// ModificationTimeFormat
	ModificationTimeFormat string `yaml:"modification_time_format,omitempty" json:"modification_time_format,omitempty"`

	// Path
	Path string `yaml:"path,omitempty" json:"path,omitempty"`

	// Recurse
	Recurse bool `yaml:"recurse,omitempty" json:"recurse,omitempty"`

	// Src
	Src string `yaml:"src,omitempty" json:"src,omitempty"`

	// State
	State string `yaml:"state,omitempty" json:"state,omitempty"`
}

type FileResult

type FileResult struct {
	Raw string

	// Dest
	Dest string `yaml:"dest,omitempty" json:"dest,omitempty"`

	// Path
	Path string `yaml:"path,omitempty" json:"path,omitempty"`
}

type Find

type Find struct {
	ModuleName string
	Params     FindParams
	Result     FindResult
}

func NewFind

func NewFind() *Find

func (*Find) GetParams

func (m *Find) GetParams() interface{}

func (*Find) GetResult

func (m *Find) GetResult() interface{}

func (*Find) GetResultRaw

func (m *Find) GetResultRaw() string

func (*Find) GetType

func (m *Find) GetType() string

func (*Find) Run

func (m *Find) Run() error

type FindParams

type FindParams struct {

	// Age
	Age string `yaml:"age,omitempty" json:"age,omitempty"`

	// AgeStamp
	AgeStamp string `yaml:"age_stamp,omitempty" json:"age_stamp,omitempty"`

	// Contains
	Contains string `yaml:"contains,omitempty" json:"contains,omitempty"`

	// Depth
	Depth int `yaml:"depth,omitempty" json:"depth,omitempty"`

	// Excludes
	Excludes []string `yaml:"excludes,omitempty" json:"excludes,omitempty"`

	// FileType
	FileType string `yaml:"file_type,omitempty" json:"file_type,omitempty"`

	// Follow
	Follow bool `yaml:"follow,omitempty" json:"follow,omitempty"`

	// GetChecksum
	GetChecksum bool `yaml:"get_checksum,omitempty" json:"get_checksum,omitempty"`

	// Hidden
	Hidden bool `yaml:"hidden,omitempty" json:"hidden,omitempty"`

	// Paths
	Paths []string `yaml:"paths,omitempty" json:"paths,omitempty"`

	// Patterns
	Patterns []string `yaml:"patterns,omitempty" json:"patterns,omitempty"`

	// ReadWholeFile
	ReadWholeFile bool `yaml:"read_whole_file,omitempty" json:"read_whole_file,omitempty"`

	// Recurse
	Recurse bool `yaml:"recurse,omitempty" json:"recurse,omitempty"`

	// Size
	Size string `yaml:"size,omitempty" json:"size,omitempty"`

	// UseRegex
	UseRegex bool `yaml:"use_regex,omitempty" json:"use_regex,omitempty"`
}

type FindResult

type FindResult struct {
	Raw string

	// Examined
	Examined int `yaml:"examined,omitempty" json:"examined,omitempty"`

	// Files
	Files []map[string]interface{} `yaml:"files,omitempty" json:"files,omitempty"`

	// Matched
	Matched int `yaml:"matched,omitempty" json:"matched,omitempty"`

	// SkippedPaths
	SkippedPaths map[string]interface{} `yaml:"skipped_paths,omitempty" json:"skipped_paths,omitempty"`
}

type GetUrl

type GetUrl struct {
	ModuleName string
	Params     GetUrlParams
	Result     GetUrlResult
}

func NewGetUrl

func NewGetUrl() *GetUrl

func (*GetUrl) GetParams

func (m *GetUrl) GetParams() interface{}

func (*GetUrl) GetResult

func (m *GetUrl) GetResult() interface{}

func (*GetUrl) GetResultRaw

func (m *GetUrl) GetResultRaw() string

func (*GetUrl) GetType

func (m *GetUrl) GetType() string

func (*GetUrl) Run

func (m *GetUrl) Run() error

type GetUrlParams

type GetUrlParams struct {

	// Backup
	Backup bool `yaml:"backup,omitempty" json:"backup,omitempty"`

	// Checksum
	Checksum string `yaml:"checksum,omitempty" json:"checksum,omitempty"`

	// ClientCert
	ClientCert string `yaml:"client_cert,omitempty" json:"client_cert,omitempty"`

	// ClientKey
	ClientKey string `yaml:"client_key,omitempty" json:"client_key,omitempty"`

	// Dest
	Dest string `yaml:"dest,omitempty" json:"dest,omitempty"`

	// Force
	Force bool `yaml:"force,omitempty" json:"force,omitempty"`

	// ForceBasicAuth
	ForceBasicAuth bool `yaml:"force_basic_auth,omitempty" json:"force_basic_auth,omitempty"`

	// Headers
	Headers map[string]interface{} `yaml:"headers,omitempty" json:"headers,omitempty"`

	// HttpAgent
	HttpAgent string `yaml:"http_agent,omitempty" json:"http_agent,omitempty"`

	// Sha256sum
	Sha256sum string `yaml:"sha256sum,omitempty" json:"sha256sum,omitempty"`

	// Timeout
	Timeout int `yaml:"timeout,omitempty" json:"timeout,omitempty"`

	// TmpDest
	TmpDest string `yaml:"tmp_dest,omitempty" json:"tmp_dest,omitempty"`

	// UnredirectedHeaders
	UnredirectedHeaders []string `yaml:"unredirected_headers,omitempty" json:"unredirected_headers,omitempty"`

	// Url
	Url string `yaml:"url,omitempty" json:"url,omitempty"`

	// UrlPassword
	UrlPassword string `yaml:"url_password,omitempty" json:"url_password,omitempty"`

	// UrlUsername
	UrlUsername string `yaml:"url_username,omitempty" json:"url_username,omitempty"`

	// UseGssapi
	UseGssapi bool `yaml:"use_gssapi,omitempty" json:"use_gssapi,omitempty"`

	// UseProxy
	UseProxy bool `yaml:"use_proxy,omitempty" json:"use_proxy,omitempty"`

	// ValidateCerts
	ValidateCerts bool `yaml:"validate_certs,omitempty" json:"validate_certs,omitempty"`
}

type GetUrlResult

type GetUrlResult struct {
	Raw string

	// BackupFile
	BackupFile string `yaml:"backup_file,omitempty" json:"backup_file,omitempty"`

	// ChecksumDest
	ChecksumDest string `yaml:"checksum_dest,omitempty" json:"checksum_dest,omitempty"`

	// ChecksumSrc
	ChecksumSrc string `yaml:"checksum_src,omitempty" json:"checksum_src,omitempty"`

	// Dest
	Dest string `yaml:"dest,omitempty" json:"dest,omitempty"`

	// Elapsed
	Elapsed int `yaml:"elapsed,omitempty" json:"elapsed,omitempty"`

	// Gid
	Gid int `yaml:"gid,omitempty" json:"gid,omitempty"`

	// Group
	Group string `yaml:"group,omitempty" json:"group,omitempty"`

	// Md5sum
	Md5sum string `yaml:"md5sum,omitempty" json:"md5sum,omitempty"`

	// Mode
	Mode string `yaml:"mode,omitempty" json:"mode,omitempty"`

	// Msg
	Msg string `yaml:"msg,omitempty" json:"msg,omitempty"`

	// Owner
	Owner string `yaml:"owner,omitempty" json:"owner,omitempty"`

	// Secontext
	Secontext string `yaml:"secontext,omitempty" json:"secontext,omitempty"`

	// Size
	Size int `yaml:"size,omitempty" json:"size,omitempty"`

	// Src
	Src string `yaml:"src,omitempty" json:"src,omitempty"`

	// State
	State string `yaml:"state,omitempty" json:"state,omitempty"`

	// StatusCode
	StatusCode int `yaml:"status_code,omitempty" json:"status_code,omitempty"`

	// Uid
	Uid int `yaml:"uid,omitempty" json:"uid,omitempty"`

	// Url
	Url string `yaml:"url,omitempty" json:"url,omitempty"`
}

type Getent

type Getent struct {
	ModuleName string
	Params     GetentParams
	Result     GetentResult
}

func NewGetent

func NewGetent() *Getent

func (*Getent) GetParams

func (m *Getent) GetParams() interface{}

func (*Getent) GetResult

func (m *Getent) GetResult() interface{}

func (*Getent) GetResultRaw

func (m *Getent) GetResultRaw() string

func (*Getent) GetType

func (m *Getent) GetType() string

func (*Getent) Run

func (m *Getent) Run() error

type GetentParams

type GetentParams struct {

	// Database
	Database string `yaml:"database,omitempty" json:"database,omitempty"`

	// FailKey
	FailKey bool `yaml:"fail_key,omitempty" json:"fail_key,omitempty"`

	// Key
	Key string `yaml:"key,omitempty" json:"key,omitempty"`

	// Service
	Service string `yaml:"service,omitempty" json:"service,omitempty"`

	// Split
	Split string `yaml:"split,omitempty" json:"split,omitempty"`
}

type GetentResult

type GetentResult struct {
	Raw string

	// AnsibleFacts
	AnsibleFacts map[string]interface{} `yaml:"ansible_facts,omitempty" json:"ansible_facts,omitempty"`
}

type Git

type Git struct {
	ModuleName string
	Params     GitParams
	Result     GitResult
}

func NewGit

func NewGit() *Git

func (*Git) GetParams

func (m *Git) GetParams() interface{}

func (*Git) GetResult

func (m *Git) GetResult() interface{}

func (*Git) GetResultRaw

func (m *Git) GetResultRaw() string

func (*Git) GetType

func (m *Git) GetType() string

func (*Git) Run

func (m *Git) Run() error

type GitParams

type GitParams struct {

	// AcceptHostkey
	AcceptHostkey bool `yaml:"accept_hostkey,omitempty" json:"accept_hostkey,omitempty"`

	// AcceptNewhostkey
	AcceptNewhostkey bool `yaml:"accept_newhostkey,omitempty" json:"accept_newhostkey,omitempty"`

	// Archive
	Archive string `yaml:"archive,omitempty" json:"archive,omitempty"`

	// ArchivePrefix
	ArchivePrefix string `yaml:"archive_prefix,omitempty" json:"archive_prefix,omitempty"`

	// Bare
	Bare bool `yaml:"bare,omitempty" json:"bare,omitempty"`

	// Clone
	Clone bool `yaml:"clone,omitempty" json:"clone,omitempty"`

	// Depth
	Depth int `yaml:"depth,omitempty" json:"depth,omitempty"`

	// Dest
	Dest string `yaml:"dest,omitempty" json:"dest,omitempty"`

	// Executable
	Executable string `yaml:"executable,omitempty" json:"executable,omitempty"`

	// Force
	Force bool `yaml:"force,omitempty" json:"force,omitempty"`

	// GpgWhitelist
	GpgWhitelist []string `yaml:"gpg_whitelist,omitempty" json:"gpg_whitelist,omitempty"`

	// KeyFile
	KeyFile string `yaml:"key_file,omitempty" json:"key_file,omitempty"`

	// Recursive
	Recursive bool `yaml:"recursive,omitempty" json:"recursive,omitempty"`

	// Reference
	Reference string `yaml:"reference,omitempty" json:"reference,omitempty"`

	// Refspec
	Refspec string `yaml:"refspec,omitempty" json:"refspec,omitempty"`

	// Remote
	Remote string `yaml:"remote,omitempty" json:"remote,omitempty"`

	// Repo
	Repo string `yaml:"repo,omitempty" json:"repo,omitempty"`

	// SeparateGitDir
	SeparateGitDir string `yaml:"separate_git_dir,omitempty" json:"separate_git_dir,omitempty"`

	// SingleBranch
	SingleBranch bool `yaml:"single_branch,omitempty" json:"single_branch,omitempty"`

	// SshOpts
	SshOpts string `yaml:"ssh_opts,omitempty" json:"ssh_opts,omitempty"`

	// TrackSubmodules
	TrackSubmodules bool `yaml:"track_submodules,omitempty" json:"track_submodules,omitempty"`

	// Umask
	Umask string `yaml:"umask,omitempty" json:"umask,omitempty"`

	// Update
	Update bool `yaml:"update,omitempty" json:"update,omitempty"`

	// VerifyCommit
	VerifyCommit bool `yaml:"verify_commit,omitempty" json:"verify_commit,omitempty"`

	// Version
	Version string `yaml:"version,omitempty" json:"version,omitempty"`
}

type GitResult

type GitResult struct {
	Raw string

	// After
	After string `yaml:"after,omitempty" json:"after,omitempty"`

	// Before
	Before string `yaml:"before,omitempty" json:"before,omitempty"`

	// GitDirBefore
	GitDirBefore string `yaml:"git_dir_before,omitempty" json:"git_dir_before,omitempty"`

	// GitDirNow
	GitDirNow string `yaml:"git_dir_now,omitempty" json:"git_dir_now,omitempty"`

	// RemoteUrlChanged
	RemoteUrlChanged bool `yaml:"remote_url_changed,omitempty" json:"remote_url_changed,omitempty"`

	// Warnings
	Warnings string `yaml:"warnings,omitempty" json:"warnings,omitempty"`
}

type Group

type Group struct {
	ModuleName string
	Params     GroupParams
	Result     GroupResult
}

func NewGroup

func NewGroup() *Group

func (*Group) GetParams

func (m *Group) GetParams() interface{}

func (*Group) GetResult

func (m *Group) GetResult() interface{}

func (*Group) GetResultRaw

func (m *Group) GetResultRaw() string

func (*Group) GetType

func (m *Group) GetType() string

func (*Group) Run

func (m *Group) Run() error

type GroupBy

type GroupBy struct {
	ModuleName string
	Params     GroupByParams
	Result     GroupByResult
}

func NewGroupBy

func NewGroupBy() *GroupBy

func (*GroupBy) GetParams

func (m *GroupBy) GetParams() interface{}

func (*GroupBy) GetResult

func (m *GroupBy) GetResult() interface{}

func (*GroupBy) GetResultRaw

func (m *GroupBy) GetResultRaw() string

func (*GroupBy) GetType

func (m *GroupBy) GetType() string

func (*GroupBy) Run

func (m *GroupBy) Run() error

type GroupByParams

type GroupByParams struct {

	// Key
	Key string `yaml:"key,omitempty" json:"key,omitempty"`

	// Parents
	Parents []string `yaml:"parents,omitempty" json:"parents,omitempty"`
}

type GroupByResult

type GroupByResult struct {
	Raw string
}

type GroupParams

type GroupParams struct {

	// Gid
	Gid int `yaml:"gid,omitempty" json:"gid,omitempty"`

	// Local
	Local bool `yaml:"local,omitempty" json:"local,omitempty"`

	// Name
	Name string `yaml:"name,omitempty" json:"name,omitempty"`

	// NonUnique
	NonUnique bool `yaml:"non_unique,omitempty" json:"non_unique,omitempty"`

	// State
	State string `yaml:"state,omitempty" json:"state,omitempty"`

	// System
	System bool `yaml:"system,omitempty" json:"system,omitempty"`
}

type GroupResult

type GroupResult struct {
	Raw string

	// Gid
	Gid int `yaml:"gid,omitempty" json:"gid,omitempty"`

	// Name
	Name string `yaml:"name,omitempty" json:"name,omitempty"`

	// State
	State string `yaml:"state,omitempty" json:"state,omitempty"`

	// System
	System bool `yaml:"system,omitempty" json:"system,omitempty"`
}

type Hostname

type Hostname struct {
	ModuleName string
	Params     HostnameParams
	Result     HostnameResult
}

func NewHostname

func NewHostname() *Hostname

func (*Hostname) GetParams

func (m *Hostname) GetParams() interface{}

func (*Hostname) GetResult

func (m *Hostname) GetResult() interface{}

func (*Hostname) GetResultRaw

func (m *Hostname) GetResultRaw() string

func (*Hostname) GetType

func (m *Hostname) GetType() string

func (*Hostname) Run

func (m *Hostname) Run() error

type HostnameParams

type HostnameParams struct {

	// Name
	Name string `yaml:"name,omitempty" json:"name,omitempty"`

	// Use
	Use string `yaml:"use,omitempty" json:"use,omitempty"`
}

type HostnameResult

type HostnameResult struct {
	Raw string
}

type Iptables

type Iptables struct {
	ModuleName string
	Params     IptablesParams
	Result     IptablesResult
}

func NewIptables

func NewIptables() *Iptables

func (*Iptables) GetParams

func (m *Iptables) GetParams() interface{}

func (*Iptables) GetResult

func (m *Iptables) GetResult() interface{}

func (*Iptables) GetResultRaw

func (m *Iptables) GetResultRaw() string

func (*Iptables) GetType

func (m *Iptables) GetType() string

func (*Iptables) Run

func (m *Iptables) Run() error

type IptablesParams

type IptablesParams struct {

	// Action
	Action string `yaml:"action,omitempty" json:"action,omitempty"`

	// Chain
	Chain string `yaml:"chain,omitempty" json:"chain,omitempty"`

	// ChainManagement
	ChainManagement bool `yaml:"chain_management,omitempty" json:"chain_management,omitempty"`

	// Comment
	Comment string `yaml:"comment,omitempty" json:"comment,omitempty"`

	// Ctstate
	Ctstate []string `yaml:"ctstate,omitempty" json:"ctstate,omitempty"`

	// Destination
	Destination string `yaml:"destination,omitempty" json:"destination,omitempty"`

	// DestinationPort
	DestinationPort string `yaml:"destination_port,omitempty" json:"destination_port,omitempty"`

	// DestinationPorts
	DestinationPorts []string `yaml:"destination_ports,omitempty" json:"destination_ports,omitempty"`

	// DstRange
	DstRange string `yaml:"dst_range,omitempty" json:"dst_range,omitempty"`

	// Flush
	Flush bool `yaml:"flush,omitempty" json:"flush,omitempty"`

	// Fragment
	Fragment string `yaml:"fragment,omitempty" json:"fragment,omitempty"`

	// Gateway
	Gateway string `yaml:"gateway,omitempty" json:"gateway,omitempty"`

	// GidOwner
	GidOwner string `yaml:"gid_owner,omitempty" json:"gid_owner,omitempty"`

	// Goto
	Goto string `yaml:"goto,omitempty" json:"goto,omitempty"`

	// IcmpType
	IcmpType string `yaml:"icmp_type,omitempty" json:"icmp_type,omitempty"`

	// InInterface
	InInterface string `yaml:"in_interface,omitempty" json:"in_interface,omitempty"`

	// IpVersion
	IpVersion string `yaml:"ip_version,omitempty" json:"ip_version,omitempty"`

	// Jump
	Jump string `yaml:"jump,omitempty" json:"jump,omitempty"`

	// Limit
	Limit string `yaml:"limit,omitempty" json:"limit,omitempty"`

	// LimitBurst
	LimitBurst string `yaml:"limit_burst,omitempty" json:"limit_burst,omitempty"`

	// LogLevel
	LogLevel string `yaml:"log_level,omitempty" json:"log_level,omitempty"`

	// LogPrefix
	LogPrefix string `yaml:"log_prefix,omitempty" json:"log_prefix,omitempty"`

	// Match
	Match []string `yaml:"match,omitempty" json:"match,omitempty"`

	// MatchSet
	MatchSet string `yaml:"match_set,omitempty" json:"match_set,omitempty"`

	// MatchSetFlags
	MatchSetFlags string `yaml:"match_set_flags,omitempty" json:"match_set_flags,omitempty"`

	// OutInterface
	OutInterface string `yaml:"out_interface,omitempty" json:"out_interface,omitempty"`

	// Policy
	Policy string `yaml:"policy,omitempty" json:"policy,omitempty"`

	// Protocol
	Protocol string `yaml:"protocol,omitempty" json:"protocol,omitempty"`

	// RejectWith
	RejectWith string `yaml:"reject_with,omitempty" json:"reject_with,omitempty"`

	// RuleNum
	RuleNum string `yaml:"rule_num,omitempty" json:"rule_num,omitempty"`

	// SetCounters
	SetCounters string `yaml:"set_counters,omitempty" json:"set_counters,omitempty"`

	// SetDscpMark
	SetDscpMark string `yaml:"set_dscp_mark,omitempty" json:"set_dscp_mark,omitempty"`

	// SetDscpMarkClass
	SetDscpMarkClass string `yaml:"set_dscp_mark_class,omitempty" json:"set_dscp_mark_class,omitempty"`

	// Source
	Source string `yaml:"source,omitempty" json:"source,omitempty"`

	// SourcePort
	SourcePort string `yaml:"source_port,omitempty" json:"source_port,omitempty"`

	// SrcRange
	SrcRange string `yaml:"src_range,omitempty" json:"src_range,omitempty"`

	// State
	State string `yaml:"state,omitempty" json:"state,omitempty"`

	// Syn
	Syn string `yaml:"syn,omitempty" json:"syn,omitempty"`

	// Table
	Table string `yaml:"table,omitempty" json:"table,omitempty"`

	// TcpFlags
	TcpFlags map[string]interface{} `yaml:"tcp_flags,omitempty" json:"tcp_flags,omitempty"`

	// ToDestination
	ToDestination string `yaml:"to_destination,omitempty" json:"to_destination,omitempty"`

	// ToPorts
	ToPorts string `yaml:"to_ports,omitempty" json:"to_ports,omitempty"`

	// ToSource
	ToSource string `yaml:"to_source,omitempty" json:"to_source,omitempty"`

	// UidOwner
	UidOwner string `yaml:"uid_owner,omitempty" json:"uid_owner,omitempty"`

	// Wait
	Wait string `yaml:"wait,omitempty" json:"wait,omitempty"`
}

type IptablesResult

type IptablesResult struct {
	Raw string
}

type KnownHosts

type KnownHosts struct {
	ModuleName string
	Params     KnownHostsParams
	Result     KnownHostsResult
}

func NewKnownHosts

func NewKnownHosts() *KnownHosts

func (*KnownHosts) GetParams

func (m *KnownHosts) GetParams() interface{}

func (*KnownHosts) GetResult

func (m *KnownHosts) GetResult() interface{}

func (*KnownHosts) GetResultRaw

func (m *KnownHosts) GetResultRaw() string

func (*KnownHosts) GetType

func (m *KnownHosts) GetType() string

func (*KnownHosts) Run

func (m *KnownHosts) Run() error

type KnownHostsParams

type KnownHostsParams struct {

	// HashHost
	HashHost bool `yaml:"hash_host,omitempty" json:"hash_host,omitempty"`

	// Key
	Key string `yaml:"key,omitempty" json:"key,omitempty"`

	// Name
	Name string `yaml:"name,omitempty" json:"name,omitempty"`

	// Path
	Path string `yaml:"path,omitempty" json:"path,omitempty"`

	// State
	State string `yaml:"state,omitempty" json:"state,omitempty"`
}

type KnownHostsResult

type KnownHostsResult struct {
	Raw string
}

type Lineinfile

type Lineinfile struct {
	ModuleName string
	Params     LineinfileParams
	Result     LineinfileResult
}

func NewLineinfile

func NewLineinfile() *Lineinfile

func (*Lineinfile) GetParams

func (m *Lineinfile) GetParams() interface{}

func (*Lineinfile) GetResult

func (m *Lineinfile) GetResult() interface{}

func (*Lineinfile) GetResultRaw

func (m *Lineinfile) GetResultRaw() string

func (*Lineinfile) GetType

func (m *Lineinfile) GetType() string

func (*Lineinfile) Run

func (m *Lineinfile) Run() error

type LineinfileParams

type LineinfileParams struct {

	// Backrefs
	Backrefs bool `yaml:"backrefs,omitempty" json:"backrefs,omitempty"`

	// Backup
	Backup bool `yaml:"backup,omitempty" json:"backup,omitempty"`

	// Create
	Create bool `yaml:"create,omitempty" json:"create,omitempty"`

	// Firstmatch
	Firstmatch bool `yaml:"firstmatch,omitempty" json:"firstmatch,omitempty"`

	// Insertafter
	Insertafter string `yaml:"insertafter,omitempty" json:"insertafter,omitempty"`

	// Insertbefore
	Insertbefore string `yaml:"insertbefore,omitempty" json:"insertbefore,omitempty"`

	// Line
	Line string `yaml:"line,omitempty" json:"line,omitempty"`

	// Others
	Others string `yaml:"others,omitempty" json:"others,omitempty"`

	// Path
	Path string `yaml:"path,omitempty" json:"path,omitempty"`

	// Regexp
	Regexp string `yaml:"regexp,omitempty" json:"regexp,omitempty"`

	// SearchString
	SearchString string `yaml:"search_string,omitempty" json:"search_string,omitempty"`

	// State
	State string `yaml:"state,omitempty" json:"state,omitempty"`
}

type LineinfileResult

type LineinfileResult struct {
	Raw string
}

type Meta

type Meta struct {
	ModuleName string
	Params     MetaParams
	Result     MetaResult
}

func NewMeta

func NewMeta() *Meta

func (*Meta) GetParams

func (m *Meta) GetParams() interface{}

func (*Meta) GetResult

func (m *Meta) GetResult() interface{}

func (*Meta) GetResultRaw

func (m *Meta) GetResultRaw() string

func (*Meta) GetType

func (m *Meta) GetType() string

func (*Meta) Run

func (m *Meta) Run() error

type MetaParams

type MetaParams struct {

	// FreeForm
	FreeForm string `yaml:"free_form,omitempty" json:"free_form,omitempty"`
}

type MetaResult

type MetaResult struct {
	Raw string
}

type Module

type Module interface {
	GetResult() interface{}
	GetResultRaw() string
	GetParams() interface{}
	GetType() string
	Run() error
}

func ModuleByName

func ModuleByName(ty string) Module

type Package

type Package struct {
	ModuleName string
	Params     PackageParams
	Result     PackageResult
}

func NewPackage

func NewPackage() *Package

func (*Package) GetParams

func (m *Package) GetParams() interface{}

func (*Package) GetResult

func (m *Package) GetResult() interface{}

func (*Package) GetResultRaw

func (m *Package) GetResultRaw() string

func (*Package) GetType

func (m *Package) GetType() string

func (*Package) Run

func (m *Package) Run() error

type PackageFacts

type PackageFacts struct {
	ModuleName string
	Params     PackageFactsParams
	Result     PackageFactsResult
}

func NewPackageFacts

func NewPackageFacts() *PackageFacts

func (*PackageFacts) GetParams

func (m *PackageFacts) GetParams() interface{}

func (*PackageFacts) GetResult

func (m *PackageFacts) GetResult() interface{}

func (*PackageFacts) GetResultRaw

func (m *PackageFacts) GetResultRaw() string

func (*PackageFacts) GetType

func (m *PackageFacts) GetType() string

func (*PackageFacts) Run

func (m *PackageFacts) Run() error

type PackageFactsParams

type PackageFactsParams struct {

	// Manager
	Manager []string `yaml:"manager,omitempty" json:"manager,omitempty"`

	// Strategy
	Strategy string `yaml:"strategy,omitempty" json:"strategy,omitempty"`
}

type PackageFactsResult

type PackageFactsResult struct {
	Raw string

	// AnsibleFacts
	AnsibleFacts interface{} `yaml:"ansible_facts,omitempty" json:"ansible_facts,omitempty"`
}

type PackageParams

type PackageParams struct {

	// Name
	Name string `yaml:"name,omitempty" json:"name,omitempty"`

	// State
	State string `yaml:"state,omitempty" json:"state,omitempty"`

	// Use
	Use string `yaml:"use,omitempty" json:"use,omitempty"`
}

type PackageResult

type PackageResult struct {
	Raw string
}

type Pause

type Pause struct {
	ModuleName string
	Params     PauseParams
	Result     PauseResult
}

func NewPause

func NewPause() *Pause

func (*Pause) GetParams

func (m *Pause) GetParams() interface{}

func (*Pause) GetResult

func (m *Pause) GetResult() interface{}

func (*Pause) GetResultRaw

func (m *Pause) GetResultRaw() string

func (*Pause) GetType

func (m *Pause) GetType() string

func (*Pause) Run

func (m *Pause) Run() error

type PauseParams

type PauseParams struct {

	// Echo
	Echo bool `yaml:"echo,omitempty" json:"echo,omitempty"`

	// Minutes
	Minutes string `yaml:"minutes,omitempty" json:"minutes,omitempty"`

	// Prompt
	Prompt string `yaml:"prompt,omitempty" json:"prompt,omitempty"`

	// Seconds
	Seconds string `yaml:"seconds,omitempty" json:"seconds,omitempty"`
}

type PauseResult

type PauseResult struct {
	Raw string

	// Delta
	Delta string `yaml:"delta,omitempty" json:"delta,omitempty"`

	// Echo
	Echo bool `yaml:"echo,omitempty" json:"echo,omitempty"`

	// Start
	Start string `yaml:"start,omitempty" json:"start,omitempty"`

	// Stdout
	Stdout string `yaml:"stdout,omitempty" json:"stdout,omitempty"`

	// Stop
	Stop string `yaml:"stop,omitempty" json:"stop,omitempty"`

	// UserInput
	UserInput string `yaml:"user_input,omitempty" json:"user_input,omitempty"`
}

type Ping

type Ping struct {
	ModuleName string
	Params     PingParams
	Result     PingResult
}

func NewPing

func NewPing() *Ping

func (*Ping) GetParams

func (m *Ping) GetParams() interface{}

func (*Ping) GetResult

func (m *Ping) GetResult() interface{}

func (*Ping) GetResultRaw

func (m *Ping) GetResultRaw() string

func (*Ping) GetType

func (m *Ping) GetType() string

func (*Ping) Run

func (m *Ping) Run() error

type PingParams

type PingParams struct {

	// Data
	Data string `yaml:"data,omitempty" json:"data,omitempty"`
}

type PingResult

type PingResult struct {
	Raw string

	// Ping
	Ping string `yaml:"ping,omitempty" json:"ping,omitempty"`
}

type Pip

type Pip struct {
	ModuleName string
	Params     PipParams
	Result     PipResult
}

func NewPip

func NewPip() *Pip

func (*Pip) GetParams

func (m *Pip) GetParams() interface{}

func (*Pip) GetResult

func (m *Pip) GetResult() interface{}

func (*Pip) GetResultRaw

func (m *Pip) GetResultRaw() string

func (*Pip) GetType

func (m *Pip) GetType() string

func (*Pip) Run

func (m *Pip) Run() error

type PipParams

type PipParams struct {

	// Chdir
	Chdir string `yaml:"chdir,omitempty" json:"chdir,omitempty"`

	// Editable
	Editable bool `yaml:"editable,omitempty" json:"editable,omitempty"`

	// Executable
	Executable string `yaml:"executable,omitempty" json:"executable,omitempty"`

	// ExtraArgs
	ExtraArgs string `yaml:"extra_args,omitempty" json:"extra_args,omitempty"`

	// Name
	Name []string `yaml:"name,omitempty" json:"name,omitempty"`

	// Requirements
	Requirements string `yaml:"requirements,omitempty" json:"requirements,omitempty"`

	// State
	State string `yaml:"state,omitempty" json:"state,omitempty"`

	// Umask
	Umask string `yaml:"umask,omitempty" json:"umask,omitempty"`

	// Version
	Version string `yaml:"version,omitempty" json:"version,omitempty"`

	// Virtualenv
	Virtualenv string `yaml:"virtualenv,omitempty" json:"virtualenv,omitempty"`

	// VirtualenvCommand
	VirtualenvCommand string `yaml:"virtualenv_command,omitempty" json:"virtualenv_command,omitempty"`

	// VirtualenvPython
	VirtualenvPython string `yaml:"virtualenv_python,omitempty" json:"virtualenv_python,omitempty"`

	// VirtualenvSitePackages
	VirtualenvSitePackages bool `yaml:"virtualenv_site_packages,omitempty" json:"virtualenv_site_packages,omitempty"`
}

type PipResult

type PipResult struct {
	Raw string

	// Cmd
	Cmd string `yaml:"cmd,omitempty" json:"cmd,omitempty"`

	// Name
	Name []map[string]interface{} `yaml:"name,omitempty" json:"name,omitempty"`

	// Requirements
	Requirements string `yaml:"requirements,omitempty" json:"requirements,omitempty"`

	// Version
	Version string `yaml:"version,omitempty" json:"version,omitempty"`

	// Virtualenv
	Virtualenv string `yaml:"virtualenv,omitempty" json:"virtualenv,omitempty"`
}

type Reboot

type Reboot struct {
	ModuleName string
	Params     RebootParams
	Result     RebootResult
}

func NewReboot

func NewReboot() *Reboot

func (*Reboot) GetParams

func (m *Reboot) GetParams() interface{}

func (*Reboot) GetResult

func (m *Reboot) GetResult() interface{}

func (*Reboot) GetResultRaw

func (m *Reboot) GetResultRaw() string

func (*Reboot) GetType

func (m *Reboot) GetType() string

func (*Reboot) Run

func (m *Reboot) Run() error

type RebootParams

type RebootParams struct {

	// BootTimeCommand
	BootTimeCommand string `yaml:"boot_time_command,omitempty" json:"boot_time_command,omitempty"`

	// ConnectTimeout
	ConnectTimeout int `yaml:"connect_timeout,omitempty" json:"connect_timeout,omitempty"`

	// Msg
	Msg string `yaml:"msg,omitempty" json:"msg,omitempty"`

	// PostRebootDelay
	PostRebootDelay int `yaml:"post_reboot_delay,omitempty" json:"post_reboot_delay,omitempty"`

	// PreRebootDelay
	PreRebootDelay int `yaml:"pre_reboot_delay,omitempty" json:"pre_reboot_delay,omitempty"`

	// RebootCommand
	RebootCommand string `yaml:"reboot_command,omitempty" json:"reboot_command,omitempty"`

	// RebootTimeout
	RebootTimeout int `yaml:"reboot_timeout,omitempty" json:"reboot_timeout,omitempty"`

	// SearchPaths
	SearchPaths []string `yaml:"search_paths,omitempty" json:"search_paths,omitempty"`

	// TestCommand
	TestCommand string `yaml:"test_command,omitempty" json:"test_command,omitempty"`
}

type RebootResult

type RebootResult struct {
	Raw string

	// Elapsed
	Elapsed int `yaml:"elapsed,omitempty" json:"elapsed,omitempty"`

	// Rebooted
	Rebooted bool `yaml:"rebooted,omitempty" json:"rebooted,omitempty"`
}

type Replace

type Replace struct {
	ModuleName string
	Params     ReplaceParams
	Result     ReplaceResult
}

func NewReplace

func NewReplace() *Replace

func (*Replace) GetParams

func (m *Replace) GetParams() interface{}

func (*Replace) GetResult

func (m *Replace) GetResult() interface{}

func (*Replace) GetResultRaw

func (m *Replace) GetResultRaw() string

func (*Replace) GetType

func (m *Replace) GetType() string

func (*Replace) Run

func (m *Replace) Run() error

type ReplaceParams

type ReplaceParams struct {

	// After
	After string `yaml:"after,omitempty" json:"after,omitempty"`

	// Backup
	Backup bool `yaml:"backup,omitempty" json:"backup,omitempty"`

	// Before
	Before string `yaml:"before,omitempty" json:"before,omitempty"`

	// Encoding
	Encoding string `yaml:"encoding,omitempty" json:"encoding,omitempty"`

	// Others
	Others string `yaml:"others,omitempty" json:"others,omitempty"`

	// Path
	Path string `yaml:"path,omitempty" json:"path,omitempty"`

	// Regexp
	Regexp string `yaml:"regexp,omitempty" json:"regexp,omitempty"`

	// Replace
	Replace string `yaml:"replace,omitempty" json:"replace,omitempty"`
}

type ReplaceResult

type ReplaceResult struct {
	Raw string
}

type RpmKey

type RpmKey struct {
	ModuleName string
	Params     RpmKeyParams
	Result     RpmKeyResult
}

func NewRpmKey

func NewRpmKey() *RpmKey

func (*RpmKey) GetParams

func (m *RpmKey) GetParams() interface{}

func (*RpmKey) GetResult

func (m *RpmKey) GetResult() interface{}

func (*RpmKey) GetResultRaw

func (m *RpmKey) GetResultRaw() string

func (*RpmKey) GetType

func (m *RpmKey) GetType() string

func (*RpmKey) Run

func (m *RpmKey) Run() error

type RpmKeyParams

type RpmKeyParams struct {

	// Fingerprint
	Fingerprint string `yaml:"fingerprint,omitempty" json:"fingerprint,omitempty"`

	// Key
	Key string `yaml:"key,omitempty" json:"key,omitempty"`

	// State
	State string `yaml:"state,omitempty" json:"state,omitempty"`

	// ValidateCerts
	ValidateCerts bool `yaml:"validate_certs,omitempty" json:"validate_certs,omitempty"`
}

type RpmKeyResult

type RpmKeyResult struct {
	Raw string
}

type Service

type Service struct {
	ModuleName string
	Params     ServiceParams
	Result     ServiceResult
}

func NewService

func NewService() *Service

func (*Service) GetParams

func (m *Service) GetParams() interface{}

func (*Service) GetResult

func (m *Service) GetResult() interface{}

func (*Service) GetResultRaw

func (m *Service) GetResultRaw() string

func (*Service) GetType

func (m *Service) GetType() string

func (*Service) Run

func (m *Service) Run() error

type ServiceFacts

type ServiceFacts struct {
	ModuleName string
	Params     ServiceFactsParams
	Result     ServiceFactsResult
}

func NewServiceFacts

func NewServiceFacts() *ServiceFacts

func (*ServiceFacts) GetParams

func (m *ServiceFacts) GetParams() interface{}

func (*ServiceFacts) GetResult

func (m *ServiceFacts) GetResult() interface{}

func (*ServiceFacts) GetResultRaw

func (m *ServiceFacts) GetResultRaw() string

func (*ServiceFacts) GetType

func (m *ServiceFacts) GetType() string

func (*ServiceFacts) Run

func (m *ServiceFacts) Run() error

type ServiceFactsParams

type ServiceFactsParams struct {
}

type ServiceFactsResult

type ServiceFactsResult struct {
	Raw string

	// AnsibleFacts
	AnsibleFacts interface{} `yaml:"ansible_facts,omitempty" json:"ansible_facts,omitempty"`
}

type ServiceParams

type ServiceParams struct {

	// Arguments
	Arguments string `yaml:"arguments,omitempty" json:"arguments,omitempty"`

	// Enabled
	Enabled bool `yaml:"enabled,omitempty" json:"enabled,omitempty"`

	// Name
	Name string `yaml:"name,omitempty" json:"name,omitempty"`

	// Pattern
	Pattern string `yaml:"pattern,omitempty" json:"pattern,omitempty"`

	// Runlevel
	Runlevel string `yaml:"runlevel,omitempty" json:"runlevel,omitempty"`

	// Sleep
	Sleep int `yaml:"sleep,omitempty" json:"sleep,omitempty"`

	// State
	State string `yaml:"state,omitempty" json:"state,omitempty"`

	// Use
	Use string `yaml:"use,omitempty" json:"use,omitempty"`
}

type ServiceResult

type ServiceResult struct {
	Raw string
}

type Setup

type Setup struct {
	ModuleName string
	Params     SetupParams
	Result     SetupResult
}

func NewSetup

func NewSetup() *Setup

func (*Setup) GetParams

func (m *Setup) GetParams() interface{}

func (*Setup) GetResult

func (m *Setup) GetResult() interface{}

func (*Setup) GetResultRaw

func (m *Setup) GetResultRaw() string

func (*Setup) GetType

func (m *Setup) GetType() string

func (*Setup) Run

func (m *Setup) Run() error

type SetupParams

type SetupParams struct {

	// FactPath
	FactPath string `yaml:"fact_path,omitempty" json:"fact_path,omitempty"`

	// Filter
	Filter []string `yaml:"filter,omitempty" json:"filter,omitempty"`

	// GatherSubset
	GatherSubset []string `yaml:"gather_subset,omitempty" json:"gather_subset,omitempty"`

	// GatherTimeout
	GatherTimeout int `yaml:"gather_timeout,omitempty" json:"gather_timeout,omitempty"`
}

type SetupResult

type SetupResult struct {
	Raw string
}

type Slurp

type Slurp struct {
	ModuleName string
	Params     SlurpParams
	Result     SlurpResult
}

func NewSlurp

func NewSlurp() *Slurp

func (*Slurp) GetParams

func (m *Slurp) GetParams() interface{}

func (*Slurp) GetResult

func (m *Slurp) GetResult() interface{}

func (*Slurp) GetResultRaw

func (m *Slurp) GetResultRaw() string

func (*Slurp) GetType

func (m *Slurp) GetType() string

func (*Slurp) Run

func (m *Slurp) Run() error

type SlurpParams

type SlurpParams struct {

	// Src
	Src string `yaml:"src,omitempty" json:"src,omitempty"`
}

type SlurpResult

type SlurpResult struct {
	Raw string

	// Content
	Content string `yaml:"content,omitempty" json:"content,omitempty"`

	// Encoding
	Encoding string `yaml:"encoding,omitempty" json:"encoding,omitempty"`

	// Source
	Source string `yaml:"source,omitempty" json:"source,omitempty"`
}

type Stat

type Stat struct {
	ModuleName string
	Params     StatParams
	Result     StatResult
}

func NewStat

func NewStat() *Stat

func (*Stat) GetParams

func (m *Stat) GetParams() interface{}

func (*Stat) GetResult

func (m *Stat) GetResult() interface{}

func (*Stat) GetResultRaw

func (m *Stat) GetResultRaw() string

func (*Stat) GetType

func (m *Stat) GetType() string

func (*Stat) Run

func (m *Stat) Run() error

type StatParams

type StatParams struct {

	// ChecksumAlgorithm
	ChecksumAlgorithm string `yaml:"checksum_algorithm,omitempty" json:"checksum_algorithm,omitempty"`

	// Follow
	Follow bool `yaml:"follow,omitempty" json:"follow,omitempty"`

	// GetAttributes
	GetAttributes bool `yaml:"get_attributes,omitempty" json:"get_attributes,omitempty"`

	// GetChecksum
	GetChecksum bool `yaml:"get_checksum,omitempty" json:"get_checksum,omitempty"`

	// GetMime
	GetMime bool `yaml:"get_mime,omitempty" json:"get_mime,omitempty"`

	// Path
	Path string `yaml:"path,omitempty" json:"path,omitempty"`
}

type StatResult

type StatResult struct {
	Raw string

	// Stat
	Stat interface{} `yaml:"stat,omitempty" json:"stat,omitempty"`
}

type Subversion

type Subversion struct {
	ModuleName string
	Params     SubversionParams
	Result     SubversionResult
}

func NewSubversion

func NewSubversion() *Subversion

func (*Subversion) GetParams

func (m *Subversion) GetParams() interface{}

func (*Subversion) GetResult

func (m *Subversion) GetResult() interface{}

func (*Subversion) GetResultRaw

func (m *Subversion) GetResultRaw() string

func (*Subversion) GetType

func (m *Subversion) GetType() string

func (*Subversion) Run

func (m *Subversion) Run() error

type SubversionParams

type SubversionParams struct {

	// Checkout
	Checkout bool `yaml:"checkout,omitempty" json:"checkout,omitempty"`

	// Dest
	Dest string `yaml:"dest,omitempty" json:"dest,omitempty"`

	// Executable
	Executable string `yaml:"executable,omitempty" json:"executable,omitempty"`

	// Export
	Export bool `yaml:"export,omitempty" json:"export,omitempty"`

	// Force
	Force bool `yaml:"force,omitempty" json:"force,omitempty"`

	// InPlace
	InPlace bool `yaml:"in_place,omitempty" json:"in_place,omitempty"`

	// Password
	Password string `yaml:"password,omitempty" json:"password,omitempty"`

	// Repo
	Repo string `yaml:"repo,omitempty" json:"repo,omitempty"`

	// Revision
	Revision string `yaml:"revision,omitempty" json:"revision,omitempty"`

	// Switch
	Switch bool `yaml:"switch,omitempty" json:"switch,omitempty"`

	// Update
	Update bool `yaml:"update,omitempty" json:"update,omitempty"`

	// Username
	Username string `yaml:"username,omitempty" json:"username,omitempty"`

	// ValidateCerts
	ValidateCerts bool `yaml:"validate_certs,omitempty" json:"validate_certs,omitempty"`
}

type SubversionResult

type SubversionResult struct {
	Raw string
}

type Systemd

type Systemd struct {
	ModuleName string
	Params     SystemdParams
	Result     SystemdResult
}

func NewSystemd

func NewSystemd() *Systemd

func (*Systemd) GetParams

func (m *Systemd) GetParams() interface{}

func (*Systemd) GetResult

func (m *Systemd) GetResult() interface{}

func (*Systemd) GetResultRaw

func (m *Systemd) GetResultRaw() string

func (*Systemd) GetType

func (m *Systemd) GetType() string

func (*Systemd) Run

func (m *Systemd) Run() error

type SystemdParams

type SystemdParams struct {

	// DaemonReexec
	DaemonReexec bool `yaml:"daemon_reexec,omitempty" json:"daemon_reexec,omitempty"`

	// DaemonReload
	DaemonReload bool `yaml:"daemon_reload,omitempty" json:"daemon_reload,omitempty"`

	// Enabled
	Enabled bool `yaml:"enabled,omitempty" json:"enabled,omitempty"`

	// Force
	Force bool `yaml:"force,omitempty" json:"force,omitempty"`

	// Masked
	Masked bool `yaml:"masked,omitempty" json:"masked,omitempty"`

	// Name
	Name string `yaml:"name,omitempty" json:"name,omitempty"`

	// NoBlock
	NoBlock bool `yaml:"no_block,omitempty" json:"no_block,omitempty"`

	// Scope
	Scope string `yaml:"scope,omitempty" json:"scope,omitempty"`

	// State
	State string `yaml:"state,omitempty" json:"state,omitempty"`
}

type SystemdResult

type SystemdResult struct {
	Raw string

	// Status
	Status interface{} `yaml:"status,omitempty" json:"status,omitempty"`
}

type Sysvinit

type Sysvinit struct {
	ModuleName string
	Params     SysvinitParams
	Result     SysvinitResult
}

func NewSysvinit

func NewSysvinit() *Sysvinit

func (*Sysvinit) GetParams

func (m *Sysvinit) GetParams() interface{}

func (*Sysvinit) GetResult

func (m *Sysvinit) GetResult() interface{}

func (*Sysvinit) GetResultRaw

func (m *Sysvinit) GetResultRaw() string

func (*Sysvinit) GetType

func (m *Sysvinit) GetType() string

func (*Sysvinit) Run

func (m *Sysvinit) Run() error

type SysvinitParams

type SysvinitParams struct {

	// Arguments
	Arguments string `yaml:"arguments,omitempty" json:"arguments,omitempty"`

	// Daemonize
	Daemonize bool `yaml:"daemonize,omitempty" json:"daemonize,omitempty"`

	// Enabled
	Enabled bool `yaml:"enabled,omitempty" json:"enabled,omitempty"`

	// Name
	Name string `yaml:"name,omitempty" json:"name,omitempty"`

	// Pattern
	Pattern string `yaml:"pattern,omitempty" json:"pattern,omitempty"`

	// Runlevels
	Runlevels []string `yaml:"runlevels,omitempty" json:"runlevels,omitempty"`

	// Sleep
	Sleep int `yaml:"sleep,omitempty" json:"sleep,omitempty"`

	// State
	State string `yaml:"state,omitempty" json:"state,omitempty"`
}

type SysvinitResult

type SysvinitResult struct {
	Raw string

	// Results
	Results interface{} `yaml:"results,omitempty" json:"results,omitempty"`
}

type Tempfile

type Tempfile struct {
	ModuleName string
	Params     TempfileParams
	Result     TempfileResult
}

func NewTempfile

func NewTempfile() *Tempfile

func (*Tempfile) GetParams

func (m *Tempfile) GetParams() interface{}

func (*Tempfile) GetResult

func (m *Tempfile) GetResult() interface{}

func (*Tempfile) GetResultRaw

func (m *Tempfile) GetResultRaw() string

func (*Tempfile) GetType

func (m *Tempfile) GetType() string

func (*Tempfile) Run

func (m *Tempfile) Run() error

type TempfileParams

type TempfileParams struct {

	// Path
	Path string `yaml:"path,omitempty" json:"path,omitempty"`

	// Prefix
	Prefix string `yaml:"prefix,omitempty" json:"prefix,omitempty"`

	// State
	State string `yaml:"state,omitempty" json:"state,omitempty"`

	// Suffix
	Suffix string `yaml:"suffix,omitempty" json:"suffix,omitempty"`
}

type TempfileResult

type TempfileResult struct {
	Raw string

	// Path
	Path string `yaml:"path,omitempty" json:"path,omitempty"`
}

type Template

type Template struct {
	ModuleName string
	Params     TemplateParams
	Result     TemplateResult
}

func NewTemplate

func NewTemplate() *Template

func (*Template) GetParams

func (m *Template) GetParams() interface{}

func (*Template) GetResult

func (m *Template) GetResult() interface{}

func (*Template) GetResultRaw

func (m *Template) GetResultRaw() string

func (*Template) GetType

func (m *Template) GetType() string

func (*Template) Run

func (m *Template) Run() error

type TemplateParams

type TemplateParams struct {

	// Follow
	Follow bool `yaml:"follow,omitempty" json:"follow,omitempty"`
}

type TemplateResult

type TemplateResult struct {
	Raw string
}

type Unarchive

type Unarchive struct {
	ModuleName string
	Params     UnarchiveParams
	Result     UnarchiveResult
}

func NewUnarchive

func NewUnarchive() *Unarchive

func (*Unarchive) GetParams

func (m *Unarchive) GetParams() interface{}

func (*Unarchive) GetResult

func (m *Unarchive) GetResult() interface{}

func (*Unarchive) GetResultRaw

func (m *Unarchive) GetResultRaw() string

func (*Unarchive) GetType

func (m *Unarchive) GetType() string

func (*Unarchive) Run

func (m *Unarchive) Run() error

type UnarchiveParams

type UnarchiveParams struct {

	// Copy
	Copy bool `yaml:"copy,omitempty" json:"copy,omitempty"`

	// Creates
	Creates string `yaml:"creates,omitempty" json:"creates,omitempty"`

	// Dest
	Dest string `yaml:"dest,omitempty" json:"dest,omitempty"`

	// Exclude
	Exclude []string `yaml:"exclude,omitempty" json:"exclude,omitempty"`

	// ExtraOpts
	ExtraOpts []string `yaml:"extra_opts,omitempty" json:"extra_opts,omitempty"`

	// Include
	Include []string `yaml:"include,omitempty" json:"include,omitempty"`

	// IoBufferSize
	IoBufferSize int `yaml:"io_buffer_size,omitempty" json:"io_buffer_size,omitempty"`

	// KeepNewer
	KeepNewer bool `yaml:"keep_newer,omitempty" json:"keep_newer,omitempty"`

	// ListFiles
	ListFiles bool `yaml:"list_files,omitempty" json:"list_files,omitempty"`

	// RemoteSrc
	RemoteSrc bool `yaml:"remote_src,omitempty" json:"remote_src,omitempty"`

	// Src
	Src string `yaml:"src,omitempty" json:"src,omitempty"`

	// ValidateCerts
	ValidateCerts bool `yaml:"validate_certs,omitempty" json:"validate_certs,omitempty"`
}

type UnarchiveResult

type UnarchiveResult struct {
	Raw string

	// Dest
	Dest string `yaml:"dest,omitempty" json:"dest,omitempty"`

	// Files
	Files []map[string]interface{} `yaml:"files,omitempty" json:"files,omitempty"`

	// Gid
	Gid int `yaml:"gid,omitempty" json:"gid,omitempty"`

	// Group
	Group string `yaml:"group,omitempty" json:"group,omitempty"`

	// Handler
	Handler string `yaml:"handler,omitempty" json:"handler,omitempty"`

	// Mode
	Mode string `yaml:"mode,omitempty" json:"mode,omitempty"`

	// Owner
	Owner string `yaml:"owner,omitempty" json:"owner,omitempty"`

	// Size
	Size int `yaml:"size,omitempty" json:"size,omitempty"`

	// Src
	Src string `yaml:"src,omitempty" json:"src,omitempty"`

	// State
	State string `yaml:"state,omitempty" json:"state,omitempty"`

	// Uid
	Uid int `yaml:"uid,omitempty" json:"uid,omitempty"`
}

type Uri

type Uri struct {
	ModuleName string
	Params     UriParams
	Result     UriResult
}

func NewUri

func NewUri() *Uri

func (*Uri) GetParams

func (m *Uri) GetParams() interface{}

func (*Uri) GetResult

func (m *Uri) GetResult() interface{}

func (*Uri) GetResultRaw

func (m *Uri) GetResultRaw() string

func (*Uri) GetType

func (m *Uri) GetType() string

func (*Uri) Run

func (m *Uri) Run() error

type UriParams

type UriParams struct {

	// Body
	Body string `yaml:"body,omitempty" json:"body,omitempty"`

	// BodyFormat
	BodyFormat string `yaml:"body_format,omitempty" json:"body_format,omitempty"`

	// CaPath
	CaPath string `yaml:"ca_path,omitempty" json:"ca_path,omitempty"`

	// ClientCert
	ClientCert string `yaml:"client_cert,omitempty" json:"client_cert,omitempty"`

	// ClientKey
	ClientKey string `yaml:"client_key,omitempty" json:"client_key,omitempty"`

	// Creates
	Creates string `yaml:"creates,omitempty" json:"creates,omitempty"`

	// Dest
	Dest string `yaml:"dest,omitempty" json:"dest,omitempty"`

	// FollowRedirects
	FollowRedirects string `yaml:"follow_redirects,omitempty" json:"follow_redirects,omitempty"`

	// Force
	Force bool `yaml:"force,omitempty" json:"force,omitempty"`

	// ForceBasicAuth
	ForceBasicAuth bool `yaml:"force_basic_auth,omitempty" json:"force_basic_auth,omitempty"`

	// Headers
	Headers map[string]interface{} `yaml:"headers,omitempty" json:"headers,omitempty"`

	// HttpAgent
	HttpAgent string `yaml:"http_agent,omitempty" json:"http_agent,omitempty"`

	// Method
	Method string `yaml:"method,omitempty" json:"method,omitempty"`

	// RemoteSrc
	RemoteSrc bool `yaml:"remote_src,omitempty" json:"remote_src,omitempty"`

	// Removes
	Removes string `yaml:"removes,omitempty" json:"removes,omitempty"`

	// ReturnContent
	ReturnContent bool `yaml:"return_content,omitempty" json:"return_content,omitempty"`

	// Src
	Src string `yaml:"src,omitempty" json:"src,omitempty"`

	// StatusCode
	StatusCode []int `yaml:"status_code,omitempty" json:"status_code,omitempty"`

	// Timeout
	Timeout int `yaml:"timeout,omitempty" json:"timeout,omitempty"`

	// UnixSocket
	UnixSocket string `yaml:"unix_socket,omitempty" json:"unix_socket,omitempty"`

	// UnredirectedHeaders
	UnredirectedHeaders []string `yaml:"unredirected_headers,omitempty" json:"unredirected_headers,omitempty"`

	// Url
	Url string `yaml:"url,omitempty" json:"url,omitempty"`

	// UrlPassword
	UrlPassword string `yaml:"url_password,omitempty" json:"url_password,omitempty"`

	// UrlUsername
	UrlUsername string `yaml:"url_username,omitempty" json:"url_username,omitempty"`

	// UseGssapi
	UseGssapi bool `yaml:"use_gssapi,omitempty" json:"use_gssapi,omitempty"`

	// UseProxy
	UseProxy bool `yaml:"use_proxy,omitempty" json:"use_proxy,omitempty"`

	// ValidateCerts
	ValidateCerts bool `yaml:"validate_certs,omitempty" json:"validate_certs,omitempty"`
}

type UriResult

type UriResult struct {
	Raw string

	// Content
	Content string `yaml:"content,omitempty" json:"content,omitempty"`

	// Cookies
	Cookies map[string]interface{} `yaml:"cookies,omitempty" json:"cookies,omitempty"`

	// CookiesString
	CookiesString string `yaml:"cookies_string,omitempty" json:"cookies_string,omitempty"`

	// Elapsed
	Elapsed int `yaml:"elapsed,omitempty" json:"elapsed,omitempty"`

	// Msg
	Msg string `yaml:"msg,omitempty" json:"msg,omitempty"`

	// Path
	Path string `yaml:"path,omitempty" json:"path,omitempty"`

	// Redirected
	Redirected bool `yaml:"redirected,omitempty" json:"redirected,omitempty"`

	// Status
	Status int `yaml:"status,omitempty" json:"status,omitempty"`

	// Url
	Url string `yaml:"url,omitempty" json:"url,omitempty"`
}

type User

type User struct {
	ModuleName string
	Params     UserParams
	Result     UserResult
}

func NewUser

func NewUser() *User

func (*User) GetParams

func (m *User) GetParams() interface{}

func (*User) GetResult

func (m *User) GetResult() interface{}

func (*User) GetResultRaw

func (m *User) GetResultRaw() string

func (*User) GetType

func (m *User) GetType() string

func (*User) Run

func (m *User) Run() error

type UserParams

type UserParams struct {

	// Append
	Append bool `yaml:"append,omitempty" json:"append,omitempty"`

	// Authorization
	Authorization string `yaml:"authorization,omitempty" json:"authorization,omitempty"`

	// Comment
	Comment string `yaml:"comment,omitempty" json:"comment,omitempty"`

	// CreateHome
	CreateHome bool `yaml:"create_home,omitempty" json:"create_home,omitempty"`

	// Expires
	Expires float64 `yaml:"expires,omitempty" json:"expires,omitempty"`

	// Force
	Force bool `yaml:"force,omitempty" json:"force,omitempty"`

	// GenerateSshKey
	GenerateSshKey bool `yaml:"generate_ssh_key,omitempty" json:"generate_ssh_key,omitempty"`

	// Group
	Group string `yaml:"group,omitempty" json:"group,omitempty"`

	// Groups
	Groups []string `yaml:"groups,omitempty" json:"groups,omitempty"`

	// Hidden
	Hidden bool `yaml:"hidden,omitempty" json:"hidden,omitempty"`

	// Home
	Home string `yaml:"home,omitempty" json:"home,omitempty"`

	// Local
	Local bool `yaml:"local,omitempty" json:"local,omitempty"`

	// LoginClass
	LoginClass string `yaml:"login_class,omitempty" json:"login_class,omitempty"`

	// MoveHome
	MoveHome bool `yaml:"move_home,omitempty" json:"move_home,omitempty"`

	// Name
	Name string `yaml:"name,omitempty" json:"name,omitempty"`

	// NonUnique
	NonUnique bool `yaml:"non_unique,omitempty" json:"non_unique,omitempty"`

	// Password
	Password string `yaml:"password,omitempty" json:"password,omitempty"`

	// PasswordExpireMax
	PasswordExpireMax int `yaml:"password_expire_max,omitempty" json:"password_expire_max,omitempty"`

	// PasswordExpireMin
	PasswordExpireMin int `yaml:"password_expire_min,omitempty" json:"password_expire_min,omitempty"`

	// PasswordLock
	PasswordLock bool `yaml:"password_lock,omitempty" json:"password_lock,omitempty"`

	// Profile
	Profile string `yaml:"profile,omitempty" json:"profile,omitempty"`

	// Remove
	Remove bool `yaml:"remove,omitempty" json:"remove,omitempty"`

	// Role
	Role string `yaml:"role,omitempty" json:"role,omitempty"`

	// Seuser
	Seuser string `yaml:"seuser,omitempty" json:"seuser,omitempty"`

	// Shell
	Shell string `yaml:"shell,omitempty" json:"shell,omitempty"`

	// Skeleton
	Skeleton string `yaml:"skeleton,omitempty" json:"skeleton,omitempty"`

	// SshKeyBits
	SshKeyBits int `yaml:"ssh_key_bits,omitempty" json:"ssh_key_bits,omitempty"`

	// SshKeyComment
	SshKeyComment string `yaml:"ssh_key_comment,omitempty" json:"ssh_key_comment,omitempty"`

	// SshKeyFile
	SshKeyFile string `yaml:"ssh_key_file,omitempty" json:"ssh_key_file,omitempty"`

	// SshKeyPassphrase
	SshKeyPassphrase string `yaml:"ssh_key_passphrase,omitempty" json:"ssh_key_passphrase,omitempty"`

	// SshKeyType
	SshKeyType string `yaml:"ssh_key_type,omitempty" json:"ssh_key_type,omitempty"`

	// State
	State string `yaml:"state,omitempty" json:"state,omitempty"`

	// System
	System bool `yaml:"system,omitempty" json:"system,omitempty"`

	// Uid
	Uid int `yaml:"uid,omitempty" json:"uid,omitempty"`

	// Umask
	Umask string `yaml:"umask,omitempty" json:"umask,omitempty"`

	// UpdatePassword
	UpdatePassword string `yaml:"update_password,omitempty" json:"update_password,omitempty"`
}

type UserResult

type UserResult struct {
	Raw string

	// Append
	Append bool `yaml:"append,omitempty" json:"append,omitempty"`

	// Comment
	Comment string `yaml:"comment,omitempty" json:"comment,omitempty"`

	// CreateHome
	CreateHome bool `yaml:"create_home,omitempty" json:"create_home,omitempty"`

	// Force
	Force bool `yaml:"force,omitempty" json:"force,omitempty"`

	// Group
	Group int `yaml:"group,omitempty" json:"group,omitempty"`

	// Groups
	Groups string `yaml:"groups,omitempty" json:"groups,omitempty"`

	// Home
	Home string `yaml:"home,omitempty" json:"home,omitempty"`

	// MoveHome
	MoveHome bool `yaml:"move_home,omitempty" json:"move_home,omitempty"`

	// Name
	Name string `yaml:"name,omitempty" json:"name,omitempty"`

	// Password
	Password string `yaml:"password,omitempty" json:"password,omitempty"`

	// PasswordExpireMax
	PasswordExpireMax int `yaml:"password_expire_max,omitempty" json:"password_expire_max,omitempty"`

	// PasswordExpireMin
	PasswordExpireMin int `yaml:"password_expire_min,omitempty" json:"password_expire_min,omitempty"`

	// Remove
	Remove bool `yaml:"remove,omitempty" json:"remove,omitempty"`

	// Shell
	Shell string `yaml:"shell,omitempty" json:"shell,omitempty"`

	// SshFingerprint
	SshFingerprint string `yaml:"ssh_fingerprint,omitempty" json:"ssh_fingerprint,omitempty"`

	// SshKeyFile
	SshKeyFile string `yaml:"ssh_key_file,omitempty" json:"ssh_key_file,omitempty"`

	// SshPublicKey
	SshPublicKey string `yaml:"ssh_public_key,omitempty" json:"ssh_public_key,omitempty"`

	// Stderr
	Stderr string `yaml:"stderr,omitempty" json:"stderr,omitempty"`

	// Stdout
	Stdout string `yaml:"stdout,omitempty" json:"stdout,omitempty"`

	// System
	System bool `yaml:"system,omitempty" json:"system,omitempty"`

	// Uid
	Uid int `yaml:"uid,omitempty" json:"uid,omitempty"`
}

type WaitFor

type WaitFor struct {
	ModuleName string
	Params     WaitForParams
	Result     WaitForResult
}

func NewWaitFor

func NewWaitFor() *WaitFor

func (*WaitFor) GetParams

func (m *WaitFor) GetParams() interface{}

func (*WaitFor) GetResult

func (m *WaitFor) GetResult() interface{}

func (*WaitFor) GetResultRaw

func (m *WaitFor) GetResultRaw() string

func (*WaitFor) GetType

func (m *WaitFor) GetType() string

func (*WaitFor) Run

func (m *WaitFor) Run() error

type WaitForParams

type WaitForParams struct {

	// ActiveConnectionStates
	ActiveConnectionStates []string `yaml:"active_connection_states,omitempty" json:"active_connection_states,omitempty"`

	// ConnectTimeout
	ConnectTimeout int `yaml:"connect_timeout,omitempty" json:"connect_timeout,omitempty"`

	// Delay
	Delay int `yaml:"delay,omitempty" json:"delay,omitempty"`

	// ExcludeHosts
	ExcludeHosts []string `yaml:"exclude_hosts,omitempty" json:"exclude_hosts,omitempty"`

	// Host
	Host string `yaml:"host,omitempty" json:"host,omitempty"`

	// Msg
	Msg string `yaml:"msg,omitempty" json:"msg,omitempty"`

	// Path
	Path string `yaml:"path,omitempty" json:"path,omitempty"`

	// Port
	Port int `yaml:"port,omitempty" json:"port,omitempty"`

	// SearchRegex
	SearchRegex string `yaml:"search_regex,omitempty" json:"search_regex,omitempty"`

	// Sleep
	Sleep int `yaml:"sleep,omitempty" json:"sleep,omitempty"`

	// State
	State string `yaml:"state,omitempty" json:"state,omitempty"`

	// Timeout
	Timeout int `yaml:"timeout,omitempty" json:"timeout,omitempty"`
}

type WaitForResult

type WaitForResult struct {
	Raw string

	// Elapsed
	Elapsed int `yaml:"elapsed,omitempty" json:"elapsed,omitempty"`

	// MatchGroupdict
	MatchGroupdict map[string]interface{} `yaml:"match_groupdict,omitempty" json:"match_groupdict,omitempty"`

	// MatchGroups
	MatchGroups []map[string]interface{} `yaml:"match_groups,omitempty" json:"match_groups,omitempty"`
}

type Yum

type Yum struct {
	ModuleName string
	Params     YumParams
	Result     YumResult
}

func NewYum

func NewYum() *Yum

func (*Yum) GetParams

func (m *Yum) GetParams() interface{}

func (*Yum) GetResult

func (m *Yum) GetResult() interface{}

func (*Yum) GetResultRaw

func (m *Yum) GetResultRaw() string

func (*Yum) GetType

func (m *Yum) GetType() string

func (*Yum) Run

func (m *Yum) Run() error

type YumParams

type YumParams struct {

	// AllowDowngrade
	AllowDowngrade bool `yaml:"allow_downgrade,omitempty" json:"allow_downgrade,omitempty"`

	// Autoremove
	Autoremove bool `yaml:"autoremove,omitempty" json:"autoremove,omitempty"`

	// Bugfix
	Bugfix bool `yaml:"bugfix,omitempty" json:"bugfix,omitempty"`

	// Cacheonly
	Cacheonly bool `yaml:"cacheonly,omitempty" json:"cacheonly,omitempty"`

	// ConfFile
	ConfFile string `yaml:"conf_file,omitempty" json:"conf_file,omitempty"`

	// DisableExcludes
	DisableExcludes string `yaml:"disable_excludes,omitempty" json:"disable_excludes,omitempty"`

	// DisableGpgCheck
	DisableGpgCheck bool `yaml:"disable_gpg_check,omitempty" json:"disable_gpg_check,omitempty"`

	// DisablePlugin
	DisablePlugin []string `yaml:"disable_plugin,omitempty" json:"disable_plugin,omitempty"`

	// Disablerepo
	Disablerepo []string `yaml:"disablerepo,omitempty" json:"disablerepo,omitempty"`

	// DownloadDir
	DownloadDir string `yaml:"download_dir,omitempty" json:"download_dir,omitempty"`

	// DownloadOnly
	DownloadOnly bool `yaml:"download_only,omitempty" json:"download_only,omitempty"`

	// EnablePlugin
	EnablePlugin []string `yaml:"enable_plugin,omitempty" json:"enable_plugin,omitempty"`

	// Enablerepo
	Enablerepo []string `yaml:"enablerepo,omitempty" json:"enablerepo,omitempty"`

	// Exclude
	Exclude []string `yaml:"exclude,omitempty" json:"exclude,omitempty"`

	// InstallRepoquery
	InstallRepoquery bool `yaml:"install_repoquery,omitempty" json:"install_repoquery,omitempty"`

	// InstallWeakDeps
	InstallWeakDeps bool `yaml:"install_weak_deps,omitempty" json:"install_weak_deps,omitempty"`

	// Installroot
	Installroot string `yaml:"installroot,omitempty" json:"installroot,omitempty"`

	// List
	List string `yaml:"list,omitempty" json:"list,omitempty"`

	// LockTimeout
	LockTimeout int `yaml:"lock_timeout,omitempty" json:"lock_timeout,omitempty"`

	// Name
	Name []string `yaml:"name,omitempty" json:"name,omitempty"`

	// Releasever
	Releasever string `yaml:"releasever,omitempty" json:"releasever,omitempty"`

	// Security
	Security bool `yaml:"security,omitempty" json:"security,omitempty"`

	// SkipBroken
	SkipBroken bool `yaml:"skip_broken,omitempty" json:"skip_broken,omitempty"`

	// Sslverify
	Sslverify bool `yaml:"sslverify,omitempty" json:"sslverify,omitempty"`

	// State
	State string `yaml:"state,omitempty" json:"state,omitempty"`

	// UpdateCache
	UpdateCache bool `yaml:"update_cache,omitempty" json:"update_cache,omitempty"`

	// UpdateOnly
	UpdateOnly bool `yaml:"update_only,omitempty" json:"update_only,omitempty"`

	// UseBackend
	UseBackend string `yaml:"use_backend,omitempty" json:"use_backend,omitempty"`

	// ValidateCerts
	ValidateCerts bool `yaml:"validate_certs,omitempty" json:"validate_certs,omitempty"`
}

type YumRepository

type YumRepository struct {
	ModuleName string
	Params     YumRepositoryParams
	Result     YumRepositoryResult
}

func NewYumRepository

func NewYumRepository() *YumRepository

func (*YumRepository) GetParams

func (m *YumRepository) GetParams() interface{}

func (*YumRepository) GetResult

func (m *YumRepository) GetResult() interface{}

func (*YumRepository) GetResultRaw

func (m *YumRepository) GetResultRaw() string

func (*YumRepository) GetType

func (m *YumRepository) GetType() string

func (*YumRepository) Run

func (m *YumRepository) Run() error

type YumRepositoryParams

type YumRepositoryParams struct {

	// Async
	Async bool `yaml:"async,omitempty" json:"async,omitempty"`

	// Bandwidth
	Bandwidth string `yaml:"bandwidth,omitempty" json:"bandwidth,omitempty"`

	// Baseurl
	Baseurl []string `yaml:"baseurl,omitempty" json:"baseurl,omitempty"`

	// Cost
	Cost string `yaml:"cost,omitempty" json:"cost,omitempty"`

	// DeltarpmMetadataPercentage
	DeltarpmMetadataPercentage string `yaml:"deltarpm_metadata_percentage,omitempty" json:"deltarpm_metadata_percentage,omitempty"`

	// DeltarpmPercentage
	DeltarpmPercentage string `yaml:"deltarpm_percentage,omitempty" json:"deltarpm_percentage,omitempty"`

	// Description
	Description string `yaml:"description,omitempty" json:"description,omitempty"`

	// Enabled
	Enabled bool `yaml:"enabled,omitempty" json:"enabled,omitempty"`

	// Enablegroups
	Enablegroups bool `yaml:"enablegroups,omitempty" json:"enablegroups,omitempty"`

	// Exclude
	Exclude []string `yaml:"exclude,omitempty" json:"exclude,omitempty"`

	// Failovermethod
	Failovermethod string `yaml:"failovermethod,omitempty" json:"failovermethod,omitempty"`

	// File
	File string `yaml:"file,omitempty" json:"file,omitempty"`

	// Gpgcakey
	Gpgcakey string `yaml:"gpgcakey,omitempty" json:"gpgcakey,omitempty"`

	// Gpgcheck
	Gpgcheck bool `yaml:"gpgcheck,omitempty" json:"gpgcheck,omitempty"`

	// Gpgkey
	Gpgkey []string `yaml:"gpgkey,omitempty" json:"gpgkey,omitempty"`

	// HttpCaching
	HttpCaching string `yaml:"http_caching,omitempty" json:"http_caching,omitempty"`

	// Include
	Include string `yaml:"include,omitempty" json:"include,omitempty"`

	// Includepkgs
	Includepkgs []string `yaml:"includepkgs,omitempty" json:"includepkgs,omitempty"`

	// IpResolve
	IpResolve string `yaml:"ip_resolve,omitempty" json:"ip_resolve,omitempty"`

	// Keepalive
	Keepalive bool `yaml:"keepalive,omitempty" json:"keepalive,omitempty"`

	// Keepcache
	Keepcache string `yaml:"keepcache,omitempty" json:"keepcache,omitempty"`

	// MetadataExpire
	MetadataExpire string `yaml:"metadata_expire,omitempty" json:"metadata_expire,omitempty"`

	// MetadataExpireFilter
	MetadataExpireFilter string `yaml:"metadata_expire_filter,omitempty" json:"metadata_expire_filter,omitempty"`

	// Metalink
	Metalink string `yaml:"metalink,omitempty" json:"metalink,omitempty"`

	// Mirrorlist
	Mirrorlist string `yaml:"mirrorlist,omitempty" json:"mirrorlist,omitempty"`

	// MirrorlistExpire
	MirrorlistExpire string `yaml:"mirrorlist_expire,omitempty" json:"mirrorlist_expire,omitempty"`

	// ModuleHotfixes
	ModuleHotfixes bool `yaml:"module_hotfixes,omitempty" json:"module_hotfixes,omitempty"`

	// Name
	Name string `yaml:"name,omitempty" json:"name,omitempty"`

	// Password
	Password string `yaml:"password,omitempty" json:"password,omitempty"`

	// Priority
	Priority string `yaml:"priority,omitempty" json:"priority,omitempty"`

	// Protect
	Protect bool `yaml:"protect,omitempty" json:"protect,omitempty"`

	// Proxy
	Proxy string `yaml:"proxy,omitempty" json:"proxy,omitempty"`

	// ProxyPassword
	ProxyPassword string `yaml:"proxy_password,omitempty" json:"proxy_password,omitempty"`

	// ProxyUsername
	ProxyUsername string `yaml:"proxy_username,omitempty" json:"proxy_username,omitempty"`

	// RepoGpgcheck
	RepoGpgcheck bool `yaml:"repo_gpgcheck,omitempty" json:"repo_gpgcheck,omitempty"`

	// Reposdir
	Reposdir string `yaml:"reposdir,omitempty" json:"reposdir,omitempty"`

	// Retries
	Retries string `yaml:"retries,omitempty" json:"retries,omitempty"`

	// S3Enabled
	S3Enabled bool `yaml:"s3_enabled,omitempty" json:"s3_enabled,omitempty"`

	// SkipIfUnavailable
	SkipIfUnavailable bool `yaml:"skip_if_unavailable,omitempty" json:"skip_if_unavailable,omitempty"`

	// SslCheckCertPermissions
	SslCheckCertPermissions bool `yaml:"ssl_check_cert_permissions,omitempty" json:"ssl_check_cert_permissions,omitempty"`

	// Sslcacert
	Sslcacert string `yaml:"sslcacert,omitempty" json:"sslcacert,omitempty"`

	// Sslclientcert
	Sslclientcert string `yaml:"sslclientcert,omitempty" json:"sslclientcert,omitempty"`

	// Sslclientkey
	Sslclientkey string `yaml:"sslclientkey,omitempty" json:"sslclientkey,omitempty"`

	// Sslverify
	Sslverify bool `yaml:"sslverify,omitempty" json:"sslverify,omitempty"`

	// State
	State string `yaml:"state,omitempty" json:"state,omitempty"`

	// Throttle
	Throttle string `yaml:"throttle,omitempty" json:"throttle,omitempty"`

	// Timeout
	Timeout string `yaml:"timeout,omitempty" json:"timeout,omitempty"`

	// UiRepoidVars
	UiRepoidVars string `yaml:"ui_repoid_vars,omitempty" json:"ui_repoid_vars,omitempty"`

	// Username
	Username string `yaml:"username,omitempty" json:"username,omitempty"`
}

type YumRepositoryResult

type YumRepositoryResult struct {
	Raw string

	// Repo
	Repo string `yaml:"repo,omitempty" json:"repo,omitempty"`

	// State
	State string `yaml:"state,omitempty" json:"state,omitempty"`
}

type YumResult

type YumResult struct {
	Raw string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL