Documentation
¶
Overview ¶
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Code generated by ./hack/generate-ansible-types.py DO NOT EDIT
Index ¶
- Constants
- type AnsibleCommonReturns
- type AptKeyParameters
- type AptKeyReturn
- type AptParameters
- type AptRepositoryParameters
- type AptRepositoryReturn
- type AptReturn
- type AssembleParameters
- type AssembleReturn
- type BlockinfileParameters
- type BlockinfileReturn
- type CommandParameters
- type CommandReturn
- type CopyParameters
- type CopyReturn
- type CronParameters
- type CronReturn
- type Deb822RepositoryParameters
- type Deb822RepositoryReturn
- type DebconfParameters
- type DebconfReturn
- type Dnf5Parameters
- type Dnf5Return
- type DnfParameters
- type DnfReturn
- type DpkgSelectionsParameters
- type DpkgSelectionsReturn
- type ExpectParameters
- type ExpectReturn
- type FileParameters
- type FileReturn
- type FindParameters
- type FindReturn
- type GetUrlParameters
- type GetUrlReturn
- type GetentParameters
- type GetentReturn
- type GitParameters
- type GitReturn
- type GroupParameters
- type GroupReturn
- type HostnameParameters
- type HostnameReturn
- type IptablesParameters
- type IptablesReturn
- type KnownHostsParameters
- type KnownHostsReturn
- type LineinfileParameters
- type LineinfileReturn
- type MountFactsParameters
- type MountFactsReturn
- type PackageFactsParameters
- type PackageFactsReturn
- type PingParameters
- type PingReturn
- type PipParameters
- type PipReturn
- type ReplaceParameters
- type ReplaceReturn
- type RpmKeyParameters
- type RpmKeyReturn
- type ServiceParameters
- type ServiceReturn
- type SetupParameters
- type SetupReturn
- type SlurpParameters
- type SlurpReturn
- type StatParameters
- type StatReturn
- type SubversionParameters
- type SubversionReturn
- type SystemdParameters
- type SystemdReturn
- type SystemdServiceParameters
- type SystemdServiceReturn
- type SysvinitParameters
- type SysvinitReturn
- type TempfileParameters
- type TempfileReturn
- type UnarchiveParameters
- type UnarchiveReturn
- type UriParameters
- type UriReturn
- type UserParameters
- type UserReturn
- type WaitForParameters
- type WaitForReturn
- type YumRepositoryParameters
- type YumRepositoryReturn
Constants ¶
const AptKeyName = "apt_key"
const AptName = "apt"
const AptRepositoryName = "apt_repository"
const AssembleName = "assemble"
const BlockinfileName = "blockinfile"
const CommandName = "command"
const CopyName = "copy"
const CronName = "cron"
const Deb822RepositoryName = "deb822_repository"
const DebconfName = "debconf"
const Dnf5Name = "dnf5"
const DnfName = "dnf"
const DpkgSelectionsName = "dpkg_selections"
const ExpectName = "expect"
const FileName = "file"
const FindName = "find"
const GetUrlName = "get_url"
const GetentName = "getent"
const GitName = "git"
const GroupName = "group"
const HostnameName = "hostname"
const IptablesName = "iptables"
const KnownHostsName = "known_hosts"
const LineinfileName = "lineinfile"
const MountFactsName = "mount_facts"
const PackageFactsName = "package_facts"
const PingName = "ping"
const PipName = "pip"
const ReplaceName = "replace"
const RpmKeyName = "rpm_key"
const ServiceName = "service"
const SetupName = "setup"
const SlurpName = "slurp"
const StatName = "stat"
const SubversionName = "subversion"
const SystemdName = "systemd"
const SystemdServiceName = "systemd_service"
const SysvinitName = "sysvinit"
const TempfileName = "tempfile"
const UnarchiveName = "unarchive"
const UriName = "uri"
const UserName = "user"
const WaitForName = "wait_for"
const YumRepositoryName = "yum_repository"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnsibleCommonReturns ¶
type AnsibleCommonReturns struct {
Changed *bool `json:"changed,omitempty"`
Diff *any `json:"diff,omitempty"`
}
These should always be returned by any module
func (*AnsibleCommonReturns) IsChanged ¶
func (returns *AnsibleCommonReturns) IsChanged() bool
type AptKeyParameters ¶
type AptKeyParameters struct {
Id *string `json:"id,omitempty"`
Data *string `json:"data,omitempty"`
File *string `json:"file,omitempty"`
Keyring *string `json:"keyring,omitempty"`
Url *string `json:"url,omitempty"`
Keyserver *string `json:"keyserver,omitempty"`
State *string `json:"state,omitempty"`
ValidateCerts *bool `json:"validate_certs,omitempty"`
}
func (*AptKeyParameters) ToRPCCall ¶
func (p *AptKeyParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type AptKeyReturn ¶
type AptKeyReturn struct {
AnsibleCommonReturns
After *[]any `json:"after,omitempty"`
Before *[]any `json:"before,omitempty"`
Fp *string `json:"fp,omitempty"`
Id *string `json:"id,omitempty"`
KeyId *string `json:"key_id,omitempty"`
ShortId *string `json:"short_id,omitempty"`
}
func AptKeyReturnFromRPCResult ¶
func AptKeyReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (AptKeyReturn, error)
type AptParameters ¶
type AptParameters struct {
Name *[]string `json:"name,omitempty"`
State *string `json:"state,omitempty"`
UpdateCache *bool `json:"update_cache,omitempty"`
UpdateCacheRetries *int `json:"update_cache_retries,omitempty"`
UpdateCacheRetryMaxDelay *int `json:"update_cache_retry_max_delay,omitempty"`
CacheValidTime *int `json:"cache_valid_time,omitempty"`
Purge *bool `json:"purge,omitempty"`
DefaultRelease *string `json:"default_release,omitempty"`
InstallRecommends *bool `json:"install_recommends,omitempty"`
Force *bool `json:"force,omitempty"`
Clean *bool `json:"clean,omitempty"`
AllowUnauthenticated *bool `json:"allow_unauthenticated,omitempty"`
AllowDowngrade *bool `json:"allow_downgrade,omitempty"`
AllowChangeHeldPackages *bool `json:"allow_change_held_packages,omitempty"`
Upgrade *string `json:"upgrade,omitempty"`
DpkgOptions *string `json:"dpkg_options,omitempty"`
Deb *string `json:"deb,omitempty"`
Autoremove *bool `json:"autoremove,omitempty"`
Autoclean *bool `json:"autoclean,omitempty"`
PolicyRcD *int `json:"policy_rc_d,omitempty"`
OnlyUpgrade *bool `json:"only_upgrade,omitempty"`
FailOnAutoremove *bool `json:"fail_on_autoremove,omitempty"`
ForceAptGet *bool `json:"force_apt_get,omitempty"`
LockTimeout *int `json:"lock_timeout,omitempty"`
}
func (*AptParameters) ToRPCCall ¶
func (p *AptParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type AptRepositoryParameters ¶
type AptRepositoryParameters struct {
Repo string `json:"repo"`
State *string `json:"state,omitempty"`
Mode *any `json:"mode,omitempty"`
UpdateCache *bool `json:"update_cache,omitempty"`
UpdateCacheRetries *int `json:"update_cache_retries,omitempty"`
UpdateCacheRetryMaxDelay *int `json:"update_cache_retry_max_delay,omitempty"`
ValidateCerts *bool `json:"validate_certs,omitempty"`
Filename *string `json:"filename,omitempty"`
Codename *string `json:"codename,omitempty"`
InstallPythonApt *bool `json:"install_python_apt,omitempty"`
}
func (*AptRepositoryParameters) ToRPCCall ¶
func (p *AptRepositoryParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type AptRepositoryReturn ¶
type AptRepositoryReturn struct {
AnsibleCommonReturns
Repo *string `json:"repo,omitempty"`
SourcesAdded *[]any `json:"sources_added,omitempty"`
SourcesRemoved *[]any `json:"sources_removed,omitempty"`
}
func AptRepositoryReturnFromRPCResult ¶
func AptRepositoryReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (AptRepositoryReturn, error)
type AptReturn ¶
type AptReturn struct {
AnsibleCommonReturns
CacheUpdated *bool `json:"cache_updated,omitempty"`
CacheUpdateTime *int `json:"cache_update_time,omitempty"`
Stdout *string `json:"stdout,omitempty"`
Stderr *string `json:"stderr,omitempty"`
}
func AptReturnFromRPCResult ¶
type AssembleParameters ¶
type AssembleParameters struct {
Src string `json:"src"`
Dest string `json:"dest"`
Backup *bool `json:"backup,omitempty"`
Delimiter *string `json:"delimiter,omitempty"`
RemoteSrc *bool `json:"remote_src,omitempty"`
Regexp *string `json:"regexp,omitempty"`
IgnoreHidden *bool `json:"ignore_hidden,omitempty"`
Validate *string `json:"validate,omitempty"`
}
func (*AssembleParameters) ToRPCCall ¶
func (p *AssembleParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type AssembleReturn ¶
type AssembleReturn struct {
AnsibleCommonReturns
}
func AssembleReturnFromRPCResult ¶
func AssembleReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (AssembleReturn, error)
type BlockinfileParameters ¶
type BlockinfileParameters struct {
Path string `json:"path"`
State *string `json:"state,omitempty"`
Marker *string `json:"marker,omitempty"`
Block *string `json:"block,omitempty"`
Insertafter *string `json:"insertafter,omitempty"`
Insertbefore *string `json:"insertbefore,omitempty"`
Create *bool `json:"create,omitempty"`
Backup *bool `json:"backup,omitempty"`
MarkerBegin *string `json:"marker_begin,omitempty"`
MarkerEnd *string `json:"marker_end,omitempty"`
AppendNewline *bool `json:"append_newline,omitempty"`
PrependNewline *bool `json:"prepend_newline,omitempty"`
}
func (*BlockinfileParameters) ToRPCCall ¶
func (p *BlockinfileParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type BlockinfileReturn ¶
type BlockinfileReturn struct {
AnsibleCommonReturns
}
func BlockinfileReturnFromRPCResult ¶
func BlockinfileReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (BlockinfileReturn, error)
type CommandParameters ¶
type CommandParameters struct {
ExpandArgumentVars *bool `json:"expand_argument_vars,omitempty"`
FreeForm *string `json:"free_form,omitempty"`
Cmd *string `json:"cmd,omitempty"`
Argv *[]string `json:"argv,omitempty"`
Creates *string `json:"creates,omitempty"`
Removes *string `json:"removes,omitempty"`
Chdir *string `json:"chdir,omitempty"`
Stdin *string `json:"stdin,omitempty"`
StdinAddNewline *bool `json:"stdin_add_newline,omitempty"`
StripEmptyEnds *bool `json:"strip_empty_ends,omitempty"`
}
func (*CommandParameters) ToRPCCall ¶
func (p *CommandParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type CommandReturn ¶
type CommandReturn struct {
AnsibleCommonReturns
Msg *string `json:"msg,omitempty"`
Start *string `json:"start,omitempty"`
End *string `json:"end,omitempty"`
Delta *string `json:"delta,omitempty"`
Stdout *string `json:"stdout,omitempty"`
Stderr *string `json:"stderr,omitempty"`
Cmd *[]any `json:"cmd,omitempty"`
Rc *int `json:"rc,omitempty"`
StdoutLines *[]any `json:"stdout_lines,omitempty"`
StderrLines *[]any `json:"stderr_lines,omitempty"`
}
func CommandReturnFromRPCResult ¶
func CommandReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (CommandReturn, error)
type CopyParameters ¶
type CopyParameters struct {
Src *string `json:"src,omitempty"`
Content *string `json:"content,omitempty"`
Dest string `json:"dest"`
Backup *bool `json:"backup,omitempty"`
Force *bool `json:"force,omitempty"`
Mode *string `json:"mode,omitempty"`
DirectoryMode *any `json:"directory_mode,omitempty"`
RemoteSrc *bool `json:"remote_src,omitempty"`
Follow *bool `json:"follow,omitempty"`
LocalFollow *bool `json:"local_follow,omitempty"`
Checksum *string `json:"checksum,omitempty"`
}
func (*CopyParameters) ToRPCCall ¶
func (p *CopyParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type CopyReturn ¶
type CopyReturn struct {
AnsibleCommonReturns
Dest *string `json:"dest,omitempty"`
Src *string `json:"src,omitempty"`
Md5sum *string `json:"md5sum,omitempty"`
Checksum *string `json:"checksum,omitempty"`
BackupFile *string `json:"backup_file,omitempty"`
Gid *int `json:"gid,omitempty"`
Group *string `json:"group,omitempty"`
Owner *string `json:"owner,omitempty"`
Uid *int `json:"uid,omitempty"`
Mode *string `json:"mode,omitempty"`
Size *int `json:"size,omitempty"`
State *string `json:"state,omitempty"`
}
func CopyReturnFromRPCResult ¶
func CopyReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (CopyReturn, error)
type CronParameters ¶
type CronParameters struct {
Name string `json:"name"`
User *string `json:"user,omitempty"`
Job *string `json:"job,omitempty"`
State *string `json:"state,omitempty"`
CronFile *string `json:"cron_file,omitempty"`
Backup *bool `json:"backup,omitempty"`
Minute *string `json:"minute,omitempty"`
Hour *string `json:"hour,omitempty"`
Day *string `json:"day,omitempty"`
Month *string `json:"month,omitempty"`
Weekday *string `json:"weekday,omitempty"`
SpecialTime *string `json:"special_time,omitempty"`
Disabled *bool `json:"disabled,omitempty"`
Env *bool `json:"env,omitempty"`
Insertafter *string `json:"insertafter,omitempty"`
Insertbefore *string `json:"insertbefore,omitempty"`
}
func (*CronParameters) ToRPCCall ¶
func (p *CronParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type CronReturn ¶
type CronReturn struct {
AnsibleCommonReturns
}
func CronReturnFromRPCResult ¶
func CronReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (CronReturn, error)
type Deb822RepositoryParameters ¶
type Deb822RepositoryParameters struct {
AllowDowngradeToInsecure *bool `json:"allow_downgrade_to_insecure,omitempty"`
AllowInsecure *bool `json:"allow_insecure,omitempty"`
AllowWeak *bool `json:"allow_weak,omitempty"`
Architectures *[]string `json:"architectures,omitempty"`
ByHash *bool `json:"by_hash,omitempty"`
CheckDate *bool `json:"check_date,omitempty"`
CheckValidUntil *bool `json:"check_valid_until,omitempty"`
Components *[]string `json:"components,omitempty"`
DateMaxFuture *int `json:"date_max_future,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
InreleasePath *string `json:"inrelease_path,omitempty"`
Languages *[]string `json:"languages,omitempty"`
Name string `json:"name"`
Pdiffs *bool `json:"pdiffs,omitempty"`
SignedBy *string `json:"signed_by,omitempty"`
Suites *[]string `json:"suites,omitempty"`
Targets *[]string `json:"targets,omitempty"`
Trusted *bool `json:"trusted,omitempty"`
Types *[]string `json:"types,omitempty"`
Uris *[]string `json:"uris,omitempty"`
Mode *any `json:"mode,omitempty"`
State *string `json:"state,omitempty"`
}
func (*Deb822RepositoryParameters) ToRPCCall ¶
func (p *Deb822RepositoryParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type Deb822RepositoryReturn ¶
type Deb822RepositoryReturn struct {
AnsibleCommonReturns
Repo *string `json:"repo,omitempty"`
Dest *string `json:"dest,omitempty"`
KeyFilename *string `json:"key_filename,omitempty"`
}
func Deb822RepositoryReturnFromRPCResult ¶
func Deb822RepositoryReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (Deb822RepositoryReturn, error)
type DebconfParameters ¶
type DebconfParameters struct {
Name string `json:"name"`
Question *string `json:"question,omitempty"`
Vtype *string `json:"vtype,omitempty"`
Value *any `json:"value,omitempty"`
Unseen *bool `json:"unseen,omitempty"`
}
func (*DebconfParameters) ToRPCCall ¶
func (p *DebconfParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type DebconfReturn ¶
type DebconfReturn struct {
AnsibleCommonReturns
}
func DebconfReturnFromRPCResult ¶
func DebconfReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (DebconfReturn, error)
type Dnf5Parameters ¶
type Dnf5Parameters struct {
Name *[]string `json:"name,omitempty"`
List *string `json:"list,omitempty"`
State *string `json:"state,omitempty"`
Enablerepo *[]string `json:"enablerepo,omitempty"`
Disablerepo *[]string `json:"disablerepo,omitempty"`
ConfFile *string `json:"conf_file,omitempty"`
DisableGpgCheck *bool `json:"disable_gpg_check,omitempty"`
Installroot *string `json:"installroot,omitempty"`
Releasever *string `json:"releasever,omitempty"`
Autoremove *bool `json:"autoremove,omitempty"`
Exclude *[]string `json:"exclude,omitempty"`
SkipBroken *bool `json:"skip_broken,omitempty"`
UpdateCache *bool `json:"update_cache,omitempty"`
UpdateOnly *bool `json:"update_only,omitempty"`
Security *bool `json:"security,omitempty"`
Bugfix *bool `json:"bugfix,omitempty"`
EnablePlugin *[]string `json:"enable_plugin,omitempty"`
DisablePlugin *[]string `json:"disable_plugin,omitempty"`
DisableExcludes *string `json:"disable_excludes,omitempty"`
ValidateCerts *bool `json:"validate_certs,omitempty"`
Sslverify *bool `json:"sslverify,omitempty"`
AllowDowngrade *bool `json:"allow_downgrade,omitempty"`
InstallRepoquery *bool `json:"install_repoquery,omitempty"`
DownloadOnly *bool `json:"download_only,omitempty"`
LockTimeout *int `json:"lock_timeout,omitempty"`
InstallWeakDeps *bool `json:"install_weak_deps,omitempty"`
DownloadDir *string `json:"download_dir,omitempty"`
Allowerasing *bool `json:"allowerasing,omitempty"`
Nobest *bool `json:"nobest,omitempty"`
Best *bool `json:"best,omitempty"`
Cacheonly *bool `json:"cacheonly,omitempty"`
}
func (*Dnf5Parameters) ToRPCCall ¶
func (p *Dnf5Parameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type Dnf5Return ¶
type Dnf5Return struct {
AnsibleCommonReturns
Msg *string `json:"msg,omitempty"`
Results *[]any `json:"results,omitempty"`
Failures *[]any `json:"failures,omitempty"`
Rc *int `json:"rc,omitempty"`
}
func Dnf5ReturnFromRPCResult ¶
func Dnf5ReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (Dnf5Return, error)
type DnfParameters ¶
type DnfParameters struct {
UseBackend *string `json:"use_backend,omitempty"`
Name *[]string `json:"name,omitempty"`
List *string `json:"list,omitempty"`
State *string `json:"state,omitempty"`
Enablerepo *[]string `json:"enablerepo,omitempty"`
Disablerepo *[]string `json:"disablerepo,omitempty"`
ConfFile *string `json:"conf_file,omitempty"`
DisableGpgCheck *bool `json:"disable_gpg_check,omitempty"`
Installroot *string `json:"installroot,omitempty"`
Releasever *string `json:"releasever,omitempty"`
Autoremove *bool `json:"autoremove,omitempty"`
Exclude *[]string `json:"exclude,omitempty"`
SkipBroken *bool `json:"skip_broken,omitempty"`
UpdateCache *bool `json:"update_cache,omitempty"`
UpdateOnly *bool `json:"update_only,omitempty"`
Security *bool `json:"security,omitempty"`
Bugfix *bool `json:"bugfix,omitempty"`
EnablePlugin *[]string `json:"enable_plugin,omitempty"`
DisablePlugin *[]string `json:"disable_plugin,omitempty"`
DisableExcludes *string `json:"disable_excludes,omitempty"`
ValidateCerts *bool `json:"validate_certs,omitempty"`
Sslverify *bool `json:"sslverify,omitempty"`
AllowDowngrade *bool `json:"allow_downgrade,omitempty"`
InstallRepoquery *bool `json:"install_repoquery,omitempty"`
DownloadOnly *bool `json:"download_only,omitempty"`
LockTimeout *int `json:"lock_timeout,omitempty"`
InstallWeakDeps *bool `json:"install_weak_deps,omitempty"`
DownloadDir *string `json:"download_dir,omitempty"`
Allowerasing *bool `json:"allowerasing,omitempty"`
Nobest *bool `json:"nobest,omitempty"`
Best *bool `json:"best,omitempty"`
Cacheonly *bool `json:"cacheonly,omitempty"`
}
func (*DnfParameters) ToRPCCall ¶
func (p *DnfParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type DpkgSelectionsParameters ¶
type DpkgSelectionsParameters struct {
Name string `json:"name"`
Selection string `json:"selection"`
}
func (*DpkgSelectionsParameters) ToRPCCall ¶
func (p *DpkgSelectionsParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type DpkgSelectionsReturn ¶
type DpkgSelectionsReturn struct {
AnsibleCommonReturns
}
func DpkgSelectionsReturnFromRPCResult ¶
func DpkgSelectionsReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (DpkgSelectionsReturn, error)
type ExpectParameters ¶
type ExpectParameters struct {
Command string `json:"command"`
Creates *string `json:"creates,omitempty"`
Removes *string `json:"removes,omitempty"`
Chdir *string `json:"chdir,omitempty"`
Responses map[string]any `json:"responses"`
Timeout *any `json:"timeout,omitempty"`
Echo *bool `json:"echo,omitempty"`
}
func (*ExpectParameters) ToRPCCall ¶
func (p *ExpectParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type ExpectReturn ¶
type ExpectReturn struct {
AnsibleCommonReturns
}
func ExpectReturnFromRPCResult ¶
func ExpectReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (ExpectReturn, error)
type FileParameters ¶
type FileParameters struct {
Path string `json:"path"`
State *string `json:"state,omitempty"`
Src *string `json:"src,omitempty"`
Recurse *bool `json:"recurse,omitempty"`
Force *bool `json:"force,omitempty"`
Follow *bool `json:"follow,omitempty"`
ModificationTime *string `json:"modification_time,omitempty"`
ModificationTimeFormat *string `json:"modification_time_format,omitempty"`
AccessTime *string `json:"access_time,omitempty"`
AccessTimeFormat *string `json:"access_time_format,omitempty"`
}
func (*FileParameters) ToRPCCall ¶
func (p *FileParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type FileReturn ¶
type FileReturn struct {
AnsibleCommonReturns
Dest *string `json:"dest,omitempty"`
Path *string `json:"path,omitempty"`
}
func FileReturnFromRPCResult ¶
func FileReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (FileReturn, error)
type FindParameters ¶
type FindParameters struct {
Age *string `json:"age,omitempty"`
Patterns *[]string `json:"patterns,omitempty"`
Excludes *[]string `json:"excludes,omitempty"`
Contains *string `json:"contains,omitempty"`
ReadWholeFile *bool `json:"read_whole_file,omitempty"`
Paths []string `json:"paths"`
FileType *string `json:"file_type,omitempty"`
Recurse *bool `json:"recurse,omitempty"`
Size *string `json:"size,omitempty"`
AgeStamp *string `json:"age_stamp,omitempty"`
Hidden *bool `json:"hidden,omitempty"`
Mode *any `json:"mode,omitempty"`
ExactMode *bool `json:"exact_mode,omitempty"`
Follow *bool `json:"follow,omitempty"`
GetChecksum *bool `json:"get_checksum,omitempty"`
UseRegex *bool `json:"use_regex,omitempty"`
Depth *int `json:"depth,omitempty"`
Encoding *string `json:"encoding,omitempty"`
Limit *int `json:"limit,omitempty"`
}
func (*FindParameters) ToRPCCall ¶
func (p *FindParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type FindReturn ¶
type FindReturn struct {
AnsibleCommonReturns
Files *[]any `json:"files,omitempty"`
Matched *int `json:"matched,omitempty"`
Examined *int `json:"examined,omitempty"`
SkippedPaths *map[string]any `json:"skipped_paths,omitempty"`
}
func FindReturnFromRPCResult ¶
func FindReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (FindReturn, error)
type GetUrlParameters ¶
type GetUrlParameters struct {
Ciphers *[]string `json:"ciphers,omitempty"`
Decompress *bool `json:"decompress,omitempty"`
Url string `json:"url"`
Dest string `json:"dest"`
TmpDest *string `json:"tmp_dest,omitempty"`
Force *bool `json:"force,omitempty"`
Backup *bool `json:"backup,omitempty"`
Checksum *string `json:"checksum,omitempty"`
UseProxy *bool `json:"use_proxy,omitempty"`
ValidateCerts *bool `json:"validate_certs,omitempty"`
Timeout *int `json:"timeout,omitempty"`
Headers *map[string]any `json:"headers,omitempty"`
UrlUsername *string `json:"url_username,omitempty"`
UrlPassword *string `json:"url_password,omitempty"`
ForceBasicAuth *bool `json:"force_basic_auth,omitempty"`
ClientCert *string `json:"client_cert,omitempty"`
ClientKey *string `json:"client_key,omitempty"`
HttpAgent *string `json:"http_agent,omitempty"`
UnredirectedHeaders *[]string `json:"unredirected_headers,omitempty"`
UseGssapi *bool `json:"use_gssapi,omitempty"`
UseNetrc *bool `json:"use_netrc,omitempty"`
}
func (*GetUrlParameters) ToRPCCall ¶
func (p *GetUrlParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type GetUrlReturn ¶
type GetUrlReturn struct {
AnsibleCommonReturns
BackupFile *string `json:"backup_file,omitempty"`
ChecksumDest *string `json:"checksum_dest,omitempty"`
ChecksumSrc *string `json:"checksum_src,omitempty"`
Dest *string `json:"dest,omitempty"`
Elapsed *int `json:"elapsed,omitempty"`
Gid *int `json:"gid,omitempty"`
Group *string `json:"group,omitempty"`
Md5sum *string `json:"md5sum,omitempty"`
Mode *string `json:"mode,omitempty"`
Msg *string `json:"msg,omitempty"`
Owner *string `json:"owner,omitempty"`
Secontext *string `json:"secontext,omitempty"`
Size *int `json:"size,omitempty"`
Src *string `json:"src,omitempty"`
State *string `json:"state,omitempty"`
StatusCode *int `json:"status_code,omitempty"`
Uid *int `json:"uid,omitempty"`
Url *string `json:"url,omitempty"`
}
func GetUrlReturnFromRPCResult ¶
func GetUrlReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (GetUrlReturn, error)
type GetentParameters ¶
type GetentParameters struct {
Database string `json:"database"`
Key *string `json:"key,omitempty"`
Service *string `json:"service,omitempty"`
Split *string `json:"split,omitempty"`
FailKey *bool `json:"fail_key,omitempty"`
}
func (*GetentParameters) ToRPCCall ¶
func (p *GetentParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type GetentReturn ¶
type GetentReturn struct {
AnsibleCommonReturns
AnsibleFacts *map[string]any `json:"ansible_facts,omitempty"`
}
func GetentReturnFromRPCResult ¶
func GetentReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (GetentReturn, error)
type GitParameters ¶
type GitParameters struct {
Repo string `json:"repo"`
Dest string `json:"dest"`
Version *string `json:"version,omitempty"`
AcceptHostkey *bool `json:"accept_hostkey,omitempty"`
AcceptNewhostkey *bool `json:"accept_newhostkey,omitempty"`
SshOpts *string `json:"ssh_opts,omitempty"`
KeyFile *string `json:"key_file,omitempty"`
Reference *string `json:"reference,omitempty"`
Remote *string `json:"remote,omitempty"`
Refspec *string `json:"refspec,omitempty"`
Force *bool `json:"force,omitempty"`
Depth *int `json:"depth,omitempty"`
Clone *bool `json:"clone,omitempty"`
Update *bool `json:"update,omitempty"`
Executable *string `json:"executable,omitempty"`
Bare *bool `json:"bare,omitempty"`
Umask *any `json:"umask,omitempty"`
Recursive *bool `json:"recursive,omitempty"`
SingleBranch *bool `json:"single_branch,omitempty"`
TrackSubmodules *bool `json:"track_submodules,omitempty"`
VerifyCommit *bool `json:"verify_commit,omitempty"`
Archive *string `json:"archive,omitempty"`
ArchivePrefix *string `json:"archive_prefix,omitempty"`
SeparateGitDir *string `json:"separate_git_dir,omitempty"`
GpgAllowlist *[]string `json:"gpg_allowlist,omitempty"`
}
func (*GitParameters) ToRPCCall ¶
func (p *GitParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type GitReturn ¶
type GitReturn struct {
AnsibleCommonReturns
After *string `json:"after,omitempty"`
Before *string `json:"before,omitempty"`
RemoteUrlChanged *bool `json:"remote_url_changed,omitempty"`
Warnings *string `json:"warnings,omitempty"`
GitDirNow *string `json:"git_dir_now,omitempty"`
GitDirBefore *string `json:"git_dir_before,omitempty"`
}
func GitReturnFromRPCResult ¶
type GroupParameters ¶
type GroupParameters struct {
Name string `json:"name"`
Gid *int `json:"gid,omitempty"`
State *string `json:"state,omitempty"`
Force *bool `json:"force,omitempty"`
System *bool `json:"system,omitempty"`
Local *bool `json:"local,omitempty"`
NonUnique *bool `json:"non_unique,omitempty"`
GidMin *int `json:"gid_min,omitempty"`
GidMax *int `json:"gid_max,omitempty"`
}
func (*GroupParameters) ToRPCCall ¶
func (p *GroupParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type GroupReturn ¶
type GroupReturn struct {
AnsibleCommonReturns
Gid *int `json:"gid,omitempty"`
Name *string `json:"name,omitempty"`
State *string `json:"state,omitempty"`
System *bool `json:"system,omitempty"`
}
func GroupReturnFromRPCResult ¶
func GroupReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (GroupReturn, error)
type HostnameParameters ¶
func (*HostnameParameters) ToRPCCall ¶
func (p *HostnameParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type HostnameReturn ¶
type HostnameReturn struct {
AnsibleCommonReturns
}
func HostnameReturnFromRPCResult ¶
func HostnameReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (HostnameReturn, error)
type IptablesParameters ¶
type IptablesParameters struct {
Table *string `json:"table,omitempty"`
State *string `json:"state,omitempty"`
Action *string `json:"action,omitempty"`
RuleNum *string `json:"rule_num,omitempty"`
IpVersion *string `json:"ip_version,omitempty"`
Chain *string `json:"chain,omitempty"`
Protocol *string `json:"protocol,omitempty"`
Source *string `json:"source,omitempty"`
Destination *string `json:"destination,omitempty"`
TcpFlags *struct {
Flags *[]string `json:"flags,omitempty"`
FlagsSet *[]string `json:"flags_set,omitempty"`
} `json:"tcp_flags,omitempty"`
Match *[]string `json:"match,omitempty"`
Jump *string `json:"jump,omitempty"`
Gateway *string `json:"gateway,omitempty"`
LogPrefix *string `json:"log_prefix,omitempty"`
LogLevel *string `json:"log_level,omitempty"`
Goto *string `json:"goto,omitempty"`
InInterface *string `json:"in_interface,omitempty"`
OutInterface *string `json:"out_interface,omitempty"`
Fragment *string `json:"fragment,omitempty"`
SetCounters *string `json:"set_counters,omitempty"`
SourcePort *string `json:"source_port,omitempty"`
DestinationPort *string `json:"destination_port,omitempty"`
DestinationPorts *[]string `json:"destination_ports,omitempty"`
ToPorts *string `json:"to_ports,omitempty"`
ToDestination *string `json:"to_destination,omitempty"`
ToSource *string `json:"to_source,omitempty"`
Syn *string `json:"syn,omitempty"`
SetDscpMark *string `json:"set_dscp_mark,omitempty"`
SetDscpMarkClass *string `json:"set_dscp_mark_class,omitempty"`
Comment *string `json:"comment,omitempty"`
Ctstate *[]string `json:"ctstate,omitempty"`
SrcRange *string `json:"src_range,omitempty"`
DstRange *string `json:"dst_range,omitempty"`
MatchSet *string `json:"match_set,omitempty"`
MatchSetFlags *string `json:"match_set_flags,omitempty"`
Limit *string `json:"limit,omitempty"`
LimitBurst *string `json:"limit_burst,omitempty"`
UidOwner *string `json:"uid_owner,omitempty"`
GidOwner *string `json:"gid_owner,omitempty"`
RejectWith *string `json:"reject_with,omitempty"`
IcmpType *string `json:"icmp_type,omitempty"`
Flush *bool `json:"flush,omitempty"`
Policy *string `json:"policy,omitempty"`
Wait *string `json:"wait,omitempty"`
ChainManagement *bool `json:"chain_management,omitempty"`
Numeric *bool `json:"numeric,omitempty"`
}
func (*IptablesParameters) ToRPCCall ¶
func (p *IptablesParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type IptablesReturn ¶
type IptablesReturn struct {
AnsibleCommonReturns
}
func IptablesReturnFromRPCResult ¶
func IptablesReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (IptablesReturn, error)
type KnownHostsParameters ¶
type KnownHostsParameters struct {
Name string `json:"name"`
Key *string `json:"key,omitempty"`
Path *string `json:"path,omitempty"`
HashHost *bool `json:"hash_host,omitempty"`
State *string `json:"state,omitempty"`
}
func (*KnownHostsParameters) ToRPCCall ¶
func (p *KnownHostsParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type KnownHostsReturn ¶
type KnownHostsReturn struct {
AnsibleCommonReturns
}
func KnownHostsReturnFromRPCResult ¶
func KnownHostsReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (KnownHostsReturn, error)
type LineinfileParameters ¶
type LineinfileParameters struct {
Path string `json:"path"`
Regexp *string `json:"regexp,omitempty"`
SearchString *string `json:"search_string,omitempty"`
State *string `json:"state,omitempty"`
Line *string `json:"line,omitempty"`
Backrefs *bool `json:"backrefs,omitempty"`
Insertafter *string `json:"insertafter,omitempty"`
Insertbefore *string `json:"insertbefore,omitempty"`
Create *bool `json:"create,omitempty"`
Backup *bool `json:"backup,omitempty"`
Firstmatch *bool `json:"firstmatch,omitempty"`
}
func (*LineinfileParameters) ToRPCCall ¶
func (p *LineinfileParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type LineinfileReturn ¶
type LineinfileReturn struct {
AnsibleCommonReturns
}
func LineinfileReturnFromRPCResult ¶
func LineinfileReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (LineinfileReturn, error)
type MountFactsParameters ¶
type MountFactsParameters struct {
Devices *[]string `json:"devices,omitempty"`
Fstypes *[]string `json:"fstypes,omitempty"`
Sources *[]string `json:"sources,omitempty"`
MountBinary *any `json:"mount_binary,omitempty"`
Timeout *float64 `json:"timeout,omitempty"`
OnTimeout *string `json:"on_timeout,omitempty"`
IncludeAggregateMounts *bool `json:"include_aggregate_mounts,omitempty"`
}
func (*MountFactsParameters) ToRPCCall ¶
func (p *MountFactsParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type MountFactsReturn ¶
type MountFactsReturn struct {
AnsibleCommonReturns
AnsibleFacts *map[string]any `json:"ansible_facts,omitempty"`
}
func MountFactsReturnFromRPCResult ¶
func MountFactsReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (MountFactsReturn, error)
type PackageFactsParameters ¶
type PackageFactsParameters struct {
Manager *[]string `json:"manager,omitempty"`
Strategy *string `json:"strategy,omitempty"`
}
func (*PackageFactsParameters) ToRPCCall ¶
func (p *PackageFactsParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type PackageFactsReturn ¶
type PackageFactsReturn struct {
AnsibleCommonReturns
AnsibleFacts *any `json:"ansible_facts,omitempty"`
}
func PackageFactsReturnFromRPCResult ¶
func PackageFactsReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (PackageFactsReturn, error)
type PingParameters ¶
type PingParameters struct {
Data *string `json:"data,omitempty"`
}
func (*PingParameters) ToRPCCall ¶
func (p *PingParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type PingReturn ¶
type PingReturn struct {
AnsibleCommonReturns
Ping *string `json:"ping,omitempty"`
}
func PingReturnFromRPCResult ¶
func PingReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (PingReturn, error)
type PipParameters ¶
type PipParameters struct {
Name *[]string `json:"name,omitempty"`
Version *string `json:"version,omitempty"`
Requirements *string `json:"requirements,omitempty"`
Virtualenv *string `json:"virtualenv,omitempty"`
VirtualenvSitePackages *bool `json:"virtualenv_site_packages,omitempty"`
VirtualenvCommand *string `json:"virtualenv_command,omitempty"`
VirtualenvPython *string `json:"virtualenv_python,omitempty"`
State *string `json:"state,omitempty"`
ExtraArgs *string `json:"extra_args,omitempty"`
Editable *bool `json:"editable,omitempty"`
Chdir *string `json:"chdir,omitempty"`
Executable *string `json:"executable,omitempty"`
Umask *string `json:"umask,omitempty"`
BreakSystemPackages *bool `json:"break_system_packages,omitempty"`
}
func (*PipParameters) ToRPCCall ¶
func (p *PipParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type PipReturn ¶
type PipReturn struct {
AnsibleCommonReturns
Cmd *string `json:"cmd,omitempty"`
Name *[]any `json:"name,omitempty"`
Requirements *string `json:"requirements,omitempty"`
Version *string `json:"version,omitempty"`
Virtualenv *string `json:"virtualenv,omitempty"`
}
func PipReturnFromRPCResult ¶
type ReplaceParameters ¶
type ReplaceParameters struct {
Path string `json:"path"`
Regexp string `json:"regexp"`
Replace *string `json:"replace,omitempty"`
After *string `json:"after,omitempty"`
Before *string `json:"before,omitempty"`
Backup *bool `json:"backup,omitempty"`
Encoding *string `json:"encoding,omitempty"`
}
func (*ReplaceParameters) ToRPCCall ¶
func (p *ReplaceParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type ReplaceReturn ¶
type ReplaceReturn struct {
AnsibleCommonReturns
}
func ReplaceReturnFromRPCResult ¶
func ReplaceReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (ReplaceReturn, error)
type RpmKeyParameters ¶
type RpmKeyParameters struct {
Key string `json:"key"`
State *string `json:"state,omitempty"`
ValidateCerts *bool `json:"validate_certs,omitempty"`
Fingerprint *[]string `json:"fingerprint,omitempty"`
}
func (*RpmKeyParameters) ToRPCCall ¶
func (p *RpmKeyParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type RpmKeyReturn ¶
type RpmKeyReturn struct {
AnsibleCommonReturns
}
func RpmKeyReturnFromRPCResult ¶
func RpmKeyReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (RpmKeyReturn, error)
type ServiceParameters ¶
type ServiceParameters struct {
Name string `json:"name"`
State *string `json:"state,omitempty"`
Sleep *int `json:"sleep,omitempty"`
Pattern *string `json:"pattern,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
Runlevel *string `json:"runlevel,omitempty"`
Arguments *string `json:"arguments,omitempty"`
Use *string `json:"use,omitempty"`
}
func (*ServiceParameters) ToRPCCall ¶
func (p *ServiceParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type ServiceReturn ¶
type ServiceReturn struct {
AnsibleCommonReturns
}
func ServiceReturnFromRPCResult ¶
func ServiceReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (ServiceReturn, error)
type SetupParameters ¶
type SetupParameters struct {
GatherSubset *[]string `json:"gather_subset,omitempty"`
GatherTimeout *int `json:"gather_timeout,omitempty"`
Filter *[]string `json:"filter,omitempty"`
FactPath *string `json:"fact_path,omitempty"`
}
func (*SetupParameters) ToRPCCall ¶
func (p *SetupParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type SetupReturn ¶
type SetupReturn struct {
AnsibleCommonReturns
}
func SetupReturnFromRPCResult ¶
func SetupReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (SetupReturn, error)
type SlurpParameters ¶
type SlurpParameters struct {
Src string `json:"src"`
}
func (*SlurpParameters) ToRPCCall ¶
func (p *SlurpParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type SlurpReturn ¶
type SlurpReturn struct {
AnsibleCommonReturns
Content *string `json:"content,omitempty"`
Encoding *string `json:"encoding,omitempty"`
Source *string `json:"source,omitempty"`
}
func SlurpReturnFromRPCResult ¶
func SlurpReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (SlurpReturn, error)
type StatParameters ¶
type StatParameters struct {
Path string `json:"path"`
Follow *bool `json:"follow,omitempty"`
GetChecksum *bool `json:"get_checksum,omitempty"`
ChecksumAlgorithm *string `json:"checksum_algorithm,omitempty"`
GetMime *bool `json:"get_mime,omitempty"`
GetAttributes *bool `json:"get_attributes,omitempty"`
}
func (*StatParameters) ToRPCCall ¶
func (p *StatParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type StatReturn ¶
type StatReturn struct {
AnsibleCommonReturns
Stat *map[string]any `json:"stat,omitempty"`
}
func StatReturnFromRPCResult ¶
func StatReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (StatReturn, error)
type SubversionParameters ¶
type SubversionParameters struct {
Repo string `json:"repo"`
Dest *string `json:"dest,omitempty"`
Revision *string `json:"revision,omitempty"`
Force *bool `json:"force,omitempty"`
InPlace *bool `json:"in_place,omitempty"`
Username *string `json:"username,omitempty"`
Password *string `json:"password,omitempty"`
Executable *string `json:"executable,omitempty"`
Checkout *bool `json:"checkout,omitempty"`
Update *bool `json:"update,omitempty"`
Export *bool `json:"export,omitempty"`
Switch *bool `json:"switch,omitempty"`
ValidateCerts *bool `json:"validate_certs,omitempty"`
}
func (*SubversionParameters) ToRPCCall ¶
func (p *SubversionParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type SubversionReturn ¶
type SubversionReturn struct {
AnsibleCommonReturns
}
func SubversionReturnFromRPCResult ¶
func SubversionReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (SubversionReturn, error)
type SystemdParameters ¶
type SystemdParameters struct {
Name *string `json:"name,omitempty"`
State *string `json:"state,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
Force *bool `json:"force,omitempty"`
Masked *bool `json:"masked,omitempty"`
DaemonReload *bool `json:"daemon_reload,omitempty"`
DaemonReexec *bool `json:"daemon_reexec,omitempty"`
Scope *string `json:"scope,omitempty"`
NoBlock *bool `json:"no_block,omitempty"`
}
func (*SystemdParameters) ToRPCCall ¶
func (p *SystemdParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type SystemdReturn ¶
type SystemdReturn struct {
AnsibleCommonReturns
Status *map[string]any `json:"status,omitempty"`
}
func SystemdReturnFromRPCResult ¶
func SystemdReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (SystemdReturn, error)
type SystemdServiceParameters ¶
type SystemdServiceParameters struct {
Name *string `json:"name,omitempty"`
State *string `json:"state,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
Force *bool `json:"force,omitempty"`
Masked *bool `json:"masked,omitempty"`
DaemonReload *bool `json:"daemon_reload,omitempty"`
DaemonReexec *bool `json:"daemon_reexec,omitempty"`
Scope *string `json:"scope,omitempty"`
NoBlock *bool `json:"no_block,omitempty"`
}
func (*SystemdServiceParameters) ToRPCCall ¶
func (p *SystemdServiceParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type SystemdServiceReturn ¶
type SystemdServiceReturn struct {
AnsibleCommonReturns
Status *map[string]any `json:"status,omitempty"`
}
func SystemdServiceReturnFromRPCResult ¶
func SystemdServiceReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (SystemdServiceReturn, error)
type SysvinitParameters ¶
type SysvinitParameters struct {
Name string `json:"name"`
State *string `json:"state,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
Sleep *int `json:"sleep,omitempty"`
Pattern *string `json:"pattern,omitempty"`
Runlevels *[]string `json:"runlevels,omitempty"`
Arguments *string `json:"arguments,omitempty"`
Daemonize *bool `json:"daemonize,omitempty"`
}
func (*SysvinitParameters) ToRPCCall ¶
func (p *SysvinitParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type SysvinitReturn ¶
type SysvinitReturn struct {
AnsibleCommonReturns
Results *any `json:"results,omitempty"`
}
func SysvinitReturnFromRPCResult ¶
func SysvinitReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (SysvinitReturn, error)
type TempfileParameters ¶
type TempfileParameters struct {
State *string `json:"state,omitempty"`
Path *string `json:"path,omitempty"`
Prefix *string `json:"prefix,omitempty"`
Suffix *string `json:"suffix,omitempty"`
}
func (*TempfileParameters) ToRPCCall ¶
func (p *TempfileParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type TempfileReturn ¶
type TempfileReturn struct {
AnsibleCommonReturns
Path *string `json:"path,omitempty"`
}
func TempfileReturnFromRPCResult ¶
func TempfileReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (TempfileReturn, error)
type UnarchiveParameters ¶
type UnarchiveParameters struct {
Src string `json:"src"`
Dest string `json:"dest"`
Copy *bool `json:"copy,omitempty"`
Creates *string `json:"creates,omitempty"`
IoBufferSize *int `json:"io_buffer_size,omitempty"`
ListFiles *bool `json:"list_files,omitempty"`
Exclude *[]string `json:"exclude,omitempty"`
Include *[]string `json:"include,omitempty"`
KeepNewer *bool `json:"keep_newer,omitempty"`
ExtraOpts *[]string `json:"extra_opts,omitempty"`
RemoteSrc *bool `json:"remote_src,omitempty"`
ValidateCerts *bool `json:"validate_certs,omitempty"`
}
func (*UnarchiveParameters) ToRPCCall ¶
func (p *UnarchiveParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type UnarchiveReturn ¶
type UnarchiveReturn struct {
AnsibleCommonReturns
Dest *string `json:"dest,omitempty"`
Files *[]any `json:"files,omitempty"`
Gid *int `json:"gid,omitempty"`
Group *string `json:"group,omitempty"`
Handler *string `json:"handler,omitempty"`
Mode *string `json:"mode,omitempty"`
Owner *string `json:"owner,omitempty"`
Size *int `json:"size,omitempty"`
Src *string `json:"src,omitempty"`
State *string `json:"state,omitempty"`
Uid *int `json:"uid,omitempty"`
}
func UnarchiveReturnFromRPCResult ¶
func UnarchiveReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (UnarchiveReturn, error)
type UriParameters ¶
type UriParameters struct {
Ciphers *[]string `json:"ciphers,omitempty"`
Decompress *bool `json:"decompress,omitempty"`
Url string `json:"url"`
Dest *string `json:"dest,omitempty"`
UrlUsername *string `json:"url_username,omitempty"`
UrlPassword *string `json:"url_password,omitempty"`
Body *any `json:"body,omitempty"`
BodyFormat *string `json:"body_format,omitempty"`
Method *string `json:"method,omitempty"`
ReturnContent *bool `json:"return_content,omitempty"`
ForceBasicAuth *bool `json:"force_basic_auth,omitempty"`
FollowRedirects *string `json:"follow_redirects,omitempty"`
Creates *string `json:"creates,omitempty"`
Removes *string `json:"removes,omitempty"`
StatusCode *[]int `json:"status_code,omitempty"`
Timeout *int `json:"timeout,omitempty"`
Headers *map[string]any `json:"headers,omitempty"`
ValidateCerts *bool `json:"validate_certs,omitempty"`
ClientCert *string `json:"client_cert,omitempty"`
ClientKey *string `json:"client_key,omitempty"`
CaPath *string `json:"ca_path,omitempty"`
Src *string `json:"src,omitempty"`
RemoteSrc *bool `json:"remote_src,omitempty"`
Force *bool `json:"force,omitempty"`
UseProxy *bool `json:"use_proxy,omitempty"`
UnixSocket *string `json:"unix_socket,omitempty"`
HttpAgent *string `json:"http_agent,omitempty"`
UnredirectedHeaders *[]string `json:"unredirected_headers,omitempty"`
UseGssapi *bool `json:"use_gssapi,omitempty"`
UseNetrc *bool `json:"use_netrc,omitempty"`
}
func (*UriParameters) ToRPCCall ¶
func (p *UriParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type UriReturn ¶
type UriReturn struct {
AnsibleCommonReturns
Content *string `json:"content,omitempty"`
Cookies *map[string]any `json:"cookies,omitempty"`
CookiesString *string `json:"cookies_string,omitempty"`
Elapsed *int `json:"elapsed,omitempty"`
Msg *string `json:"msg,omitempty"`
Path *string `json:"path,omitempty"`
Redirected *bool `json:"redirected,omitempty"`
Status *int `json:"status,omitempty"`
Url *string `json:"url,omitempty"`
}
func UriReturnFromRPCResult ¶
type UserParameters ¶
type UserParameters struct {
Name string `json:"name"`
Uid *int `json:"uid,omitempty"`
Comment *string `json:"comment,omitempty"`
Hidden *bool `json:"hidden,omitempty"`
NonUnique *bool `json:"non_unique,omitempty"`
Seuser *string `json:"seuser,omitempty"`
Group *string `json:"group,omitempty"`
Groups *[]string `json:"groups,omitempty"`
Append *bool `json:"append,omitempty"`
Shell *string `json:"shell,omitempty"`
Home *string `json:"home,omitempty"`
Skeleton *string `json:"skeleton,omitempty"`
Password *string `json:"password,omitempty"`
State *string `json:"state,omitempty"`
CreateHome *bool `json:"create_home,omitempty"`
MoveHome *bool `json:"move_home,omitempty"`
System *bool `json:"system,omitempty"`
Force *bool `json:"force,omitempty"`
Remove *bool `json:"remove,omitempty"`
LoginClass *string `json:"login_class,omitempty"`
GenerateSshKey *bool `json:"generate_ssh_key,omitempty"`
SshKeyBits *int `json:"ssh_key_bits,omitempty"`
SshKeyType *string `json:"ssh_key_type,omitempty"`
SshKeyFile *string `json:"ssh_key_file,omitempty"`
SshKeyComment *string `json:"ssh_key_comment,omitempty"`
SshKeyPassphrase *string `json:"ssh_key_passphrase,omitempty"`
UpdatePassword *string `json:"update_password,omitempty"`
Expires *float64 `json:"expires,omitempty"`
PasswordLock *bool `json:"password_lock,omitempty"`
Local *bool `json:"local,omitempty"`
Profile *string `json:"profile,omitempty"`
Authorization *string `json:"authorization,omitempty"`
Role *string `json:"role,omitempty"`
PasswordExpireMax *int `json:"password_expire_max,omitempty"`
PasswordExpireMin *int `json:"password_expire_min,omitempty"`
PasswordExpireWarn *int `json:"password_expire_warn,omitempty"`
Umask *string `json:"umask,omitempty"`
PasswordExpireAccountDisable *int `json:"password_expire_account_disable,omitempty"`
UidMin *int `json:"uid_min,omitempty"`
UidMax *int `json:"uid_max,omitempty"`
}
func (*UserParameters) ToRPCCall ¶
func (p *UserParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type UserReturn ¶
type UserReturn struct {
AnsibleCommonReturns
Append *bool `json:"append,omitempty"`
Comment *string `json:"comment,omitempty"`
CreateHome *bool `json:"create_home,omitempty"`
Force *bool `json:"force,omitempty"`
Group *int `json:"group,omitempty"`
Groups *string `json:"groups,omitempty"`
Home *string `json:"home,omitempty"`
MoveHome *bool `json:"move_home,omitempty"`
Name *string `json:"name,omitempty"`
Password *string `json:"password,omitempty"`
Remove *bool `json:"remove,omitempty"`
Shell *string `json:"shell,omitempty"`
SshFingerprint *string `json:"ssh_fingerprint,omitempty"`
SshKeyFile *string `json:"ssh_key_file,omitempty"`
SshPublicKey *string `json:"ssh_public_key,omitempty"`
Stderr *string `json:"stderr,omitempty"`
Stdout *string `json:"stdout,omitempty"`
System *bool `json:"system,omitempty"`
Uid *int `json:"uid,omitempty"`
}
func UserReturnFromRPCResult ¶
func UserReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (UserReturn, error)
type WaitForParameters ¶
type WaitForParameters struct {
Host *string `json:"host,omitempty"`
Timeout *int `json:"timeout,omitempty"`
ConnectTimeout *int `json:"connect_timeout,omitempty"`
Delay *int `json:"delay,omitempty"`
Port *int `json:"port,omitempty"`
ActiveConnectionStates *[]string `json:"active_connection_states,omitempty"`
State *string `json:"state,omitempty"`
Path *string `json:"path,omitempty"`
SearchRegex *string `json:"search_regex,omitempty"`
ExcludeHosts *[]string `json:"exclude_hosts,omitempty"`
Sleep *int `json:"sleep,omitempty"`
Msg *string `json:"msg,omitempty"`
}
func (*WaitForParameters) ToRPCCall ¶
func (p *WaitForParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type WaitForReturn ¶
type WaitForReturn struct {
AnsibleCommonReturns
Elapsed *int `json:"elapsed,omitempty"`
MatchGroups *[]any `json:"match_groups,omitempty"`
MatchGroupdict *map[string]any `json:"match_groupdict,omitempty"`
}
func WaitForReturnFromRPCResult ¶
func WaitForReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (WaitForReturn, error)
type YumRepositoryParameters ¶
type YumRepositoryParameters struct {
Async *bool `json:"async,omitempty"`
Bandwidth *string `json:"bandwidth,omitempty"`
Baseurl *[]string `json:"baseurl,omitempty"`
Cost *string `json:"cost,omitempty"`
Countme *bool `json:"countme,omitempty"`
DeltarpmMetadataPercentage *string `json:"deltarpm_metadata_percentage,omitempty"`
DeltarpmPercentage *string `json:"deltarpm_percentage,omitempty"`
Description *string `json:"description,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
Enablegroups *bool `json:"enablegroups,omitempty"`
Exclude *[]string `json:"exclude,omitempty"`
Failovermethod *string `json:"failovermethod,omitempty"`
File *string `json:"file,omitempty"`
Gpgcakey *string `json:"gpgcakey,omitempty"`
Gpgcheck *bool `json:"gpgcheck,omitempty"`
Gpgkey *[]string `json:"gpgkey,omitempty"`
ModuleHotfixes *bool `json:"module_hotfixes,omitempty"`
HttpCaching *string `json:"http_caching,omitempty"`
Include *string `json:"include,omitempty"`
Includepkgs *[]string `json:"includepkgs,omitempty"`
IpResolve *string `json:"ip_resolve,omitempty"`
Keepalive *bool `json:"keepalive,omitempty"`
Keepcache *string `json:"keepcache,omitempty"`
MetadataExpire *string `json:"metadata_expire,omitempty"`
MetadataExpireFilter *string `json:"metadata_expire_filter,omitempty"`
Metalink *string `json:"metalink,omitempty"`
Mirrorlist *string `json:"mirrorlist,omitempty"`
MirrorlistExpire *string `json:"mirrorlist_expire,omitempty"`
Name string `json:"name"`
Password *string `json:"password,omitempty"`
Priority *string `json:"priority,omitempty"`
Protect *bool `json:"protect,omitempty"`
Proxy *string `json:"proxy,omitempty"`
ProxyPassword *string `json:"proxy_password,omitempty"`
ProxyUsername *string `json:"proxy_username,omitempty"`
RepoGpgcheck *bool `json:"repo_gpgcheck,omitempty"`
Reposdir *string `json:"reposdir,omitempty"`
Retries *string `json:"retries,omitempty"`
S3Enabled *bool `json:"s3_enabled,omitempty"`
SslCheckCertPermissions *bool `json:"ssl_check_cert_permissions,omitempty"`
Sslcacert *string `json:"sslcacert,omitempty"`
Sslclientcert *string `json:"sslclientcert,omitempty"`
Sslclientkey *string `json:"sslclientkey,omitempty"`
Sslverify *bool `json:"sslverify,omitempty"`
State *string `json:"state,omitempty"`
Throttle *string `json:"throttle,omitempty"`
Timeout *string `json:"timeout,omitempty"`
UiRepoidVars *string `json:"ui_repoid_vars,omitempty"`
Username *string `json:"username,omitempty"`
}
func (*YumRepositoryParameters) ToRPCCall ¶
func (p *YumRepositoryParameters) ToRPCCall() (rpc.RPCCall[rpc.AnsibleExecuteArgs], error)
type YumRepositoryReturn ¶
type YumRepositoryReturn struct {
AnsibleCommonReturns
Repo *string `json:"repo,omitempty"`
State *string `json:"state,omitempty"`
}
func YumRepositoryReturnFromRPCResult ¶
func YumRepositoryReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (YumRepositoryReturn, error)
Source Files
¶
- apt.go
- apt_key.go
- apt_repository.go
- assemble.go
- blockinfile.go
- command.go
- common.go
- copy.go
- cron.go
- deb822_repository.go
- debconf.go
- dnf.go
- dnf5.go
- dpkg_selections.go
- expect.go
- file.go
- find.go
- get_url.go
- getent.go
- git.go
- group.go
- hostname.go
- iptables.go
- known_hosts.go
- lineinfile.go
- mount_facts.go
- package_facts.go
- ping.go
- pip.go
- replace.go
- rpm_key.go
- service.go
- setup.go
- slurp.go
- stat.go
- subversion.go
- systemd.go
- systemd_service.go
- sysvinit.go
- tempfile.go
- unarchive.go
- uri.go
- user.go
- wait_for.go
- yum_repository.go