# Functions
Taken from terraform-openstack-provider CheckDeleted checks the error to see if it's a 404 (Not Found) and, if so, sets the resource ID to the empty string instead of throwing an error.
No description provided by the author
NewClient creates a new instance of the REST client for communication with the API gateway.
No description provided by the author
# Constants
No description provided by the author
BootCdrom : Boot to CDROM.
BootDisk : Boot to Disk.
BootPxe : Boot to PXE.
BootSuffix : Suffix appended to API url for power operations.
No description provided by the author
ComputeAttributesSuffix : Suffix appended to API url for getting the VM attributes.
No description provided by the author
No description provided by the author
No description provided by the author
:id.
No description provided by the author
:content_view_filter_id.
:content_view_filter_id, :id.
:content_view_id.
:content_view_id, :id.
:id.
No description provided by the author
No description provided by the author
No description provided by the author
Every Foreman API call has the following prefix to the path component of the URL.
The Foreman API allows you to request a specific API version in the Accept header of the HTTP request.
FOREMAN_KATELLO_API_URL_PREFIX is the Foreman Katello API endpoint.
API Prefix for Puppet plugin.
FOREMAN_TASKS_API_URL_PREFIX is the prefix for async tasks.
HostEndpointPrefix : Prefix appended to API url for hosts.
No description provided by the author
No description provided by the author
No description provided by the author
KatelloContentCredentialEndpointPrefix api endpoint prefix for katello content_credentials 'katello/ will be removed, it's a marker to detect talking with katello api.
KatelloProductEndpointPrefix api endpoint prefix for katello products 'katello/ will be removed, it's a marker to detect talking with katello api.
KatelloRepositoryEndpointPrefix api endpoint prefix for katello repositories 'katello/ will be removed, it's a marker to detect talking with katello api.
KatelloSyncPlanEndpointPrefix api endpoint prefix for katello sync_plans 'katello/ will be removed, it's a marker to detect talking with katello api %d will be replaced with organization_id.
:id.
No description provided by the author
:organization_id.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PowerBios : Boot to BIOS.
PowerCycle : Power reset operation (hard).
PowerOff : Power off operation.
PowerOn : Power on operation.
PowerSoft : Power reboot operation (soft).
PowerState : Power state check operation.
PowerSuffix : Suffix appended to API url for power operations.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
parameter is the template_id.
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
BMCBoot struct used for marshal/unmarshal of BMC boot device valid boot devices are disk, cdrom, pxe, bios `omitempty` lets use the same struct for boot operations.BMCCommand.
No description provided by the author
Configurable features to apply the REST client.
Credentials used to authenticate the client against the remote server - in this case, the Foreman API.
A ContentView contains repositories, filters etc.
ContentViewFilter is part of a ContentView and filters the presented content according to its rules.
No description provided by the author
No description provided by the author
Domain represents a domain structure inside a ForemanSubnet.
The ForemanArchitecture API model represents an instruction set architecture (ISA).
The ForemanCommonParameter API model represents the commonParameter name.
No description provided by the author
No description provided by the author
No description provided by the author
----------------------------------------------------------------------------- Struct Definition and Helpers ----------------------------------------------------------------------------- The ForemanDefaultTemplate API model represents the parameter name.
The ForemanDomain API model represents the domain name.
The ForemanEnvironment API model represents a puppet environment.
The ForemanHost API model represents a host managed by Foreman.
The ForemanHostgroup API model represents a hostgroup.
The ForemanHTTPProxy API model representing a http proxy.
No description provided by the author
ForemanInterfacesAttribute representing a hosts defined network interfaces.
No description provided by the author
ForemanKatelloContentCredential API model representing a content credential.
ForemanKatelloProduct API model representing a product.
ForemanKatelloRepository API model representing a repository.
ForemanKatelloSyncPlan API model representing a sync plan.
KVParameters are used in all inline Parameter Maps.
The ForemanMedia API model represents a remote installation media.
The ForemanModel API model represents a specific vendor hardware model.
Base Foreman API object in the Foreman object model.
The ForemanOperatingSystem API model represents an operating system.
The ForemanPuppetClass API model represents a Puppet class.
The ForemanParameter API model represents the parameter name.
The FormanPartitionTable API model represents the disk partition layout of the host.
The ForemanProvisioningTemplate API model represents a provisioning template.
The ForemanPuppetClass API model represents a Puppet class.
Represents a setting object in Foreman.
The ForemanSmartClassParameter API model represents a smart class parameter.
The ForemanSmartProxy API model representing a proxy server.
The ForemanSubnet API model represents a subnet.
ForemanTask is either the task from /foreman_tasks/.../<uuid> or a response from a Katello endpoint, which uses the async_task (in Foreman source code) function.
See the comment in ForemanProvisioningTemplate.TemplateCombinationsAttributes.
No description provided by the author
The ForemanTemplateKind API model represents a category of provisioning template.
The ForemanUser API model represents a user.
The ForemanUsergroup API model represents a usergroup.
No description provided by the author
No description provided by the author
No description provided by the author
Power struct for marshal/unmarshal of power state valid states are on, off, soft, cycle, state `omitempty` lets use the same struct for power operations.Command.
No description provided by the author
JSON obect for creating and updating puppetattributes on hosts and hostgroups.
Base API query response struct.
Need a modified version of QueryResponse for the puppet endpoint as the results are wrapped in an additional hash - this may be a Foreman bug.
Sort options as part of the generic query resposne.
Server definition.