Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentRuleReplicasMinimum ¶
type DeploymentRuleReplicasMinimum struct { Name string `yaml:"name"` MinimumReplicas int32 `yaml:"minimum_replicas"` Filter filters.DeploymentFilter `yaml:"filter"` }
func (DeploymentRuleReplicasMinimum) FindNonConformingDeployment ¶
func (deploymentRuleReplicasMinimum DeploymentRuleReplicasMinimum) FindNonConformingDeployment(deployments []appsv1.Deployment) DeploymentRuleResult
func (*DeploymentRuleReplicasMinimum) UnmarshalYAML ¶
func (deploymentRuleReplicasMinimum *DeploymentRuleReplicasMinimum) UnmarshalYAML(unmarshal func(interface{}) error) error
type DeploymentRuleResult ¶
type DeploymentRuleResult struct { Deployments []appsv1.Deployment Reason string RuleName string }
type PodRuleLabelsFilledIn ¶
type PodRuleLabelsFilledIn struct { Name string `yaml:"name"` Labels []string `yaml:"labels"` Filter filters.PodFilter `yaml:"filter"` }
func (PodRuleLabelsFilledIn) FindNonConformingPods ¶
func (r PodRuleLabelsFilledIn) FindNonConformingPods(pods []v1.Pod) PodRuleResult
func (*PodRuleLabelsFilledIn) UnmarshalYAML ¶
func (r *PodRuleLabelsFilledIn) UnmarshalYAML(unmarshal func(interface{}) error) error
type PodRuleLimitsFilledIn ¶
type PodRuleLimitsFilledIn struct { Name string `yaml:"name"` Filter filters.PodFilter `yaml:"filter"` }
func (PodRuleLimitsFilledIn) FindNonConformingPods ¶
func (r PodRuleLimitsFilledIn) FindNonConformingPods(pods []v1.Pod) PodRuleResult
func (*PodRuleLimitsFilledIn) UnmarshalYAML ¶
func (r *PodRuleLimitsFilledIn) UnmarshalYAML(unmarshal func(interface{}) error) error
type PodRuleRequestsFilledIn ¶
type PodRuleRequestsFilledIn struct { Name string `yaml:"name"` Filter filters.PodFilter `yaml:"filter"` }
func (PodRuleRequestsFilledIn) FindNonConformingPods ¶
func (r PodRuleRequestsFilledIn) FindNonConformingPods(pods []v1.Pod) PodRuleResult
func (*PodRuleRequestsFilledIn) UnmarshalYAML ¶
func (r *PodRuleRequestsFilledIn) UnmarshalYAML(unmarshal func(interface{}) error) error
type StatefulSetRuleReplicasMinimum ¶
type StatefulSetRuleReplicasMinimum struct { Name string `yaml:"name"` MinimumReplicas int32 `yaml:"minimum_replicas"` Filter filters.StatefulsetFilter `yaml:"filter"` }
func (StatefulSetRuleReplicasMinimum) FindNonConformingStatefulSet ¶
func (statefulSetRuleReplicasMinimum StatefulSetRuleReplicasMinimum) FindNonConformingStatefulSet(statefulSets []appsv1.StatefulSet) StatefulSetRuleResult
func (*StatefulSetRuleReplicasMinimum) UnmarshalYAML ¶
func (statefulSetRuleReplicasMinimum *StatefulSetRuleReplicasMinimum) UnmarshalYAML(unmarshal func(interface{}) error) error
type StatefulSetRuleResult ¶
type StatefulSetRuleResult struct { StatefulSets []appsv1.StatefulSet Reason string RuleName string }
Click to show internal directories.
Click to hide internal directories.