ansible

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: May 23, 2025 License: MIT Imports: 1 Imported by: 0

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

View Source
const AptKeyName = "apt_key"
View Source
const AptName = "apt"
View Source
const AptRepositoryName = "apt_repository"
View Source
const AssembleName = "assemble"
View Source
const BlockinfileName = "blockinfile"
View Source
const CommandName = "command"
View Source
const CopyName = "copy"
View Source
const CronName = "cron"
View Source
const Deb822RepositoryName = "deb822_repository"
View Source
const DebconfName = "debconf"
View Source
const Dnf5Name = "dnf5"
View Source
const DnfName = "dnf"
View Source
const DpkgSelectionsName = "dpkg_selections"
View Source
const ExpectName = "expect"
View Source
const FileName = "file"
View Source
const FindName = "find"
View Source
const GetUrlName = "get_url"
View Source
const GetentName = "getent"
View Source
const GitName = "git"
View Source
const GroupName = "group"
View Source
const HostnameName = "hostname"
View Source
const IptablesName = "iptables"
View Source
const KnownHostsName = "known_hosts"
View Source
const LineinfileName = "lineinfile"
View Source
const MountFactsName = "mount_facts"
View Source
const PackageFactsName = "package_facts"
View Source
const PingName = "ping"
View Source
const PipName = "pip"
View Source
const ReplaceName = "replace"
View Source
const RpmKeyName = "rpm_key"
View Source
const ServiceName = "service"
View Source
const SetupName = "setup"
View Source
const SlurpName = "slurp"
View Source
const StatName = "stat"
View Source
const SubversionName = "subversion"
View Source
const SystemdName = "systemd"
View Source
const SystemdServiceName = "systemd_service"
View Source
const SysvinitName = "sysvinit"
View Source
const TempfileName = "tempfile"
View Source
const UnarchiveName = "unarchive"
View Source
const UriName = "uri"
View Source
const UserName = "user"
View Source
const WaitForName = "wait_for"
View Source
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

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"`
}

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

type AptRepositoryReturn

type AptRepositoryReturn struct {
	AnsibleCommonReturns
	Repo           *string `json:"repo,omitempty"`
	SourcesAdded   *[]any  `json:"sources_added,omitempty"`
	SourcesRemoved *[]any  `json:"sources_removed,omitempty"`
}

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

func AptReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (AptReturn, error)

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

type AssembleReturn

type AssembleReturn struct {
	AnsibleCommonReturns
}

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

type BlockinfileReturn

type BlockinfileReturn struct {
	AnsibleCommonReturns
}

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

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"`
}

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

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

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

type Deb822RepositoryReturn

type Deb822RepositoryReturn struct {
	AnsibleCommonReturns
	Repo        *string `json:"repo,omitempty"`
	Dest        *string `json:"dest,omitempty"`
	KeyFilename *string `json:"key_filename,omitempty"`
}

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

type DebconfReturn

type DebconfReturn struct {
	AnsibleCommonReturns
}

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

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 DnfReturn

type DnfReturn struct {
	AnsibleCommonReturns
}

func DnfReturnFromRPCResult

func DnfReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (DnfReturn, error)

type DpkgSelectionsParameters

type DpkgSelectionsParameters struct {
	Name      string `json:"name"`
	Selection string `json:"selection"`
}

func (*DpkgSelectionsParameters) ToRPCCall

type DpkgSelectionsReturn

type DpkgSelectionsReturn struct {
	AnsibleCommonReturns
}

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

type ExpectReturn

type ExpectReturn struct {
	AnsibleCommonReturns
}

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

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

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

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"`
}

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

type GetentReturn

type GetentReturn struct {
	AnsibleCommonReturns
	AnsibleFacts *map[string]any `json:"ansible_facts,omitempty"`
}

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

func GitReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (GitReturn, error)

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

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"`
}

type HostnameParameters

type HostnameParameters struct {
	Name string  `json:"name"`
	Use  *string `json:"use,omitempty"`
}

func (*HostnameParameters) ToRPCCall

type HostnameReturn

type HostnameReturn struct {
	AnsibleCommonReturns
}

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

type IptablesReturn

type IptablesReturn struct {
	AnsibleCommonReturns
}

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

type KnownHostsReturn

type KnownHostsReturn struct {
	AnsibleCommonReturns
}

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

type LineinfileReturn

type LineinfileReturn struct {
	AnsibleCommonReturns
}

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

type MountFactsReturn

type MountFactsReturn struct {
	AnsibleCommonReturns
	AnsibleFacts *map[string]any `json:"ansible_facts,omitempty"`
}

type PackageFactsParameters

type PackageFactsParameters struct {
	Manager  *[]string `json:"manager,omitempty"`
	Strategy *string   `json:"strategy,omitempty"`
}

func (*PackageFactsParameters) ToRPCCall

type PackageFactsReturn

type PackageFactsReturn struct {
	AnsibleCommonReturns
	AnsibleFacts *any `json:"ansible_facts,omitempty"`
}

type PingParameters

type PingParameters struct {
	Data *string `json:"data,omitempty"`
}

func (*PingParameters) ToRPCCall

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

func PipReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (PipReturn, error)

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

type ReplaceReturn

type ReplaceReturn struct {
	AnsibleCommonReturns
}

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

type RpmKeyReturn

type RpmKeyReturn struct {
	AnsibleCommonReturns
}

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

type ServiceReturn

type ServiceReturn struct {
	AnsibleCommonReturns
}

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

type SetupReturn

type SetupReturn struct {
	AnsibleCommonReturns
}

type SlurpParameters

type SlurpParameters struct {
	Src string `json:"src"`
}

func (*SlurpParameters) ToRPCCall

type SlurpReturn

type SlurpReturn struct {
	AnsibleCommonReturns
	Content  *string `json:"content,omitempty"`
	Encoding *string `json:"encoding,omitempty"`
	Source   *string `json:"source,omitempty"`
}

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

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

type SubversionReturn

type SubversionReturn struct {
	AnsibleCommonReturns
}

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

type SystemdReturn

type SystemdReturn struct {
	AnsibleCommonReturns
	Status *map[string]any `json:"status,omitempty"`
}

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

type SystemdServiceReturn

type SystemdServiceReturn struct {
	AnsibleCommonReturns
	Status *map[string]any `json:"status,omitempty"`
}

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

type SysvinitReturn

type SysvinitReturn struct {
	AnsibleCommonReturns
	Results *any `json:"results,omitempty"`
}

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

type TempfileReturn

type TempfileReturn struct {
	AnsibleCommonReturns
	Path *string `json:"path,omitempty"`
}

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

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"`
}

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

func UriReturnFromRPCResult(r rpc.RPCResult[rpc.AnsibleExecuteResult]) (UriReturn, error)

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

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

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"`
}

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"`
	SkipIfUnavailable          *bool     `json:"skip_if_unavailable,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

type YumRepositoryReturn

type YumRepositoryReturn struct {
	AnsibleCommonReturns
	Repo  *string `json:"repo,omitempty"`
	State *string `json:"state,omitempty"`
}

Jump to

Keyboard shortcuts

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