Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Provider ¶
func Provider() terraform.ResourceProvider
Provider returns a terraform.ResourceProvider.
Types ¶
type PuppetDBClient ¶
func (*PuppetDBClient) Query ¶
func (p *PuppetDBClient) Query(query string, verb string, payload string) (pdbResp PuppetDBResp, err error)
type PuppetDBResp ¶ added in v0.1.1
type PuppetDBResp struct {
Error error `json:"error"`
Certname string `json:"certname"`
Deactivated string `json:"deactivated"`
Expired string `json:"expired"`
CachedCatalogStatus string `json:"cached_catalog_status"`
CatalogEnvironment string `json:"catalog_environment"`
FactsEnvironment string `json:"facts_environment"`
ReportEnvironment string `json:"report_environment"`
CatalogTimestamp string `json:"catalog_timestamp"`
FactsTimestamp string `json:"facts_timestamp"`
ReportTimestamp string `json:"report_timestamp"`
LatestReportCorrectiveChange string `json:"latest_report_corrective_change"`
LatestReportHash string `json:"latest_report_hash"`
LatestReportNoop bool `json:"latest_report_noop"`
LatestReportNoopPending bool `json:"latest_report_noop_pending"`
LatestReportStatus string `json:"latest_report_status"`
}
Click to show internal directories.
Click to hide internal directories.