Documentation ¶
Index ¶
- type ContainerRestarts
- type ContainerRestartsConfig
- type DeploymentStuck
- type DeploymentStuckConfig
- type HighCpuThrottling
- type HighCpuThrottlingConfig
- type HighCpuUsage
- type HighCpuUsageConfig
- type HighMemoryUsage
- type HighMemoryUsageConfig
- 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) HandlePreconditions ¶ added in v1.28.0
func (me *ContainerRestarts) HandlePreconditions() error
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) HandlePreconditions ¶ added in v1.28.0
func (me *DeploymentStuck) HandlePreconditions() error
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 HighCpuThrottling ¶ added in v1.28.0
type HighCpuThrottling struct { Configuration *HighCpuThrottlingConfig `json:"configuration,omitempty"` // Alert if Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) }
func (*HighCpuThrottling) HandlePreconditions ¶ added in v1.28.0
func (me *HighCpuThrottling) HandlePreconditions() error
func (*HighCpuThrottling) MarshalHCL ¶ added in v1.28.0
func (me *HighCpuThrottling) MarshalHCL(properties hcl.Properties) error
func (*HighCpuThrottling) Schema ¶ added in v1.28.0
func (me *HighCpuThrottling) Schema() map[string]*schema.Schema
func (*HighCpuThrottling) UnmarshalHCL ¶ added in v1.28.0
func (me *HighCpuThrottling) UnmarshalHCL(decoder hcl.Decoder) error
type HighCpuThrottlingConfig ¶ added in v1.28.0
type HighCpuThrottlingConfig struct { ObservationPeriodInMinutes int `json:"observationPeriodInMinutes"` // within the last SamplePeriodInMinutes int `json:"samplePeriodInMinutes"` // of CPU usage for at least Threshold int `json:"threshold"` // amount of CPU throttling is above }
func (*HighCpuThrottlingConfig) MarshalHCL ¶ added in v1.28.0
func (me *HighCpuThrottlingConfig) MarshalHCL(properties hcl.Properties) error
func (*HighCpuThrottlingConfig) Schema ¶ added in v1.28.0
func (me *HighCpuThrottlingConfig) Schema() map[string]*schema.Schema
func (*HighCpuThrottlingConfig) UnmarshalHCL ¶ added in v1.28.0
func (me *HighCpuThrottlingConfig) UnmarshalHCL(decoder hcl.Decoder) error
type HighCpuUsage ¶ added in v1.28.0
type HighCpuUsage struct { Configuration *HighCpuUsageConfig `json:"configuration,omitempty"` // Alert if Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) }
func (*HighCpuUsage) HandlePreconditions ¶ added in v1.28.0
func (me *HighCpuUsage) HandlePreconditions() error
func (*HighCpuUsage) MarshalHCL ¶ added in v1.28.0
func (me *HighCpuUsage) MarshalHCL(properties hcl.Properties) error
func (*HighCpuUsage) Schema ¶ added in v1.28.0
func (me *HighCpuUsage) Schema() map[string]*schema.Schema
func (*HighCpuUsage) UnmarshalHCL ¶ added in v1.28.0
func (me *HighCpuUsage) UnmarshalHCL(decoder hcl.Decoder) error
type HighCpuUsageConfig ¶ added in v1.28.0
type HighCpuUsageConfig struct { ObservationPeriodInMinutes int `json:"observationPeriodInMinutes"` // within the last SamplePeriodInMinutes int `json:"samplePeriodInMinutes"` // of defined CPU limits for at least Threshold int `json:"threshold"` // amount of utilized workload CPU is above }
func (*HighCpuUsageConfig) MarshalHCL ¶ added in v1.28.0
func (me *HighCpuUsageConfig) MarshalHCL(properties hcl.Properties) error
func (*HighCpuUsageConfig) Schema ¶ added in v1.28.0
func (me *HighCpuUsageConfig) Schema() map[string]*schema.Schema
func (*HighCpuUsageConfig) UnmarshalHCL ¶ added in v1.28.0
func (me *HighCpuUsageConfig) UnmarshalHCL(decoder hcl.Decoder) error
type HighMemoryUsage ¶ added in v1.28.0
type HighMemoryUsage struct { Configuration *HighMemoryUsageConfig `json:"configuration,omitempty"` // Alert if Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) }
func (*HighMemoryUsage) HandlePreconditions ¶ added in v1.28.0
func (me *HighMemoryUsage) HandlePreconditions() error
func (*HighMemoryUsage) MarshalHCL ¶ added in v1.28.0
func (me *HighMemoryUsage) MarshalHCL(properties hcl.Properties) error
func (*HighMemoryUsage) Schema ¶ added in v1.28.0
func (me *HighMemoryUsage) Schema() map[string]*schema.Schema
func (*HighMemoryUsage) UnmarshalHCL ¶ added in v1.28.0
func (me *HighMemoryUsage) UnmarshalHCL(decoder hcl.Decoder) error
type HighMemoryUsageConfig ¶ added in v1.28.0
type HighMemoryUsageConfig struct { ObservationPeriodInMinutes int `json:"observationPeriodInMinutes"` // within the last SamplePeriodInMinutes int `json:"samplePeriodInMinutes"` // of defined memory limits for at least Threshold int `json:"threshold"` // amount of utilized workload memory is above }
func (*HighMemoryUsageConfig) MarshalHCL ¶ added in v1.28.0
func (me *HighMemoryUsageConfig) MarshalHCL(properties hcl.Properties) error
func (*HighMemoryUsageConfig) Schema ¶ added in v1.28.0
func (me *HighMemoryUsageConfig) Schema() map[string]*schema.Schema
func (*HighMemoryUsageConfig) UnmarshalHCL ¶ added in v1.28.0
func (me *HighMemoryUsageConfig) 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) HandlePreconditions ¶ added in v1.28.0
func (me *NotAllPodsReady) HandlePreconditions() error
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) HandlePreconditions ¶ added in v1.28.0
func (me *PendingPods) HandlePreconditions() error
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) HandlePreconditions ¶ added in v1.28.0
func (me *PodStuckInTerminating) HandlePreconditions() error
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"` HighCpuThrottling *HighCpuThrottling `json:"highCpuThrottling"` HighCpuUsage *HighCpuUsage `json:"highCpuUsage"` HighMemoryUsage *HighMemoryUsage `json:"highMemoryUsage"` 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) HandlePreconditions ¶ added in v1.28.0
func (me *WorkloadWithoutReadyPods) HandlePreconditions() error
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
- high_cpu_throttling.go
- high_cpu_throttling_config.go
- high_cpu_usage.go
- high_cpu_usage_config.go
- high_memory_usage.go
- high_memory_usage_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.