Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConditionOperators = struct { Contains ConditionOperator Ends ConditionOperator Equals ConditionOperator Exists ConditionOperator NotContains ConditionOperator NotEnds ConditionOperator NotEquals ConditionOperator NotExists ConditionOperator NotStarts ConditionOperator Starts ConditionOperator }{ "CONTAINS", "ENDS", "EQUALS", "EXISTS", "NOT_CONTAINS", "NOT_ENDS", "NOT_EQUALS", "NOT_EXISTS", "NOT_STARTS", "STARTS", }
View Source
var ContainerItems = struct { ContainerName ContainerItem ImageName ContainerItem KubernetesBasepodname ContainerItem KubernetesContainername ContainerItem KubernetesFullpodname ContainerItem KubernetesNamespace ContainerItem KubernetesPoduid ContainerItem }{ "CONTAINER_NAME", "IMAGE_NAME", "KUBERNETES_BASEPODNAME", "KUBERNETES_CONTAINERNAME", "KUBERNETES_FULLPODNAME", "KUBERNETES_NAMESPACE", "KUBERNETES_PODUID", }
View Source
var MonitoringModes = struct { MonitoringOff MonitoringMode MonitoringOn MonitoringMode }{ "MONITORING_OFF", "MONITORING_ON", }
Functions ¶
This section is empty.
Types ¶
type ConditionOperator ¶
type ConditionOperator string
type ContainerCondition ¶
type ContainerCondition struct { Operator ConditionOperator `json:"operator"` // Possible Values: `CONTAINS`, `ENDS`, `EQUALS`, `EXISTS`, `NOT_CONTAINS`, `NOT_ENDS`, `NOT_EQUALS`, `NOT_EXISTS`, `NOT_STARTS`, `STARTS` Property ContainerItem `json:"property"` // Possible Values: `CONTAINER_NAME`, `IMAGE_NAME`, `KUBERNETES_BASEPODNAME`, `KUBERNETES_CONTAINERNAME`, `KUBERNETES_FULLPODNAME`, `KUBERNETES_NAMESPACE`, `KUBERNETES_PODUID` Value *string `json:"value,omitempty"` // Condition value }
func (*ContainerCondition) MarshalHCL ¶
func (me *ContainerCondition) MarshalHCL(properties hcl.Properties) error
func (*ContainerCondition) Schema ¶
func (me *ContainerCondition) Schema() map[string]*schema.Schema
func (*ContainerCondition) UnmarshalHCL ¶
func (me *ContainerCondition) UnmarshalHCL(decoder hcl.Decoder) error
type ContainerItem ¶
type ContainerItem string
type FlagDefaultTrue ¶
type FlagDefaultTrue struct {
Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`)
}
func (*FlagDefaultTrue) MarshalHCL ¶
func (me *FlagDefaultTrue) MarshalHCL(properties hcl.Properties) error
func (*FlagDefaultTrue) UnmarshalHCL ¶
func (me *FlagDefaultTrue) UnmarshalHCL(decoder hcl.Decoder) error
type MonitoringMode ¶
type MonitoringMode string
type Settings ¶
type Settings struct { Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) Mode MonitoringMode `json:"mode"` // Possible Values: `MONITORING_OFF`, `MONITORING_ON` Operator ConditionOperator `json:"operator"` // Possible Values: `CONTAINS`, `ENDS`, `EQUALS`, `EXISTS`, `NOT_CONTAINS`, `NOT_ENDS`, `NOT_EQUALS`, `NOT_EXISTS`, `NOT_STARTS`, `STARTS` Property ContainerItem `json:"property"` // Possible Values: `CONTAINER_NAME`, `IMAGE_NAME`, `KUBERNETES_BASEPODNAME`, `KUBERNETES_CONTAINERNAME`, `KUBERNETES_FULLPODNAME`, `KUBERNETES_NAMESPACE`, `KUBERNETES_PODUID` Value *string `json:"value,omitempty"` // Condition value }
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
Click to show internal directories.
Click to hide internal directories.