pvc

package
v1.56.2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 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 LowDiskSpaceCritical

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

func (*LowDiskSpaceCritical) HandlePreconditions

func (me *LowDiskSpaceCritical) HandlePreconditions() error

func (*LowDiskSpaceCritical) MarshalHCL

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

func (*LowDiskSpaceCritical) Schema

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

func (*LowDiskSpaceCritical) UnmarshalHCL

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

type LowDiskSpaceCriticalConfig

type LowDiskSpaceCriticalConfig struct {
	ObservationPeriodInMinutes int `json:"observationPeriodInMinutes"` // within the last
	SamplePeriodInMinutes      int `json:"samplePeriodInMinutes"`      // for at least
	Threshold                  int `json:"threshold"`                  // the available disk space is below
}

func (*LowDiskSpaceCriticalConfig) MarshalHCL

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

func (*LowDiskSpaceCriticalConfig) Schema

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

func (*LowDiskSpaceCriticalConfig) UnmarshalHCL

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

type LowDiskSpaceCriticalPercentage

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

func (*LowDiskSpaceCriticalPercentage) HandlePreconditions

func (me *LowDiskSpaceCriticalPercentage) HandlePreconditions() error

func (*LowDiskSpaceCriticalPercentage) MarshalHCL

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

func (*LowDiskSpaceCriticalPercentage) Schema

func (*LowDiskSpaceCriticalPercentage) UnmarshalHCL

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

type LowDiskSpaceCriticalPercentageConfig

type LowDiskSpaceCriticalPercentageConfig struct {
	ObservationPeriodInMinutes int `json:"observationPeriodInMinutes"` // within the last
	SamplePeriodInMinutes      int `json:"samplePeriodInMinutes"`      // for at least
	Threshold                  int `json:"threshold"`                  // the available disk space is below
}

func (*LowDiskSpaceCriticalPercentageConfig) MarshalHCL

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

func (*LowDiskSpaceCriticalPercentageConfig) Schema

func (*LowDiskSpaceCriticalPercentageConfig) UnmarshalHCL

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

type Settings

type Settings struct {
	LowDiskSpaceCritical           *LowDiskSpaceCritical           `json:"lowDiskSpaceCritical"`           // Alerts on low disk space in megabytes for a persistent volume claim.
	LowDiskSpaceCriticalPercentage *LowDiskSpaceCriticalPercentage `json:"lowDiskSpaceCriticalPercentage"` // Alerts on low disk space in % for a persistent volume claim.
	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