policy_v1

package
v0.0.0-...-0c7cfb0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: 0BSD Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPolicyPodDisruptionBudgetV1Manifest

func NewPolicyPodDisruptionBudgetV1Manifest() datasource.DataSource

Types

type PolicyPodDisruptionBudgetV1Manifest

type PolicyPodDisruptionBudgetV1Manifest struct{}

func (*PolicyPodDisruptionBudgetV1Manifest) Metadata

func (*PolicyPodDisruptionBudgetV1Manifest) Read

func (*PolicyPodDisruptionBudgetV1Manifest) Schema

type PolicyPodDisruptionBudgetV1ManifestData

type PolicyPodDisruptionBudgetV1ManifestData struct {
	YAML types.String `tfsdk:"yaml" json:"-"`

	ApiVersion *string `tfsdk:"-" json:"apiVersion"`
	Kind       *string `tfsdk:"-" json:"kind"`

	Metadata struct {
		Name        string            `tfsdk:"name" json:"name"`
		Namespace   string            `tfsdk:"namespace" json:"namespace"`
		Labels      map[string]string `tfsdk:"labels" json:"labels,omitempty"`
		Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
	} `tfsdk:"metadata" json:"metadata"`

	Spec *struct {
		MaxUnavailable *string `tfsdk:"max_unavailable" json:"maxUnavailable,omitempty"`
		MinAvailable   *string `tfsdk:"min_available" json:"minAvailable,omitempty"`
		Selector       *struct {
			MatchExpressions *[]struct {
				Key      *string   `tfsdk:"key" json:"key,omitempty"`
				Operator *string   `tfsdk:"operator" json:"operator,omitempty"`
				Values   *[]string `tfsdk:"values" json:"values,omitempty"`
			} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
			MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
		} `tfsdk:"selector" json:"selector,omitempty"`
		UnhealthyPodEvictionPolicy *string `tfsdk:"unhealthy_pod_eviction_policy" json:"unhealthyPodEvictionPolicy,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

Jump to

Keyboard shortcuts

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