Documentation ¶
Index ¶
- type ContainerRestarts
- type ContainerRestartsConfig
- type DeploymentStuck
- type DeploymentStuckConfig
- type NotAllPodsReady
- type NotAllPodsReadyConfig
- type PendingPods
- type PendingPodsConfig
- type PodStuckInTerminating
- type PodStuckInTerminatingConfig
- type Settings
- type WorkloadWithoutReadyPods
- type WorkloadWithoutReadyPodsConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerRestarts ¶
type ContainerRestarts struct { Configuration *ContainerRestartsConfig `json:"configuration,omitempty"` // Alert if Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) }
func (*ContainerRestarts) MarshalHCL ¶
func (me *ContainerRestarts) MarshalHCL(properties hcl.Properties) error
func (*ContainerRestarts) UnmarshalHCL ¶
func (me *ContainerRestarts) UnmarshalHCL(decoder hcl.Decoder) error
type ContainerRestartsConfig ¶
type ContainerRestartsConfig struct { ObservationPeriodInMinutes int `json:"observationPeriodInMinutes"` // within the last SamplePeriodInMinutes int `json:"samplePeriodInMinutes"` // per minute, for any Threshold int `json:"threshold"` // there is at least }
func (*ContainerRestartsConfig) MarshalHCL ¶
func (me *ContainerRestartsConfig) MarshalHCL(properties hcl.Properties) error
func (*ContainerRestartsConfig) Schema ¶
func (me *ContainerRestartsConfig) Schema() map[string]*schema.Schema
func (*ContainerRestartsConfig) UnmarshalHCL ¶
func (me *ContainerRestartsConfig) UnmarshalHCL(decoder hcl.Decoder) error
type DeploymentStuck ¶
type DeploymentStuck struct { Configuration *DeploymentStuckConfig `json:"configuration,omitempty"` // Alert if Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) }
func (*DeploymentStuck) MarshalHCL ¶
func (me *DeploymentStuck) MarshalHCL(properties hcl.Properties) error
func (*DeploymentStuck) UnmarshalHCL ¶
func (me *DeploymentStuck) UnmarshalHCL(decoder hcl.Decoder) error
type DeploymentStuckConfig ¶
type DeploymentStuckConfig struct { ObservationPeriodInMinutes int `json:"observationPeriodInMinutes"` // within the last SamplePeriodInMinutes int `json:"samplePeriodInMinutes"` // workload stops progressing for at least }
func (*DeploymentStuckConfig) MarshalHCL ¶
func (me *DeploymentStuckConfig) MarshalHCL(properties hcl.Properties) error
func (*DeploymentStuckConfig) Schema ¶
func (me *DeploymentStuckConfig) Schema() map[string]*schema.Schema
func (*DeploymentStuckConfig) UnmarshalHCL ¶
func (me *DeploymentStuckConfig) UnmarshalHCL(decoder hcl.Decoder) error
type NotAllPodsReady ¶
type NotAllPodsReady struct { Configuration *NotAllPodsReadyConfig `json:"configuration,omitempty"` // Alert if Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) }
func (*NotAllPodsReady) MarshalHCL ¶
func (me *NotAllPodsReady) MarshalHCL(properties hcl.Properties) error
func (*NotAllPodsReady) UnmarshalHCL ¶
func (me *NotAllPodsReady) UnmarshalHCL(decoder hcl.Decoder) error
type NotAllPodsReadyConfig ¶
type NotAllPodsReadyConfig struct { ObservationPeriodInMinutes int `json:"observationPeriodInMinutes"` // within the last SamplePeriodInMinutes int `json:"samplePeriodInMinutes"` // some workload pods are not ready for at least }
func (*NotAllPodsReadyConfig) MarshalHCL ¶
func (me *NotAllPodsReadyConfig) MarshalHCL(properties hcl.Properties) error
func (*NotAllPodsReadyConfig) Schema ¶
func (me *NotAllPodsReadyConfig) Schema() map[string]*schema.Schema
func (*NotAllPodsReadyConfig) UnmarshalHCL ¶
func (me *NotAllPodsReadyConfig) UnmarshalHCL(decoder hcl.Decoder) error
type PendingPods ¶
type PendingPods struct { Configuration *PendingPodsConfig `json:"configuration,omitempty"` // Alert if Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) }
func (*PendingPods) MarshalHCL ¶
func (me *PendingPods) MarshalHCL(properties hcl.Properties) error
func (*PendingPods) UnmarshalHCL ¶
func (me *PendingPods) UnmarshalHCL(decoder hcl.Decoder) error
type PendingPodsConfig ¶
type PendingPodsConfig struct { ObservationPeriodInMinutes int `json:"observationPeriodInMinutes"` // within the last SamplePeriodInMinutes int `json:"samplePeriodInMinutes"` // stuck in pending state for at least Threshold int `json:"threshold"` // there is at least }
func (*PendingPodsConfig) MarshalHCL ¶
func (me *PendingPodsConfig) MarshalHCL(properties hcl.Properties) error
func (*PendingPodsConfig) UnmarshalHCL ¶
func (me *PendingPodsConfig) UnmarshalHCL(decoder hcl.Decoder) error
type PodStuckInTerminating ¶
type PodStuckInTerminating struct { Configuration *PodStuckInTerminatingConfig `json:"configuration,omitempty"` // Alert if Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) }
func (*PodStuckInTerminating) MarshalHCL ¶
func (me *PodStuckInTerminating) MarshalHCL(properties hcl.Properties) error
func (*PodStuckInTerminating) Schema ¶
func (me *PodStuckInTerminating) Schema() map[string]*schema.Schema
func (*PodStuckInTerminating) UnmarshalHCL ¶
func (me *PodStuckInTerminating) UnmarshalHCL(decoder hcl.Decoder) error
type PodStuckInTerminatingConfig ¶
type PodStuckInTerminatingConfig struct { ObservationPeriodInMinutes int `json:"observationPeriodInMinutes"` // within the last SamplePeriodInMinutes int `json:"samplePeriodInMinutes"` // pod termination stops progressing for at least }
func (*PodStuckInTerminatingConfig) MarshalHCL ¶
func (me *PodStuckInTerminatingConfig) MarshalHCL(properties hcl.Properties) error
func (*PodStuckInTerminatingConfig) Schema ¶
func (me *PodStuckInTerminatingConfig) Schema() map[string]*schema.Schema
func (*PodStuckInTerminatingConfig) UnmarshalHCL ¶
func (me *PodStuckInTerminatingConfig) UnmarshalHCL(decoder hcl.Decoder) error
type Settings ¶
type Settings struct { ContainerRestarts *ContainerRestarts `json:"containerRestarts"` DeploymentStuck *DeploymentStuck `json:"deploymentStuck"` NotAllPodsReady *NotAllPodsReady `json:"notAllPodsReady"` PendingPods *PendingPods `json:"pendingPods"` PodStuckInTerminating *PodStuckInTerminating `json:"podStuckInTerminating"` Scope *string `json:"-" scope:"scope"` // The scope of this setting (CLOUD_APPLICATION_NAMESPACE, KUBERNETES_CLUSTER). Omit this property if you want to cover the whole environment. WorkloadWithoutReadyPods *WorkloadWithoutReadyPods `json:"workloadWithoutReadyPods"` }
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
type WorkloadWithoutReadyPods ¶
type WorkloadWithoutReadyPods struct { Configuration *WorkloadWithoutReadyPodsConfig `json:"configuration,omitempty"` // Alert if Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) }
func (*WorkloadWithoutReadyPods) MarshalHCL ¶
func (me *WorkloadWithoutReadyPods) MarshalHCL(properties hcl.Properties) error
func (*WorkloadWithoutReadyPods) Schema ¶
func (me *WorkloadWithoutReadyPods) Schema() map[string]*schema.Schema
func (*WorkloadWithoutReadyPods) UnmarshalHCL ¶
func (me *WorkloadWithoutReadyPods) UnmarshalHCL(decoder hcl.Decoder) error
type WorkloadWithoutReadyPodsConfig ¶
type WorkloadWithoutReadyPodsConfig struct { ObservationPeriodInMinutes int `json:"observationPeriodInMinutes"` // within the last SamplePeriodInMinutes int `json:"samplePeriodInMinutes"` // workload has no ready pods for at least }
func (*WorkloadWithoutReadyPodsConfig) MarshalHCL ¶
func (me *WorkloadWithoutReadyPodsConfig) MarshalHCL(properties hcl.Properties) error
func (*WorkloadWithoutReadyPodsConfig) Schema ¶
func (me *WorkloadWithoutReadyPodsConfig) Schema() map[string]*schema.Schema
func (*WorkloadWithoutReadyPodsConfig) UnmarshalHCL ¶
func (me *WorkloadWithoutReadyPodsConfig) UnmarshalHCL(decoder hcl.Decoder) error
Source Files ¶
- container_restarts.go
- container_restarts_config.go
- deployment_stuck.go
- deployment_stuck_config.go
- not_all_pods_ready.go
- not_all_pods_ready_config.go
- pending_pods.go
- pending_pods_config.go
- pod_stuck_in_terminating.go
- pod_stuck_in_terminating_config.go
- settings.go
- workload_without_ready_pods.go
- workload_without_ready_pods_config.go
Click to show internal directories.
Click to hide internal directories.