model

package
v0.1.336 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Health added in v0.1.36

type Health struct {
	ID                                string `jsonapi:"primary,health" json:"id"`
	Status                            string `jsonapi:"attr,status" json:"status"`
	TerraformPlanSuccessLast1Minute   int64  `jsonapi:"attr,terraformPlanSuccessLast1Minute" json:"terraformPlanSuccessLast1Minute"`
	TerraformPlanFailedLast1Minute    int64  `jsonapi:"attr,terraformPlanFailedLast1Minute" json:"terraformPlanFailedLast1Minute"`
	TerraformPlanSuccessLast15Minute  int64  `jsonapi:"attr,terraformPlanSuccessLast15Minute" json:"terraformPlanSuccessLast15Minute"`
	TerraformPlanFailedLast15Minute   int64  `jsonapi:"attr,terraformPlanFailedLast15Minute" json:"terraformPlanFailedLast15Minute"`
	TerraformPlanSuccessLast1Hour     int64  `jsonapi:"attr,terraformPlanSuccessLast1Hour" json:"terraformPlanSuccessLast1Hour"`
	TerraformPlanFailedLast1Hour      int64  `jsonapi:"attr,terraformPlanFailedLast1Hour" json:"terraformPlanFailedLast1Hour"`
	TerraformPlanSuccessAllTime       int64  `jsonapi:"attr,terraformPlanSuccessAllTime" json:"terraformPlanSuccessAllTime"`
	TerraformPlanFailedAllTime        int64  `jsonapi:"attr,terraformPlanFailedAllTime" json:"terraformPlanFailedAllTime"`
	TerraformApplySuccessLast1Minute  int64  `jsonapi:"attr,terraformApplySuccessLast1Minute" json:"terraformApplySuccessLast1Minute"`
	TerraformApplyFailedLast1Minute   int64  `jsonapi:"attr,terraformApplyFailedLast1Minute" json:"terraformApplyFailedLast1Minute"`
	TerraformApplySuccessLast15Minute int64  `jsonapi:"attr,terraformApplySuccessLast15Minute" json:"terraformApplySuccessLast15Minute"`
	TerraformApplyFailedLast15Minute  int64  `jsonapi:"attr,terraformApplyFailedLast15Minute" json:"terraformApplyFailedLast15Minute"`
	TerraformApplySuccessLast1Hour    int64  `jsonapi:"attr,terraformApplySuccessLast1Hour" json:"terraformApplySuccessLast1Hour"`
	TerraformApplyFailedLast1Hour     int64  `jsonapi:"attr,terraformApplyFailedLast1Hour" json:"terraformApplyFailedLast1Hour"`
	TerraformApplySuccessAllTime      int64  `jsonapi:"attr,terraformApplySuccessAllTime" json:"terraformApplySuccessAllTime"`
	TerraformApplyFailedAllTime       int64  `jsonapi:"attr,terraformApplyFailedAllTime" json:"terraformApplyFailedAllTime"`
}

type OpaResult added in v0.1.125

type OpaResult struct {
	Result []struct {
		DecisionID string `json:"decision_id"`
		Path       string `json:"path"`
		Result     bool   `json:"result"`
	} `json:"result"`
}

type TerraformApply

type TerraformApply struct {
	ID        string  `jsonapi:"primary,terraformapply" json:"id"`
	PlanId    string  `jsonapi:"attr,plan_id" json:"plan_id"`
	Server    string  `jsonapi:"attr,server" json:"server"`
	ApplyText *string `jsonapi:"attr,apply_text" json:"apply_text"`
}

type TerraformPlan

type TerraformPlan struct {
	ID               string    `jsonapi:"primary,terraformplan" json:"id"`
	PlanBinaryBase64 *string   `jsonapi:"attr,plan_binary" json:"plan"`
	PlanText         *string   `jsonapi:"attr,plan_text" json:"plan_text"`
	Server           string    `jsonapi:"attr,server" json:"server"`
	Created          time.Time `jsonapi:"attr,created" json:"created"`
	SpaceId          string    `jsonapi:"attr,space_id" json:"space_id"`
	Configuration    string    `jsonapi:"attr,configuration" json:"configuration"`
}

Jump to

Keyboard shortcuts

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