namespace

package
v1.35.2 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 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 CpuLimitsQuotaSaturation

type CpuLimitsQuotaSaturation struct {
	Configuration *CpuLimitsQuotaSaturationConfig `json:"configuration,omitempty"` // Alert if
	Enabled       bool                            `json:"enabled"`                 // This setting is enabled (`true`) or disabled (`false`)
}

func (*CpuLimitsQuotaSaturation) MarshalHCL

func (me *CpuLimitsQuotaSaturation) MarshalHCL(properties hcl.Properties) error

func (*CpuLimitsQuotaSaturation) Schema

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

func (*CpuLimitsQuotaSaturation) UnmarshalHCL

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

type CpuLimitsQuotaSaturationConfig

type CpuLimitsQuotaSaturationConfig struct {
	ObservationPeriodInMinutes int `json:"observationPeriodInMinutes"` // within the last
	SamplePeriodInMinutes      int `json:"samplePeriodInMinutes"`      // of quota for at least
	Threshold                  int `json:"threshold"`                  // amount of utilized namespace CPU is above
}

func (*CpuLimitsQuotaSaturationConfig) MarshalHCL

func (me *CpuLimitsQuotaSaturationConfig) MarshalHCL(properties hcl.Properties) error

func (*CpuLimitsQuotaSaturationConfig) Schema

func (*CpuLimitsQuotaSaturationConfig) UnmarshalHCL

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

type CpuRequestsQuotaSaturation

type CpuRequestsQuotaSaturation struct {
	Configuration *CpuRequestsQuotaSaturationConfig `json:"configuration,omitempty"` // Alert if
	Enabled       bool                              `json:"enabled"`                 // This setting is enabled (`true`) or disabled (`false`)
}

func (*CpuRequestsQuotaSaturation) MarshalHCL

func (me *CpuRequestsQuotaSaturation) MarshalHCL(properties hcl.Properties) error

func (*CpuRequestsQuotaSaturation) Schema

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

func (*CpuRequestsQuotaSaturation) UnmarshalHCL

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

type CpuRequestsQuotaSaturationConfig

type CpuRequestsQuotaSaturationConfig struct {
	ObservationPeriodInMinutes int `json:"observationPeriodInMinutes"` // within the last
	SamplePeriodInMinutes      int `json:"samplePeriodInMinutes"`      // of quota for at least
	Threshold                  int `json:"threshold"`                  // amount of requested namespace CPU is above
}

func (*CpuRequestsQuotaSaturationConfig) MarshalHCL

func (me *CpuRequestsQuotaSaturationConfig) MarshalHCL(properties hcl.Properties) error

func (*CpuRequestsQuotaSaturationConfig) Schema

func (*CpuRequestsQuotaSaturationConfig) UnmarshalHCL

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

type MemoryLimitsQuotaSaturation

type MemoryLimitsQuotaSaturation struct {
	Configuration *MemoryLimitsQuotaSaturationConfig `json:"configuration,omitempty"` // Alert if
	Enabled       bool                               `json:"enabled"`                 // This setting is enabled (`true`) or disabled (`false`)
}

func (*MemoryLimitsQuotaSaturation) MarshalHCL

func (me *MemoryLimitsQuotaSaturation) MarshalHCL(properties hcl.Properties) error

func (*MemoryLimitsQuotaSaturation) Schema

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

func (*MemoryLimitsQuotaSaturation) UnmarshalHCL

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

type MemoryLimitsQuotaSaturationConfig

type MemoryLimitsQuotaSaturationConfig struct {
	ObservationPeriodInMinutes int `json:"observationPeriodInMinutes"` // within the last
	SamplePeriodInMinutes      int `json:"samplePeriodInMinutes"`      // of quota for at least
	Threshold                  int `json:"threshold"`                  // amount of utilized namespace memory is above
}

func (*MemoryLimitsQuotaSaturationConfig) MarshalHCL

func (me *MemoryLimitsQuotaSaturationConfig) MarshalHCL(properties hcl.Properties) error

func (*MemoryLimitsQuotaSaturationConfig) Schema

func (*MemoryLimitsQuotaSaturationConfig) UnmarshalHCL

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

type MemoryRequestsQuotaSaturation

type MemoryRequestsQuotaSaturation struct {
	Configuration *MemoryRequestsQuotaSaturationConfig `json:"configuration,omitempty"` // Alert if
	Enabled       bool                                 `json:"enabled"`                 // This setting is enabled (`true`) or disabled (`false`)
}

func (*MemoryRequestsQuotaSaturation) MarshalHCL

func (me *MemoryRequestsQuotaSaturation) MarshalHCL(properties hcl.Properties) error

func (*MemoryRequestsQuotaSaturation) Schema

func (*MemoryRequestsQuotaSaturation) UnmarshalHCL

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

type MemoryRequestsQuotaSaturationConfig

type MemoryRequestsQuotaSaturationConfig struct {
	ObservationPeriodInMinutes int `json:"observationPeriodInMinutes"` // within the last
	SamplePeriodInMinutes      int `json:"samplePeriodInMinutes"`      // of quota for at least
	Threshold                  int `json:"threshold"`                  // amount of requested namespace memory is above
}

func (*MemoryRequestsQuotaSaturationConfig) MarshalHCL

func (me *MemoryRequestsQuotaSaturationConfig) MarshalHCL(properties hcl.Properties) error

func (*MemoryRequestsQuotaSaturationConfig) Schema

func (*MemoryRequestsQuotaSaturationConfig) UnmarshalHCL

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

type PodsQuotaSaturation

type PodsQuotaSaturation struct {
	Configuration *PodsQuotaSaturationConfig `json:"configuration,omitempty"` // Alert if
	Enabled       bool                       `json:"enabled"`                 // This setting is enabled (`true`) or disabled (`false`)
}

func (*PodsQuotaSaturation) MarshalHCL

func (me *PodsQuotaSaturation) MarshalHCL(properties hcl.Properties) error

func (*PodsQuotaSaturation) Schema

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

func (*PodsQuotaSaturation) UnmarshalHCL

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

type PodsQuotaSaturationConfig

type PodsQuotaSaturationConfig struct {
	ObservationPeriodInMinutes int `json:"observationPeriodInMinutes"` // within the last
	SamplePeriodInMinutes      int `json:"samplePeriodInMinutes"`      // of quota for at least
	Threshold                  int `json:"threshold"`                  // number of utilized namespace pods is above
}

func (*PodsQuotaSaturationConfig) MarshalHCL

func (me *PodsQuotaSaturationConfig) MarshalHCL(properties hcl.Properties) error

func (*PodsQuotaSaturationConfig) Schema

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

func (*PodsQuotaSaturationConfig) UnmarshalHCL

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

type Settings

type Settings struct {
	CpuLimitsQuotaSaturation      *CpuLimitsQuotaSaturation      `json:"cpuLimitsQuotaSaturation"`      // Alerts if almost no CPU-limit quota left in namespace
	CpuRequestsQuotaSaturation    *CpuRequestsQuotaSaturation    `json:"cpuRequestsQuotaSaturation"`    // Alerts if almost no CPU-request quota left in namespace
	MemoryLimitsQuotaSaturation   *MemoryLimitsQuotaSaturation   `json:"memoryLimitsQuotaSaturation"`   // Alerts if almost no memory-limit quota left in namespace
	MemoryRequestsQuotaSaturation *MemoryRequestsQuotaSaturation `json:"memoryRequestsQuotaSaturation"` // Alerts if almost no memory-request quota left in namespace
	PodsQuotaSaturation           *PodsQuotaSaturation           `json:"podsQuotaSaturation"`           // Alerts if almost no pod quota left in namespace
	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.
}

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

Jump to

Keyboard shortcuts

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