Documentation ¶
Index ¶
- func NewPolicyPodDisruptionBudgetV1Manifest() datasource.DataSource
- type PolicyPodDisruptionBudgetV1Manifest
- func (r *PolicyPodDisruptionBudgetV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *PolicyPodDisruptionBudgetV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *PolicyPodDisruptionBudgetV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type PolicyPodDisruptionBudgetV1ManifestData
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 (r *PolicyPodDisruptionBudgetV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*PolicyPodDisruptionBudgetV1Manifest) Read ¶
func (r *PolicyPodDisruptionBudgetV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*PolicyPodDisruptionBudgetV1Manifest) Schema ¶
func (r *PolicyPodDisruptionBudgetV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
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"` }
Click to show internal directories.
Click to hide internal directories.