Documentation ¶
Index ¶
- type Eviction
- type EvictionArgs
- type EvictionInput
- type EvictionOutput
- func (o EvictionOutput) ApiVersion() pulumi.StringPtrOutput
- func (o EvictionOutput) DeleteOptions() metav1.DeleteOptionsPtrOutput
- func (EvictionOutput) ElementType() reflect.Type
- func (o EvictionOutput) Kind() pulumi.StringPtrOutput
- func (o EvictionOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o EvictionOutput) ToEvictionOutput() EvictionOutput
- func (o EvictionOutput) ToEvictionOutputWithContext(ctx context.Context) EvictionOutput
- type PodDisruptionBudget
- type PodDisruptionBudgetArgs
- type PodDisruptionBudgetArray
- type PodDisruptionBudgetArrayInput
- type PodDisruptionBudgetArrayOutput
- func (PodDisruptionBudgetArrayOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetArrayOutput) Index(i pulumi.IntInput) PodDisruptionBudgetOutput
- func (o PodDisruptionBudgetArrayOutput) ToPodDisruptionBudgetArrayOutput() PodDisruptionBudgetArrayOutput
- func (o PodDisruptionBudgetArrayOutput) ToPodDisruptionBudgetArrayOutputWithContext(ctx context.Context) PodDisruptionBudgetArrayOutput
- type PodDisruptionBudgetInput
- type PodDisruptionBudgetList
- type PodDisruptionBudgetListArgs
- type PodDisruptionBudgetListArray
- func (PodDisruptionBudgetListArray) ElementType() reflect.Type
- func (i PodDisruptionBudgetListArray) ToPodDisruptionBudgetListArrayOutput() PodDisruptionBudgetListArrayOutput
- func (i PodDisruptionBudgetListArray) ToPodDisruptionBudgetListArrayOutputWithContext(ctx context.Context) PodDisruptionBudgetListArrayOutput
- type PodDisruptionBudgetListArrayInput
- type PodDisruptionBudgetListArrayOutput
- func (PodDisruptionBudgetListArrayOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetListArrayOutput) Index(i pulumi.IntInput) PodDisruptionBudgetListOutput
- func (o PodDisruptionBudgetListArrayOutput) ToPodDisruptionBudgetListArrayOutput() PodDisruptionBudgetListArrayOutput
- func (o PodDisruptionBudgetListArrayOutput) ToPodDisruptionBudgetListArrayOutputWithContext(ctx context.Context) PodDisruptionBudgetListArrayOutput
- type PodDisruptionBudgetListInput
- type PodDisruptionBudgetListMap
- func (PodDisruptionBudgetListMap) ElementType() reflect.Type
- func (i PodDisruptionBudgetListMap) ToPodDisruptionBudgetListMapOutput() PodDisruptionBudgetListMapOutput
- func (i PodDisruptionBudgetListMap) ToPodDisruptionBudgetListMapOutputWithContext(ctx context.Context) PodDisruptionBudgetListMapOutput
- type PodDisruptionBudgetListMapInput
- type PodDisruptionBudgetListMapOutput
- func (PodDisruptionBudgetListMapOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetListMapOutput) MapIndex(k pulumi.StringInput) PodDisruptionBudgetListOutput
- func (o PodDisruptionBudgetListMapOutput) ToPodDisruptionBudgetListMapOutput() PodDisruptionBudgetListMapOutput
- func (o PodDisruptionBudgetListMapOutput) ToPodDisruptionBudgetListMapOutputWithContext(ctx context.Context) PodDisruptionBudgetListMapOutput
- type PodDisruptionBudgetListOutput
- type PodDisruptionBudgetListState
- type PodDisruptionBudgetListType
- type PodDisruptionBudgetListTypeArgs
- func (PodDisruptionBudgetListTypeArgs) ElementType() reflect.Type
- func (i PodDisruptionBudgetListTypeArgs) ToPodDisruptionBudgetListTypeOutput() PodDisruptionBudgetListTypeOutput
- func (i PodDisruptionBudgetListTypeArgs) ToPodDisruptionBudgetListTypeOutputWithContext(ctx context.Context) PodDisruptionBudgetListTypeOutput
- type PodDisruptionBudgetListTypeInput
- type PodDisruptionBudgetListTypeOutput
- func (o PodDisruptionBudgetListTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (PodDisruptionBudgetListTypeOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetListTypeOutput) Items() PodDisruptionBudgetTypeArrayOutput
- func (o PodDisruptionBudgetListTypeOutput) Kind() pulumi.StringPtrOutput
- func (o PodDisruptionBudgetListTypeOutput) Metadata() metav1.ListMetaPtrOutput
- func (o PodDisruptionBudgetListTypeOutput) ToPodDisruptionBudgetListTypeOutput() PodDisruptionBudgetListTypeOutput
- func (o PodDisruptionBudgetListTypeOutput) ToPodDisruptionBudgetListTypeOutputWithContext(ctx context.Context) PodDisruptionBudgetListTypeOutput
- type PodDisruptionBudgetMap
- type PodDisruptionBudgetMapInput
- type PodDisruptionBudgetMapOutput
- func (PodDisruptionBudgetMapOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetMapOutput) MapIndex(k pulumi.StringInput) PodDisruptionBudgetOutput
- func (o PodDisruptionBudgetMapOutput) ToPodDisruptionBudgetMapOutput() PodDisruptionBudgetMapOutput
- func (o PodDisruptionBudgetMapOutput) ToPodDisruptionBudgetMapOutputWithContext(ctx context.Context) PodDisruptionBudgetMapOutput
- type PodDisruptionBudgetOutput
- type PodDisruptionBudgetSpec
- type PodDisruptionBudgetSpecArgs
- func (PodDisruptionBudgetSpecArgs) ElementType() reflect.Type
- func (i PodDisruptionBudgetSpecArgs) ToPodDisruptionBudgetSpecOutput() PodDisruptionBudgetSpecOutput
- func (i PodDisruptionBudgetSpecArgs) ToPodDisruptionBudgetSpecOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecOutput
- func (i PodDisruptionBudgetSpecArgs) ToPodDisruptionBudgetSpecPtrOutput() PodDisruptionBudgetSpecPtrOutput
- func (i PodDisruptionBudgetSpecArgs) ToPodDisruptionBudgetSpecPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecPtrOutput
- type PodDisruptionBudgetSpecInput
- type PodDisruptionBudgetSpecOutput
- func (PodDisruptionBudgetSpecOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetSpecOutput) MaxUnavailable() pulumi.AnyOutput
- func (o PodDisruptionBudgetSpecOutput) MinAvailable() pulumi.AnyOutput
- func (o PodDisruptionBudgetSpecOutput) Selector() metav1.LabelSelectorPtrOutput
- func (o PodDisruptionBudgetSpecOutput) ToPodDisruptionBudgetSpecOutput() PodDisruptionBudgetSpecOutput
- func (o PodDisruptionBudgetSpecOutput) ToPodDisruptionBudgetSpecOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecOutput
- func (o PodDisruptionBudgetSpecOutput) ToPodDisruptionBudgetSpecPtrOutput() PodDisruptionBudgetSpecPtrOutput
- func (o PodDisruptionBudgetSpecOutput) ToPodDisruptionBudgetSpecPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecPtrOutput
- type PodDisruptionBudgetSpecPtrInput
- type PodDisruptionBudgetSpecPtrOutput
- func (o PodDisruptionBudgetSpecPtrOutput) Elem() PodDisruptionBudgetSpecOutput
- func (PodDisruptionBudgetSpecPtrOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetSpecPtrOutput) MaxUnavailable() pulumi.AnyOutput
- func (o PodDisruptionBudgetSpecPtrOutput) MinAvailable() pulumi.AnyOutput
- func (o PodDisruptionBudgetSpecPtrOutput) Selector() metav1.LabelSelectorPtrOutput
- func (o PodDisruptionBudgetSpecPtrOutput) ToPodDisruptionBudgetSpecPtrOutput() PodDisruptionBudgetSpecPtrOutput
- func (o PodDisruptionBudgetSpecPtrOutput) ToPodDisruptionBudgetSpecPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecPtrOutput
- type PodDisruptionBudgetState
- type PodDisruptionBudgetStatus
- type PodDisruptionBudgetStatusArgs
- func (PodDisruptionBudgetStatusArgs) ElementType() reflect.Type
- func (i PodDisruptionBudgetStatusArgs) ToPodDisruptionBudgetStatusOutput() PodDisruptionBudgetStatusOutput
- func (i PodDisruptionBudgetStatusArgs) ToPodDisruptionBudgetStatusOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusOutput
- func (i PodDisruptionBudgetStatusArgs) ToPodDisruptionBudgetStatusPtrOutput() PodDisruptionBudgetStatusPtrOutput
- func (i PodDisruptionBudgetStatusArgs) ToPodDisruptionBudgetStatusPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusPtrOutput
- type PodDisruptionBudgetStatusInput
- type PodDisruptionBudgetStatusOutput
- func (o PodDisruptionBudgetStatusOutput) Conditions() metav1.ConditionArrayOutput
- func (o PodDisruptionBudgetStatusOutput) CurrentHealthy() pulumi.IntOutput
- func (o PodDisruptionBudgetStatusOutput) DesiredHealthy() pulumi.IntOutput
- func (o PodDisruptionBudgetStatusOutput) DisruptedPods() pulumi.StringMapOutput
- func (o PodDisruptionBudgetStatusOutput) DisruptionsAllowed() pulumi.IntOutput
- func (PodDisruptionBudgetStatusOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetStatusOutput) ExpectedPods() pulumi.IntOutput
- func (o PodDisruptionBudgetStatusOutput) ObservedGeneration() pulumi.IntPtrOutput
- func (o PodDisruptionBudgetStatusOutput) ToPodDisruptionBudgetStatusOutput() PodDisruptionBudgetStatusOutput
- func (o PodDisruptionBudgetStatusOutput) ToPodDisruptionBudgetStatusOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusOutput
- func (o PodDisruptionBudgetStatusOutput) ToPodDisruptionBudgetStatusPtrOutput() PodDisruptionBudgetStatusPtrOutput
- func (o PodDisruptionBudgetStatusOutput) ToPodDisruptionBudgetStatusPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusPtrOutput
- type PodDisruptionBudgetStatusPtrInput
- type PodDisruptionBudgetStatusPtrOutput
- func (o PodDisruptionBudgetStatusPtrOutput) Conditions() metav1.ConditionArrayOutput
- func (o PodDisruptionBudgetStatusPtrOutput) CurrentHealthy() pulumi.IntPtrOutput
- func (o PodDisruptionBudgetStatusPtrOutput) DesiredHealthy() pulumi.IntPtrOutput
- func (o PodDisruptionBudgetStatusPtrOutput) DisruptedPods() pulumi.StringMapOutput
- func (o PodDisruptionBudgetStatusPtrOutput) DisruptionsAllowed() pulumi.IntPtrOutput
- func (o PodDisruptionBudgetStatusPtrOutput) Elem() PodDisruptionBudgetStatusOutput
- func (PodDisruptionBudgetStatusPtrOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetStatusPtrOutput) ExpectedPods() pulumi.IntPtrOutput
- func (o PodDisruptionBudgetStatusPtrOutput) ObservedGeneration() pulumi.IntPtrOutput
- func (o PodDisruptionBudgetStatusPtrOutput) ToPodDisruptionBudgetStatusPtrOutput() PodDisruptionBudgetStatusPtrOutput
- func (o PodDisruptionBudgetStatusPtrOutput) ToPodDisruptionBudgetStatusPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusPtrOutput
- type PodDisruptionBudgetType
- type PodDisruptionBudgetTypeArgs
- type PodDisruptionBudgetTypeArray
- func (PodDisruptionBudgetTypeArray) ElementType() reflect.Type
- func (i PodDisruptionBudgetTypeArray) ToPodDisruptionBudgetTypeArrayOutput() PodDisruptionBudgetTypeArrayOutput
- func (i PodDisruptionBudgetTypeArray) ToPodDisruptionBudgetTypeArrayOutputWithContext(ctx context.Context) PodDisruptionBudgetTypeArrayOutput
- type PodDisruptionBudgetTypeArrayInput
- type PodDisruptionBudgetTypeArrayOutput
- func (PodDisruptionBudgetTypeArrayOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetTypeArrayOutput) Index(i pulumi.IntInput) PodDisruptionBudgetTypeOutput
- func (o PodDisruptionBudgetTypeArrayOutput) ToPodDisruptionBudgetTypeArrayOutput() PodDisruptionBudgetTypeArrayOutput
- func (o PodDisruptionBudgetTypeArrayOutput) ToPodDisruptionBudgetTypeArrayOutputWithContext(ctx context.Context) PodDisruptionBudgetTypeArrayOutput
- type PodDisruptionBudgetTypeInput
- type PodDisruptionBudgetTypeOutput
- func (o PodDisruptionBudgetTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (PodDisruptionBudgetTypeOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetTypeOutput) Kind() pulumi.StringPtrOutput
- func (o PodDisruptionBudgetTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o PodDisruptionBudgetTypeOutput) Spec() PodDisruptionBudgetSpecPtrOutput
- func (o PodDisruptionBudgetTypeOutput) Status() PodDisruptionBudgetStatusPtrOutput
- func (o PodDisruptionBudgetTypeOutput) ToPodDisruptionBudgetTypeOutput() PodDisruptionBudgetTypeOutput
- func (o PodDisruptionBudgetTypeOutput) ToPodDisruptionBudgetTypeOutputWithContext(ctx context.Context) PodDisruptionBudgetTypeOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Eviction ¶ added in v3.6.0
type Eviction struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `pulumi:"apiVersion"` // DeleteOptions may be provided DeleteOptions *metav1.DeleteOptions `pulumi:"deleteOptions"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `pulumi:"kind"` // ObjectMeta describes the pod that is being evicted. Metadata *metav1.ObjectMeta `pulumi:"metadata"` }
Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/<pod name>/evictions.
type EvictionArgs ¶ added in v3.6.0
type EvictionArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"` // DeleteOptions may be provided DeleteOptions metav1.DeleteOptionsPtrInput `pulumi:"deleteOptions"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput `pulumi:"kind"` // ObjectMeta describes the pod that is being evicted. Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"` }
Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/<pod name>/evictions.
func (EvictionArgs) ElementType ¶ added in v3.6.0
func (EvictionArgs) ElementType() reflect.Type
func (EvictionArgs) ToEvictionOutput ¶ added in v3.6.0
func (i EvictionArgs) ToEvictionOutput() EvictionOutput
func (EvictionArgs) ToEvictionOutputWithContext ¶ added in v3.6.0
func (i EvictionArgs) ToEvictionOutputWithContext(ctx context.Context) EvictionOutput
type EvictionInput ¶ added in v3.6.0
type EvictionInput interface { pulumi.Input ToEvictionOutput() EvictionOutput ToEvictionOutputWithContext(context.Context) EvictionOutput }
EvictionInput is an input type that accepts EvictionArgs and EvictionOutput values. You can construct a concrete instance of `EvictionInput` via:
EvictionArgs{...}
type EvictionOutput ¶ added in v3.6.0
type EvictionOutput struct{ *pulumi.OutputState }
Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/<pod name>/evictions.
func (EvictionOutput) ApiVersion ¶ added in v3.6.0
func (o EvictionOutput) ApiVersion() pulumi.StringPtrOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (EvictionOutput) DeleteOptions ¶ added in v3.6.0
func (o EvictionOutput) DeleteOptions() metav1.DeleteOptionsPtrOutput
DeleteOptions may be provided
func (EvictionOutput) ElementType ¶ added in v3.6.0
func (EvictionOutput) ElementType() reflect.Type
func (EvictionOutput) Kind ¶ added in v3.6.0
func (o EvictionOutput) Kind() pulumi.StringPtrOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (EvictionOutput) Metadata ¶ added in v3.6.0
func (o EvictionOutput) Metadata() metav1.ObjectMetaPtrOutput
ObjectMeta describes the pod that is being evicted.
func (EvictionOutput) ToEvictionOutput ¶ added in v3.6.0
func (o EvictionOutput) ToEvictionOutput() EvictionOutput
func (EvictionOutput) ToEvictionOutputWithContext ¶ added in v3.6.0
func (o EvictionOutput) ToEvictionOutputWithContext(ctx context.Context) EvictionOutput
type PodDisruptionBudget ¶
type PodDisruptionBudget struct { pulumi.CustomResourceState // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrOutput `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPtrOutput `pulumi:"metadata"` // Specification of the desired behavior of the PodDisruptionBudget. Spec PodDisruptionBudgetSpecPtrOutput `pulumi:"spec"` // Most recently observed status of the PodDisruptionBudget. Status PodDisruptionBudgetStatusPtrOutput `pulumi:"status"` }
PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
func GetPodDisruptionBudget ¶
func GetPodDisruptionBudget(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PodDisruptionBudgetState, opts ...pulumi.ResourceOption) (*PodDisruptionBudget, error)
GetPodDisruptionBudget gets an existing PodDisruptionBudget resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewPodDisruptionBudget ¶
func NewPodDisruptionBudget(ctx *pulumi.Context, name string, args *PodDisruptionBudgetArgs, opts ...pulumi.ResourceOption) (*PodDisruptionBudget, error)
NewPodDisruptionBudget registers a new resource with the given unique name, arguments, and options.
func (*PodDisruptionBudget) ElementType ¶
func (*PodDisruptionBudget) ElementType() reflect.Type
func (*PodDisruptionBudget) ToPodDisruptionBudgetOutput ¶
func (i *PodDisruptionBudget) ToPodDisruptionBudgetOutput() PodDisruptionBudgetOutput
func (*PodDisruptionBudget) ToPodDisruptionBudgetOutputWithContext ¶
func (i *PodDisruptionBudget) ToPodDisruptionBudgetOutputWithContext(ctx context.Context) PodDisruptionBudgetOutput
type PodDisruptionBudgetArgs ¶
type PodDisruptionBudgetArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPtrInput // Specification of the desired behavior of the PodDisruptionBudget. Spec PodDisruptionBudgetSpecPtrInput }
The set of arguments for constructing a PodDisruptionBudget resource.
func (PodDisruptionBudgetArgs) ElementType ¶
func (PodDisruptionBudgetArgs) ElementType() reflect.Type
type PodDisruptionBudgetArray ¶
type PodDisruptionBudgetArray []PodDisruptionBudgetInput
func (PodDisruptionBudgetArray) ElementType ¶
func (PodDisruptionBudgetArray) ElementType() reflect.Type
func (PodDisruptionBudgetArray) ToPodDisruptionBudgetArrayOutput ¶
func (i PodDisruptionBudgetArray) ToPodDisruptionBudgetArrayOutput() PodDisruptionBudgetArrayOutput
func (PodDisruptionBudgetArray) ToPodDisruptionBudgetArrayOutputWithContext ¶
func (i PodDisruptionBudgetArray) ToPodDisruptionBudgetArrayOutputWithContext(ctx context.Context) PodDisruptionBudgetArrayOutput
type PodDisruptionBudgetArrayInput ¶
type PodDisruptionBudgetArrayInput interface { pulumi.Input ToPodDisruptionBudgetArrayOutput() PodDisruptionBudgetArrayOutput ToPodDisruptionBudgetArrayOutputWithContext(context.Context) PodDisruptionBudgetArrayOutput }
PodDisruptionBudgetArrayInput is an input type that accepts PodDisruptionBudgetArray and PodDisruptionBudgetArrayOutput values. You can construct a concrete instance of `PodDisruptionBudgetArrayInput` via:
PodDisruptionBudgetArray{ PodDisruptionBudgetArgs{...} }
type PodDisruptionBudgetArrayOutput ¶
type PodDisruptionBudgetArrayOutput struct{ *pulumi.OutputState }
func (PodDisruptionBudgetArrayOutput) ElementType ¶
func (PodDisruptionBudgetArrayOutput) ElementType() reflect.Type
func (PodDisruptionBudgetArrayOutput) Index ¶
func (o PodDisruptionBudgetArrayOutput) Index(i pulumi.IntInput) PodDisruptionBudgetOutput
func (PodDisruptionBudgetArrayOutput) ToPodDisruptionBudgetArrayOutput ¶
func (o PodDisruptionBudgetArrayOutput) ToPodDisruptionBudgetArrayOutput() PodDisruptionBudgetArrayOutput
func (PodDisruptionBudgetArrayOutput) ToPodDisruptionBudgetArrayOutputWithContext ¶
func (o PodDisruptionBudgetArrayOutput) ToPodDisruptionBudgetArrayOutputWithContext(ctx context.Context) PodDisruptionBudgetArrayOutput
type PodDisruptionBudgetInput ¶
type PodDisruptionBudgetInput interface { pulumi.Input ToPodDisruptionBudgetOutput() PodDisruptionBudgetOutput ToPodDisruptionBudgetOutputWithContext(ctx context.Context) PodDisruptionBudgetOutput }
type PodDisruptionBudgetList ¶
type PodDisruptionBudgetList struct { pulumi.CustomResourceState // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"` // Items is a list of PodDisruptionBudgets Items PodDisruptionBudgetTypeArrayOutput `pulumi:"items"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrOutput `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ListMetaPtrOutput `pulumi:"metadata"` }
PodDisruptionBudgetList is a collection of PodDisruptionBudgets.
func GetPodDisruptionBudgetList ¶
func GetPodDisruptionBudgetList(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PodDisruptionBudgetListState, opts ...pulumi.ResourceOption) (*PodDisruptionBudgetList, error)
GetPodDisruptionBudgetList gets an existing PodDisruptionBudgetList resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewPodDisruptionBudgetList ¶
func NewPodDisruptionBudgetList(ctx *pulumi.Context, name string, args *PodDisruptionBudgetListArgs, opts ...pulumi.ResourceOption) (*PodDisruptionBudgetList, error)
NewPodDisruptionBudgetList registers a new resource with the given unique name, arguments, and options.
func (*PodDisruptionBudgetList) ElementType ¶
func (*PodDisruptionBudgetList) ElementType() reflect.Type
func (*PodDisruptionBudgetList) ToPodDisruptionBudgetListOutput ¶
func (i *PodDisruptionBudgetList) ToPodDisruptionBudgetListOutput() PodDisruptionBudgetListOutput
func (*PodDisruptionBudgetList) ToPodDisruptionBudgetListOutputWithContext ¶
func (i *PodDisruptionBudgetList) ToPodDisruptionBudgetListOutputWithContext(ctx context.Context) PodDisruptionBudgetListOutput
type PodDisruptionBudgetListArgs ¶
type PodDisruptionBudgetListArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput // Items is a list of PodDisruptionBudgets Items PodDisruptionBudgetTypeArrayInput // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ListMetaPtrInput }
The set of arguments for constructing a PodDisruptionBudgetList resource.
func (PodDisruptionBudgetListArgs) ElementType ¶
func (PodDisruptionBudgetListArgs) ElementType() reflect.Type
type PodDisruptionBudgetListArray ¶
type PodDisruptionBudgetListArray []PodDisruptionBudgetListInput
func (PodDisruptionBudgetListArray) ElementType ¶
func (PodDisruptionBudgetListArray) ElementType() reflect.Type
func (PodDisruptionBudgetListArray) ToPodDisruptionBudgetListArrayOutput ¶
func (i PodDisruptionBudgetListArray) ToPodDisruptionBudgetListArrayOutput() PodDisruptionBudgetListArrayOutput
func (PodDisruptionBudgetListArray) ToPodDisruptionBudgetListArrayOutputWithContext ¶
func (i PodDisruptionBudgetListArray) ToPodDisruptionBudgetListArrayOutputWithContext(ctx context.Context) PodDisruptionBudgetListArrayOutput
type PodDisruptionBudgetListArrayInput ¶
type PodDisruptionBudgetListArrayInput interface { pulumi.Input ToPodDisruptionBudgetListArrayOutput() PodDisruptionBudgetListArrayOutput ToPodDisruptionBudgetListArrayOutputWithContext(context.Context) PodDisruptionBudgetListArrayOutput }
PodDisruptionBudgetListArrayInput is an input type that accepts PodDisruptionBudgetListArray and PodDisruptionBudgetListArrayOutput values. You can construct a concrete instance of `PodDisruptionBudgetListArrayInput` via:
PodDisruptionBudgetListArray{ PodDisruptionBudgetListArgs{...} }
type PodDisruptionBudgetListArrayOutput ¶
type PodDisruptionBudgetListArrayOutput struct{ *pulumi.OutputState }
func (PodDisruptionBudgetListArrayOutput) ElementType ¶
func (PodDisruptionBudgetListArrayOutput) ElementType() reflect.Type
func (PodDisruptionBudgetListArrayOutput) Index ¶
func (o PodDisruptionBudgetListArrayOutput) Index(i pulumi.IntInput) PodDisruptionBudgetListOutput
func (PodDisruptionBudgetListArrayOutput) ToPodDisruptionBudgetListArrayOutput ¶
func (o PodDisruptionBudgetListArrayOutput) ToPodDisruptionBudgetListArrayOutput() PodDisruptionBudgetListArrayOutput
func (PodDisruptionBudgetListArrayOutput) ToPodDisruptionBudgetListArrayOutputWithContext ¶
func (o PodDisruptionBudgetListArrayOutput) ToPodDisruptionBudgetListArrayOutputWithContext(ctx context.Context) PodDisruptionBudgetListArrayOutput
type PodDisruptionBudgetListInput ¶
type PodDisruptionBudgetListInput interface { pulumi.Input ToPodDisruptionBudgetListOutput() PodDisruptionBudgetListOutput ToPodDisruptionBudgetListOutputWithContext(ctx context.Context) PodDisruptionBudgetListOutput }
type PodDisruptionBudgetListMap ¶
type PodDisruptionBudgetListMap map[string]PodDisruptionBudgetListInput
func (PodDisruptionBudgetListMap) ElementType ¶
func (PodDisruptionBudgetListMap) ElementType() reflect.Type
func (PodDisruptionBudgetListMap) ToPodDisruptionBudgetListMapOutput ¶
func (i PodDisruptionBudgetListMap) ToPodDisruptionBudgetListMapOutput() PodDisruptionBudgetListMapOutput
func (PodDisruptionBudgetListMap) ToPodDisruptionBudgetListMapOutputWithContext ¶
func (i PodDisruptionBudgetListMap) ToPodDisruptionBudgetListMapOutputWithContext(ctx context.Context) PodDisruptionBudgetListMapOutput
type PodDisruptionBudgetListMapInput ¶
type PodDisruptionBudgetListMapInput interface { pulumi.Input ToPodDisruptionBudgetListMapOutput() PodDisruptionBudgetListMapOutput ToPodDisruptionBudgetListMapOutputWithContext(context.Context) PodDisruptionBudgetListMapOutput }
PodDisruptionBudgetListMapInput is an input type that accepts PodDisruptionBudgetListMap and PodDisruptionBudgetListMapOutput values. You can construct a concrete instance of `PodDisruptionBudgetListMapInput` via:
PodDisruptionBudgetListMap{ "key": PodDisruptionBudgetListArgs{...} }
type PodDisruptionBudgetListMapOutput ¶
type PodDisruptionBudgetListMapOutput struct{ *pulumi.OutputState }
func (PodDisruptionBudgetListMapOutput) ElementType ¶
func (PodDisruptionBudgetListMapOutput) ElementType() reflect.Type
func (PodDisruptionBudgetListMapOutput) MapIndex ¶
func (o PodDisruptionBudgetListMapOutput) MapIndex(k pulumi.StringInput) PodDisruptionBudgetListOutput
func (PodDisruptionBudgetListMapOutput) ToPodDisruptionBudgetListMapOutput ¶
func (o PodDisruptionBudgetListMapOutput) ToPodDisruptionBudgetListMapOutput() PodDisruptionBudgetListMapOutput
func (PodDisruptionBudgetListMapOutput) ToPodDisruptionBudgetListMapOutputWithContext ¶
func (o PodDisruptionBudgetListMapOutput) ToPodDisruptionBudgetListMapOutputWithContext(ctx context.Context) PodDisruptionBudgetListMapOutput
type PodDisruptionBudgetListOutput ¶
type PodDisruptionBudgetListOutput struct{ *pulumi.OutputState }
func (PodDisruptionBudgetListOutput) ElementType ¶
func (PodDisruptionBudgetListOutput) ElementType() reflect.Type
func (PodDisruptionBudgetListOutput) ToPodDisruptionBudgetListOutput ¶
func (o PodDisruptionBudgetListOutput) ToPodDisruptionBudgetListOutput() PodDisruptionBudgetListOutput
func (PodDisruptionBudgetListOutput) ToPodDisruptionBudgetListOutputWithContext ¶
func (o PodDisruptionBudgetListOutput) ToPodDisruptionBudgetListOutputWithContext(ctx context.Context) PodDisruptionBudgetListOutput
type PodDisruptionBudgetListState ¶
type PodDisruptionBudgetListState struct { }
func (PodDisruptionBudgetListState) ElementType ¶
func (PodDisruptionBudgetListState) ElementType() reflect.Type
type PodDisruptionBudgetListType ¶
type PodDisruptionBudgetListType struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `pulumi:"apiVersion"` // Items is a list of PodDisruptionBudgets Items []PodDisruptionBudgetType `pulumi:"items"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata *metav1.ListMeta `pulumi:"metadata"` }
PodDisruptionBudgetList is a collection of PodDisruptionBudgets.
type PodDisruptionBudgetListTypeArgs ¶
type PodDisruptionBudgetListTypeArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"` // Items is a list of PodDisruptionBudgets Items PodDisruptionBudgetTypeArrayInput `pulumi:"items"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ListMetaPtrInput `pulumi:"metadata"` }
PodDisruptionBudgetList is a collection of PodDisruptionBudgets.
func (PodDisruptionBudgetListTypeArgs) ElementType ¶
func (PodDisruptionBudgetListTypeArgs) ElementType() reflect.Type
func (PodDisruptionBudgetListTypeArgs) ToPodDisruptionBudgetListTypeOutput ¶
func (i PodDisruptionBudgetListTypeArgs) ToPodDisruptionBudgetListTypeOutput() PodDisruptionBudgetListTypeOutput
func (PodDisruptionBudgetListTypeArgs) ToPodDisruptionBudgetListTypeOutputWithContext ¶
func (i PodDisruptionBudgetListTypeArgs) ToPodDisruptionBudgetListTypeOutputWithContext(ctx context.Context) PodDisruptionBudgetListTypeOutput
type PodDisruptionBudgetListTypeInput ¶
type PodDisruptionBudgetListTypeInput interface { pulumi.Input ToPodDisruptionBudgetListTypeOutput() PodDisruptionBudgetListTypeOutput ToPodDisruptionBudgetListTypeOutputWithContext(context.Context) PodDisruptionBudgetListTypeOutput }
PodDisruptionBudgetListTypeInput is an input type that accepts PodDisruptionBudgetListTypeArgs and PodDisruptionBudgetListTypeOutput values. You can construct a concrete instance of `PodDisruptionBudgetListTypeInput` via:
PodDisruptionBudgetListTypeArgs{...}
type PodDisruptionBudgetListTypeOutput ¶
type PodDisruptionBudgetListTypeOutput struct{ *pulumi.OutputState }
PodDisruptionBudgetList is a collection of PodDisruptionBudgets.
func (PodDisruptionBudgetListTypeOutput) ApiVersion ¶
func (o PodDisruptionBudgetListTypeOutput) ApiVersion() pulumi.StringPtrOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (PodDisruptionBudgetListTypeOutput) ElementType ¶
func (PodDisruptionBudgetListTypeOutput) ElementType() reflect.Type
func (PodDisruptionBudgetListTypeOutput) Items ¶
func (o PodDisruptionBudgetListTypeOutput) Items() PodDisruptionBudgetTypeArrayOutput
Items is a list of PodDisruptionBudgets
func (PodDisruptionBudgetListTypeOutput) Kind ¶
func (o PodDisruptionBudgetListTypeOutput) Kind() pulumi.StringPtrOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (PodDisruptionBudgetListTypeOutput) Metadata ¶
func (o PodDisruptionBudgetListTypeOutput) Metadata() metav1.ListMetaPtrOutput
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (PodDisruptionBudgetListTypeOutput) ToPodDisruptionBudgetListTypeOutput ¶
func (o PodDisruptionBudgetListTypeOutput) ToPodDisruptionBudgetListTypeOutput() PodDisruptionBudgetListTypeOutput
func (PodDisruptionBudgetListTypeOutput) ToPodDisruptionBudgetListTypeOutputWithContext ¶
func (o PodDisruptionBudgetListTypeOutput) ToPodDisruptionBudgetListTypeOutputWithContext(ctx context.Context) PodDisruptionBudgetListTypeOutput
type PodDisruptionBudgetMap ¶
type PodDisruptionBudgetMap map[string]PodDisruptionBudgetInput
func (PodDisruptionBudgetMap) ElementType ¶
func (PodDisruptionBudgetMap) ElementType() reflect.Type
func (PodDisruptionBudgetMap) ToPodDisruptionBudgetMapOutput ¶
func (i PodDisruptionBudgetMap) ToPodDisruptionBudgetMapOutput() PodDisruptionBudgetMapOutput
func (PodDisruptionBudgetMap) ToPodDisruptionBudgetMapOutputWithContext ¶
func (i PodDisruptionBudgetMap) ToPodDisruptionBudgetMapOutputWithContext(ctx context.Context) PodDisruptionBudgetMapOutput
type PodDisruptionBudgetMapInput ¶
type PodDisruptionBudgetMapInput interface { pulumi.Input ToPodDisruptionBudgetMapOutput() PodDisruptionBudgetMapOutput ToPodDisruptionBudgetMapOutputWithContext(context.Context) PodDisruptionBudgetMapOutput }
PodDisruptionBudgetMapInput is an input type that accepts PodDisruptionBudgetMap and PodDisruptionBudgetMapOutput values. You can construct a concrete instance of `PodDisruptionBudgetMapInput` via:
PodDisruptionBudgetMap{ "key": PodDisruptionBudgetArgs{...} }
type PodDisruptionBudgetMapOutput ¶
type PodDisruptionBudgetMapOutput struct{ *pulumi.OutputState }
func (PodDisruptionBudgetMapOutput) ElementType ¶
func (PodDisruptionBudgetMapOutput) ElementType() reflect.Type
func (PodDisruptionBudgetMapOutput) MapIndex ¶
func (o PodDisruptionBudgetMapOutput) MapIndex(k pulumi.StringInput) PodDisruptionBudgetOutput
func (PodDisruptionBudgetMapOutput) ToPodDisruptionBudgetMapOutput ¶
func (o PodDisruptionBudgetMapOutput) ToPodDisruptionBudgetMapOutput() PodDisruptionBudgetMapOutput
func (PodDisruptionBudgetMapOutput) ToPodDisruptionBudgetMapOutputWithContext ¶
func (o PodDisruptionBudgetMapOutput) ToPodDisruptionBudgetMapOutputWithContext(ctx context.Context) PodDisruptionBudgetMapOutput
type PodDisruptionBudgetOutput ¶
type PodDisruptionBudgetOutput struct{ *pulumi.OutputState }
func (PodDisruptionBudgetOutput) ElementType ¶
func (PodDisruptionBudgetOutput) ElementType() reflect.Type
func (PodDisruptionBudgetOutput) ToPodDisruptionBudgetOutput ¶
func (o PodDisruptionBudgetOutput) ToPodDisruptionBudgetOutput() PodDisruptionBudgetOutput
func (PodDisruptionBudgetOutput) ToPodDisruptionBudgetOutputWithContext ¶
func (o PodDisruptionBudgetOutput) ToPodDisruptionBudgetOutputWithContext(ctx context.Context) PodDisruptionBudgetOutput
type PodDisruptionBudgetSpec ¶
type PodDisruptionBudgetSpec struct { // An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". MinAvailable interface{} `pulumi:"minAvailable"` // Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace. Selector *metav1.LabelSelector `pulumi:"selector"` }MaxUnavailable interface{} `pulumi:"maxUnavailable"`
PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.
type PodDisruptionBudgetSpecArgs ¶
type PodDisruptionBudgetSpecArgs struct { pulumi.Input `pulumi:"maxUnavailable"` // An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". MinAvailable pulumi.Input `pulumi:"minAvailable"` // Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace. Selector metav1.LabelSelectorPtrInput `pulumi:"selector"` }MaxUnavailable
PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.
func (PodDisruptionBudgetSpecArgs) ElementType ¶
func (PodDisruptionBudgetSpecArgs) ElementType() reflect.Type
func (PodDisruptionBudgetSpecArgs) ToPodDisruptionBudgetSpecOutput ¶
func (i PodDisruptionBudgetSpecArgs) ToPodDisruptionBudgetSpecOutput() PodDisruptionBudgetSpecOutput
func (PodDisruptionBudgetSpecArgs) ToPodDisruptionBudgetSpecOutputWithContext ¶
func (i PodDisruptionBudgetSpecArgs) ToPodDisruptionBudgetSpecOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecOutput
func (PodDisruptionBudgetSpecArgs) ToPodDisruptionBudgetSpecPtrOutput ¶
func (i PodDisruptionBudgetSpecArgs) ToPodDisruptionBudgetSpecPtrOutput() PodDisruptionBudgetSpecPtrOutput
func (PodDisruptionBudgetSpecArgs) ToPodDisruptionBudgetSpecPtrOutputWithContext ¶
func (i PodDisruptionBudgetSpecArgs) ToPodDisruptionBudgetSpecPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecPtrOutput
type PodDisruptionBudgetSpecInput ¶
type PodDisruptionBudgetSpecInput interface { pulumi.Input ToPodDisruptionBudgetSpecOutput() PodDisruptionBudgetSpecOutput ToPodDisruptionBudgetSpecOutputWithContext(context.Context) PodDisruptionBudgetSpecOutput }
PodDisruptionBudgetSpecInput is an input type that accepts PodDisruptionBudgetSpecArgs and PodDisruptionBudgetSpecOutput values. You can construct a concrete instance of `PodDisruptionBudgetSpecInput` via:
PodDisruptionBudgetSpecArgs{...}
type PodDisruptionBudgetSpecOutput ¶
type PodDisruptionBudgetSpecOutput struct{ *pulumi.OutputState }
PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.
func (PodDisruptionBudgetSpecOutput) ElementType ¶
func (PodDisruptionBudgetSpecOutput) ElementType() reflect.Type
func (PodDisruptionBudgetSpecOutput) MaxUnavailable ¶
func (o PodDisruptionBudgetSpecOutput) MaxUnavailable() pulumi.AnyOutput
An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable".
func (PodDisruptionBudgetSpecOutput) MinAvailable ¶
func (o PodDisruptionBudgetSpecOutput) MinAvailable() pulumi.AnyOutput
An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%".
func (PodDisruptionBudgetSpecOutput) Selector ¶
func (o PodDisruptionBudgetSpecOutput) Selector() metav1.LabelSelectorPtrOutput
Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace.
func (PodDisruptionBudgetSpecOutput) ToPodDisruptionBudgetSpecOutput ¶
func (o PodDisruptionBudgetSpecOutput) ToPodDisruptionBudgetSpecOutput() PodDisruptionBudgetSpecOutput
func (PodDisruptionBudgetSpecOutput) ToPodDisruptionBudgetSpecOutputWithContext ¶
func (o PodDisruptionBudgetSpecOutput) ToPodDisruptionBudgetSpecOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecOutput
func (PodDisruptionBudgetSpecOutput) ToPodDisruptionBudgetSpecPtrOutput ¶
func (o PodDisruptionBudgetSpecOutput) ToPodDisruptionBudgetSpecPtrOutput() PodDisruptionBudgetSpecPtrOutput
func (PodDisruptionBudgetSpecOutput) ToPodDisruptionBudgetSpecPtrOutputWithContext ¶
func (o PodDisruptionBudgetSpecOutput) ToPodDisruptionBudgetSpecPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecPtrOutput
type PodDisruptionBudgetSpecPtrInput ¶
type PodDisruptionBudgetSpecPtrInput interface { pulumi.Input ToPodDisruptionBudgetSpecPtrOutput() PodDisruptionBudgetSpecPtrOutput ToPodDisruptionBudgetSpecPtrOutputWithContext(context.Context) PodDisruptionBudgetSpecPtrOutput }
PodDisruptionBudgetSpecPtrInput is an input type that accepts PodDisruptionBudgetSpecArgs, PodDisruptionBudgetSpecPtr and PodDisruptionBudgetSpecPtrOutput values. You can construct a concrete instance of `PodDisruptionBudgetSpecPtrInput` via:
PodDisruptionBudgetSpecArgs{...} or: nil
func PodDisruptionBudgetSpecPtr ¶
func PodDisruptionBudgetSpecPtr(v *PodDisruptionBudgetSpecArgs) PodDisruptionBudgetSpecPtrInput
type PodDisruptionBudgetSpecPtrOutput ¶
type PodDisruptionBudgetSpecPtrOutput struct{ *pulumi.OutputState }
func (PodDisruptionBudgetSpecPtrOutput) Elem ¶
func (o PodDisruptionBudgetSpecPtrOutput) Elem() PodDisruptionBudgetSpecOutput
func (PodDisruptionBudgetSpecPtrOutput) ElementType ¶
func (PodDisruptionBudgetSpecPtrOutput) ElementType() reflect.Type
func (PodDisruptionBudgetSpecPtrOutput) MaxUnavailable ¶
func (o PodDisruptionBudgetSpecPtrOutput) MaxUnavailable() pulumi.AnyOutput
An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable".
func (PodDisruptionBudgetSpecPtrOutput) MinAvailable ¶
func (o PodDisruptionBudgetSpecPtrOutput) MinAvailable() pulumi.AnyOutput
An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%".
func (PodDisruptionBudgetSpecPtrOutput) Selector ¶
func (o PodDisruptionBudgetSpecPtrOutput) Selector() metav1.LabelSelectorPtrOutput
Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace.
func (PodDisruptionBudgetSpecPtrOutput) ToPodDisruptionBudgetSpecPtrOutput ¶
func (o PodDisruptionBudgetSpecPtrOutput) ToPodDisruptionBudgetSpecPtrOutput() PodDisruptionBudgetSpecPtrOutput
func (PodDisruptionBudgetSpecPtrOutput) ToPodDisruptionBudgetSpecPtrOutputWithContext ¶
func (o PodDisruptionBudgetSpecPtrOutput) ToPodDisruptionBudgetSpecPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecPtrOutput
type PodDisruptionBudgetState ¶
type PodDisruptionBudgetState struct { }
func (PodDisruptionBudgetState) ElementType ¶
func (PodDisruptionBudgetState) ElementType() reflect.Type
type PodDisruptionBudgetStatus ¶
type PodDisruptionBudgetStatus struct { // Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute // the number of allowed disruptions. Therefore no disruptions are // allowed and the status of the condition will be False. // - InsufficientPods: The number of pods are either at or below the number // required by the PodDisruptionBudget. No disruptions are // allowed and the status of the condition will be False. // - SufficientPods: There are more pods than required by the PodDisruptionBudget. // The condition will be True, and the number of allowed // disruptions are provided by the disruptionsAllowed property. Conditions []metav1.Condition `pulumi:"conditions"` // current number of healthy pods CurrentHealthy int `pulumi:"currentHealthy"` // minimum desired number of healthy pods DesiredHealthy int `pulumi:"desiredHealthy"` // DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions. DisruptedPods map[string]string `pulumi:"disruptedPods"` // Number of pod disruptions that are currently allowed. DisruptionsAllowed int `pulumi:"disruptionsAllowed"` // total number of pods counted by this disruption budget ExpectedPods int `pulumi:"expectedPods"` // Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation. ObservedGeneration *int `pulumi:"observedGeneration"` }
PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.
type PodDisruptionBudgetStatusArgs ¶
type PodDisruptionBudgetStatusArgs struct { // Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute // the number of allowed disruptions. Therefore no disruptions are // allowed and the status of the condition will be False. // - InsufficientPods: The number of pods are either at or below the number // required by the PodDisruptionBudget. No disruptions are // allowed and the status of the condition will be False. // - SufficientPods: There are more pods than required by the PodDisruptionBudget. // The condition will be True, and the number of allowed // disruptions are provided by the disruptionsAllowed property. Conditions metav1.ConditionArrayInput `pulumi:"conditions"` // current number of healthy pods CurrentHealthy pulumi.IntInput `pulumi:"currentHealthy"` // minimum desired number of healthy pods DesiredHealthy pulumi.IntInput `pulumi:"desiredHealthy"` // DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions. DisruptedPods pulumi.StringMapInput `pulumi:"disruptedPods"` // Number of pod disruptions that are currently allowed. DisruptionsAllowed pulumi.IntInput `pulumi:"disruptionsAllowed"` // total number of pods counted by this disruption budget ExpectedPods pulumi.IntInput `pulumi:"expectedPods"` // Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation. ObservedGeneration pulumi.IntPtrInput `pulumi:"observedGeneration"` }
PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.
func (PodDisruptionBudgetStatusArgs) ElementType ¶
func (PodDisruptionBudgetStatusArgs) ElementType() reflect.Type
func (PodDisruptionBudgetStatusArgs) ToPodDisruptionBudgetStatusOutput ¶
func (i PodDisruptionBudgetStatusArgs) ToPodDisruptionBudgetStatusOutput() PodDisruptionBudgetStatusOutput
func (PodDisruptionBudgetStatusArgs) ToPodDisruptionBudgetStatusOutputWithContext ¶
func (i PodDisruptionBudgetStatusArgs) ToPodDisruptionBudgetStatusOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusOutput
func (PodDisruptionBudgetStatusArgs) ToPodDisruptionBudgetStatusPtrOutput ¶
func (i PodDisruptionBudgetStatusArgs) ToPodDisruptionBudgetStatusPtrOutput() PodDisruptionBudgetStatusPtrOutput
func (PodDisruptionBudgetStatusArgs) ToPodDisruptionBudgetStatusPtrOutputWithContext ¶
func (i PodDisruptionBudgetStatusArgs) ToPodDisruptionBudgetStatusPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusPtrOutput
type PodDisruptionBudgetStatusInput ¶
type PodDisruptionBudgetStatusInput interface { pulumi.Input ToPodDisruptionBudgetStatusOutput() PodDisruptionBudgetStatusOutput ToPodDisruptionBudgetStatusOutputWithContext(context.Context) PodDisruptionBudgetStatusOutput }
PodDisruptionBudgetStatusInput is an input type that accepts PodDisruptionBudgetStatusArgs and PodDisruptionBudgetStatusOutput values. You can construct a concrete instance of `PodDisruptionBudgetStatusInput` via:
PodDisruptionBudgetStatusArgs{...}
type PodDisruptionBudgetStatusOutput ¶
type PodDisruptionBudgetStatusOutput struct{ *pulumi.OutputState }
PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.
func (PodDisruptionBudgetStatusOutput) Conditions ¶
func (o PodDisruptionBudgetStatusOutput) Conditions() metav1.ConditionArrayOutput
Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute
the number of allowed disruptions. Therefore no disruptions are allowed and the status of the condition will be False.
- InsufficientPods: The number of pods are either at or below the number required by the PodDisruptionBudget. No disruptions are allowed and the status of the condition will be False.
- SufficientPods: There are more pods than required by the PodDisruptionBudget. The condition will be True, and the number of allowed disruptions are provided by the disruptionsAllowed property.
func (PodDisruptionBudgetStatusOutput) CurrentHealthy ¶
func (o PodDisruptionBudgetStatusOutput) CurrentHealthy() pulumi.IntOutput
current number of healthy pods
func (PodDisruptionBudgetStatusOutput) DesiredHealthy ¶
func (o PodDisruptionBudgetStatusOutput) DesiredHealthy() pulumi.IntOutput
minimum desired number of healthy pods
func (PodDisruptionBudgetStatusOutput) DisruptedPods ¶
func (o PodDisruptionBudgetStatusOutput) DisruptedPods() pulumi.StringMapOutput
DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.
func (PodDisruptionBudgetStatusOutput) DisruptionsAllowed ¶
func (o PodDisruptionBudgetStatusOutput) DisruptionsAllowed() pulumi.IntOutput
Number of pod disruptions that are currently allowed.
func (PodDisruptionBudgetStatusOutput) ElementType ¶
func (PodDisruptionBudgetStatusOutput) ElementType() reflect.Type
func (PodDisruptionBudgetStatusOutput) ExpectedPods ¶
func (o PodDisruptionBudgetStatusOutput) ExpectedPods() pulumi.IntOutput
total number of pods counted by this disruption budget
func (PodDisruptionBudgetStatusOutput) ObservedGeneration ¶
func (o PodDisruptionBudgetStatusOutput) ObservedGeneration() pulumi.IntPtrOutput
Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation.
func (PodDisruptionBudgetStatusOutput) ToPodDisruptionBudgetStatusOutput ¶
func (o PodDisruptionBudgetStatusOutput) ToPodDisruptionBudgetStatusOutput() PodDisruptionBudgetStatusOutput
func (PodDisruptionBudgetStatusOutput) ToPodDisruptionBudgetStatusOutputWithContext ¶
func (o PodDisruptionBudgetStatusOutput) ToPodDisruptionBudgetStatusOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusOutput
func (PodDisruptionBudgetStatusOutput) ToPodDisruptionBudgetStatusPtrOutput ¶
func (o PodDisruptionBudgetStatusOutput) ToPodDisruptionBudgetStatusPtrOutput() PodDisruptionBudgetStatusPtrOutput
func (PodDisruptionBudgetStatusOutput) ToPodDisruptionBudgetStatusPtrOutputWithContext ¶
func (o PodDisruptionBudgetStatusOutput) ToPodDisruptionBudgetStatusPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusPtrOutput
type PodDisruptionBudgetStatusPtrInput ¶
type PodDisruptionBudgetStatusPtrInput interface { pulumi.Input ToPodDisruptionBudgetStatusPtrOutput() PodDisruptionBudgetStatusPtrOutput ToPodDisruptionBudgetStatusPtrOutputWithContext(context.Context) PodDisruptionBudgetStatusPtrOutput }
PodDisruptionBudgetStatusPtrInput is an input type that accepts PodDisruptionBudgetStatusArgs, PodDisruptionBudgetStatusPtr and PodDisruptionBudgetStatusPtrOutput values. You can construct a concrete instance of `PodDisruptionBudgetStatusPtrInput` via:
PodDisruptionBudgetStatusArgs{...} or: nil
func PodDisruptionBudgetStatusPtr ¶
func PodDisruptionBudgetStatusPtr(v *PodDisruptionBudgetStatusArgs) PodDisruptionBudgetStatusPtrInput
type PodDisruptionBudgetStatusPtrOutput ¶
type PodDisruptionBudgetStatusPtrOutput struct{ *pulumi.OutputState }
func (PodDisruptionBudgetStatusPtrOutput) Conditions ¶
func (o PodDisruptionBudgetStatusPtrOutput) Conditions() metav1.ConditionArrayOutput
Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute
the number of allowed disruptions. Therefore no disruptions are allowed and the status of the condition will be False.
- InsufficientPods: The number of pods are either at or below the number required by the PodDisruptionBudget. No disruptions are allowed and the status of the condition will be False.
- SufficientPods: There are more pods than required by the PodDisruptionBudget. The condition will be True, and the number of allowed disruptions are provided by the disruptionsAllowed property.
func (PodDisruptionBudgetStatusPtrOutput) CurrentHealthy ¶
func (o PodDisruptionBudgetStatusPtrOutput) CurrentHealthy() pulumi.IntPtrOutput
current number of healthy pods
func (PodDisruptionBudgetStatusPtrOutput) DesiredHealthy ¶
func (o PodDisruptionBudgetStatusPtrOutput) DesiredHealthy() pulumi.IntPtrOutput
minimum desired number of healthy pods
func (PodDisruptionBudgetStatusPtrOutput) DisruptedPods ¶
func (o PodDisruptionBudgetStatusPtrOutput) DisruptedPods() pulumi.StringMapOutput
DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.
func (PodDisruptionBudgetStatusPtrOutput) DisruptionsAllowed ¶
func (o PodDisruptionBudgetStatusPtrOutput) DisruptionsAllowed() pulumi.IntPtrOutput
Number of pod disruptions that are currently allowed.
func (PodDisruptionBudgetStatusPtrOutput) Elem ¶
func (o PodDisruptionBudgetStatusPtrOutput) Elem() PodDisruptionBudgetStatusOutput
func (PodDisruptionBudgetStatusPtrOutput) ElementType ¶
func (PodDisruptionBudgetStatusPtrOutput) ElementType() reflect.Type
func (PodDisruptionBudgetStatusPtrOutput) ExpectedPods ¶
func (o PodDisruptionBudgetStatusPtrOutput) ExpectedPods() pulumi.IntPtrOutput
total number of pods counted by this disruption budget
func (PodDisruptionBudgetStatusPtrOutput) ObservedGeneration ¶
func (o PodDisruptionBudgetStatusPtrOutput) ObservedGeneration() pulumi.IntPtrOutput
Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation.
func (PodDisruptionBudgetStatusPtrOutput) ToPodDisruptionBudgetStatusPtrOutput ¶
func (o PodDisruptionBudgetStatusPtrOutput) ToPodDisruptionBudgetStatusPtrOutput() PodDisruptionBudgetStatusPtrOutput
func (PodDisruptionBudgetStatusPtrOutput) ToPodDisruptionBudgetStatusPtrOutputWithContext ¶
func (o PodDisruptionBudgetStatusPtrOutput) ToPodDisruptionBudgetStatusPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusPtrOutput
type PodDisruptionBudgetType ¶
type PodDisruptionBudgetType struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata *metav1.ObjectMeta `pulumi:"metadata"` // Specification of the desired behavior of the PodDisruptionBudget. Spec *PodDisruptionBudgetSpec `pulumi:"spec"` // Most recently observed status of the PodDisruptionBudget. Status *PodDisruptionBudgetStatus `pulumi:"status"` }
PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
type PodDisruptionBudgetTypeArgs ¶
type PodDisruptionBudgetTypeArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"` // Specification of the desired behavior of the PodDisruptionBudget. Spec PodDisruptionBudgetSpecPtrInput `pulumi:"spec"` // Most recently observed status of the PodDisruptionBudget. Status PodDisruptionBudgetStatusPtrInput `pulumi:"status"` }
PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
func (PodDisruptionBudgetTypeArgs) ElementType ¶
func (PodDisruptionBudgetTypeArgs) ElementType() reflect.Type
func (PodDisruptionBudgetTypeArgs) ToPodDisruptionBudgetTypeOutput ¶
func (i PodDisruptionBudgetTypeArgs) ToPodDisruptionBudgetTypeOutput() PodDisruptionBudgetTypeOutput
func (PodDisruptionBudgetTypeArgs) ToPodDisruptionBudgetTypeOutputWithContext ¶
func (i PodDisruptionBudgetTypeArgs) ToPodDisruptionBudgetTypeOutputWithContext(ctx context.Context) PodDisruptionBudgetTypeOutput
type PodDisruptionBudgetTypeArray ¶
type PodDisruptionBudgetTypeArray []PodDisruptionBudgetTypeInput
func (PodDisruptionBudgetTypeArray) ElementType ¶
func (PodDisruptionBudgetTypeArray) ElementType() reflect.Type
func (PodDisruptionBudgetTypeArray) ToPodDisruptionBudgetTypeArrayOutput ¶
func (i PodDisruptionBudgetTypeArray) ToPodDisruptionBudgetTypeArrayOutput() PodDisruptionBudgetTypeArrayOutput
func (PodDisruptionBudgetTypeArray) ToPodDisruptionBudgetTypeArrayOutputWithContext ¶
func (i PodDisruptionBudgetTypeArray) ToPodDisruptionBudgetTypeArrayOutputWithContext(ctx context.Context) PodDisruptionBudgetTypeArrayOutput
type PodDisruptionBudgetTypeArrayInput ¶
type PodDisruptionBudgetTypeArrayInput interface { pulumi.Input ToPodDisruptionBudgetTypeArrayOutput() PodDisruptionBudgetTypeArrayOutput ToPodDisruptionBudgetTypeArrayOutputWithContext(context.Context) PodDisruptionBudgetTypeArrayOutput }
PodDisruptionBudgetTypeArrayInput is an input type that accepts PodDisruptionBudgetTypeArray and PodDisruptionBudgetTypeArrayOutput values. You can construct a concrete instance of `PodDisruptionBudgetTypeArrayInput` via:
PodDisruptionBudgetTypeArray{ PodDisruptionBudgetTypeArgs{...} }
type PodDisruptionBudgetTypeArrayOutput ¶
type PodDisruptionBudgetTypeArrayOutput struct{ *pulumi.OutputState }
func (PodDisruptionBudgetTypeArrayOutput) ElementType ¶
func (PodDisruptionBudgetTypeArrayOutput) ElementType() reflect.Type
func (PodDisruptionBudgetTypeArrayOutput) Index ¶
func (o PodDisruptionBudgetTypeArrayOutput) Index(i pulumi.IntInput) PodDisruptionBudgetTypeOutput
func (PodDisruptionBudgetTypeArrayOutput) ToPodDisruptionBudgetTypeArrayOutput ¶
func (o PodDisruptionBudgetTypeArrayOutput) ToPodDisruptionBudgetTypeArrayOutput() PodDisruptionBudgetTypeArrayOutput
func (PodDisruptionBudgetTypeArrayOutput) ToPodDisruptionBudgetTypeArrayOutputWithContext ¶
func (o PodDisruptionBudgetTypeArrayOutput) ToPodDisruptionBudgetTypeArrayOutputWithContext(ctx context.Context) PodDisruptionBudgetTypeArrayOutput
type PodDisruptionBudgetTypeInput ¶
type PodDisruptionBudgetTypeInput interface { pulumi.Input ToPodDisruptionBudgetTypeOutput() PodDisruptionBudgetTypeOutput ToPodDisruptionBudgetTypeOutputWithContext(context.Context) PodDisruptionBudgetTypeOutput }
PodDisruptionBudgetTypeInput is an input type that accepts PodDisruptionBudgetTypeArgs and PodDisruptionBudgetTypeOutput values. You can construct a concrete instance of `PodDisruptionBudgetTypeInput` via:
PodDisruptionBudgetTypeArgs{...}
type PodDisruptionBudgetTypeOutput ¶
type PodDisruptionBudgetTypeOutput struct{ *pulumi.OutputState }
PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
func (PodDisruptionBudgetTypeOutput) ApiVersion ¶
func (o PodDisruptionBudgetTypeOutput) ApiVersion() pulumi.StringPtrOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (PodDisruptionBudgetTypeOutput) ElementType ¶
func (PodDisruptionBudgetTypeOutput) ElementType() reflect.Type
func (PodDisruptionBudgetTypeOutput) Kind ¶
func (o PodDisruptionBudgetTypeOutput) Kind() pulumi.StringPtrOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (PodDisruptionBudgetTypeOutput) Metadata ¶
func (o PodDisruptionBudgetTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (PodDisruptionBudgetTypeOutput) Spec ¶
func (o PodDisruptionBudgetTypeOutput) Spec() PodDisruptionBudgetSpecPtrOutput
Specification of the desired behavior of the PodDisruptionBudget.
func (PodDisruptionBudgetTypeOutput) Status ¶
func (o PodDisruptionBudgetTypeOutput) Status() PodDisruptionBudgetStatusPtrOutput
Most recently observed status of the PodDisruptionBudget.
func (PodDisruptionBudgetTypeOutput) ToPodDisruptionBudgetTypeOutput ¶
func (o PodDisruptionBudgetTypeOutput) ToPodDisruptionBudgetTypeOutput() PodDisruptionBudgetTypeOutput
func (PodDisruptionBudgetTypeOutput) ToPodDisruptionBudgetTypeOutputWithContext ¶
func (o PodDisruptionBudgetTypeOutput) ToPodDisruptionBudgetTypeOutputWithContext(ctx context.Context) PodDisruptionBudgetTypeOutput