workload

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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) Schema

func (me *ContainerRestarts) Schema() map[string]*schema.Schema

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) Schema

func (me *DeploymentStuck) Schema() map[string]*schema.Schema

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) Schema

func (me *NotAllPodsReady) Schema() map[string]*schema.Schema

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) Schema

func (me *PendingPods) Schema() map[string]*schema.Schema

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) Schema

func (me *PendingPodsConfig) Schema() map[string]*schema.Schema

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

func (*Settings) Name

func (me *Settings) Name() string

func (*Settings) Schema

func (me *Settings) Schema() map[string]*schema.Schema

func (*Settings) UnmarshalHCL

func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) 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 (*WorkloadWithoutReadyPodsConfig) UnmarshalHCL

func (me *WorkloadWithoutReadyPodsConfig) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

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