Documentation ¶
Index ¶
- type AuditAnnotation
- type AuditAnnotationArgs
- func (AuditAnnotationArgs) ElementType() reflect.Type
- func (i AuditAnnotationArgs) ToAuditAnnotationOutput() AuditAnnotationOutput
- func (i AuditAnnotationArgs) ToAuditAnnotationOutputWithContext(ctx context.Context) AuditAnnotationOutput
- func (i AuditAnnotationArgs) ToOutput(ctx context.Context) pulumix.Output[AuditAnnotation]
- type AuditAnnotationArray
- func (AuditAnnotationArray) ElementType() reflect.Type
- func (i AuditAnnotationArray) ToAuditAnnotationArrayOutput() AuditAnnotationArrayOutput
- func (i AuditAnnotationArray) ToAuditAnnotationArrayOutputWithContext(ctx context.Context) AuditAnnotationArrayOutput
- func (i AuditAnnotationArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditAnnotation]
- type AuditAnnotationArrayInput
- type AuditAnnotationArrayOutput
- func (AuditAnnotationArrayOutput) ElementType() reflect.Type
- func (o AuditAnnotationArrayOutput) Index(i pulumi.IntInput) AuditAnnotationOutput
- func (o AuditAnnotationArrayOutput) ToAuditAnnotationArrayOutput() AuditAnnotationArrayOutput
- func (o AuditAnnotationArrayOutput) ToAuditAnnotationArrayOutputWithContext(ctx context.Context) AuditAnnotationArrayOutput
- func (o AuditAnnotationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditAnnotation]
- type AuditAnnotationInput
- type AuditAnnotationOutput
- func (AuditAnnotationOutput) ElementType() reflect.Type
- func (o AuditAnnotationOutput) Key() pulumi.StringOutput
- func (o AuditAnnotationOutput) ToAuditAnnotationOutput() AuditAnnotationOutput
- func (o AuditAnnotationOutput) ToAuditAnnotationOutputWithContext(ctx context.Context) AuditAnnotationOutput
- func (o AuditAnnotationOutput) ToOutput(ctx context.Context) pulumix.Output[AuditAnnotation]
- func (o AuditAnnotationOutput) ValueExpression() pulumi.StringOutput
- type AuditAnnotationPatch
- type AuditAnnotationPatchArgs
- func (AuditAnnotationPatchArgs) ElementType() reflect.Type
- func (i AuditAnnotationPatchArgs) ToAuditAnnotationPatchOutput() AuditAnnotationPatchOutput
- func (i AuditAnnotationPatchArgs) ToAuditAnnotationPatchOutputWithContext(ctx context.Context) AuditAnnotationPatchOutput
- func (i AuditAnnotationPatchArgs) ToOutput(ctx context.Context) pulumix.Output[AuditAnnotationPatch]
- type AuditAnnotationPatchArray
- func (AuditAnnotationPatchArray) ElementType() reflect.Type
- func (i AuditAnnotationPatchArray) ToAuditAnnotationPatchArrayOutput() AuditAnnotationPatchArrayOutput
- func (i AuditAnnotationPatchArray) ToAuditAnnotationPatchArrayOutputWithContext(ctx context.Context) AuditAnnotationPatchArrayOutput
- func (i AuditAnnotationPatchArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditAnnotationPatch]
- type AuditAnnotationPatchArrayInput
- type AuditAnnotationPatchArrayOutput
- func (AuditAnnotationPatchArrayOutput) ElementType() reflect.Type
- func (o AuditAnnotationPatchArrayOutput) Index(i pulumi.IntInput) AuditAnnotationPatchOutput
- func (o AuditAnnotationPatchArrayOutput) ToAuditAnnotationPatchArrayOutput() AuditAnnotationPatchArrayOutput
- func (o AuditAnnotationPatchArrayOutput) ToAuditAnnotationPatchArrayOutputWithContext(ctx context.Context) AuditAnnotationPatchArrayOutput
- func (o AuditAnnotationPatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditAnnotationPatch]
- type AuditAnnotationPatchInput
- type AuditAnnotationPatchOutput
- func (AuditAnnotationPatchOutput) ElementType() reflect.Type
- func (o AuditAnnotationPatchOutput) Key() pulumi.StringPtrOutput
- func (o AuditAnnotationPatchOutput) ToAuditAnnotationPatchOutput() AuditAnnotationPatchOutput
- func (o AuditAnnotationPatchOutput) ToAuditAnnotationPatchOutputWithContext(ctx context.Context) AuditAnnotationPatchOutput
- func (o AuditAnnotationPatchOutput) ToOutput(ctx context.Context) pulumix.Output[AuditAnnotationPatch]
- func (o AuditAnnotationPatchOutput) ValueExpression() pulumi.StringPtrOutput
- type ExpressionWarning
- type ExpressionWarningArgs
- func (ExpressionWarningArgs) ElementType() reflect.Type
- func (i ExpressionWarningArgs) ToExpressionWarningOutput() ExpressionWarningOutput
- func (i ExpressionWarningArgs) ToExpressionWarningOutputWithContext(ctx context.Context) ExpressionWarningOutput
- func (i ExpressionWarningArgs) ToOutput(ctx context.Context) pulumix.Output[ExpressionWarning]
- type ExpressionWarningArray
- func (ExpressionWarningArray) ElementType() reflect.Type
- func (i ExpressionWarningArray) ToExpressionWarningArrayOutput() ExpressionWarningArrayOutput
- func (i ExpressionWarningArray) ToExpressionWarningArrayOutputWithContext(ctx context.Context) ExpressionWarningArrayOutput
- func (i ExpressionWarningArray) ToOutput(ctx context.Context) pulumix.Output[[]ExpressionWarning]
- type ExpressionWarningArrayInput
- type ExpressionWarningArrayOutput
- func (ExpressionWarningArrayOutput) ElementType() reflect.Type
- func (o ExpressionWarningArrayOutput) Index(i pulumi.IntInput) ExpressionWarningOutput
- func (o ExpressionWarningArrayOutput) ToExpressionWarningArrayOutput() ExpressionWarningArrayOutput
- func (o ExpressionWarningArrayOutput) ToExpressionWarningArrayOutputWithContext(ctx context.Context) ExpressionWarningArrayOutput
- func (o ExpressionWarningArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ExpressionWarning]
- type ExpressionWarningInput
- type ExpressionWarningOutput
- func (ExpressionWarningOutput) ElementType() reflect.Type
- func (o ExpressionWarningOutput) FieldRef() pulumi.StringOutput
- func (o ExpressionWarningOutput) ToExpressionWarningOutput() ExpressionWarningOutput
- func (o ExpressionWarningOutput) ToExpressionWarningOutputWithContext(ctx context.Context) ExpressionWarningOutput
- func (o ExpressionWarningOutput) ToOutput(ctx context.Context) pulumix.Output[ExpressionWarning]
- func (o ExpressionWarningOutput) Warning() pulumi.StringOutput
- type ExpressionWarningPatch
- type ExpressionWarningPatchArgs
- func (ExpressionWarningPatchArgs) ElementType() reflect.Type
- func (i ExpressionWarningPatchArgs) ToExpressionWarningPatchOutput() ExpressionWarningPatchOutput
- func (i ExpressionWarningPatchArgs) ToExpressionWarningPatchOutputWithContext(ctx context.Context) ExpressionWarningPatchOutput
- func (i ExpressionWarningPatchArgs) ToOutput(ctx context.Context) pulumix.Output[ExpressionWarningPatch]
- type ExpressionWarningPatchArray
- func (ExpressionWarningPatchArray) ElementType() reflect.Type
- func (i ExpressionWarningPatchArray) ToExpressionWarningPatchArrayOutput() ExpressionWarningPatchArrayOutput
- func (i ExpressionWarningPatchArray) ToExpressionWarningPatchArrayOutputWithContext(ctx context.Context) ExpressionWarningPatchArrayOutput
- func (i ExpressionWarningPatchArray) ToOutput(ctx context.Context) pulumix.Output[[]ExpressionWarningPatch]
- type ExpressionWarningPatchArrayInput
- type ExpressionWarningPatchArrayOutput
- func (ExpressionWarningPatchArrayOutput) ElementType() reflect.Type
- func (o ExpressionWarningPatchArrayOutput) Index(i pulumi.IntInput) ExpressionWarningPatchOutput
- func (o ExpressionWarningPatchArrayOutput) ToExpressionWarningPatchArrayOutput() ExpressionWarningPatchArrayOutput
- func (o ExpressionWarningPatchArrayOutput) ToExpressionWarningPatchArrayOutputWithContext(ctx context.Context) ExpressionWarningPatchArrayOutput
- func (o ExpressionWarningPatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ExpressionWarningPatch]
- type ExpressionWarningPatchInput
- type ExpressionWarningPatchOutput
- func (ExpressionWarningPatchOutput) ElementType() reflect.Type
- func (o ExpressionWarningPatchOutput) FieldRef() pulumi.StringPtrOutput
- func (o ExpressionWarningPatchOutput) ToExpressionWarningPatchOutput() ExpressionWarningPatchOutput
- func (o ExpressionWarningPatchOutput) ToExpressionWarningPatchOutputWithContext(ctx context.Context) ExpressionWarningPatchOutput
- func (o ExpressionWarningPatchOutput) ToOutput(ctx context.Context) pulumix.Output[ExpressionWarningPatch]
- func (o ExpressionWarningPatchOutput) Warning() pulumi.StringPtrOutput
- type MatchCondition
- type MatchConditionArgs
- func (MatchConditionArgs) ElementType() reflect.Type
- func (i MatchConditionArgs) ToMatchConditionOutput() MatchConditionOutput
- func (i MatchConditionArgs) ToMatchConditionOutputWithContext(ctx context.Context) MatchConditionOutput
- func (i MatchConditionArgs) ToOutput(ctx context.Context) pulumix.Output[MatchCondition]
- type MatchConditionArray
- func (MatchConditionArray) ElementType() reflect.Type
- func (i MatchConditionArray) ToMatchConditionArrayOutput() MatchConditionArrayOutput
- func (i MatchConditionArray) ToMatchConditionArrayOutputWithContext(ctx context.Context) MatchConditionArrayOutput
- func (i MatchConditionArray) ToOutput(ctx context.Context) pulumix.Output[[]MatchCondition]
- type MatchConditionArrayInput
- type MatchConditionArrayOutput
- func (MatchConditionArrayOutput) ElementType() reflect.Type
- func (o MatchConditionArrayOutput) Index(i pulumi.IntInput) MatchConditionOutput
- func (o MatchConditionArrayOutput) ToMatchConditionArrayOutput() MatchConditionArrayOutput
- func (o MatchConditionArrayOutput) ToMatchConditionArrayOutputWithContext(ctx context.Context) MatchConditionArrayOutput
- func (o MatchConditionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MatchCondition]
- type MatchConditionInput
- type MatchConditionOutput
- func (MatchConditionOutput) ElementType() reflect.Type
- func (o MatchConditionOutput) Expression() pulumi.StringOutput
- func (o MatchConditionOutput) Name() pulumi.StringOutput
- func (o MatchConditionOutput) ToMatchConditionOutput() MatchConditionOutput
- func (o MatchConditionOutput) ToMatchConditionOutputWithContext(ctx context.Context) MatchConditionOutput
- func (o MatchConditionOutput) ToOutput(ctx context.Context) pulumix.Output[MatchCondition]
- type MatchConditionPatch
- type MatchConditionPatchArgs
- func (MatchConditionPatchArgs) ElementType() reflect.Type
- func (i MatchConditionPatchArgs) ToMatchConditionPatchOutput() MatchConditionPatchOutput
- func (i MatchConditionPatchArgs) ToMatchConditionPatchOutputWithContext(ctx context.Context) MatchConditionPatchOutput
- func (i MatchConditionPatchArgs) ToOutput(ctx context.Context) pulumix.Output[MatchConditionPatch]
- type MatchConditionPatchArray
- func (MatchConditionPatchArray) ElementType() reflect.Type
- func (i MatchConditionPatchArray) ToMatchConditionPatchArrayOutput() MatchConditionPatchArrayOutput
- func (i MatchConditionPatchArray) ToMatchConditionPatchArrayOutputWithContext(ctx context.Context) MatchConditionPatchArrayOutput
- func (i MatchConditionPatchArray) ToOutput(ctx context.Context) pulumix.Output[[]MatchConditionPatch]
- type MatchConditionPatchArrayInput
- type MatchConditionPatchArrayOutput
- func (MatchConditionPatchArrayOutput) ElementType() reflect.Type
- func (o MatchConditionPatchArrayOutput) Index(i pulumi.IntInput) MatchConditionPatchOutput
- func (o MatchConditionPatchArrayOutput) ToMatchConditionPatchArrayOutput() MatchConditionPatchArrayOutput
- func (o MatchConditionPatchArrayOutput) ToMatchConditionPatchArrayOutputWithContext(ctx context.Context) MatchConditionPatchArrayOutput
- func (o MatchConditionPatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MatchConditionPatch]
- type MatchConditionPatchInput
- type MatchConditionPatchOutput
- func (MatchConditionPatchOutput) ElementType() reflect.Type
- func (o MatchConditionPatchOutput) Expression() pulumi.StringPtrOutput
- func (o MatchConditionPatchOutput) Name() pulumi.StringPtrOutput
- func (o MatchConditionPatchOutput) ToMatchConditionPatchOutput() MatchConditionPatchOutput
- func (o MatchConditionPatchOutput) ToMatchConditionPatchOutputWithContext(ctx context.Context) MatchConditionPatchOutput
- func (o MatchConditionPatchOutput) ToOutput(ctx context.Context) pulumix.Output[MatchConditionPatch]
- type MatchResources
- type MatchResourcesArgs
- func (MatchResourcesArgs) ElementType() reflect.Type
- func (i MatchResourcesArgs) ToMatchResourcesOutput() MatchResourcesOutput
- func (i MatchResourcesArgs) ToMatchResourcesOutputWithContext(ctx context.Context) MatchResourcesOutput
- func (i MatchResourcesArgs) ToMatchResourcesPtrOutput() MatchResourcesPtrOutput
- func (i MatchResourcesArgs) ToMatchResourcesPtrOutputWithContext(ctx context.Context) MatchResourcesPtrOutput
- func (i MatchResourcesArgs) ToOutput(ctx context.Context) pulumix.Output[MatchResources]
- type MatchResourcesInput
- type MatchResourcesOutput
- func (MatchResourcesOutput) ElementType() reflect.Type
- func (o MatchResourcesOutput) ExcludeResourceRules() NamedRuleWithOperationsArrayOutput
- func (o MatchResourcesOutput) MatchPolicy() pulumi.StringPtrOutput
- func (o MatchResourcesOutput) NamespaceSelector() metav1.LabelSelectorPtrOutput
- func (o MatchResourcesOutput) ObjectSelector() metav1.LabelSelectorPtrOutput
- func (o MatchResourcesOutput) ResourceRules() NamedRuleWithOperationsArrayOutput
- func (o MatchResourcesOutput) ToMatchResourcesOutput() MatchResourcesOutput
- func (o MatchResourcesOutput) ToMatchResourcesOutputWithContext(ctx context.Context) MatchResourcesOutput
- func (o MatchResourcesOutput) ToMatchResourcesPtrOutput() MatchResourcesPtrOutput
- func (o MatchResourcesOutput) ToMatchResourcesPtrOutputWithContext(ctx context.Context) MatchResourcesPtrOutput
- func (o MatchResourcesOutput) ToOutput(ctx context.Context) pulumix.Output[MatchResources]
- type MatchResourcesPatch
- type MatchResourcesPatchArgs
- func (MatchResourcesPatchArgs) ElementType() reflect.Type
- func (i MatchResourcesPatchArgs) ToMatchResourcesPatchOutput() MatchResourcesPatchOutput
- func (i MatchResourcesPatchArgs) ToMatchResourcesPatchOutputWithContext(ctx context.Context) MatchResourcesPatchOutput
- func (i MatchResourcesPatchArgs) ToMatchResourcesPatchPtrOutput() MatchResourcesPatchPtrOutput
- func (i MatchResourcesPatchArgs) ToMatchResourcesPatchPtrOutputWithContext(ctx context.Context) MatchResourcesPatchPtrOutput
- func (i MatchResourcesPatchArgs) ToOutput(ctx context.Context) pulumix.Output[MatchResourcesPatch]
- type MatchResourcesPatchInput
- type MatchResourcesPatchOutput
- func (MatchResourcesPatchOutput) ElementType() reflect.Type
- func (o MatchResourcesPatchOutput) ExcludeResourceRules() NamedRuleWithOperationsPatchArrayOutput
- func (o MatchResourcesPatchOutput) MatchPolicy() pulumi.StringPtrOutput
- func (o MatchResourcesPatchOutput) NamespaceSelector() metav1.LabelSelectorPatchPtrOutput
- func (o MatchResourcesPatchOutput) ObjectSelector() metav1.LabelSelectorPatchPtrOutput
- func (o MatchResourcesPatchOutput) ResourceRules() NamedRuleWithOperationsPatchArrayOutput
- func (o MatchResourcesPatchOutput) ToMatchResourcesPatchOutput() MatchResourcesPatchOutput
- func (o MatchResourcesPatchOutput) ToMatchResourcesPatchOutputWithContext(ctx context.Context) MatchResourcesPatchOutput
- func (o MatchResourcesPatchOutput) ToMatchResourcesPatchPtrOutput() MatchResourcesPatchPtrOutput
- func (o MatchResourcesPatchOutput) ToMatchResourcesPatchPtrOutputWithContext(ctx context.Context) MatchResourcesPatchPtrOutput
- func (o MatchResourcesPatchOutput) ToOutput(ctx context.Context) pulumix.Output[MatchResourcesPatch]
- type MatchResourcesPatchPtrInput
- type MatchResourcesPatchPtrOutput
- func (o MatchResourcesPatchPtrOutput) Elem() MatchResourcesPatchOutput
- func (MatchResourcesPatchPtrOutput) ElementType() reflect.Type
- func (o MatchResourcesPatchPtrOutput) ExcludeResourceRules() NamedRuleWithOperationsPatchArrayOutput
- func (o MatchResourcesPatchPtrOutput) MatchPolicy() pulumi.StringPtrOutput
- func (o MatchResourcesPatchPtrOutput) NamespaceSelector() metav1.LabelSelectorPatchPtrOutput
- func (o MatchResourcesPatchPtrOutput) ObjectSelector() metav1.LabelSelectorPatchPtrOutput
- func (o MatchResourcesPatchPtrOutput) ResourceRules() NamedRuleWithOperationsPatchArrayOutput
- func (o MatchResourcesPatchPtrOutput) ToMatchResourcesPatchPtrOutput() MatchResourcesPatchPtrOutput
- func (o MatchResourcesPatchPtrOutput) ToMatchResourcesPatchPtrOutputWithContext(ctx context.Context) MatchResourcesPatchPtrOutput
- func (o MatchResourcesPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MatchResourcesPatch]
- type MatchResourcesPtrInput
- type MatchResourcesPtrOutput
- func (o MatchResourcesPtrOutput) Elem() MatchResourcesOutput
- func (MatchResourcesPtrOutput) ElementType() reflect.Type
- func (o MatchResourcesPtrOutput) ExcludeResourceRules() NamedRuleWithOperationsArrayOutput
- func (o MatchResourcesPtrOutput) MatchPolicy() pulumi.StringPtrOutput
- func (o MatchResourcesPtrOutput) NamespaceSelector() metav1.LabelSelectorPtrOutput
- func (o MatchResourcesPtrOutput) ObjectSelector() metav1.LabelSelectorPtrOutput
- func (o MatchResourcesPtrOutput) ResourceRules() NamedRuleWithOperationsArrayOutput
- func (o MatchResourcesPtrOutput) ToMatchResourcesPtrOutput() MatchResourcesPtrOutput
- func (o MatchResourcesPtrOutput) ToMatchResourcesPtrOutputWithContext(ctx context.Context) MatchResourcesPtrOutput
- func (o MatchResourcesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MatchResources]
- type NamedRuleWithOperations
- type NamedRuleWithOperationsArgs
- func (NamedRuleWithOperationsArgs) ElementType() reflect.Type
- func (i NamedRuleWithOperationsArgs) ToNamedRuleWithOperationsOutput() NamedRuleWithOperationsOutput
- func (i NamedRuleWithOperationsArgs) ToNamedRuleWithOperationsOutputWithContext(ctx context.Context) NamedRuleWithOperationsOutput
- func (i NamedRuleWithOperationsArgs) ToOutput(ctx context.Context) pulumix.Output[NamedRuleWithOperations]
- type NamedRuleWithOperationsArray
- func (NamedRuleWithOperationsArray) ElementType() reflect.Type
- func (i NamedRuleWithOperationsArray) ToNamedRuleWithOperationsArrayOutput() NamedRuleWithOperationsArrayOutput
- func (i NamedRuleWithOperationsArray) ToNamedRuleWithOperationsArrayOutputWithContext(ctx context.Context) NamedRuleWithOperationsArrayOutput
- func (i NamedRuleWithOperationsArray) ToOutput(ctx context.Context) pulumix.Output[[]NamedRuleWithOperations]
- type NamedRuleWithOperationsArrayInput
- type NamedRuleWithOperationsArrayOutput
- func (NamedRuleWithOperationsArrayOutput) ElementType() reflect.Type
- func (o NamedRuleWithOperationsArrayOutput) Index(i pulumi.IntInput) NamedRuleWithOperationsOutput
- func (o NamedRuleWithOperationsArrayOutput) ToNamedRuleWithOperationsArrayOutput() NamedRuleWithOperationsArrayOutput
- func (o NamedRuleWithOperationsArrayOutput) ToNamedRuleWithOperationsArrayOutputWithContext(ctx context.Context) NamedRuleWithOperationsArrayOutput
- func (o NamedRuleWithOperationsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NamedRuleWithOperations]
- type NamedRuleWithOperationsInput
- type NamedRuleWithOperationsOutput
- func (o NamedRuleWithOperationsOutput) ApiGroups() pulumi.StringArrayOutput
- func (o NamedRuleWithOperationsOutput) ApiVersions() pulumi.StringArrayOutput
- func (NamedRuleWithOperationsOutput) ElementType() reflect.Type
- func (o NamedRuleWithOperationsOutput) Operations() pulumi.StringArrayOutput
- func (o NamedRuleWithOperationsOutput) ResourceNames() pulumi.StringArrayOutput
- func (o NamedRuleWithOperationsOutput) Resources() pulumi.StringArrayOutput
- func (o NamedRuleWithOperationsOutput) Scope() pulumi.StringPtrOutput
- func (o NamedRuleWithOperationsOutput) ToNamedRuleWithOperationsOutput() NamedRuleWithOperationsOutput
- func (o NamedRuleWithOperationsOutput) ToNamedRuleWithOperationsOutputWithContext(ctx context.Context) NamedRuleWithOperationsOutput
- func (o NamedRuleWithOperationsOutput) ToOutput(ctx context.Context) pulumix.Output[NamedRuleWithOperations]
- type NamedRuleWithOperationsPatch
- type NamedRuleWithOperationsPatchArgs
- func (NamedRuleWithOperationsPatchArgs) ElementType() reflect.Type
- func (i NamedRuleWithOperationsPatchArgs) ToNamedRuleWithOperationsPatchOutput() NamedRuleWithOperationsPatchOutput
- func (i NamedRuleWithOperationsPatchArgs) ToNamedRuleWithOperationsPatchOutputWithContext(ctx context.Context) NamedRuleWithOperationsPatchOutput
- func (i NamedRuleWithOperationsPatchArgs) ToOutput(ctx context.Context) pulumix.Output[NamedRuleWithOperationsPatch]
- type NamedRuleWithOperationsPatchArray
- func (NamedRuleWithOperationsPatchArray) ElementType() reflect.Type
- func (i NamedRuleWithOperationsPatchArray) ToNamedRuleWithOperationsPatchArrayOutput() NamedRuleWithOperationsPatchArrayOutput
- func (i NamedRuleWithOperationsPatchArray) ToNamedRuleWithOperationsPatchArrayOutputWithContext(ctx context.Context) NamedRuleWithOperationsPatchArrayOutput
- func (i NamedRuleWithOperationsPatchArray) ToOutput(ctx context.Context) pulumix.Output[[]NamedRuleWithOperationsPatch]
- type NamedRuleWithOperationsPatchArrayInput
- type NamedRuleWithOperationsPatchArrayOutput
- func (NamedRuleWithOperationsPatchArrayOutput) ElementType() reflect.Type
- func (o NamedRuleWithOperationsPatchArrayOutput) Index(i pulumi.IntInput) NamedRuleWithOperationsPatchOutput
- func (o NamedRuleWithOperationsPatchArrayOutput) ToNamedRuleWithOperationsPatchArrayOutput() NamedRuleWithOperationsPatchArrayOutput
- func (o NamedRuleWithOperationsPatchArrayOutput) ToNamedRuleWithOperationsPatchArrayOutputWithContext(ctx context.Context) NamedRuleWithOperationsPatchArrayOutput
- func (o NamedRuleWithOperationsPatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NamedRuleWithOperationsPatch]
- type NamedRuleWithOperationsPatchInput
- type NamedRuleWithOperationsPatchOutput
- func (o NamedRuleWithOperationsPatchOutput) ApiGroups() pulumi.StringArrayOutput
- func (o NamedRuleWithOperationsPatchOutput) ApiVersions() pulumi.StringArrayOutput
- func (NamedRuleWithOperationsPatchOutput) ElementType() reflect.Type
- func (o NamedRuleWithOperationsPatchOutput) Operations() pulumi.StringArrayOutput
- func (o NamedRuleWithOperationsPatchOutput) ResourceNames() pulumi.StringArrayOutput
- func (o NamedRuleWithOperationsPatchOutput) Resources() pulumi.StringArrayOutput
- func (o NamedRuleWithOperationsPatchOutput) Scope() pulumi.StringPtrOutput
- func (o NamedRuleWithOperationsPatchOutput) ToNamedRuleWithOperationsPatchOutput() NamedRuleWithOperationsPatchOutput
- func (o NamedRuleWithOperationsPatchOutput) ToNamedRuleWithOperationsPatchOutputWithContext(ctx context.Context) NamedRuleWithOperationsPatchOutput
- func (o NamedRuleWithOperationsPatchOutput) ToOutput(ctx context.Context) pulumix.Output[NamedRuleWithOperationsPatch]
- type ParamKind
- type ParamKindArgs
- func (ParamKindArgs) ElementType() reflect.Type
- func (i ParamKindArgs) ToOutput(ctx context.Context) pulumix.Output[ParamKind]
- func (i ParamKindArgs) ToParamKindOutput() ParamKindOutput
- func (i ParamKindArgs) ToParamKindOutputWithContext(ctx context.Context) ParamKindOutput
- func (i ParamKindArgs) ToParamKindPtrOutput() ParamKindPtrOutput
- func (i ParamKindArgs) ToParamKindPtrOutputWithContext(ctx context.Context) ParamKindPtrOutput
- type ParamKindInput
- type ParamKindOutput
- func (o ParamKindOutput) ApiVersion() pulumi.StringPtrOutput
- func (ParamKindOutput) ElementType() reflect.Type
- func (o ParamKindOutput) Kind() pulumi.StringPtrOutput
- func (o ParamKindOutput) ToOutput(ctx context.Context) pulumix.Output[ParamKind]
- func (o ParamKindOutput) ToParamKindOutput() ParamKindOutput
- func (o ParamKindOutput) ToParamKindOutputWithContext(ctx context.Context) ParamKindOutput
- func (o ParamKindOutput) ToParamKindPtrOutput() ParamKindPtrOutput
- func (o ParamKindOutput) ToParamKindPtrOutputWithContext(ctx context.Context) ParamKindPtrOutput
- type ParamKindPatch
- type ParamKindPatchArgs
- func (ParamKindPatchArgs) ElementType() reflect.Type
- func (i ParamKindPatchArgs) ToOutput(ctx context.Context) pulumix.Output[ParamKindPatch]
- func (i ParamKindPatchArgs) ToParamKindPatchOutput() ParamKindPatchOutput
- func (i ParamKindPatchArgs) ToParamKindPatchOutputWithContext(ctx context.Context) ParamKindPatchOutput
- func (i ParamKindPatchArgs) ToParamKindPatchPtrOutput() ParamKindPatchPtrOutput
- func (i ParamKindPatchArgs) ToParamKindPatchPtrOutputWithContext(ctx context.Context) ParamKindPatchPtrOutput
- type ParamKindPatchInput
- type ParamKindPatchOutput
- func (o ParamKindPatchOutput) ApiVersion() pulumi.StringPtrOutput
- func (ParamKindPatchOutput) ElementType() reflect.Type
- func (o ParamKindPatchOutput) Kind() pulumi.StringPtrOutput
- func (o ParamKindPatchOutput) ToOutput(ctx context.Context) pulumix.Output[ParamKindPatch]
- func (o ParamKindPatchOutput) ToParamKindPatchOutput() ParamKindPatchOutput
- func (o ParamKindPatchOutput) ToParamKindPatchOutputWithContext(ctx context.Context) ParamKindPatchOutput
- func (o ParamKindPatchOutput) ToParamKindPatchPtrOutput() ParamKindPatchPtrOutput
- func (o ParamKindPatchOutput) ToParamKindPatchPtrOutputWithContext(ctx context.Context) ParamKindPatchPtrOutput
- type ParamKindPatchPtrInput
- type ParamKindPatchPtrOutput
- func (o ParamKindPatchPtrOutput) ApiVersion() pulumi.StringPtrOutput
- func (o ParamKindPatchPtrOutput) Elem() ParamKindPatchOutput
- func (ParamKindPatchPtrOutput) ElementType() reflect.Type
- func (o ParamKindPatchPtrOutput) Kind() pulumi.StringPtrOutput
- func (o ParamKindPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ParamKindPatch]
- func (o ParamKindPatchPtrOutput) ToParamKindPatchPtrOutput() ParamKindPatchPtrOutput
- func (o ParamKindPatchPtrOutput) ToParamKindPatchPtrOutputWithContext(ctx context.Context) ParamKindPatchPtrOutput
- type ParamKindPtrInput
- type ParamKindPtrOutput
- func (o ParamKindPtrOutput) ApiVersion() pulumi.StringPtrOutput
- func (o ParamKindPtrOutput) Elem() ParamKindOutput
- func (ParamKindPtrOutput) ElementType() reflect.Type
- func (o ParamKindPtrOutput) Kind() pulumi.StringPtrOutput
- func (o ParamKindPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ParamKind]
- func (o ParamKindPtrOutput) ToParamKindPtrOutput() ParamKindPtrOutput
- func (o ParamKindPtrOutput) ToParamKindPtrOutputWithContext(ctx context.Context) ParamKindPtrOutput
- type ParamRef
- type ParamRefArgs
- func (ParamRefArgs) ElementType() reflect.Type
- func (i ParamRefArgs) ToOutput(ctx context.Context) pulumix.Output[ParamRef]
- func (i ParamRefArgs) ToParamRefOutput() ParamRefOutput
- func (i ParamRefArgs) ToParamRefOutputWithContext(ctx context.Context) ParamRefOutput
- func (i ParamRefArgs) ToParamRefPtrOutput() ParamRefPtrOutput
- func (i ParamRefArgs) ToParamRefPtrOutputWithContext(ctx context.Context) ParamRefPtrOutput
- type ParamRefInput
- type ParamRefOutput
- func (ParamRefOutput) ElementType() reflect.Type
- func (o ParamRefOutput) Name() pulumi.StringPtrOutput
- func (o ParamRefOutput) Namespace() pulumi.StringPtrOutput
- func (o ParamRefOutput) ParameterNotFoundAction() pulumi.StringPtrOutput
- func (o ParamRefOutput) Selector() metav1.LabelSelectorPtrOutput
- func (o ParamRefOutput) ToOutput(ctx context.Context) pulumix.Output[ParamRef]
- func (o ParamRefOutput) ToParamRefOutput() ParamRefOutput
- func (o ParamRefOutput) ToParamRefOutputWithContext(ctx context.Context) ParamRefOutput
- func (o ParamRefOutput) ToParamRefPtrOutput() ParamRefPtrOutput
- func (o ParamRefOutput) ToParamRefPtrOutputWithContext(ctx context.Context) ParamRefPtrOutput
- type ParamRefPatch
- type ParamRefPatchArgs
- func (ParamRefPatchArgs) ElementType() reflect.Type
- func (i ParamRefPatchArgs) ToOutput(ctx context.Context) pulumix.Output[ParamRefPatch]
- func (i ParamRefPatchArgs) ToParamRefPatchOutput() ParamRefPatchOutput
- func (i ParamRefPatchArgs) ToParamRefPatchOutputWithContext(ctx context.Context) ParamRefPatchOutput
- func (i ParamRefPatchArgs) ToParamRefPatchPtrOutput() ParamRefPatchPtrOutput
- func (i ParamRefPatchArgs) ToParamRefPatchPtrOutputWithContext(ctx context.Context) ParamRefPatchPtrOutput
- type ParamRefPatchInput
- type ParamRefPatchOutput
- func (ParamRefPatchOutput) ElementType() reflect.Type
- func (o ParamRefPatchOutput) Name() pulumi.StringPtrOutput
- func (o ParamRefPatchOutput) Namespace() pulumi.StringPtrOutput
- func (o ParamRefPatchOutput) ParameterNotFoundAction() pulumi.StringPtrOutput
- func (o ParamRefPatchOutput) Selector() metav1.LabelSelectorPatchPtrOutput
- func (o ParamRefPatchOutput) ToOutput(ctx context.Context) pulumix.Output[ParamRefPatch]
- func (o ParamRefPatchOutput) ToParamRefPatchOutput() ParamRefPatchOutput
- func (o ParamRefPatchOutput) ToParamRefPatchOutputWithContext(ctx context.Context) ParamRefPatchOutput
- func (o ParamRefPatchOutput) ToParamRefPatchPtrOutput() ParamRefPatchPtrOutput
- func (o ParamRefPatchOutput) ToParamRefPatchPtrOutputWithContext(ctx context.Context) ParamRefPatchPtrOutput
- type ParamRefPatchPtrInput
- type ParamRefPatchPtrOutput
- func (o ParamRefPatchPtrOutput) Elem() ParamRefPatchOutput
- func (ParamRefPatchPtrOutput) ElementType() reflect.Type
- func (o ParamRefPatchPtrOutput) Name() pulumi.StringPtrOutput
- func (o ParamRefPatchPtrOutput) Namespace() pulumi.StringPtrOutput
- func (o ParamRefPatchPtrOutput) ParameterNotFoundAction() pulumi.StringPtrOutput
- func (o ParamRefPatchPtrOutput) Selector() metav1.LabelSelectorPatchPtrOutput
- func (o ParamRefPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ParamRefPatch]
- func (o ParamRefPatchPtrOutput) ToParamRefPatchPtrOutput() ParamRefPatchPtrOutput
- func (o ParamRefPatchPtrOutput) ToParamRefPatchPtrOutputWithContext(ctx context.Context) ParamRefPatchPtrOutput
- type ParamRefPtrInput
- type ParamRefPtrOutput
- func (o ParamRefPtrOutput) Elem() ParamRefOutput
- func (ParamRefPtrOutput) ElementType() reflect.Type
- func (o ParamRefPtrOutput) Name() pulumi.StringPtrOutput
- func (o ParamRefPtrOutput) Namespace() pulumi.StringPtrOutput
- func (o ParamRefPtrOutput) ParameterNotFoundAction() pulumi.StringPtrOutput
- func (o ParamRefPtrOutput) Selector() metav1.LabelSelectorPtrOutput
- func (o ParamRefPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ParamRef]
- func (o ParamRefPtrOutput) ToParamRefPtrOutput() ParamRefPtrOutput
- func (o ParamRefPtrOutput) ToParamRefPtrOutputWithContext(ctx context.Context) ParamRefPtrOutput
- type TypeChecking
- type TypeCheckingArgs
- func (TypeCheckingArgs) ElementType() reflect.Type
- func (i TypeCheckingArgs) ToOutput(ctx context.Context) pulumix.Output[TypeChecking]
- func (i TypeCheckingArgs) ToTypeCheckingOutput() TypeCheckingOutput
- func (i TypeCheckingArgs) ToTypeCheckingOutputWithContext(ctx context.Context) TypeCheckingOutput
- func (i TypeCheckingArgs) ToTypeCheckingPtrOutput() TypeCheckingPtrOutput
- func (i TypeCheckingArgs) ToTypeCheckingPtrOutputWithContext(ctx context.Context) TypeCheckingPtrOutput
- type TypeCheckingInput
- type TypeCheckingOutput
- func (TypeCheckingOutput) ElementType() reflect.Type
- func (o TypeCheckingOutput) ExpressionWarnings() ExpressionWarningArrayOutput
- func (o TypeCheckingOutput) ToOutput(ctx context.Context) pulumix.Output[TypeChecking]
- func (o TypeCheckingOutput) ToTypeCheckingOutput() TypeCheckingOutput
- func (o TypeCheckingOutput) ToTypeCheckingOutputWithContext(ctx context.Context) TypeCheckingOutput
- func (o TypeCheckingOutput) ToTypeCheckingPtrOutput() TypeCheckingPtrOutput
- func (o TypeCheckingOutput) ToTypeCheckingPtrOutputWithContext(ctx context.Context) TypeCheckingPtrOutput
- type TypeCheckingPatch
- type TypeCheckingPatchArgs
- func (TypeCheckingPatchArgs) ElementType() reflect.Type
- func (i TypeCheckingPatchArgs) ToOutput(ctx context.Context) pulumix.Output[TypeCheckingPatch]
- func (i TypeCheckingPatchArgs) ToTypeCheckingPatchOutput() TypeCheckingPatchOutput
- func (i TypeCheckingPatchArgs) ToTypeCheckingPatchOutputWithContext(ctx context.Context) TypeCheckingPatchOutput
- func (i TypeCheckingPatchArgs) ToTypeCheckingPatchPtrOutput() TypeCheckingPatchPtrOutput
- func (i TypeCheckingPatchArgs) ToTypeCheckingPatchPtrOutputWithContext(ctx context.Context) TypeCheckingPatchPtrOutput
- type TypeCheckingPatchInput
- type TypeCheckingPatchOutput
- func (TypeCheckingPatchOutput) ElementType() reflect.Type
- func (o TypeCheckingPatchOutput) ExpressionWarnings() ExpressionWarningPatchArrayOutput
- func (o TypeCheckingPatchOutput) ToOutput(ctx context.Context) pulumix.Output[TypeCheckingPatch]
- func (o TypeCheckingPatchOutput) ToTypeCheckingPatchOutput() TypeCheckingPatchOutput
- func (o TypeCheckingPatchOutput) ToTypeCheckingPatchOutputWithContext(ctx context.Context) TypeCheckingPatchOutput
- func (o TypeCheckingPatchOutput) ToTypeCheckingPatchPtrOutput() TypeCheckingPatchPtrOutput
- func (o TypeCheckingPatchOutput) ToTypeCheckingPatchPtrOutputWithContext(ctx context.Context) TypeCheckingPatchPtrOutput
- type TypeCheckingPatchPtrInput
- type TypeCheckingPatchPtrOutput
- func (o TypeCheckingPatchPtrOutput) Elem() TypeCheckingPatchOutput
- func (TypeCheckingPatchPtrOutput) ElementType() reflect.Type
- func (o TypeCheckingPatchPtrOutput) ExpressionWarnings() ExpressionWarningPatchArrayOutput
- func (o TypeCheckingPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TypeCheckingPatch]
- func (o TypeCheckingPatchPtrOutput) ToTypeCheckingPatchPtrOutput() TypeCheckingPatchPtrOutput
- func (o TypeCheckingPatchPtrOutput) ToTypeCheckingPatchPtrOutputWithContext(ctx context.Context) TypeCheckingPatchPtrOutput
- type TypeCheckingPtrInput
- type TypeCheckingPtrOutput
- func (o TypeCheckingPtrOutput) Elem() TypeCheckingOutput
- func (TypeCheckingPtrOutput) ElementType() reflect.Type
- func (o TypeCheckingPtrOutput) ExpressionWarnings() ExpressionWarningArrayOutput
- func (o TypeCheckingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TypeChecking]
- func (o TypeCheckingPtrOutput) ToTypeCheckingPtrOutput() TypeCheckingPtrOutput
- func (o TypeCheckingPtrOutput) ToTypeCheckingPtrOutputWithContext(ctx context.Context) TypeCheckingPtrOutput
- type ValidatingAdmissionPolicy
- func (*ValidatingAdmissionPolicy) ElementType() reflect.Type
- func (i *ValidatingAdmissionPolicy) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicy]
- func (i *ValidatingAdmissionPolicy) ToValidatingAdmissionPolicyOutput() ValidatingAdmissionPolicyOutput
- func (i *ValidatingAdmissionPolicy) ToValidatingAdmissionPolicyOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyOutput
- type ValidatingAdmissionPolicyArgs
- type ValidatingAdmissionPolicyArray
- func (ValidatingAdmissionPolicyArray) ElementType() reflect.Type
- func (i ValidatingAdmissionPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]*ValidatingAdmissionPolicy]
- func (i ValidatingAdmissionPolicyArray) ToValidatingAdmissionPolicyArrayOutput() ValidatingAdmissionPolicyArrayOutput
- func (i ValidatingAdmissionPolicyArray) ToValidatingAdmissionPolicyArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyArrayOutput
- type ValidatingAdmissionPolicyArrayInput
- type ValidatingAdmissionPolicyArrayOutput
- func (ValidatingAdmissionPolicyArrayOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyArrayOutput) Index(i pulumi.IntInput) ValidatingAdmissionPolicyOutput
- func (o ValidatingAdmissionPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ValidatingAdmissionPolicy]
- func (o ValidatingAdmissionPolicyArrayOutput) ToValidatingAdmissionPolicyArrayOutput() ValidatingAdmissionPolicyArrayOutput
- func (o ValidatingAdmissionPolicyArrayOutput) ToValidatingAdmissionPolicyArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyArrayOutput
- type ValidatingAdmissionPolicyBinding
- func GetValidatingAdmissionPolicyBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, ...) (*ValidatingAdmissionPolicyBinding, error)
- func NewValidatingAdmissionPolicyBinding(ctx *pulumi.Context, name string, args *ValidatingAdmissionPolicyBindingArgs, ...) (*ValidatingAdmissionPolicyBinding, error)
- func (*ValidatingAdmissionPolicyBinding) ElementType() reflect.Type
- func (i *ValidatingAdmissionPolicyBinding) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyBinding]
- func (i *ValidatingAdmissionPolicyBinding) ToValidatingAdmissionPolicyBindingOutput() ValidatingAdmissionPolicyBindingOutput
- func (i *ValidatingAdmissionPolicyBinding) ToValidatingAdmissionPolicyBindingOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingOutput
- type ValidatingAdmissionPolicyBindingArgs
- type ValidatingAdmissionPolicyBindingArray
- func (ValidatingAdmissionPolicyBindingArray) ElementType() reflect.Type
- func (i ValidatingAdmissionPolicyBindingArray) ToOutput(ctx context.Context) pulumix.Output[[]*ValidatingAdmissionPolicyBinding]
- func (i ValidatingAdmissionPolicyBindingArray) ToValidatingAdmissionPolicyBindingArrayOutput() ValidatingAdmissionPolicyBindingArrayOutput
- func (i ValidatingAdmissionPolicyBindingArray) ToValidatingAdmissionPolicyBindingArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingArrayOutput
- type ValidatingAdmissionPolicyBindingArrayInput
- type ValidatingAdmissionPolicyBindingArrayOutput
- func (ValidatingAdmissionPolicyBindingArrayOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyBindingArrayOutput) Index(i pulumi.IntInput) ValidatingAdmissionPolicyBindingOutput
- func (o ValidatingAdmissionPolicyBindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ValidatingAdmissionPolicyBinding]
- func (o ValidatingAdmissionPolicyBindingArrayOutput) ToValidatingAdmissionPolicyBindingArrayOutput() ValidatingAdmissionPolicyBindingArrayOutput
- func (o ValidatingAdmissionPolicyBindingArrayOutput) ToValidatingAdmissionPolicyBindingArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingArrayOutput
- type ValidatingAdmissionPolicyBindingInput
- type ValidatingAdmissionPolicyBindingList
- func (*ValidatingAdmissionPolicyBindingList) ElementType() reflect.Type
- func (i *ValidatingAdmissionPolicyBindingList) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyBindingList]
- func (i *ValidatingAdmissionPolicyBindingList) ToValidatingAdmissionPolicyBindingListOutput() ValidatingAdmissionPolicyBindingListOutput
- func (i *ValidatingAdmissionPolicyBindingList) ToValidatingAdmissionPolicyBindingListOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingListOutput
- type ValidatingAdmissionPolicyBindingListArgs
- type ValidatingAdmissionPolicyBindingListArray
- func (ValidatingAdmissionPolicyBindingListArray) ElementType() reflect.Type
- func (i ValidatingAdmissionPolicyBindingListArray) ToOutput(ctx context.Context) pulumix.Output[[]*ValidatingAdmissionPolicyBindingList]
- func (i ValidatingAdmissionPolicyBindingListArray) ToValidatingAdmissionPolicyBindingListArrayOutput() ValidatingAdmissionPolicyBindingListArrayOutput
- func (i ValidatingAdmissionPolicyBindingListArray) ToValidatingAdmissionPolicyBindingListArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingListArrayOutput
- type ValidatingAdmissionPolicyBindingListArrayInput
- type ValidatingAdmissionPolicyBindingListArrayOutput
- func (ValidatingAdmissionPolicyBindingListArrayOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyBindingListArrayOutput) Index(i pulumi.IntInput) ValidatingAdmissionPolicyBindingListOutput
- func (o ValidatingAdmissionPolicyBindingListArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ValidatingAdmissionPolicyBindingList]
- func (o ValidatingAdmissionPolicyBindingListArrayOutput) ToValidatingAdmissionPolicyBindingListArrayOutput() ValidatingAdmissionPolicyBindingListArrayOutput
- func (o ValidatingAdmissionPolicyBindingListArrayOutput) ToValidatingAdmissionPolicyBindingListArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingListArrayOutput
- type ValidatingAdmissionPolicyBindingListInput
- type ValidatingAdmissionPolicyBindingListMap
- func (ValidatingAdmissionPolicyBindingListMap) ElementType() reflect.Type
- func (i ValidatingAdmissionPolicyBindingListMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ValidatingAdmissionPolicyBindingList]
- func (i ValidatingAdmissionPolicyBindingListMap) ToValidatingAdmissionPolicyBindingListMapOutput() ValidatingAdmissionPolicyBindingListMapOutput
- func (i ValidatingAdmissionPolicyBindingListMap) ToValidatingAdmissionPolicyBindingListMapOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingListMapOutput
- type ValidatingAdmissionPolicyBindingListMapInput
- type ValidatingAdmissionPolicyBindingListMapOutput
- func (ValidatingAdmissionPolicyBindingListMapOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyBindingListMapOutput) MapIndex(k pulumi.StringInput) ValidatingAdmissionPolicyBindingListOutput
- func (o ValidatingAdmissionPolicyBindingListMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ValidatingAdmissionPolicyBindingList]
- func (o ValidatingAdmissionPolicyBindingListMapOutput) ToValidatingAdmissionPolicyBindingListMapOutput() ValidatingAdmissionPolicyBindingListMapOutput
- func (o ValidatingAdmissionPolicyBindingListMapOutput) ToValidatingAdmissionPolicyBindingListMapOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingListMapOutput
- type ValidatingAdmissionPolicyBindingListOutput
- func (o ValidatingAdmissionPolicyBindingListOutput) ApiVersion() pulumi.StringOutput
- func (ValidatingAdmissionPolicyBindingListOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyBindingListOutput) Items() ValidatingAdmissionPolicyBindingTypeArrayOutput
- func (o ValidatingAdmissionPolicyBindingListOutput) Kind() pulumi.StringOutput
- func (o ValidatingAdmissionPolicyBindingListOutput) Metadata() metav1.ListMetaOutput
- func (o ValidatingAdmissionPolicyBindingListOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyBindingList]
- func (o ValidatingAdmissionPolicyBindingListOutput) ToValidatingAdmissionPolicyBindingListOutput() ValidatingAdmissionPolicyBindingListOutput
- func (o ValidatingAdmissionPolicyBindingListOutput) ToValidatingAdmissionPolicyBindingListOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingListOutput
- type ValidatingAdmissionPolicyBindingListState
- type ValidatingAdmissionPolicyBindingListType
- type ValidatingAdmissionPolicyBindingListTypeArgs
- func (ValidatingAdmissionPolicyBindingListTypeArgs) ElementType() reflect.Type
- func (i ValidatingAdmissionPolicyBindingListTypeArgs) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyBindingListType]
- func (i ValidatingAdmissionPolicyBindingListTypeArgs) ToValidatingAdmissionPolicyBindingListTypeOutput() ValidatingAdmissionPolicyBindingListTypeOutput
- func (i ValidatingAdmissionPolicyBindingListTypeArgs) ToValidatingAdmissionPolicyBindingListTypeOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingListTypeOutput
- type ValidatingAdmissionPolicyBindingListTypeInput
- type ValidatingAdmissionPolicyBindingListTypeOutput
- func (o ValidatingAdmissionPolicyBindingListTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (ValidatingAdmissionPolicyBindingListTypeOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyBindingListTypeOutput) Items() ValidatingAdmissionPolicyBindingTypeArrayOutput
- func (o ValidatingAdmissionPolicyBindingListTypeOutput) Kind() pulumi.StringPtrOutput
- func (o ValidatingAdmissionPolicyBindingListTypeOutput) Metadata() metav1.ListMetaPtrOutput
- func (o ValidatingAdmissionPolicyBindingListTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyBindingListType]
- func (o ValidatingAdmissionPolicyBindingListTypeOutput) ToValidatingAdmissionPolicyBindingListTypeOutput() ValidatingAdmissionPolicyBindingListTypeOutput
- func (o ValidatingAdmissionPolicyBindingListTypeOutput) ToValidatingAdmissionPolicyBindingListTypeOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingListTypeOutput
- type ValidatingAdmissionPolicyBindingMap
- func (ValidatingAdmissionPolicyBindingMap) ElementType() reflect.Type
- func (i ValidatingAdmissionPolicyBindingMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ValidatingAdmissionPolicyBinding]
- func (i ValidatingAdmissionPolicyBindingMap) ToValidatingAdmissionPolicyBindingMapOutput() ValidatingAdmissionPolicyBindingMapOutput
- func (i ValidatingAdmissionPolicyBindingMap) ToValidatingAdmissionPolicyBindingMapOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingMapOutput
- type ValidatingAdmissionPolicyBindingMapInput
- type ValidatingAdmissionPolicyBindingMapOutput
- func (ValidatingAdmissionPolicyBindingMapOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyBindingMapOutput) MapIndex(k pulumi.StringInput) ValidatingAdmissionPolicyBindingOutput
- func (o ValidatingAdmissionPolicyBindingMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ValidatingAdmissionPolicyBinding]
- func (o ValidatingAdmissionPolicyBindingMapOutput) ToValidatingAdmissionPolicyBindingMapOutput() ValidatingAdmissionPolicyBindingMapOutput
- func (o ValidatingAdmissionPolicyBindingMapOutput) ToValidatingAdmissionPolicyBindingMapOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingMapOutput
- type ValidatingAdmissionPolicyBindingOutput
- func (o ValidatingAdmissionPolicyBindingOutput) ApiVersion() pulumi.StringOutput
- func (ValidatingAdmissionPolicyBindingOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyBindingOutput) Kind() pulumi.StringOutput
- func (o ValidatingAdmissionPolicyBindingOutput) Metadata() metav1.ObjectMetaOutput
- func (o ValidatingAdmissionPolicyBindingOutput) Spec() ValidatingAdmissionPolicyBindingSpecOutput
- func (o ValidatingAdmissionPolicyBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyBinding]
- func (o ValidatingAdmissionPolicyBindingOutput) ToValidatingAdmissionPolicyBindingOutput() ValidatingAdmissionPolicyBindingOutput
- func (o ValidatingAdmissionPolicyBindingOutput) ToValidatingAdmissionPolicyBindingOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingOutput
- type ValidatingAdmissionPolicyBindingPatch
- func (*ValidatingAdmissionPolicyBindingPatch) ElementType() reflect.Type
- func (i *ValidatingAdmissionPolicyBindingPatch) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyBindingPatch]
- func (i *ValidatingAdmissionPolicyBindingPatch) ToValidatingAdmissionPolicyBindingPatchOutput() ValidatingAdmissionPolicyBindingPatchOutput
- func (i *ValidatingAdmissionPolicyBindingPatch) ToValidatingAdmissionPolicyBindingPatchOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingPatchOutput
- type ValidatingAdmissionPolicyBindingPatchArgs
- type ValidatingAdmissionPolicyBindingPatchArray
- func (ValidatingAdmissionPolicyBindingPatchArray) ElementType() reflect.Type
- func (i ValidatingAdmissionPolicyBindingPatchArray) ToOutput(ctx context.Context) pulumix.Output[[]*ValidatingAdmissionPolicyBindingPatch]
- func (i ValidatingAdmissionPolicyBindingPatchArray) ToValidatingAdmissionPolicyBindingPatchArrayOutput() ValidatingAdmissionPolicyBindingPatchArrayOutput
- func (i ValidatingAdmissionPolicyBindingPatchArray) ToValidatingAdmissionPolicyBindingPatchArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingPatchArrayOutput
- type ValidatingAdmissionPolicyBindingPatchArrayInput
- type ValidatingAdmissionPolicyBindingPatchArrayOutput
- func (ValidatingAdmissionPolicyBindingPatchArrayOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyBindingPatchArrayOutput) Index(i pulumi.IntInput) ValidatingAdmissionPolicyBindingPatchOutput
- func (o ValidatingAdmissionPolicyBindingPatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ValidatingAdmissionPolicyBindingPatch]
- func (o ValidatingAdmissionPolicyBindingPatchArrayOutput) ToValidatingAdmissionPolicyBindingPatchArrayOutput() ValidatingAdmissionPolicyBindingPatchArrayOutput
- func (o ValidatingAdmissionPolicyBindingPatchArrayOutput) ToValidatingAdmissionPolicyBindingPatchArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingPatchArrayOutput
- type ValidatingAdmissionPolicyBindingPatchInput
- type ValidatingAdmissionPolicyBindingPatchMap
- func (ValidatingAdmissionPolicyBindingPatchMap) ElementType() reflect.Type
- func (i ValidatingAdmissionPolicyBindingPatchMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ValidatingAdmissionPolicyBindingPatch]
- func (i ValidatingAdmissionPolicyBindingPatchMap) ToValidatingAdmissionPolicyBindingPatchMapOutput() ValidatingAdmissionPolicyBindingPatchMapOutput
- func (i ValidatingAdmissionPolicyBindingPatchMap) ToValidatingAdmissionPolicyBindingPatchMapOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingPatchMapOutput
- type ValidatingAdmissionPolicyBindingPatchMapInput
- type ValidatingAdmissionPolicyBindingPatchMapOutput
- func (ValidatingAdmissionPolicyBindingPatchMapOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyBindingPatchMapOutput) MapIndex(k pulumi.StringInput) ValidatingAdmissionPolicyBindingPatchOutput
- func (o ValidatingAdmissionPolicyBindingPatchMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ValidatingAdmissionPolicyBindingPatch]
- func (o ValidatingAdmissionPolicyBindingPatchMapOutput) ToValidatingAdmissionPolicyBindingPatchMapOutput() ValidatingAdmissionPolicyBindingPatchMapOutput
- func (o ValidatingAdmissionPolicyBindingPatchMapOutput) ToValidatingAdmissionPolicyBindingPatchMapOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingPatchMapOutput
- type ValidatingAdmissionPolicyBindingPatchOutput
- func (o ValidatingAdmissionPolicyBindingPatchOutput) ApiVersion() pulumi.StringPtrOutput
- func (ValidatingAdmissionPolicyBindingPatchOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyBindingPatchOutput) Kind() pulumi.StringPtrOutput
- func (o ValidatingAdmissionPolicyBindingPatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o ValidatingAdmissionPolicyBindingPatchOutput) Spec() ValidatingAdmissionPolicyBindingSpecPatchPtrOutput
- func (o ValidatingAdmissionPolicyBindingPatchOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyBindingPatch]
- func (o ValidatingAdmissionPolicyBindingPatchOutput) ToValidatingAdmissionPolicyBindingPatchOutput() ValidatingAdmissionPolicyBindingPatchOutput
- func (o ValidatingAdmissionPolicyBindingPatchOutput) ToValidatingAdmissionPolicyBindingPatchOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingPatchOutput
- type ValidatingAdmissionPolicyBindingPatchState
- type ValidatingAdmissionPolicyBindingPatchType
- type ValidatingAdmissionPolicyBindingPatchTypeArgs
- func (ValidatingAdmissionPolicyBindingPatchTypeArgs) ElementType() reflect.Type
- func (i ValidatingAdmissionPolicyBindingPatchTypeArgs) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyBindingPatchType]
- func (i ValidatingAdmissionPolicyBindingPatchTypeArgs) ToValidatingAdmissionPolicyBindingPatchTypeOutput() ValidatingAdmissionPolicyBindingPatchTypeOutput
- func (i ValidatingAdmissionPolicyBindingPatchTypeArgs) ToValidatingAdmissionPolicyBindingPatchTypeOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingPatchTypeOutput
- type ValidatingAdmissionPolicyBindingPatchTypeInput
- type ValidatingAdmissionPolicyBindingPatchTypeOutput
- func (o ValidatingAdmissionPolicyBindingPatchTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (ValidatingAdmissionPolicyBindingPatchTypeOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyBindingPatchTypeOutput) Kind() pulumi.StringPtrOutput
- func (o ValidatingAdmissionPolicyBindingPatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o ValidatingAdmissionPolicyBindingPatchTypeOutput) Spec() ValidatingAdmissionPolicyBindingSpecPatchPtrOutput
- func (o ValidatingAdmissionPolicyBindingPatchTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyBindingPatchType]
- func (o ValidatingAdmissionPolicyBindingPatchTypeOutput) ToValidatingAdmissionPolicyBindingPatchTypeOutput() ValidatingAdmissionPolicyBindingPatchTypeOutput
- func (o ValidatingAdmissionPolicyBindingPatchTypeOutput) ToValidatingAdmissionPolicyBindingPatchTypeOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingPatchTypeOutput
- type ValidatingAdmissionPolicyBindingSpec
- type ValidatingAdmissionPolicyBindingSpecArgs
- func (ValidatingAdmissionPolicyBindingSpecArgs) ElementType() reflect.Type
- func (i ValidatingAdmissionPolicyBindingSpecArgs) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyBindingSpec]
- func (i ValidatingAdmissionPolicyBindingSpecArgs) ToValidatingAdmissionPolicyBindingSpecOutput() ValidatingAdmissionPolicyBindingSpecOutput
- func (i ValidatingAdmissionPolicyBindingSpecArgs) ToValidatingAdmissionPolicyBindingSpecOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingSpecOutput
- func (i ValidatingAdmissionPolicyBindingSpecArgs) ToValidatingAdmissionPolicyBindingSpecPtrOutput() ValidatingAdmissionPolicyBindingSpecPtrOutput
- func (i ValidatingAdmissionPolicyBindingSpecArgs) ToValidatingAdmissionPolicyBindingSpecPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingSpecPtrOutput
- type ValidatingAdmissionPolicyBindingSpecInput
- type ValidatingAdmissionPolicyBindingSpecOutput
- func (ValidatingAdmissionPolicyBindingSpecOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyBindingSpecOutput) MatchResources() MatchResourcesPtrOutput
- func (o ValidatingAdmissionPolicyBindingSpecOutput) ParamRef() ParamRefPtrOutput
- func (o ValidatingAdmissionPolicyBindingSpecOutput) PolicyName() pulumi.StringPtrOutput
- func (o ValidatingAdmissionPolicyBindingSpecOutput) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyBindingSpec]
- func (o ValidatingAdmissionPolicyBindingSpecOutput) ToValidatingAdmissionPolicyBindingSpecOutput() ValidatingAdmissionPolicyBindingSpecOutput
- func (o ValidatingAdmissionPolicyBindingSpecOutput) ToValidatingAdmissionPolicyBindingSpecOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingSpecOutput
- func (o ValidatingAdmissionPolicyBindingSpecOutput) ToValidatingAdmissionPolicyBindingSpecPtrOutput() ValidatingAdmissionPolicyBindingSpecPtrOutput
- func (o ValidatingAdmissionPolicyBindingSpecOutput) ToValidatingAdmissionPolicyBindingSpecPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingSpecPtrOutput
- func (o ValidatingAdmissionPolicyBindingSpecOutput) ValidationActions() pulumi.StringArrayOutput
- type ValidatingAdmissionPolicyBindingSpecPatch
- type ValidatingAdmissionPolicyBindingSpecPatchArgs
- func (ValidatingAdmissionPolicyBindingSpecPatchArgs) ElementType() reflect.Type
- func (i ValidatingAdmissionPolicyBindingSpecPatchArgs) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyBindingSpecPatch]
- func (i ValidatingAdmissionPolicyBindingSpecPatchArgs) ToValidatingAdmissionPolicyBindingSpecPatchOutput() ValidatingAdmissionPolicyBindingSpecPatchOutput
- func (i ValidatingAdmissionPolicyBindingSpecPatchArgs) ToValidatingAdmissionPolicyBindingSpecPatchOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingSpecPatchOutput
- func (i ValidatingAdmissionPolicyBindingSpecPatchArgs) ToValidatingAdmissionPolicyBindingSpecPatchPtrOutput() ValidatingAdmissionPolicyBindingSpecPatchPtrOutput
- func (i ValidatingAdmissionPolicyBindingSpecPatchArgs) ToValidatingAdmissionPolicyBindingSpecPatchPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingSpecPatchPtrOutput
- type ValidatingAdmissionPolicyBindingSpecPatchInput
- type ValidatingAdmissionPolicyBindingSpecPatchOutput
- func (ValidatingAdmissionPolicyBindingSpecPatchOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyBindingSpecPatchOutput) MatchResources() MatchResourcesPatchPtrOutput
- func (o ValidatingAdmissionPolicyBindingSpecPatchOutput) ParamRef() ParamRefPatchPtrOutput
- func (o ValidatingAdmissionPolicyBindingSpecPatchOutput) PolicyName() pulumi.StringPtrOutput
- func (o ValidatingAdmissionPolicyBindingSpecPatchOutput) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyBindingSpecPatch]
- func (o ValidatingAdmissionPolicyBindingSpecPatchOutput) ToValidatingAdmissionPolicyBindingSpecPatchOutput() ValidatingAdmissionPolicyBindingSpecPatchOutput
- func (o ValidatingAdmissionPolicyBindingSpecPatchOutput) ToValidatingAdmissionPolicyBindingSpecPatchOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingSpecPatchOutput
- func (o ValidatingAdmissionPolicyBindingSpecPatchOutput) ToValidatingAdmissionPolicyBindingSpecPatchPtrOutput() ValidatingAdmissionPolicyBindingSpecPatchPtrOutput
- func (o ValidatingAdmissionPolicyBindingSpecPatchOutput) ToValidatingAdmissionPolicyBindingSpecPatchPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingSpecPatchPtrOutput
- func (o ValidatingAdmissionPolicyBindingSpecPatchOutput) ValidationActions() pulumi.StringArrayOutput
- type ValidatingAdmissionPolicyBindingSpecPatchPtrInput
- type ValidatingAdmissionPolicyBindingSpecPatchPtrOutput
- func (o ValidatingAdmissionPolicyBindingSpecPatchPtrOutput) Elem() ValidatingAdmissionPolicyBindingSpecPatchOutput
- func (ValidatingAdmissionPolicyBindingSpecPatchPtrOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyBindingSpecPatchPtrOutput) MatchResources() MatchResourcesPatchPtrOutput
- func (o ValidatingAdmissionPolicyBindingSpecPatchPtrOutput) ParamRef() ParamRefPatchPtrOutput
- func (o ValidatingAdmissionPolicyBindingSpecPatchPtrOutput) PolicyName() pulumi.StringPtrOutput
- func (o ValidatingAdmissionPolicyBindingSpecPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyBindingSpecPatch]
- func (o ValidatingAdmissionPolicyBindingSpecPatchPtrOutput) ToValidatingAdmissionPolicyBindingSpecPatchPtrOutput() ValidatingAdmissionPolicyBindingSpecPatchPtrOutput
- func (o ValidatingAdmissionPolicyBindingSpecPatchPtrOutput) ToValidatingAdmissionPolicyBindingSpecPatchPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingSpecPatchPtrOutput
- func (o ValidatingAdmissionPolicyBindingSpecPatchPtrOutput) ValidationActions() pulumi.StringArrayOutput
- type ValidatingAdmissionPolicyBindingSpecPtrInput
- type ValidatingAdmissionPolicyBindingSpecPtrOutput
- func (o ValidatingAdmissionPolicyBindingSpecPtrOutput) Elem() ValidatingAdmissionPolicyBindingSpecOutput
- func (ValidatingAdmissionPolicyBindingSpecPtrOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyBindingSpecPtrOutput) MatchResources() MatchResourcesPtrOutput
- func (o ValidatingAdmissionPolicyBindingSpecPtrOutput) ParamRef() ParamRefPtrOutput
- func (o ValidatingAdmissionPolicyBindingSpecPtrOutput) PolicyName() pulumi.StringPtrOutput
- func (o ValidatingAdmissionPolicyBindingSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyBindingSpec]
- func (o ValidatingAdmissionPolicyBindingSpecPtrOutput) ToValidatingAdmissionPolicyBindingSpecPtrOutput() ValidatingAdmissionPolicyBindingSpecPtrOutput
- func (o ValidatingAdmissionPolicyBindingSpecPtrOutput) ToValidatingAdmissionPolicyBindingSpecPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingSpecPtrOutput
- func (o ValidatingAdmissionPolicyBindingSpecPtrOutput) ValidationActions() pulumi.StringArrayOutput
- type ValidatingAdmissionPolicyBindingState
- type ValidatingAdmissionPolicyBindingType
- type ValidatingAdmissionPolicyBindingTypeArgs
- func (ValidatingAdmissionPolicyBindingTypeArgs) ElementType() reflect.Type
- func (i ValidatingAdmissionPolicyBindingTypeArgs) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyBindingType]
- func (i ValidatingAdmissionPolicyBindingTypeArgs) ToValidatingAdmissionPolicyBindingTypeOutput() ValidatingAdmissionPolicyBindingTypeOutput
- func (i ValidatingAdmissionPolicyBindingTypeArgs) ToValidatingAdmissionPolicyBindingTypeOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingTypeOutput
- type ValidatingAdmissionPolicyBindingTypeArray
- func (ValidatingAdmissionPolicyBindingTypeArray) ElementType() reflect.Type
- func (i ValidatingAdmissionPolicyBindingTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]ValidatingAdmissionPolicyBindingType]
- func (i ValidatingAdmissionPolicyBindingTypeArray) ToValidatingAdmissionPolicyBindingTypeArrayOutput() ValidatingAdmissionPolicyBindingTypeArrayOutput
- func (i ValidatingAdmissionPolicyBindingTypeArray) ToValidatingAdmissionPolicyBindingTypeArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingTypeArrayOutput
- type ValidatingAdmissionPolicyBindingTypeArrayInput
- type ValidatingAdmissionPolicyBindingTypeArrayOutput
- func (ValidatingAdmissionPolicyBindingTypeArrayOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyBindingTypeArrayOutput) Index(i pulumi.IntInput) ValidatingAdmissionPolicyBindingTypeOutput
- func (o ValidatingAdmissionPolicyBindingTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ValidatingAdmissionPolicyBindingType]
- func (o ValidatingAdmissionPolicyBindingTypeArrayOutput) ToValidatingAdmissionPolicyBindingTypeArrayOutput() ValidatingAdmissionPolicyBindingTypeArrayOutput
- func (o ValidatingAdmissionPolicyBindingTypeArrayOutput) ToValidatingAdmissionPolicyBindingTypeArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingTypeArrayOutput
- type ValidatingAdmissionPolicyBindingTypeInput
- type ValidatingAdmissionPolicyBindingTypeOutput
- func (o ValidatingAdmissionPolicyBindingTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (ValidatingAdmissionPolicyBindingTypeOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyBindingTypeOutput) Kind() pulumi.StringPtrOutput
- func (o ValidatingAdmissionPolicyBindingTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o ValidatingAdmissionPolicyBindingTypeOutput) Spec() ValidatingAdmissionPolicyBindingSpecPtrOutput
- func (o ValidatingAdmissionPolicyBindingTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyBindingType]
- func (o ValidatingAdmissionPolicyBindingTypeOutput) ToValidatingAdmissionPolicyBindingTypeOutput() ValidatingAdmissionPolicyBindingTypeOutput
- func (o ValidatingAdmissionPolicyBindingTypeOutput) ToValidatingAdmissionPolicyBindingTypeOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingTypeOutput
- type ValidatingAdmissionPolicyInput
- type ValidatingAdmissionPolicyList
- func (*ValidatingAdmissionPolicyList) ElementType() reflect.Type
- func (i *ValidatingAdmissionPolicyList) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyList]
- func (i *ValidatingAdmissionPolicyList) ToValidatingAdmissionPolicyListOutput() ValidatingAdmissionPolicyListOutput
- func (i *ValidatingAdmissionPolicyList) ToValidatingAdmissionPolicyListOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyListOutput
- type ValidatingAdmissionPolicyListArgs
- type ValidatingAdmissionPolicyListArray
- func (ValidatingAdmissionPolicyListArray) ElementType() reflect.Type
- func (i ValidatingAdmissionPolicyListArray) ToOutput(ctx context.Context) pulumix.Output[[]*ValidatingAdmissionPolicyList]
- func (i ValidatingAdmissionPolicyListArray) ToValidatingAdmissionPolicyListArrayOutput() ValidatingAdmissionPolicyListArrayOutput
- func (i ValidatingAdmissionPolicyListArray) ToValidatingAdmissionPolicyListArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyListArrayOutput
- type ValidatingAdmissionPolicyListArrayInput
- type ValidatingAdmissionPolicyListArrayOutput
- func (ValidatingAdmissionPolicyListArrayOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyListArrayOutput) Index(i pulumi.IntInput) ValidatingAdmissionPolicyListOutput
- func (o ValidatingAdmissionPolicyListArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ValidatingAdmissionPolicyList]
- func (o ValidatingAdmissionPolicyListArrayOutput) ToValidatingAdmissionPolicyListArrayOutput() ValidatingAdmissionPolicyListArrayOutput
- func (o ValidatingAdmissionPolicyListArrayOutput) ToValidatingAdmissionPolicyListArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyListArrayOutput
- type ValidatingAdmissionPolicyListInput
- type ValidatingAdmissionPolicyListMap
- func (ValidatingAdmissionPolicyListMap) ElementType() reflect.Type
- func (i ValidatingAdmissionPolicyListMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ValidatingAdmissionPolicyList]
- func (i ValidatingAdmissionPolicyListMap) ToValidatingAdmissionPolicyListMapOutput() ValidatingAdmissionPolicyListMapOutput
- func (i ValidatingAdmissionPolicyListMap) ToValidatingAdmissionPolicyListMapOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyListMapOutput
- type ValidatingAdmissionPolicyListMapInput
- type ValidatingAdmissionPolicyListMapOutput
- func (ValidatingAdmissionPolicyListMapOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyListMapOutput) MapIndex(k pulumi.StringInput) ValidatingAdmissionPolicyListOutput
- func (o ValidatingAdmissionPolicyListMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ValidatingAdmissionPolicyList]
- func (o ValidatingAdmissionPolicyListMapOutput) ToValidatingAdmissionPolicyListMapOutput() ValidatingAdmissionPolicyListMapOutput
- func (o ValidatingAdmissionPolicyListMapOutput) ToValidatingAdmissionPolicyListMapOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyListMapOutput
- type ValidatingAdmissionPolicyListOutput
- func (o ValidatingAdmissionPolicyListOutput) ApiVersion() pulumi.StringOutput
- func (ValidatingAdmissionPolicyListOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyListOutput) Items() ValidatingAdmissionPolicyTypeArrayOutput
- func (o ValidatingAdmissionPolicyListOutput) Kind() pulumi.StringOutput
- func (o ValidatingAdmissionPolicyListOutput) Metadata() metav1.ListMetaOutput
- func (o ValidatingAdmissionPolicyListOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyList]
- func (o ValidatingAdmissionPolicyListOutput) ToValidatingAdmissionPolicyListOutput() ValidatingAdmissionPolicyListOutput
- func (o ValidatingAdmissionPolicyListOutput) ToValidatingAdmissionPolicyListOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyListOutput
- type ValidatingAdmissionPolicyListState
- type ValidatingAdmissionPolicyListType
- type ValidatingAdmissionPolicyListTypeArgs
- func (ValidatingAdmissionPolicyListTypeArgs) ElementType() reflect.Type
- func (i ValidatingAdmissionPolicyListTypeArgs) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyListType]
- func (i ValidatingAdmissionPolicyListTypeArgs) ToValidatingAdmissionPolicyListTypeOutput() ValidatingAdmissionPolicyListTypeOutput
- func (i ValidatingAdmissionPolicyListTypeArgs) ToValidatingAdmissionPolicyListTypeOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyListTypeOutput
- type ValidatingAdmissionPolicyListTypeInput
- type ValidatingAdmissionPolicyListTypeOutput
- func (o ValidatingAdmissionPolicyListTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (ValidatingAdmissionPolicyListTypeOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyListTypeOutput) Items() ValidatingAdmissionPolicyTypeArrayOutput
- func (o ValidatingAdmissionPolicyListTypeOutput) Kind() pulumi.StringPtrOutput
- func (o ValidatingAdmissionPolicyListTypeOutput) Metadata() metav1.ListMetaPtrOutput
- func (o ValidatingAdmissionPolicyListTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyListType]
- func (o ValidatingAdmissionPolicyListTypeOutput) ToValidatingAdmissionPolicyListTypeOutput() ValidatingAdmissionPolicyListTypeOutput
- func (o ValidatingAdmissionPolicyListTypeOutput) ToValidatingAdmissionPolicyListTypeOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyListTypeOutput
- type ValidatingAdmissionPolicyMap
- func (ValidatingAdmissionPolicyMap) ElementType() reflect.Type
- func (i ValidatingAdmissionPolicyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ValidatingAdmissionPolicy]
- func (i ValidatingAdmissionPolicyMap) ToValidatingAdmissionPolicyMapOutput() ValidatingAdmissionPolicyMapOutput
- func (i ValidatingAdmissionPolicyMap) ToValidatingAdmissionPolicyMapOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyMapOutput
- type ValidatingAdmissionPolicyMapInput
- type ValidatingAdmissionPolicyMapOutput
- func (ValidatingAdmissionPolicyMapOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyMapOutput) MapIndex(k pulumi.StringInput) ValidatingAdmissionPolicyOutput
- func (o ValidatingAdmissionPolicyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ValidatingAdmissionPolicy]
- func (o ValidatingAdmissionPolicyMapOutput) ToValidatingAdmissionPolicyMapOutput() ValidatingAdmissionPolicyMapOutput
- func (o ValidatingAdmissionPolicyMapOutput) ToValidatingAdmissionPolicyMapOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyMapOutput
- type ValidatingAdmissionPolicyOutput
- func (o ValidatingAdmissionPolicyOutput) ApiVersion() pulumi.StringOutput
- func (ValidatingAdmissionPolicyOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyOutput) Kind() pulumi.StringOutput
- func (o ValidatingAdmissionPolicyOutput) Metadata() metav1.ObjectMetaOutput
- func (o ValidatingAdmissionPolicyOutput) Spec() ValidatingAdmissionPolicySpecOutput
- func (o ValidatingAdmissionPolicyOutput) Status() ValidatingAdmissionPolicyStatusPtrOutput
- func (o ValidatingAdmissionPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicy]
- func (o ValidatingAdmissionPolicyOutput) ToValidatingAdmissionPolicyOutput() ValidatingAdmissionPolicyOutput
- func (o ValidatingAdmissionPolicyOutput) ToValidatingAdmissionPolicyOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyOutput
- type ValidatingAdmissionPolicyPatch
- func (*ValidatingAdmissionPolicyPatch) ElementType() reflect.Type
- func (i *ValidatingAdmissionPolicyPatch) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyPatch]
- func (i *ValidatingAdmissionPolicyPatch) ToValidatingAdmissionPolicyPatchOutput() ValidatingAdmissionPolicyPatchOutput
- func (i *ValidatingAdmissionPolicyPatch) ToValidatingAdmissionPolicyPatchOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyPatchOutput
- type ValidatingAdmissionPolicyPatchArgs
- type ValidatingAdmissionPolicyPatchArray
- func (ValidatingAdmissionPolicyPatchArray) ElementType() reflect.Type
- func (i ValidatingAdmissionPolicyPatchArray) ToOutput(ctx context.Context) pulumix.Output[[]*ValidatingAdmissionPolicyPatch]
- func (i ValidatingAdmissionPolicyPatchArray) ToValidatingAdmissionPolicyPatchArrayOutput() ValidatingAdmissionPolicyPatchArrayOutput
- func (i ValidatingAdmissionPolicyPatchArray) ToValidatingAdmissionPolicyPatchArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyPatchArrayOutput
- type ValidatingAdmissionPolicyPatchArrayInput
- type ValidatingAdmissionPolicyPatchArrayOutput
- func (ValidatingAdmissionPolicyPatchArrayOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyPatchArrayOutput) Index(i pulumi.IntInput) ValidatingAdmissionPolicyPatchOutput
- func (o ValidatingAdmissionPolicyPatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ValidatingAdmissionPolicyPatch]
- func (o ValidatingAdmissionPolicyPatchArrayOutput) ToValidatingAdmissionPolicyPatchArrayOutput() ValidatingAdmissionPolicyPatchArrayOutput
- func (o ValidatingAdmissionPolicyPatchArrayOutput) ToValidatingAdmissionPolicyPatchArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyPatchArrayOutput
- type ValidatingAdmissionPolicyPatchInput
- type ValidatingAdmissionPolicyPatchMap
- func (ValidatingAdmissionPolicyPatchMap) ElementType() reflect.Type
- func (i ValidatingAdmissionPolicyPatchMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ValidatingAdmissionPolicyPatch]
- func (i ValidatingAdmissionPolicyPatchMap) ToValidatingAdmissionPolicyPatchMapOutput() ValidatingAdmissionPolicyPatchMapOutput
- func (i ValidatingAdmissionPolicyPatchMap) ToValidatingAdmissionPolicyPatchMapOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyPatchMapOutput
- type ValidatingAdmissionPolicyPatchMapInput
- type ValidatingAdmissionPolicyPatchMapOutput
- func (ValidatingAdmissionPolicyPatchMapOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyPatchMapOutput) MapIndex(k pulumi.StringInput) ValidatingAdmissionPolicyPatchOutput
- func (o ValidatingAdmissionPolicyPatchMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ValidatingAdmissionPolicyPatch]
- func (o ValidatingAdmissionPolicyPatchMapOutput) ToValidatingAdmissionPolicyPatchMapOutput() ValidatingAdmissionPolicyPatchMapOutput
- func (o ValidatingAdmissionPolicyPatchMapOutput) ToValidatingAdmissionPolicyPatchMapOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyPatchMapOutput
- type ValidatingAdmissionPolicyPatchOutput
- func (o ValidatingAdmissionPolicyPatchOutput) ApiVersion() pulumi.StringPtrOutput
- func (ValidatingAdmissionPolicyPatchOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyPatchOutput) Kind() pulumi.StringPtrOutput
- func (o ValidatingAdmissionPolicyPatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o ValidatingAdmissionPolicyPatchOutput) Spec() ValidatingAdmissionPolicySpecPatchPtrOutput
- func (o ValidatingAdmissionPolicyPatchOutput) Status() ValidatingAdmissionPolicyStatusPatchPtrOutput
- func (o ValidatingAdmissionPolicyPatchOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyPatch]
- func (o ValidatingAdmissionPolicyPatchOutput) ToValidatingAdmissionPolicyPatchOutput() ValidatingAdmissionPolicyPatchOutput
- func (o ValidatingAdmissionPolicyPatchOutput) ToValidatingAdmissionPolicyPatchOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyPatchOutput
- type ValidatingAdmissionPolicyPatchState
- type ValidatingAdmissionPolicyPatchType
- type ValidatingAdmissionPolicyPatchTypeArgs
- func (ValidatingAdmissionPolicyPatchTypeArgs) ElementType() reflect.Type
- func (i ValidatingAdmissionPolicyPatchTypeArgs) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyPatchType]
- func (i ValidatingAdmissionPolicyPatchTypeArgs) ToValidatingAdmissionPolicyPatchTypeOutput() ValidatingAdmissionPolicyPatchTypeOutput
- func (i ValidatingAdmissionPolicyPatchTypeArgs) ToValidatingAdmissionPolicyPatchTypeOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyPatchTypeOutput
- type ValidatingAdmissionPolicyPatchTypeInput
- type ValidatingAdmissionPolicyPatchTypeOutput
- func (o ValidatingAdmissionPolicyPatchTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (ValidatingAdmissionPolicyPatchTypeOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyPatchTypeOutput) Kind() pulumi.StringPtrOutput
- func (o ValidatingAdmissionPolicyPatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o ValidatingAdmissionPolicyPatchTypeOutput) Spec() ValidatingAdmissionPolicySpecPatchPtrOutput
- func (o ValidatingAdmissionPolicyPatchTypeOutput) Status() ValidatingAdmissionPolicyStatusPatchPtrOutput
- func (o ValidatingAdmissionPolicyPatchTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyPatchType]
- func (o ValidatingAdmissionPolicyPatchTypeOutput) ToValidatingAdmissionPolicyPatchTypeOutput() ValidatingAdmissionPolicyPatchTypeOutput
- func (o ValidatingAdmissionPolicyPatchTypeOutput) ToValidatingAdmissionPolicyPatchTypeOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyPatchTypeOutput
- type ValidatingAdmissionPolicySpec
- type ValidatingAdmissionPolicySpecArgs
- func (ValidatingAdmissionPolicySpecArgs) ElementType() reflect.Type
- func (i ValidatingAdmissionPolicySpecArgs) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicySpec]
- func (i ValidatingAdmissionPolicySpecArgs) ToValidatingAdmissionPolicySpecOutput() ValidatingAdmissionPolicySpecOutput
- func (i ValidatingAdmissionPolicySpecArgs) ToValidatingAdmissionPolicySpecOutputWithContext(ctx context.Context) ValidatingAdmissionPolicySpecOutput
- func (i ValidatingAdmissionPolicySpecArgs) ToValidatingAdmissionPolicySpecPtrOutput() ValidatingAdmissionPolicySpecPtrOutput
- func (i ValidatingAdmissionPolicySpecArgs) ToValidatingAdmissionPolicySpecPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicySpecPtrOutput
- type ValidatingAdmissionPolicySpecInput
- type ValidatingAdmissionPolicySpecOutput
- func (o ValidatingAdmissionPolicySpecOutput) AuditAnnotations() AuditAnnotationArrayOutput
- func (ValidatingAdmissionPolicySpecOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicySpecOutput) FailurePolicy() pulumi.StringPtrOutput
- func (o ValidatingAdmissionPolicySpecOutput) MatchConditions() MatchConditionArrayOutput
- func (o ValidatingAdmissionPolicySpecOutput) MatchConstraints() MatchResourcesPtrOutput
- func (o ValidatingAdmissionPolicySpecOutput) ParamKind() ParamKindPtrOutput
- func (o ValidatingAdmissionPolicySpecOutput) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicySpec]
- func (o ValidatingAdmissionPolicySpecOutput) ToValidatingAdmissionPolicySpecOutput() ValidatingAdmissionPolicySpecOutput
- func (o ValidatingAdmissionPolicySpecOutput) ToValidatingAdmissionPolicySpecOutputWithContext(ctx context.Context) ValidatingAdmissionPolicySpecOutput
- func (o ValidatingAdmissionPolicySpecOutput) ToValidatingAdmissionPolicySpecPtrOutput() ValidatingAdmissionPolicySpecPtrOutput
- func (o ValidatingAdmissionPolicySpecOutput) ToValidatingAdmissionPolicySpecPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicySpecPtrOutput
- func (o ValidatingAdmissionPolicySpecOutput) Validations() ValidationArrayOutput
- func (o ValidatingAdmissionPolicySpecOutput) Variables() VariableArrayOutput
- type ValidatingAdmissionPolicySpecPatch
- type ValidatingAdmissionPolicySpecPatchArgs
- func (ValidatingAdmissionPolicySpecPatchArgs) ElementType() reflect.Type
- func (i ValidatingAdmissionPolicySpecPatchArgs) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicySpecPatch]
- func (i ValidatingAdmissionPolicySpecPatchArgs) ToValidatingAdmissionPolicySpecPatchOutput() ValidatingAdmissionPolicySpecPatchOutput
- func (i ValidatingAdmissionPolicySpecPatchArgs) ToValidatingAdmissionPolicySpecPatchOutputWithContext(ctx context.Context) ValidatingAdmissionPolicySpecPatchOutput
- func (i ValidatingAdmissionPolicySpecPatchArgs) ToValidatingAdmissionPolicySpecPatchPtrOutput() ValidatingAdmissionPolicySpecPatchPtrOutput
- func (i ValidatingAdmissionPolicySpecPatchArgs) ToValidatingAdmissionPolicySpecPatchPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicySpecPatchPtrOutput
- type ValidatingAdmissionPolicySpecPatchInput
- type ValidatingAdmissionPolicySpecPatchOutput
- func (o ValidatingAdmissionPolicySpecPatchOutput) AuditAnnotations() AuditAnnotationPatchArrayOutput
- func (ValidatingAdmissionPolicySpecPatchOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicySpecPatchOutput) FailurePolicy() pulumi.StringPtrOutput
- func (o ValidatingAdmissionPolicySpecPatchOutput) MatchConditions() MatchConditionPatchArrayOutput
- func (o ValidatingAdmissionPolicySpecPatchOutput) MatchConstraints() MatchResourcesPatchPtrOutput
- func (o ValidatingAdmissionPolicySpecPatchOutput) ParamKind() ParamKindPatchPtrOutput
- func (o ValidatingAdmissionPolicySpecPatchOutput) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicySpecPatch]
- func (o ValidatingAdmissionPolicySpecPatchOutput) ToValidatingAdmissionPolicySpecPatchOutput() ValidatingAdmissionPolicySpecPatchOutput
- func (o ValidatingAdmissionPolicySpecPatchOutput) ToValidatingAdmissionPolicySpecPatchOutputWithContext(ctx context.Context) ValidatingAdmissionPolicySpecPatchOutput
- func (o ValidatingAdmissionPolicySpecPatchOutput) ToValidatingAdmissionPolicySpecPatchPtrOutput() ValidatingAdmissionPolicySpecPatchPtrOutput
- func (o ValidatingAdmissionPolicySpecPatchOutput) ToValidatingAdmissionPolicySpecPatchPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicySpecPatchPtrOutput
- func (o ValidatingAdmissionPolicySpecPatchOutput) Validations() ValidationPatchArrayOutput
- func (o ValidatingAdmissionPolicySpecPatchOutput) Variables() VariablePatchArrayOutput
- type ValidatingAdmissionPolicySpecPatchPtrInput
- type ValidatingAdmissionPolicySpecPatchPtrOutput
- func (o ValidatingAdmissionPolicySpecPatchPtrOutput) AuditAnnotations() AuditAnnotationPatchArrayOutput
- func (o ValidatingAdmissionPolicySpecPatchPtrOutput) Elem() ValidatingAdmissionPolicySpecPatchOutput
- func (ValidatingAdmissionPolicySpecPatchPtrOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicySpecPatchPtrOutput) FailurePolicy() pulumi.StringPtrOutput
- func (o ValidatingAdmissionPolicySpecPatchPtrOutput) MatchConditions() MatchConditionPatchArrayOutput
- func (o ValidatingAdmissionPolicySpecPatchPtrOutput) MatchConstraints() MatchResourcesPatchPtrOutput
- func (o ValidatingAdmissionPolicySpecPatchPtrOutput) ParamKind() ParamKindPatchPtrOutput
- func (o ValidatingAdmissionPolicySpecPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicySpecPatch]
- func (o ValidatingAdmissionPolicySpecPatchPtrOutput) ToValidatingAdmissionPolicySpecPatchPtrOutput() ValidatingAdmissionPolicySpecPatchPtrOutput
- func (o ValidatingAdmissionPolicySpecPatchPtrOutput) ToValidatingAdmissionPolicySpecPatchPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicySpecPatchPtrOutput
- func (o ValidatingAdmissionPolicySpecPatchPtrOutput) Validations() ValidationPatchArrayOutput
- func (o ValidatingAdmissionPolicySpecPatchPtrOutput) Variables() VariablePatchArrayOutput
- type ValidatingAdmissionPolicySpecPtrInput
- type ValidatingAdmissionPolicySpecPtrOutput
- func (o ValidatingAdmissionPolicySpecPtrOutput) AuditAnnotations() AuditAnnotationArrayOutput
- func (o ValidatingAdmissionPolicySpecPtrOutput) Elem() ValidatingAdmissionPolicySpecOutput
- func (ValidatingAdmissionPolicySpecPtrOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicySpecPtrOutput) FailurePolicy() pulumi.StringPtrOutput
- func (o ValidatingAdmissionPolicySpecPtrOutput) MatchConditions() MatchConditionArrayOutput
- func (o ValidatingAdmissionPolicySpecPtrOutput) MatchConstraints() MatchResourcesPtrOutput
- func (o ValidatingAdmissionPolicySpecPtrOutput) ParamKind() ParamKindPtrOutput
- func (o ValidatingAdmissionPolicySpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicySpec]
- func (o ValidatingAdmissionPolicySpecPtrOutput) ToValidatingAdmissionPolicySpecPtrOutput() ValidatingAdmissionPolicySpecPtrOutput
- func (o ValidatingAdmissionPolicySpecPtrOutput) ToValidatingAdmissionPolicySpecPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicySpecPtrOutput
- func (o ValidatingAdmissionPolicySpecPtrOutput) Validations() ValidationArrayOutput
- func (o ValidatingAdmissionPolicySpecPtrOutput) Variables() VariableArrayOutput
- type ValidatingAdmissionPolicyState
- type ValidatingAdmissionPolicyStatus
- type ValidatingAdmissionPolicyStatusArgs
- func (ValidatingAdmissionPolicyStatusArgs) ElementType() reflect.Type
- func (i ValidatingAdmissionPolicyStatusArgs) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyStatus]
- func (i ValidatingAdmissionPolicyStatusArgs) ToValidatingAdmissionPolicyStatusOutput() ValidatingAdmissionPolicyStatusOutput
- func (i ValidatingAdmissionPolicyStatusArgs) ToValidatingAdmissionPolicyStatusOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyStatusOutput
- func (i ValidatingAdmissionPolicyStatusArgs) ToValidatingAdmissionPolicyStatusPtrOutput() ValidatingAdmissionPolicyStatusPtrOutput
- func (i ValidatingAdmissionPolicyStatusArgs) ToValidatingAdmissionPolicyStatusPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyStatusPtrOutput
- type ValidatingAdmissionPolicyStatusInput
- type ValidatingAdmissionPolicyStatusOutput
- func (o ValidatingAdmissionPolicyStatusOutput) Conditions() metav1.ConditionArrayOutput
- func (ValidatingAdmissionPolicyStatusOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyStatusOutput) ObservedGeneration() pulumi.IntPtrOutput
- func (o ValidatingAdmissionPolicyStatusOutput) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyStatus]
- func (o ValidatingAdmissionPolicyStatusOutput) ToValidatingAdmissionPolicyStatusOutput() ValidatingAdmissionPolicyStatusOutput
- func (o ValidatingAdmissionPolicyStatusOutput) ToValidatingAdmissionPolicyStatusOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyStatusOutput
- func (o ValidatingAdmissionPolicyStatusOutput) ToValidatingAdmissionPolicyStatusPtrOutput() ValidatingAdmissionPolicyStatusPtrOutput
- func (o ValidatingAdmissionPolicyStatusOutput) ToValidatingAdmissionPolicyStatusPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyStatusPtrOutput
- func (o ValidatingAdmissionPolicyStatusOutput) TypeChecking() TypeCheckingPtrOutput
- type ValidatingAdmissionPolicyStatusPatch
- type ValidatingAdmissionPolicyStatusPatchArgs
- func (ValidatingAdmissionPolicyStatusPatchArgs) ElementType() reflect.Type
- func (i ValidatingAdmissionPolicyStatusPatchArgs) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyStatusPatch]
- func (i ValidatingAdmissionPolicyStatusPatchArgs) ToValidatingAdmissionPolicyStatusPatchOutput() ValidatingAdmissionPolicyStatusPatchOutput
- func (i ValidatingAdmissionPolicyStatusPatchArgs) ToValidatingAdmissionPolicyStatusPatchOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyStatusPatchOutput
- func (i ValidatingAdmissionPolicyStatusPatchArgs) ToValidatingAdmissionPolicyStatusPatchPtrOutput() ValidatingAdmissionPolicyStatusPatchPtrOutput
- func (i ValidatingAdmissionPolicyStatusPatchArgs) ToValidatingAdmissionPolicyStatusPatchPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyStatusPatchPtrOutput
- type ValidatingAdmissionPolicyStatusPatchInput
- type ValidatingAdmissionPolicyStatusPatchOutput
- func (o ValidatingAdmissionPolicyStatusPatchOutput) Conditions() metav1.ConditionPatchArrayOutput
- func (ValidatingAdmissionPolicyStatusPatchOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyStatusPatchOutput) ObservedGeneration() pulumi.IntPtrOutput
- func (o ValidatingAdmissionPolicyStatusPatchOutput) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyStatusPatch]
- func (o ValidatingAdmissionPolicyStatusPatchOutput) ToValidatingAdmissionPolicyStatusPatchOutput() ValidatingAdmissionPolicyStatusPatchOutput
- func (o ValidatingAdmissionPolicyStatusPatchOutput) ToValidatingAdmissionPolicyStatusPatchOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyStatusPatchOutput
- func (o ValidatingAdmissionPolicyStatusPatchOutput) ToValidatingAdmissionPolicyStatusPatchPtrOutput() ValidatingAdmissionPolicyStatusPatchPtrOutput
- func (o ValidatingAdmissionPolicyStatusPatchOutput) ToValidatingAdmissionPolicyStatusPatchPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyStatusPatchPtrOutput
- func (o ValidatingAdmissionPolicyStatusPatchOutput) TypeChecking() TypeCheckingPatchPtrOutput
- type ValidatingAdmissionPolicyStatusPatchPtrInput
- type ValidatingAdmissionPolicyStatusPatchPtrOutput
- func (o ValidatingAdmissionPolicyStatusPatchPtrOutput) Conditions() metav1.ConditionPatchArrayOutput
- func (o ValidatingAdmissionPolicyStatusPatchPtrOutput) Elem() ValidatingAdmissionPolicyStatusPatchOutput
- func (ValidatingAdmissionPolicyStatusPatchPtrOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyStatusPatchPtrOutput) ObservedGeneration() pulumi.IntPtrOutput
- func (o ValidatingAdmissionPolicyStatusPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyStatusPatch]
- func (o ValidatingAdmissionPolicyStatusPatchPtrOutput) ToValidatingAdmissionPolicyStatusPatchPtrOutput() ValidatingAdmissionPolicyStatusPatchPtrOutput
- func (o ValidatingAdmissionPolicyStatusPatchPtrOutput) ToValidatingAdmissionPolicyStatusPatchPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyStatusPatchPtrOutput
- func (o ValidatingAdmissionPolicyStatusPatchPtrOutput) TypeChecking() TypeCheckingPatchPtrOutput
- type ValidatingAdmissionPolicyStatusPtrInput
- type ValidatingAdmissionPolicyStatusPtrOutput
- func (o ValidatingAdmissionPolicyStatusPtrOutput) Conditions() metav1.ConditionArrayOutput
- func (o ValidatingAdmissionPolicyStatusPtrOutput) Elem() ValidatingAdmissionPolicyStatusOutput
- func (ValidatingAdmissionPolicyStatusPtrOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyStatusPtrOutput) ObservedGeneration() pulumi.IntPtrOutput
- func (o ValidatingAdmissionPolicyStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyStatus]
- func (o ValidatingAdmissionPolicyStatusPtrOutput) ToValidatingAdmissionPolicyStatusPtrOutput() ValidatingAdmissionPolicyStatusPtrOutput
- func (o ValidatingAdmissionPolicyStatusPtrOutput) ToValidatingAdmissionPolicyStatusPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyStatusPtrOutput
- func (o ValidatingAdmissionPolicyStatusPtrOutput) TypeChecking() TypeCheckingPtrOutput
- type ValidatingAdmissionPolicyType
- type ValidatingAdmissionPolicyTypeArgs
- func (ValidatingAdmissionPolicyTypeArgs) ElementType() reflect.Type
- func (i ValidatingAdmissionPolicyTypeArgs) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyType]
- func (i ValidatingAdmissionPolicyTypeArgs) ToValidatingAdmissionPolicyTypeOutput() ValidatingAdmissionPolicyTypeOutput
- func (i ValidatingAdmissionPolicyTypeArgs) ToValidatingAdmissionPolicyTypeOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyTypeOutput
- type ValidatingAdmissionPolicyTypeArray
- func (ValidatingAdmissionPolicyTypeArray) ElementType() reflect.Type
- func (i ValidatingAdmissionPolicyTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]ValidatingAdmissionPolicyType]
- func (i ValidatingAdmissionPolicyTypeArray) ToValidatingAdmissionPolicyTypeArrayOutput() ValidatingAdmissionPolicyTypeArrayOutput
- func (i ValidatingAdmissionPolicyTypeArray) ToValidatingAdmissionPolicyTypeArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyTypeArrayOutput
- type ValidatingAdmissionPolicyTypeArrayInput
- type ValidatingAdmissionPolicyTypeArrayOutput
- func (ValidatingAdmissionPolicyTypeArrayOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyTypeArrayOutput) Index(i pulumi.IntInput) ValidatingAdmissionPolicyTypeOutput
- func (o ValidatingAdmissionPolicyTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ValidatingAdmissionPolicyType]
- func (o ValidatingAdmissionPolicyTypeArrayOutput) ToValidatingAdmissionPolicyTypeArrayOutput() ValidatingAdmissionPolicyTypeArrayOutput
- func (o ValidatingAdmissionPolicyTypeArrayOutput) ToValidatingAdmissionPolicyTypeArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyTypeArrayOutput
- type ValidatingAdmissionPolicyTypeInput
- type ValidatingAdmissionPolicyTypeOutput
- func (o ValidatingAdmissionPolicyTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (ValidatingAdmissionPolicyTypeOutput) ElementType() reflect.Type
- func (o ValidatingAdmissionPolicyTypeOutput) Kind() pulumi.StringPtrOutput
- func (o ValidatingAdmissionPolicyTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o ValidatingAdmissionPolicyTypeOutput) Spec() ValidatingAdmissionPolicySpecPtrOutput
- func (o ValidatingAdmissionPolicyTypeOutput) Status() ValidatingAdmissionPolicyStatusPtrOutput
- func (o ValidatingAdmissionPolicyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyType]
- func (o ValidatingAdmissionPolicyTypeOutput) ToValidatingAdmissionPolicyTypeOutput() ValidatingAdmissionPolicyTypeOutput
- func (o ValidatingAdmissionPolicyTypeOutput) ToValidatingAdmissionPolicyTypeOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyTypeOutput
- type Validation
- type ValidationArgs
- type ValidationArray
- func (ValidationArray) ElementType() reflect.Type
- func (i ValidationArray) ToOutput(ctx context.Context) pulumix.Output[[]Validation]
- func (i ValidationArray) ToValidationArrayOutput() ValidationArrayOutput
- func (i ValidationArray) ToValidationArrayOutputWithContext(ctx context.Context) ValidationArrayOutput
- type ValidationArrayInput
- type ValidationArrayOutput
- func (ValidationArrayOutput) ElementType() reflect.Type
- func (o ValidationArrayOutput) Index(i pulumi.IntInput) ValidationOutput
- func (o ValidationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Validation]
- func (o ValidationArrayOutput) ToValidationArrayOutput() ValidationArrayOutput
- func (o ValidationArrayOutput) ToValidationArrayOutputWithContext(ctx context.Context) ValidationArrayOutput
- type ValidationInput
- type ValidationOutput
- func (ValidationOutput) ElementType() reflect.Type
- func (o ValidationOutput) Expression() pulumi.StringOutput
- func (o ValidationOutput) Message() pulumi.StringPtrOutput
- func (o ValidationOutput) MessageExpression() pulumi.StringPtrOutput
- func (o ValidationOutput) Reason() pulumi.StringPtrOutput
- func (o ValidationOutput) ToOutput(ctx context.Context) pulumix.Output[Validation]
- func (o ValidationOutput) ToValidationOutput() ValidationOutput
- func (o ValidationOutput) ToValidationOutputWithContext(ctx context.Context) ValidationOutput
- type ValidationPatch
- type ValidationPatchArgs
- func (ValidationPatchArgs) ElementType() reflect.Type
- func (i ValidationPatchArgs) ToOutput(ctx context.Context) pulumix.Output[ValidationPatch]
- func (i ValidationPatchArgs) ToValidationPatchOutput() ValidationPatchOutput
- func (i ValidationPatchArgs) ToValidationPatchOutputWithContext(ctx context.Context) ValidationPatchOutput
- type ValidationPatchArray
- func (ValidationPatchArray) ElementType() reflect.Type
- func (i ValidationPatchArray) ToOutput(ctx context.Context) pulumix.Output[[]ValidationPatch]
- func (i ValidationPatchArray) ToValidationPatchArrayOutput() ValidationPatchArrayOutput
- func (i ValidationPatchArray) ToValidationPatchArrayOutputWithContext(ctx context.Context) ValidationPatchArrayOutput
- type ValidationPatchArrayInput
- type ValidationPatchArrayOutput
- func (ValidationPatchArrayOutput) ElementType() reflect.Type
- func (o ValidationPatchArrayOutput) Index(i pulumi.IntInput) ValidationPatchOutput
- func (o ValidationPatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ValidationPatch]
- func (o ValidationPatchArrayOutput) ToValidationPatchArrayOutput() ValidationPatchArrayOutput
- func (o ValidationPatchArrayOutput) ToValidationPatchArrayOutputWithContext(ctx context.Context) ValidationPatchArrayOutput
- type ValidationPatchInput
- type ValidationPatchOutput
- func (ValidationPatchOutput) ElementType() reflect.Type
- func (o ValidationPatchOutput) Expression() pulumi.StringPtrOutput
- func (o ValidationPatchOutput) Message() pulumi.StringPtrOutput
- func (o ValidationPatchOutput) MessageExpression() pulumi.StringPtrOutput
- func (o ValidationPatchOutput) Reason() pulumi.StringPtrOutput
- func (o ValidationPatchOutput) ToOutput(ctx context.Context) pulumix.Output[ValidationPatch]
- func (o ValidationPatchOutput) ToValidationPatchOutput() ValidationPatchOutput
- func (o ValidationPatchOutput) ToValidationPatchOutputWithContext(ctx context.Context) ValidationPatchOutput
- type Variable
- type VariableArgs
- type VariableArray
- type VariableArrayInput
- type VariableArrayOutput
- func (VariableArrayOutput) ElementType() reflect.Type
- func (o VariableArrayOutput) Index(i pulumi.IntInput) VariableOutput
- func (o VariableArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Variable]
- func (o VariableArrayOutput) ToVariableArrayOutput() VariableArrayOutput
- func (o VariableArrayOutput) ToVariableArrayOutputWithContext(ctx context.Context) VariableArrayOutput
- type VariableInput
- type VariableOutput
- func (VariableOutput) ElementType() reflect.Type
- func (o VariableOutput) Expression() pulumi.StringOutput
- func (o VariableOutput) Name() pulumi.StringOutput
- func (o VariableOutput) ToOutput(ctx context.Context) pulumix.Output[Variable]
- func (o VariableOutput) ToVariableOutput() VariableOutput
- func (o VariableOutput) ToVariableOutputWithContext(ctx context.Context) VariableOutput
- type VariablePatch
- type VariablePatchArgs
- func (VariablePatchArgs) ElementType() reflect.Type
- func (i VariablePatchArgs) ToOutput(ctx context.Context) pulumix.Output[VariablePatch]
- func (i VariablePatchArgs) ToVariablePatchOutput() VariablePatchOutput
- func (i VariablePatchArgs) ToVariablePatchOutputWithContext(ctx context.Context) VariablePatchOutput
- type VariablePatchArray
- func (VariablePatchArray) ElementType() reflect.Type
- func (i VariablePatchArray) ToOutput(ctx context.Context) pulumix.Output[[]VariablePatch]
- func (i VariablePatchArray) ToVariablePatchArrayOutput() VariablePatchArrayOutput
- func (i VariablePatchArray) ToVariablePatchArrayOutputWithContext(ctx context.Context) VariablePatchArrayOutput
- type VariablePatchArrayInput
- type VariablePatchArrayOutput
- func (VariablePatchArrayOutput) ElementType() reflect.Type
- func (o VariablePatchArrayOutput) Index(i pulumi.IntInput) VariablePatchOutput
- func (o VariablePatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VariablePatch]
- func (o VariablePatchArrayOutput) ToVariablePatchArrayOutput() VariablePatchArrayOutput
- func (o VariablePatchArrayOutput) ToVariablePatchArrayOutputWithContext(ctx context.Context) VariablePatchArrayOutput
- type VariablePatchInput
- type VariablePatchOutput
- func (VariablePatchOutput) ElementType() reflect.Type
- func (o VariablePatchOutput) Expression() pulumi.StringPtrOutput
- func (o VariablePatchOutput) Name() pulumi.StringPtrOutput
- func (o VariablePatchOutput) ToOutput(ctx context.Context) pulumix.Output[VariablePatch]
- func (o VariablePatchOutput) ToVariablePatchOutput() VariablePatchOutput
- func (o VariablePatchOutput) ToVariablePatchOutputWithContext(ctx context.Context) VariablePatchOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditAnnotation ¶
type AuditAnnotation struct { // key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length. // // The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}". // // If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded. // // Required. Key string `pulumi:"key"` // valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb. // // If multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list. // // Required. ValueExpression string `pulumi:"valueExpression"` }
AuditAnnotation describes how to produce an audit annotation for an API request.
type AuditAnnotationArgs ¶
type AuditAnnotationArgs struct { // key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length. // // The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}". // // If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded. // // Required. Key pulumi.StringInput `pulumi:"key"` // valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb. // // If multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list. // // Required. ValueExpression pulumi.StringInput `pulumi:"valueExpression"` }
AuditAnnotation describes how to produce an audit annotation for an API request.
func (AuditAnnotationArgs) ElementType ¶
func (AuditAnnotationArgs) ElementType() reflect.Type
func (AuditAnnotationArgs) ToAuditAnnotationOutput ¶
func (i AuditAnnotationArgs) ToAuditAnnotationOutput() AuditAnnotationOutput
func (AuditAnnotationArgs) ToAuditAnnotationOutputWithContext ¶
func (i AuditAnnotationArgs) ToAuditAnnotationOutputWithContext(ctx context.Context) AuditAnnotationOutput
func (AuditAnnotationArgs) ToOutput ¶ added in v4.2.0
func (i AuditAnnotationArgs) ToOutput(ctx context.Context) pulumix.Output[AuditAnnotation]
type AuditAnnotationArray ¶
type AuditAnnotationArray []AuditAnnotationInput
func (AuditAnnotationArray) ElementType ¶
func (AuditAnnotationArray) ElementType() reflect.Type
func (AuditAnnotationArray) ToAuditAnnotationArrayOutput ¶
func (i AuditAnnotationArray) ToAuditAnnotationArrayOutput() AuditAnnotationArrayOutput
func (AuditAnnotationArray) ToAuditAnnotationArrayOutputWithContext ¶
func (i AuditAnnotationArray) ToAuditAnnotationArrayOutputWithContext(ctx context.Context) AuditAnnotationArrayOutput
func (AuditAnnotationArray) ToOutput ¶ added in v4.2.0
func (i AuditAnnotationArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditAnnotation]
type AuditAnnotationArrayInput ¶
type AuditAnnotationArrayInput interface { pulumi.Input ToAuditAnnotationArrayOutput() AuditAnnotationArrayOutput ToAuditAnnotationArrayOutputWithContext(context.Context) AuditAnnotationArrayOutput }
AuditAnnotationArrayInput is an input type that accepts AuditAnnotationArray and AuditAnnotationArrayOutput values. You can construct a concrete instance of `AuditAnnotationArrayInput` via:
AuditAnnotationArray{ AuditAnnotationArgs{...} }
type AuditAnnotationArrayOutput ¶
type AuditAnnotationArrayOutput struct{ *pulumi.OutputState }
func (AuditAnnotationArrayOutput) ElementType ¶
func (AuditAnnotationArrayOutput) ElementType() reflect.Type
func (AuditAnnotationArrayOutput) Index ¶
func (o AuditAnnotationArrayOutput) Index(i pulumi.IntInput) AuditAnnotationOutput
func (AuditAnnotationArrayOutput) ToAuditAnnotationArrayOutput ¶
func (o AuditAnnotationArrayOutput) ToAuditAnnotationArrayOutput() AuditAnnotationArrayOutput
func (AuditAnnotationArrayOutput) ToAuditAnnotationArrayOutputWithContext ¶
func (o AuditAnnotationArrayOutput) ToAuditAnnotationArrayOutputWithContext(ctx context.Context) AuditAnnotationArrayOutput
func (AuditAnnotationArrayOutput) ToOutput ¶ added in v4.2.0
func (o AuditAnnotationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditAnnotation]
type AuditAnnotationInput ¶
type AuditAnnotationInput interface { pulumi.Input ToAuditAnnotationOutput() AuditAnnotationOutput ToAuditAnnotationOutputWithContext(context.Context) AuditAnnotationOutput }
AuditAnnotationInput is an input type that accepts AuditAnnotationArgs and AuditAnnotationOutput values. You can construct a concrete instance of `AuditAnnotationInput` via:
AuditAnnotationArgs{...}
type AuditAnnotationOutput ¶
type AuditAnnotationOutput struct{ *pulumi.OutputState }
AuditAnnotation describes how to produce an audit annotation for an API request.
func (AuditAnnotationOutput) ElementType ¶
func (AuditAnnotationOutput) ElementType() reflect.Type
func (AuditAnnotationOutput) Key ¶
func (o AuditAnnotationOutput) Key() pulumi.StringOutput
key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}".
If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.
Required.
func (AuditAnnotationOutput) ToAuditAnnotationOutput ¶
func (o AuditAnnotationOutput) ToAuditAnnotationOutput() AuditAnnotationOutput
func (AuditAnnotationOutput) ToAuditAnnotationOutputWithContext ¶
func (o AuditAnnotationOutput) ToAuditAnnotationOutputWithContext(ctx context.Context) AuditAnnotationOutput
func (AuditAnnotationOutput) ToOutput ¶ added in v4.2.0
func (o AuditAnnotationOutput) ToOutput(ctx context.Context) pulumix.Output[AuditAnnotation]
func (AuditAnnotationOutput) ValueExpression ¶
func (o AuditAnnotationOutput) ValueExpression() pulumi.StringOutput
valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.
If multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.
Required.
type AuditAnnotationPatch ¶
type AuditAnnotationPatch struct { // key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length. // // The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}". // // If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded. // // Required. Key *string `pulumi:"key"` // valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb. // // If multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list. // // Required. ValueExpression *string `pulumi:"valueExpression"` }
AuditAnnotation describes how to produce an audit annotation for an API request.
type AuditAnnotationPatchArgs ¶
type AuditAnnotationPatchArgs struct { // key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length. // // The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}". // // If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded. // // Required. Key pulumi.StringPtrInput `pulumi:"key"` // valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb. // // If multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list. // // Required. ValueExpression pulumi.StringPtrInput `pulumi:"valueExpression"` }
AuditAnnotation describes how to produce an audit annotation for an API request.
func (AuditAnnotationPatchArgs) ElementType ¶
func (AuditAnnotationPatchArgs) ElementType() reflect.Type
func (AuditAnnotationPatchArgs) ToAuditAnnotationPatchOutput ¶
func (i AuditAnnotationPatchArgs) ToAuditAnnotationPatchOutput() AuditAnnotationPatchOutput
func (AuditAnnotationPatchArgs) ToAuditAnnotationPatchOutputWithContext ¶
func (i AuditAnnotationPatchArgs) ToAuditAnnotationPatchOutputWithContext(ctx context.Context) AuditAnnotationPatchOutput
func (AuditAnnotationPatchArgs) ToOutput ¶ added in v4.2.0
func (i AuditAnnotationPatchArgs) ToOutput(ctx context.Context) pulumix.Output[AuditAnnotationPatch]
type AuditAnnotationPatchArray ¶
type AuditAnnotationPatchArray []AuditAnnotationPatchInput
func (AuditAnnotationPatchArray) ElementType ¶
func (AuditAnnotationPatchArray) ElementType() reflect.Type
func (AuditAnnotationPatchArray) ToAuditAnnotationPatchArrayOutput ¶
func (i AuditAnnotationPatchArray) ToAuditAnnotationPatchArrayOutput() AuditAnnotationPatchArrayOutput
func (AuditAnnotationPatchArray) ToAuditAnnotationPatchArrayOutputWithContext ¶
func (i AuditAnnotationPatchArray) ToAuditAnnotationPatchArrayOutputWithContext(ctx context.Context) AuditAnnotationPatchArrayOutput
func (AuditAnnotationPatchArray) ToOutput ¶ added in v4.2.0
func (i AuditAnnotationPatchArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditAnnotationPatch]
type AuditAnnotationPatchArrayInput ¶
type AuditAnnotationPatchArrayInput interface { pulumi.Input ToAuditAnnotationPatchArrayOutput() AuditAnnotationPatchArrayOutput ToAuditAnnotationPatchArrayOutputWithContext(context.Context) AuditAnnotationPatchArrayOutput }
AuditAnnotationPatchArrayInput is an input type that accepts AuditAnnotationPatchArray and AuditAnnotationPatchArrayOutput values. You can construct a concrete instance of `AuditAnnotationPatchArrayInput` via:
AuditAnnotationPatchArray{ AuditAnnotationPatchArgs{...} }
type AuditAnnotationPatchArrayOutput ¶
type AuditAnnotationPatchArrayOutput struct{ *pulumi.OutputState }
func (AuditAnnotationPatchArrayOutput) ElementType ¶
func (AuditAnnotationPatchArrayOutput) ElementType() reflect.Type
func (AuditAnnotationPatchArrayOutput) Index ¶
func (o AuditAnnotationPatchArrayOutput) Index(i pulumi.IntInput) AuditAnnotationPatchOutput
func (AuditAnnotationPatchArrayOutput) ToAuditAnnotationPatchArrayOutput ¶
func (o AuditAnnotationPatchArrayOutput) ToAuditAnnotationPatchArrayOutput() AuditAnnotationPatchArrayOutput
func (AuditAnnotationPatchArrayOutput) ToAuditAnnotationPatchArrayOutputWithContext ¶
func (o AuditAnnotationPatchArrayOutput) ToAuditAnnotationPatchArrayOutputWithContext(ctx context.Context) AuditAnnotationPatchArrayOutput
func (AuditAnnotationPatchArrayOutput) ToOutput ¶ added in v4.2.0
func (o AuditAnnotationPatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditAnnotationPatch]
type AuditAnnotationPatchInput ¶
type AuditAnnotationPatchInput interface { pulumi.Input ToAuditAnnotationPatchOutput() AuditAnnotationPatchOutput ToAuditAnnotationPatchOutputWithContext(context.Context) AuditAnnotationPatchOutput }
AuditAnnotationPatchInput is an input type that accepts AuditAnnotationPatchArgs and AuditAnnotationPatchOutput values. You can construct a concrete instance of `AuditAnnotationPatchInput` via:
AuditAnnotationPatchArgs{...}
type AuditAnnotationPatchOutput ¶
type AuditAnnotationPatchOutput struct{ *pulumi.OutputState }
AuditAnnotation describes how to produce an audit annotation for an API request.
func (AuditAnnotationPatchOutput) ElementType ¶
func (AuditAnnotationPatchOutput) ElementType() reflect.Type
func (AuditAnnotationPatchOutput) Key ¶
func (o AuditAnnotationPatchOutput) Key() pulumi.StringPtrOutput
key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}".
If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.
Required.
func (AuditAnnotationPatchOutput) ToAuditAnnotationPatchOutput ¶
func (o AuditAnnotationPatchOutput) ToAuditAnnotationPatchOutput() AuditAnnotationPatchOutput
func (AuditAnnotationPatchOutput) ToAuditAnnotationPatchOutputWithContext ¶
func (o AuditAnnotationPatchOutput) ToAuditAnnotationPatchOutputWithContext(ctx context.Context) AuditAnnotationPatchOutput
func (AuditAnnotationPatchOutput) ToOutput ¶ added in v4.2.0
func (o AuditAnnotationPatchOutput) ToOutput(ctx context.Context) pulumix.Output[AuditAnnotationPatch]
func (AuditAnnotationPatchOutput) ValueExpression ¶
func (o AuditAnnotationPatchOutput) ValueExpression() pulumi.StringPtrOutput
valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.
If multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.
Required.
type ExpressionWarning ¶
type ExpressionWarning struct { // The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression" FieldRef string `pulumi:"fieldRef"` // The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler. Warning string `pulumi:"warning"` }
ExpressionWarning is a warning information that targets a specific expression.
type ExpressionWarningArgs ¶
type ExpressionWarningArgs struct { // The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression" FieldRef pulumi.StringInput `pulumi:"fieldRef"` // The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler. Warning pulumi.StringInput `pulumi:"warning"` }
ExpressionWarning is a warning information that targets a specific expression.
func (ExpressionWarningArgs) ElementType ¶
func (ExpressionWarningArgs) ElementType() reflect.Type
func (ExpressionWarningArgs) ToExpressionWarningOutput ¶
func (i ExpressionWarningArgs) ToExpressionWarningOutput() ExpressionWarningOutput
func (ExpressionWarningArgs) ToExpressionWarningOutputWithContext ¶
func (i ExpressionWarningArgs) ToExpressionWarningOutputWithContext(ctx context.Context) ExpressionWarningOutput
func (ExpressionWarningArgs) ToOutput ¶ added in v4.2.0
func (i ExpressionWarningArgs) ToOutput(ctx context.Context) pulumix.Output[ExpressionWarning]
type ExpressionWarningArray ¶
type ExpressionWarningArray []ExpressionWarningInput
func (ExpressionWarningArray) ElementType ¶
func (ExpressionWarningArray) ElementType() reflect.Type
func (ExpressionWarningArray) ToExpressionWarningArrayOutput ¶
func (i ExpressionWarningArray) ToExpressionWarningArrayOutput() ExpressionWarningArrayOutput
func (ExpressionWarningArray) ToExpressionWarningArrayOutputWithContext ¶
func (i ExpressionWarningArray) ToExpressionWarningArrayOutputWithContext(ctx context.Context) ExpressionWarningArrayOutput
func (ExpressionWarningArray) ToOutput ¶ added in v4.2.0
func (i ExpressionWarningArray) ToOutput(ctx context.Context) pulumix.Output[[]ExpressionWarning]
type ExpressionWarningArrayInput ¶
type ExpressionWarningArrayInput interface { pulumi.Input ToExpressionWarningArrayOutput() ExpressionWarningArrayOutput ToExpressionWarningArrayOutputWithContext(context.Context) ExpressionWarningArrayOutput }
ExpressionWarningArrayInput is an input type that accepts ExpressionWarningArray and ExpressionWarningArrayOutput values. You can construct a concrete instance of `ExpressionWarningArrayInput` via:
ExpressionWarningArray{ ExpressionWarningArgs{...} }
type ExpressionWarningArrayOutput ¶
type ExpressionWarningArrayOutput struct{ *pulumi.OutputState }
func (ExpressionWarningArrayOutput) ElementType ¶
func (ExpressionWarningArrayOutput) ElementType() reflect.Type
func (ExpressionWarningArrayOutput) Index ¶
func (o ExpressionWarningArrayOutput) Index(i pulumi.IntInput) ExpressionWarningOutput
func (ExpressionWarningArrayOutput) ToExpressionWarningArrayOutput ¶
func (o ExpressionWarningArrayOutput) ToExpressionWarningArrayOutput() ExpressionWarningArrayOutput
func (ExpressionWarningArrayOutput) ToExpressionWarningArrayOutputWithContext ¶
func (o ExpressionWarningArrayOutput) ToExpressionWarningArrayOutputWithContext(ctx context.Context) ExpressionWarningArrayOutput
func (ExpressionWarningArrayOutput) ToOutput ¶ added in v4.2.0
func (o ExpressionWarningArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ExpressionWarning]
type ExpressionWarningInput ¶
type ExpressionWarningInput interface { pulumi.Input ToExpressionWarningOutput() ExpressionWarningOutput ToExpressionWarningOutputWithContext(context.Context) ExpressionWarningOutput }
ExpressionWarningInput is an input type that accepts ExpressionWarningArgs and ExpressionWarningOutput values. You can construct a concrete instance of `ExpressionWarningInput` via:
ExpressionWarningArgs{...}
type ExpressionWarningOutput ¶
type ExpressionWarningOutput struct{ *pulumi.OutputState }
ExpressionWarning is a warning information that targets a specific expression.
func (ExpressionWarningOutput) ElementType ¶
func (ExpressionWarningOutput) ElementType() reflect.Type
func (ExpressionWarningOutput) FieldRef ¶
func (o ExpressionWarningOutput) FieldRef() pulumi.StringOutput
The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression"
func (ExpressionWarningOutput) ToExpressionWarningOutput ¶
func (o ExpressionWarningOutput) ToExpressionWarningOutput() ExpressionWarningOutput
func (ExpressionWarningOutput) ToExpressionWarningOutputWithContext ¶
func (o ExpressionWarningOutput) ToExpressionWarningOutputWithContext(ctx context.Context) ExpressionWarningOutput
func (ExpressionWarningOutput) ToOutput ¶ added in v4.2.0
func (o ExpressionWarningOutput) ToOutput(ctx context.Context) pulumix.Output[ExpressionWarning]
func (ExpressionWarningOutput) Warning ¶
func (o ExpressionWarningOutput) Warning() pulumi.StringOutput
The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.
type ExpressionWarningPatch ¶
type ExpressionWarningPatch struct { // The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression" FieldRef *string `pulumi:"fieldRef"` // The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler. Warning *string `pulumi:"warning"` }
ExpressionWarning is a warning information that targets a specific expression.
type ExpressionWarningPatchArgs ¶
type ExpressionWarningPatchArgs struct { // The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression" FieldRef pulumi.StringPtrInput `pulumi:"fieldRef"` // The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler. Warning pulumi.StringPtrInput `pulumi:"warning"` }
ExpressionWarning is a warning information that targets a specific expression.
func (ExpressionWarningPatchArgs) ElementType ¶
func (ExpressionWarningPatchArgs) ElementType() reflect.Type
func (ExpressionWarningPatchArgs) ToExpressionWarningPatchOutput ¶
func (i ExpressionWarningPatchArgs) ToExpressionWarningPatchOutput() ExpressionWarningPatchOutput
func (ExpressionWarningPatchArgs) ToExpressionWarningPatchOutputWithContext ¶
func (i ExpressionWarningPatchArgs) ToExpressionWarningPatchOutputWithContext(ctx context.Context) ExpressionWarningPatchOutput
func (ExpressionWarningPatchArgs) ToOutput ¶ added in v4.2.0
func (i ExpressionWarningPatchArgs) ToOutput(ctx context.Context) pulumix.Output[ExpressionWarningPatch]
type ExpressionWarningPatchArray ¶
type ExpressionWarningPatchArray []ExpressionWarningPatchInput
func (ExpressionWarningPatchArray) ElementType ¶
func (ExpressionWarningPatchArray) ElementType() reflect.Type
func (ExpressionWarningPatchArray) ToExpressionWarningPatchArrayOutput ¶
func (i ExpressionWarningPatchArray) ToExpressionWarningPatchArrayOutput() ExpressionWarningPatchArrayOutput
func (ExpressionWarningPatchArray) ToExpressionWarningPatchArrayOutputWithContext ¶
func (i ExpressionWarningPatchArray) ToExpressionWarningPatchArrayOutputWithContext(ctx context.Context) ExpressionWarningPatchArrayOutput
func (ExpressionWarningPatchArray) ToOutput ¶ added in v4.2.0
func (i ExpressionWarningPatchArray) ToOutput(ctx context.Context) pulumix.Output[[]ExpressionWarningPatch]
type ExpressionWarningPatchArrayInput ¶
type ExpressionWarningPatchArrayInput interface { pulumi.Input ToExpressionWarningPatchArrayOutput() ExpressionWarningPatchArrayOutput ToExpressionWarningPatchArrayOutputWithContext(context.Context) ExpressionWarningPatchArrayOutput }
ExpressionWarningPatchArrayInput is an input type that accepts ExpressionWarningPatchArray and ExpressionWarningPatchArrayOutput values. You can construct a concrete instance of `ExpressionWarningPatchArrayInput` via:
ExpressionWarningPatchArray{ ExpressionWarningPatchArgs{...} }
type ExpressionWarningPatchArrayOutput ¶
type ExpressionWarningPatchArrayOutput struct{ *pulumi.OutputState }
func (ExpressionWarningPatchArrayOutput) ElementType ¶
func (ExpressionWarningPatchArrayOutput) ElementType() reflect.Type
func (ExpressionWarningPatchArrayOutput) Index ¶
func (o ExpressionWarningPatchArrayOutput) Index(i pulumi.IntInput) ExpressionWarningPatchOutput
func (ExpressionWarningPatchArrayOutput) ToExpressionWarningPatchArrayOutput ¶
func (o ExpressionWarningPatchArrayOutput) ToExpressionWarningPatchArrayOutput() ExpressionWarningPatchArrayOutput
func (ExpressionWarningPatchArrayOutput) ToExpressionWarningPatchArrayOutputWithContext ¶
func (o ExpressionWarningPatchArrayOutput) ToExpressionWarningPatchArrayOutputWithContext(ctx context.Context) ExpressionWarningPatchArrayOutput
func (ExpressionWarningPatchArrayOutput) ToOutput ¶ added in v4.2.0
func (o ExpressionWarningPatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ExpressionWarningPatch]
type ExpressionWarningPatchInput ¶
type ExpressionWarningPatchInput interface { pulumi.Input ToExpressionWarningPatchOutput() ExpressionWarningPatchOutput ToExpressionWarningPatchOutputWithContext(context.Context) ExpressionWarningPatchOutput }
ExpressionWarningPatchInput is an input type that accepts ExpressionWarningPatchArgs and ExpressionWarningPatchOutput values. You can construct a concrete instance of `ExpressionWarningPatchInput` via:
ExpressionWarningPatchArgs{...}
type ExpressionWarningPatchOutput ¶
type ExpressionWarningPatchOutput struct{ *pulumi.OutputState }
ExpressionWarning is a warning information that targets a specific expression.
func (ExpressionWarningPatchOutput) ElementType ¶
func (ExpressionWarningPatchOutput) ElementType() reflect.Type
func (ExpressionWarningPatchOutput) FieldRef ¶
func (o ExpressionWarningPatchOutput) FieldRef() pulumi.StringPtrOutput
The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression"
func (ExpressionWarningPatchOutput) ToExpressionWarningPatchOutput ¶
func (o ExpressionWarningPatchOutput) ToExpressionWarningPatchOutput() ExpressionWarningPatchOutput
func (ExpressionWarningPatchOutput) ToExpressionWarningPatchOutputWithContext ¶
func (o ExpressionWarningPatchOutput) ToExpressionWarningPatchOutputWithContext(ctx context.Context) ExpressionWarningPatchOutput
func (ExpressionWarningPatchOutput) ToOutput ¶ added in v4.2.0
func (o ExpressionWarningPatchOutput) ToOutput(ctx context.Context) pulumix.Output[ExpressionWarningPatch]
func (ExpressionWarningPatchOutput) Warning ¶
func (o ExpressionWarningPatchOutput) Warning() pulumi.StringPtrOutput
The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.
type MatchCondition ¶
type MatchCondition struct { // Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables: // // 'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request. // See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz // 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the // request resource. // Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/ // // Required. Expression string `pulumi:"expression"` // Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName') // // Required. Name string `pulumi:"name"` }
type MatchConditionArgs ¶
type MatchConditionArgs struct { // Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables: // // 'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request. // See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz // 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the // request resource. // Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/ // // Required. Expression pulumi.StringInput `pulumi:"expression"` // Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName') // // Required. Name pulumi.StringInput `pulumi:"name"` }
func (MatchConditionArgs) ElementType ¶
func (MatchConditionArgs) ElementType() reflect.Type
func (MatchConditionArgs) ToMatchConditionOutput ¶
func (i MatchConditionArgs) ToMatchConditionOutput() MatchConditionOutput
func (MatchConditionArgs) ToMatchConditionOutputWithContext ¶
func (i MatchConditionArgs) ToMatchConditionOutputWithContext(ctx context.Context) MatchConditionOutput
func (MatchConditionArgs) ToOutput ¶ added in v4.2.0
func (i MatchConditionArgs) ToOutput(ctx context.Context) pulumix.Output[MatchCondition]
type MatchConditionArray ¶
type MatchConditionArray []MatchConditionInput
func (MatchConditionArray) ElementType ¶
func (MatchConditionArray) ElementType() reflect.Type
func (MatchConditionArray) ToMatchConditionArrayOutput ¶
func (i MatchConditionArray) ToMatchConditionArrayOutput() MatchConditionArrayOutput
func (MatchConditionArray) ToMatchConditionArrayOutputWithContext ¶
func (i MatchConditionArray) ToMatchConditionArrayOutputWithContext(ctx context.Context) MatchConditionArrayOutput
func (MatchConditionArray) ToOutput ¶ added in v4.2.0
func (i MatchConditionArray) ToOutput(ctx context.Context) pulumix.Output[[]MatchCondition]
type MatchConditionArrayInput ¶
type MatchConditionArrayInput interface { pulumi.Input ToMatchConditionArrayOutput() MatchConditionArrayOutput ToMatchConditionArrayOutputWithContext(context.Context) MatchConditionArrayOutput }
MatchConditionArrayInput is an input type that accepts MatchConditionArray and MatchConditionArrayOutput values. You can construct a concrete instance of `MatchConditionArrayInput` via:
MatchConditionArray{ MatchConditionArgs{...} }
type MatchConditionArrayOutput ¶
type MatchConditionArrayOutput struct{ *pulumi.OutputState }
func (MatchConditionArrayOutput) ElementType ¶
func (MatchConditionArrayOutput) ElementType() reflect.Type
func (MatchConditionArrayOutput) Index ¶
func (o MatchConditionArrayOutput) Index(i pulumi.IntInput) MatchConditionOutput
func (MatchConditionArrayOutput) ToMatchConditionArrayOutput ¶
func (o MatchConditionArrayOutput) ToMatchConditionArrayOutput() MatchConditionArrayOutput
func (MatchConditionArrayOutput) ToMatchConditionArrayOutputWithContext ¶
func (o MatchConditionArrayOutput) ToMatchConditionArrayOutputWithContext(ctx context.Context) MatchConditionArrayOutput
func (MatchConditionArrayOutput) ToOutput ¶ added in v4.2.0
func (o MatchConditionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MatchCondition]
type MatchConditionInput ¶
type MatchConditionInput interface { pulumi.Input ToMatchConditionOutput() MatchConditionOutput ToMatchConditionOutputWithContext(context.Context) MatchConditionOutput }
MatchConditionInput is an input type that accepts MatchConditionArgs and MatchConditionOutput values. You can construct a concrete instance of `MatchConditionInput` via:
MatchConditionArgs{...}
type MatchConditionOutput ¶
type MatchConditionOutput struct{ *pulumi.OutputState }
func (MatchConditionOutput) ElementType ¶
func (MatchConditionOutput) ElementType() reflect.Type
func (MatchConditionOutput) Expression ¶
func (o MatchConditionOutput) Expression() pulumi.StringOutput
Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:
'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.
See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the
request resource.
Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/
Required.
func (MatchConditionOutput) Name ¶
func (o MatchConditionOutput) Name() pulumi.StringOutput
Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')
Required.
func (MatchConditionOutput) ToMatchConditionOutput ¶
func (o MatchConditionOutput) ToMatchConditionOutput() MatchConditionOutput
func (MatchConditionOutput) ToMatchConditionOutputWithContext ¶
func (o MatchConditionOutput) ToMatchConditionOutputWithContext(ctx context.Context) MatchConditionOutput
func (MatchConditionOutput) ToOutput ¶ added in v4.2.0
func (o MatchConditionOutput) ToOutput(ctx context.Context) pulumix.Output[MatchCondition]
type MatchConditionPatch ¶
type MatchConditionPatch struct { // Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables: // // 'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request. // See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz // 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the // request resource. // Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/ // // Required. Expression *string `pulumi:"expression"` // Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName') // // Required. Name *string `pulumi:"name"` }
type MatchConditionPatchArgs ¶
type MatchConditionPatchArgs struct { // Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables: // // 'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request. // See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz // 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the // request resource. // Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/ // // Required. Expression pulumi.StringPtrInput `pulumi:"expression"` // Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName') // // Required. Name pulumi.StringPtrInput `pulumi:"name"` }
func (MatchConditionPatchArgs) ElementType ¶
func (MatchConditionPatchArgs) ElementType() reflect.Type
func (MatchConditionPatchArgs) ToMatchConditionPatchOutput ¶
func (i MatchConditionPatchArgs) ToMatchConditionPatchOutput() MatchConditionPatchOutput
func (MatchConditionPatchArgs) ToMatchConditionPatchOutputWithContext ¶
func (i MatchConditionPatchArgs) ToMatchConditionPatchOutputWithContext(ctx context.Context) MatchConditionPatchOutput
func (MatchConditionPatchArgs) ToOutput ¶ added in v4.2.0
func (i MatchConditionPatchArgs) ToOutput(ctx context.Context) pulumix.Output[MatchConditionPatch]
type MatchConditionPatchArray ¶
type MatchConditionPatchArray []MatchConditionPatchInput
func (MatchConditionPatchArray) ElementType ¶
func (MatchConditionPatchArray) ElementType() reflect.Type
func (MatchConditionPatchArray) ToMatchConditionPatchArrayOutput ¶
func (i MatchConditionPatchArray) ToMatchConditionPatchArrayOutput() MatchConditionPatchArrayOutput
func (MatchConditionPatchArray) ToMatchConditionPatchArrayOutputWithContext ¶
func (i MatchConditionPatchArray) ToMatchConditionPatchArrayOutputWithContext(ctx context.Context) MatchConditionPatchArrayOutput
func (MatchConditionPatchArray) ToOutput ¶ added in v4.2.0
func (i MatchConditionPatchArray) ToOutput(ctx context.Context) pulumix.Output[[]MatchConditionPatch]
type MatchConditionPatchArrayInput ¶
type MatchConditionPatchArrayInput interface { pulumi.Input ToMatchConditionPatchArrayOutput() MatchConditionPatchArrayOutput ToMatchConditionPatchArrayOutputWithContext(context.Context) MatchConditionPatchArrayOutput }
MatchConditionPatchArrayInput is an input type that accepts MatchConditionPatchArray and MatchConditionPatchArrayOutput values. You can construct a concrete instance of `MatchConditionPatchArrayInput` via:
MatchConditionPatchArray{ MatchConditionPatchArgs{...} }
type MatchConditionPatchArrayOutput ¶
type MatchConditionPatchArrayOutput struct{ *pulumi.OutputState }
func (MatchConditionPatchArrayOutput) ElementType ¶
func (MatchConditionPatchArrayOutput) ElementType() reflect.Type
func (MatchConditionPatchArrayOutput) Index ¶
func (o MatchConditionPatchArrayOutput) Index(i pulumi.IntInput) MatchConditionPatchOutput
func (MatchConditionPatchArrayOutput) ToMatchConditionPatchArrayOutput ¶
func (o MatchConditionPatchArrayOutput) ToMatchConditionPatchArrayOutput() MatchConditionPatchArrayOutput
func (MatchConditionPatchArrayOutput) ToMatchConditionPatchArrayOutputWithContext ¶
func (o MatchConditionPatchArrayOutput) ToMatchConditionPatchArrayOutputWithContext(ctx context.Context) MatchConditionPatchArrayOutput
func (MatchConditionPatchArrayOutput) ToOutput ¶ added in v4.2.0
func (o MatchConditionPatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MatchConditionPatch]
type MatchConditionPatchInput ¶
type MatchConditionPatchInput interface { pulumi.Input ToMatchConditionPatchOutput() MatchConditionPatchOutput ToMatchConditionPatchOutputWithContext(context.Context) MatchConditionPatchOutput }
MatchConditionPatchInput is an input type that accepts MatchConditionPatchArgs and MatchConditionPatchOutput values. You can construct a concrete instance of `MatchConditionPatchInput` via:
MatchConditionPatchArgs{...}
type MatchConditionPatchOutput ¶
type MatchConditionPatchOutput struct{ *pulumi.OutputState }
func (MatchConditionPatchOutput) ElementType ¶
func (MatchConditionPatchOutput) ElementType() reflect.Type
func (MatchConditionPatchOutput) Expression ¶
func (o MatchConditionPatchOutput) Expression() pulumi.StringPtrOutput
Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:
'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.
See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the
request resource.
Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/
Required.
func (MatchConditionPatchOutput) Name ¶
func (o MatchConditionPatchOutput) Name() pulumi.StringPtrOutput
Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')
Required.
func (MatchConditionPatchOutput) ToMatchConditionPatchOutput ¶
func (o MatchConditionPatchOutput) ToMatchConditionPatchOutput() MatchConditionPatchOutput
func (MatchConditionPatchOutput) ToMatchConditionPatchOutputWithContext ¶
func (o MatchConditionPatchOutput) ToMatchConditionPatchOutputWithContext(ctx context.Context) MatchConditionPatchOutput
func (MatchConditionPatchOutput) ToOutput ¶ added in v4.2.0
func (o MatchConditionPatchOutput) ToOutput(ctx context.Context) pulumix.Output[MatchConditionPatch]
type MatchResources ¶
type MatchResources struct { // ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded) ExcludeResourceRules []NamedRuleWithOperations `pulumi:"excludeResourceRules"` // matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent". // // - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy. // // - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy. // // Defaults to "Equivalent" MatchPolicy *string `pulumi:"matchPolicy"` // NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy. // // For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { // "matchExpressions": [ // { // "key": "runlevel", // "operator": "NotIn", // "values": [ // "0", // "1" // ] // } // ] // } // // If instead you want to only run the policy on any objects whose namespace is associated with the "environment" of "prod" or "staging"; you will set the selector as follows: "namespaceSelector": { // "matchExpressions": [ // { // "key": "environment", // "operator": "In", // "values": [ // "prod", // "staging" // ] // } // ] // } // // See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. // // Default to the empty LabelSelector, which matches everything. NamespaceSelector *metav1.LabelSelector `pulumi:"namespaceSelector"` // ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. ObjectSelector *metav1.LabelSelector `pulumi:"objectSelector"` // ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule. ResourceRules []NamedRuleWithOperations `pulumi:"resourceRules"` }
MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
type MatchResourcesArgs ¶
type MatchResourcesArgs struct { // ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded) ExcludeResourceRules NamedRuleWithOperationsArrayInput `pulumi:"excludeResourceRules"` // matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent". // // - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy. // // - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy. // // Defaults to "Equivalent" MatchPolicy pulumi.StringPtrInput `pulumi:"matchPolicy"` // NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy. // // For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { // "matchExpressions": [ // { // "key": "runlevel", // "operator": "NotIn", // "values": [ // "0", // "1" // ] // } // ] // } // // If instead you want to only run the policy on any objects whose namespace is associated with the "environment" of "prod" or "staging"; you will set the selector as follows: "namespaceSelector": { // "matchExpressions": [ // { // "key": "environment", // "operator": "In", // "values": [ // "prod", // "staging" // ] // } // ] // } // // See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. // // Default to the empty LabelSelector, which matches everything. NamespaceSelector metav1.LabelSelectorPtrInput `pulumi:"namespaceSelector"` // ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. ObjectSelector metav1.LabelSelectorPtrInput `pulumi:"objectSelector"` // ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule. ResourceRules NamedRuleWithOperationsArrayInput `pulumi:"resourceRules"` }
MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
func (MatchResourcesArgs) ElementType ¶
func (MatchResourcesArgs) ElementType() reflect.Type
func (MatchResourcesArgs) ToMatchResourcesOutput ¶
func (i MatchResourcesArgs) ToMatchResourcesOutput() MatchResourcesOutput
func (MatchResourcesArgs) ToMatchResourcesOutputWithContext ¶
func (i MatchResourcesArgs) ToMatchResourcesOutputWithContext(ctx context.Context) MatchResourcesOutput
func (MatchResourcesArgs) ToMatchResourcesPtrOutput ¶
func (i MatchResourcesArgs) ToMatchResourcesPtrOutput() MatchResourcesPtrOutput
func (MatchResourcesArgs) ToMatchResourcesPtrOutputWithContext ¶
func (i MatchResourcesArgs) ToMatchResourcesPtrOutputWithContext(ctx context.Context) MatchResourcesPtrOutput
func (MatchResourcesArgs) ToOutput ¶ added in v4.2.0
func (i MatchResourcesArgs) ToOutput(ctx context.Context) pulumix.Output[MatchResources]
type MatchResourcesInput ¶
type MatchResourcesInput interface { pulumi.Input ToMatchResourcesOutput() MatchResourcesOutput ToMatchResourcesOutputWithContext(context.Context) MatchResourcesOutput }
MatchResourcesInput is an input type that accepts MatchResourcesArgs and MatchResourcesOutput values. You can construct a concrete instance of `MatchResourcesInput` via:
MatchResourcesArgs{...}
type MatchResourcesOutput ¶
type MatchResourcesOutput struct{ *pulumi.OutputState }
MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
func (MatchResourcesOutput) ElementType ¶
func (MatchResourcesOutput) ElementType() reflect.Type
func (MatchResourcesOutput) ExcludeResourceRules ¶
func (o MatchResourcesOutput) ExcludeResourceRules() NamedRuleWithOperationsArrayOutput
ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
func (MatchResourcesOutput) MatchPolicy ¶
func (o MatchResourcesOutput) MatchPolicy() pulumi.StringPtrOutput
matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy.
- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy.
Defaults to "Equivalent"
func (MatchResourcesOutput) NamespaceSelector ¶
func (o MatchResourcesOutput) NamespaceSelector() metav1.LabelSelectorPtrOutput
NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy.
For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { "matchExpressions": [ { "key": "runlevel", "operator": "NotIn", "values": [ "0", "1" ] } ] } If instead you want to only run the policy on any objects whose namespace is associated with the "environment" of "prod" or "staging"; you will set the selector as follows: "namespaceSelector": { "matchExpressions": [ { "key": "environment", "operator": "In", "values": [ "prod", "staging" ] } ] }
See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.
Default to the empty LabelSelector, which matches everything.
func (MatchResourcesOutput) ObjectSelector ¶
func (o MatchResourcesOutput) ObjectSelector() metav1.LabelSelectorPtrOutput
ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
func (MatchResourcesOutput) ResourceRules ¶
func (o MatchResourcesOutput) ResourceRules() NamedRuleWithOperationsArrayOutput
ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule.
func (MatchResourcesOutput) ToMatchResourcesOutput ¶
func (o MatchResourcesOutput) ToMatchResourcesOutput() MatchResourcesOutput
func (MatchResourcesOutput) ToMatchResourcesOutputWithContext ¶
func (o MatchResourcesOutput) ToMatchResourcesOutputWithContext(ctx context.Context) MatchResourcesOutput
func (MatchResourcesOutput) ToMatchResourcesPtrOutput ¶
func (o MatchResourcesOutput) ToMatchResourcesPtrOutput() MatchResourcesPtrOutput
func (MatchResourcesOutput) ToMatchResourcesPtrOutputWithContext ¶
func (o MatchResourcesOutput) ToMatchResourcesPtrOutputWithContext(ctx context.Context) MatchResourcesPtrOutput
func (MatchResourcesOutput) ToOutput ¶ added in v4.2.0
func (o MatchResourcesOutput) ToOutput(ctx context.Context) pulumix.Output[MatchResources]
type MatchResourcesPatch ¶
type MatchResourcesPatch struct { // ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded) ExcludeResourceRules []NamedRuleWithOperationsPatch `pulumi:"excludeResourceRules"` // matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent". // // - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy. // // - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy. // // Defaults to "Equivalent" MatchPolicy *string `pulumi:"matchPolicy"` // NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy. // // For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { // "matchExpressions": [ // { // "key": "runlevel", // "operator": "NotIn", // "values": [ // "0", // "1" // ] // } // ] // } // // If instead you want to only run the policy on any objects whose namespace is associated with the "environment" of "prod" or "staging"; you will set the selector as follows: "namespaceSelector": { // "matchExpressions": [ // { // "key": "environment", // "operator": "In", // "values": [ // "prod", // "staging" // ] // } // ] // } // // See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. // // Default to the empty LabelSelector, which matches everything. NamespaceSelector *metav1.LabelSelectorPatch `pulumi:"namespaceSelector"` // ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. ObjectSelector *metav1.LabelSelectorPatch `pulumi:"objectSelector"` // ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule. ResourceRules []NamedRuleWithOperationsPatch `pulumi:"resourceRules"` }
MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
type MatchResourcesPatchArgs ¶
type MatchResourcesPatchArgs struct { // ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded) ExcludeResourceRules NamedRuleWithOperationsPatchArrayInput `pulumi:"excludeResourceRules"` // matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent". // // - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy. // // - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy. // // Defaults to "Equivalent" MatchPolicy pulumi.StringPtrInput `pulumi:"matchPolicy"` // NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy. // // For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { // "matchExpressions": [ // { // "key": "runlevel", // "operator": "NotIn", // "values": [ // "0", // "1" // ] // } // ] // } // // If instead you want to only run the policy on any objects whose namespace is associated with the "environment" of "prod" or "staging"; you will set the selector as follows: "namespaceSelector": { // "matchExpressions": [ // { // "key": "environment", // "operator": "In", // "values": [ // "prod", // "staging" // ] // } // ] // } // // See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. // // Default to the empty LabelSelector, which matches everything. NamespaceSelector metav1.LabelSelectorPatchPtrInput `pulumi:"namespaceSelector"` // ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. ObjectSelector metav1.LabelSelectorPatchPtrInput `pulumi:"objectSelector"` // ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule. ResourceRules NamedRuleWithOperationsPatchArrayInput `pulumi:"resourceRules"` }
MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
func (MatchResourcesPatchArgs) ElementType ¶
func (MatchResourcesPatchArgs) ElementType() reflect.Type
func (MatchResourcesPatchArgs) ToMatchResourcesPatchOutput ¶
func (i MatchResourcesPatchArgs) ToMatchResourcesPatchOutput() MatchResourcesPatchOutput
func (MatchResourcesPatchArgs) ToMatchResourcesPatchOutputWithContext ¶
func (i MatchResourcesPatchArgs) ToMatchResourcesPatchOutputWithContext(ctx context.Context) MatchResourcesPatchOutput
func (MatchResourcesPatchArgs) ToMatchResourcesPatchPtrOutput ¶
func (i MatchResourcesPatchArgs) ToMatchResourcesPatchPtrOutput() MatchResourcesPatchPtrOutput
func (MatchResourcesPatchArgs) ToMatchResourcesPatchPtrOutputWithContext ¶
func (i MatchResourcesPatchArgs) ToMatchResourcesPatchPtrOutputWithContext(ctx context.Context) MatchResourcesPatchPtrOutput
func (MatchResourcesPatchArgs) ToOutput ¶ added in v4.2.0
func (i MatchResourcesPatchArgs) ToOutput(ctx context.Context) pulumix.Output[MatchResourcesPatch]
type MatchResourcesPatchInput ¶
type MatchResourcesPatchInput interface { pulumi.Input ToMatchResourcesPatchOutput() MatchResourcesPatchOutput ToMatchResourcesPatchOutputWithContext(context.Context) MatchResourcesPatchOutput }
MatchResourcesPatchInput is an input type that accepts MatchResourcesPatchArgs and MatchResourcesPatchOutput values. You can construct a concrete instance of `MatchResourcesPatchInput` via:
MatchResourcesPatchArgs{...}
type MatchResourcesPatchOutput ¶
type MatchResourcesPatchOutput struct{ *pulumi.OutputState }
MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
func (MatchResourcesPatchOutput) ElementType ¶
func (MatchResourcesPatchOutput) ElementType() reflect.Type
func (MatchResourcesPatchOutput) ExcludeResourceRules ¶
func (o MatchResourcesPatchOutput) ExcludeResourceRules() NamedRuleWithOperationsPatchArrayOutput
ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
func (MatchResourcesPatchOutput) MatchPolicy ¶
func (o MatchResourcesPatchOutput) MatchPolicy() pulumi.StringPtrOutput
matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy.
- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy.
Defaults to "Equivalent"
func (MatchResourcesPatchOutput) NamespaceSelector ¶
func (o MatchResourcesPatchOutput) NamespaceSelector() metav1.LabelSelectorPatchPtrOutput
NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy.
For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { "matchExpressions": [ { "key": "runlevel", "operator": "NotIn", "values": [ "0", "1" ] } ] } If instead you want to only run the policy on any objects whose namespace is associated with the "environment" of "prod" or "staging"; you will set the selector as follows: "namespaceSelector": { "matchExpressions": [ { "key": "environment", "operator": "In", "values": [ "prod", "staging" ] } ] }
See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.
Default to the empty LabelSelector, which matches everything.
func (MatchResourcesPatchOutput) ObjectSelector ¶
func (o MatchResourcesPatchOutput) ObjectSelector() metav1.LabelSelectorPatchPtrOutput
ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
func (MatchResourcesPatchOutput) ResourceRules ¶
func (o MatchResourcesPatchOutput) ResourceRules() NamedRuleWithOperationsPatchArrayOutput
ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule.
func (MatchResourcesPatchOutput) ToMatchResourcesPatchOutput ¶
func (o MatchResourcesPatchOutput) ToMatchResourcesPatchOutput() MatchResourcesPatchOutput
func (MatchResourcesPatchOutput) ToMatchResourcesPatchOutputWithContext ¶
func (o MatchResourcesPatchOutput) ToMatchResourcesPatchOutputWithContext(ctx context.Context) MatchResourcesPatchOutput
func (MatchResourcesPatchOutput) ToMatchResourcesPatchPtrOutput ¶
func (o MatchResourcesPatchOutput) ToMatchResourcesPatchPtrOutput() MatchResourcesPatchPtrOutput
func (MatchResourcesPatchOutput) ToMatchResourcesPatchPtrOutputWithContext ¶
func (o MatchResourcesPatchOutput) ToMatchResourcesPatchPtrOutputWithContext(ctx context.Context) MatchResourcesPatchPtrOutput
func (MatchResourcesPatchOutput) ToOutput ¶ added in v4.2.0
func (o MatchResourcesPatchOutput) ToOutput(ctx context.Context) pulumix.Output[MatchResourcesPatch]
type MatchResourcesPatchPtrInput ¶
type MatchResourcesPatchPtrInput interface { pulumi.Input ToMatchResourcesPatchPtrOutput() MatchResourcesPatchPtrOutput ToMatchResourcesPatchPtrOutputWithContext(context.Context) MatchResourcesPatchPtrOutput }
MatchResourcesPatchPtrInput is an input type that accepts MatchResourcesPatchArgs, MatchResourcesPatchPtr and MatchResourcesPatchPtrOutput values. You can construct a concrete instance of `MatchResourcesPatchPtrInput` via:
MatchResourcesPatchArgs{...} or: nil
func MatchResourcesPatchPtr ¶
func MatchResourcesPatchPtr(v *MatchResourcesPatchArgs) MatchResourcesPatchPtrInput
type MatchResourcesPatchPtrOutput ¶
type MatchResourcesPatchPtrOutput struct{ *pulumi.OutputState }
func (MatchResourcesPatchPtrOutput) Elem ¶
func (o MatchResourcesPatchPtrOutput) Elem() MatchResourcesPatchOutput
func (MatchResourcesPatchPtrOutput) ElementType ¶
func (MatchResourcesPatchPtrOutput) ElementType() reflect.Type
func (MatchResourcesPatchPtrOutput) ExcludeResourceRules ¶
func (o MatchResourcesPatchPtrOutput) ExcludeResourceRules() NamedRuleWithOperationsPatchArrayOutput
ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
func (MatchResourcesPatchPtrOutput) MatchPolicy ¶
func (o MatchResourcesPatchPtrOutput) MatchPolicy() pulumi.StringPtrOutput
matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy.
- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy.
Defaults to "Equivalent"
func (MatchResourcesPatchPtrOutput) NamespaceSelector ¶
func (o MatchResourcesPatchPtrOutput) NamespaceSelector() metav1.LabelSelectorPatchPtrOutput
NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy.
For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { "matchExpressions": [ { "key": "runlevel", "operator": "NotIn", "values": [ "0", "1" ] } ] } If instead you want to only run the policy on any objects whose namespace is associated with the "environment" of "prod" or "staging"; you will set the selector as follows: "namespaceSelector": { "matchExpressions": [ { "key": "environment", "operator": "In", "values": [ "prod", "staging" ] } ] }
See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.
Default to the empty LabelSelector, which matches everything.
func (MatchResourcesPatchPtrOutput) ObjectSelector ¶
func (o MatchResourcesPatchPtrOutput) ObjectSelector() metav1.LabelSelectorPatchPtrOutput
ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
func (MatchResourcesPatchPtrOutput) ResourceRules ¶
func (o MatchResourcesPatchPtrOutput) ResourceRules() NamedRuleWithOperationsPatchArrayOutput
ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule.
func (MatchResourcesPatchPtrOutput) ToMatchResourcesPatchPtrOutput ¶
func (o MatchResourcesPatchPtrOutput) ToMatchResourcesPatchPtrOutput() MatchResourcesPatchPtrOutput
func (MatchResourcesPatchPtrOutput) ToMatchResourcesPatchPtrOutputWithContext ¶
func (o MatchResourcesPatchPtrOutput) ToMatchResourcesPatchPtrOutputWithContext(ctx context.Context) MatchResourcesPatchPtrOutput
func (MatchResourcesPatchPtrOutput) ToOutput ¶ added in v4.2.0
func (o MatchResourcesPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MatchResourcesPatch]
type MatchResourcesPtrInput ¶
type MatchResourcesPtrInput interface { pulumi.Input ToMatchResourcesPtrOutput() MatchResourcesPtrOutput ToMatchResourcesPtrOutputWithContext(context.Context) MatchResourcesPtrOutput }
MatchResourcesPtrInput is an input type that accepts MatchResourcesArgs, MatchResourcesPtr and MatchResourcesPtrOutput values. You can construct a concrete instance of `MatchResourcesPtrInput` via:
MatchResourcesArgs{...} or: nil
func MatchResourcesPtr ¶
func MatchResourcesPtr(v *MatchResourcesArgs) MatchResourcesPtrInput
type MatchResourcesPtrOutput ¶
type MatchResourcesPtrOutput struct{ *pulumi.OutputState }
func (MatchResourcesPtrOutput) Elem ¶
func (o MatchResourcesPtrOutput) Elem() MatchResourcesOutput
func (MatchResourcesPtrOutput) ElementType ¶
func (MatchResourcesPtrOutput) ElementType() reflect.Type
func (MatchResourcesPtrOutput) ExcludeResourceRules ¶
func (o MatchResourcesPtrOutput) ExcludeResourceRules() NamedRuleWithOperationsArrayOutput
ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
func (MatchResourcesPtrOutput) MatchPolicy ¶
func (o MatchResourcesPtrOutput) MatchPolicy() pulumi.StringPtrOutput
matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy.
- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy.
Defaults to "Equivalent"
func (MatchResourcesPtrOutput) NamespaceSelector ¶
func (o MatchResourcesPtrOutput) NamespaceSelector() metav1.LabelSelectorPtrOutput
NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy.
For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { "matchExpressions": [ { "key": "runlevel", "operator": "NotIn", "values": [ "0", "1" ] } ] } If instead you want to only run the policy on any objects whose namespace is associated with the "environment" of "prod" or "staging"; you will set the selector as follows: "namespaceSelector": { "matchExpressions": [ { "key": "environment", "operator": "In", "values": [ "prod", "staging" ] } ] }
See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.
Default to the empty LabelSelector, which matches everything.
func (MatchResourcesPtrOutput) ObjectSelector ¶
func (o MatchResourcesPtrOutput) ObjectSelector() metav1.LabelSelectorPtrOutput
ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
func (MatchResourcesPtrOutput) ResourceRules ¶
func (o MatchResourcesPtrOutput) ResourceRules() NamedRuleWithOperationsArrayOutput
ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule.
func (MatchResourcesPtrOutput) ToMatchResourcesPtrOutput ¶
func (o MatchResourcesPtrOutput) ToMatchResourcesPtrOutput() MatchResourcesPtrOutput
func (MatchResourcesPtrOutput) ToMatchResourcesPtrOutputWithContext ¶
func (o MatchResourcesPtrOutput) ToMatchResourcesPtrOutputWithContext(ctx context.Context) MatchResourcesPtrOutput
func (MatchResourcesPtrOutput) ToOutput ¶ added in v4.2.0
func (o MatchResourcesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MatchResources]
type NamedRuleWithOperations ¶
type NamedRuleWithOperations struct { // APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required. ApiGroups []string `pulumi:"apiGroups"` // APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required. ApiVersions []string `pulumi:"apiVersions"` // Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required. Operations []string `pulumi:"operations"` // ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. ResourceNames []string `pulumi:"resourceNames"` // Resources is a list of resources this rule applies to. // // For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources. // // If wildcard is present, the validation rule will ensure resources do not overlap with each other. // // Depending on the enclosing object, subresources might not be allowed. Required. Resources []string `pulumi:"resources"` // scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*". Scope *string `pulumi:"scope"` }
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
type NamedRuleWithOperationsArgs ¶
type NamedRuleWithOperationsArgs struct { // APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required. ApiGroups pulumi.StringArrayInput `pulumi:"apiGroups"` // APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required. ApiVersions pulumi.StringArrayInput `pulumi:"apiVersions"` // Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required. Operations pulumi.StringArrayInput `pulumi:"operations"` // ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. ResourceNames pulumi.StringArrayInput `pulumi:"resourceNames"` // Resources is a list of resources this rule applies to. // // For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources. // // If wildcard is present, the validation rule will ensure resources do not overlap with each other. // // Depending on the enclosing object, subresources might not be allowed. Required. Resources pulumi.StringArrayInput `pulumi:"resources"` // scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*". Scope pulumi.StringPtrInput `pulumi:"scope"` }
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
func (NamedRuleWithOperationsArgs) ElementType ¶
func (NamedRuleWithOperationsArgs) ElementType() reflect.Type
func (NamedRuleWithOperationsArgs) ToNamedRuleWithOperationsOutput ¶
func (i NamedRuleWithOperationsArgs) ToNamedRuleWithOperationsOutput() NamedRuleWithOperationsOutput
func (NamedRuleWithOperationsArgs) ToNamedRuleWithOperationsOutputWithContext ¶
func (i NamedRuleWithOperationsArgs) ToNamedRuleWithOperationsOutputWithContext(ctx context.Context) NamedRuleWithOperationsOutput
func (NamedRuleWithOperationsArgs) ToOutput ¶ added in v4.2.0
func (i NamedRuleWithOperationsArgs) ToOutput(ctx context.Context) pulumix.Output[NamedRuleWithOperations]
type NamedRuleWithOperationsArray ¶
type NamedRuleWithOperationsArray []NamedRuleWithOperationsInput
func (NamedRuleWithOperationsArray) ElementType ¶
func (NamedRuleWithOperationsArray) ElementType() reflect.Type
func (NamedRuleWithOperationsArray) ToNamedRuleWithOperationsArrayOutput ¶
func (i NamedRuleWithOperationsArray) ToNamedRuleWithOperationsArrayOutput() NamedRuleWithOperationsArrayOutput
func (NamedRuleWithOperationsArray) ToNamedRuleWithOperationsArrayOutputWithContext ¶
func (i NamedRuleWithOperationsArray) ToNamedRuleWithOperationsArrayOutputWithContext(ctx context.Context) NamedRuleWithOperationsArrayOutput
func (NamedRuleWithOperationsArray) ToOutput ¶ added in v4.2.0
func (i NamedRuleWithOperationsArray) ToOutput(ctx context.Context) pulumix.Output[[]NamedRuleWithOperations]
type NamedRuleWithOperationsArrayInput ¶
type NamedRuleWithOperationsArrayInput interface { pulumi.Input ToNamedRuleWithOperationsArrayOutput() NamedRuleWithOperationsArrayOutput ToNamedRuleWithOperationsArrayOutputWithContext(context.Context) NamedRuleWithOperationsArrayOutput }
NamedRuleWithOperationsArrayInput is an input type that accepts NamedRuleWithOperationsArray and NamedRuleWithOperationsArrayOutput values. You can construct a concrete instance of `NamedRuleWithOperationsArrayInput` via:
NamedRuleWithOperationsArray{ NamedRuleWithOperationsArgs{...} }
type NamedRuleWithOperationsArrayOutput ¶
type NamedRuleWithOperationsArrayOutput struct{ *pulumi.OutputState }
func (NamedRuleWithOperationsArrayOutput) ElementType ¶
func (NamedRuleWithOperationsArrayOutput) ElementType() reflect.Type
func (NamedRuleWithOperationsArrayOutput) Index ¶
func (o NamedRuleWithOperationsArrayOutput) Index(i pulumi.IntInput) NamedRuleWithOperationsOutput
func (NamedRuleWithOperationsArrayOutput) ToNamedRuleWithOperationsArrayOutput ¶
func (o NamedRuleWithOperationsArrayOutput) ToNamedRuleWithOperationsArrayOutput() NamedRuleWithOperationsArrayOutput
func (NamedRuleWithOperationsArrayOutput) ToNamedRuleWithOperationsArrayOutputWithContext ¶
func (o NamedRuleWithOperationsArrayOutput) ToNamedRuleWithOperationsArrayOutputWithContext(ctx context.Context) NamedRuleWithOperationsArrayOutput
func (NamedRuleWithOperationsArrayOutput) ToOutput ¶ added in v4.2.0
func (o NamedRuleWithOperationsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NamedRuleWithOperations]
type NamedRuleWithOperationsInput ¶
type NamedRuleWithOperationsInput interface { pulumi.Input ToNamedRuleWithOperationsOutput() NamedRuleWithOperationsOutput ToNamedRuleWithOperationsOutputWithContext(context.Context) NamedRuleWithOperationsOutput }
NamedRuleWithOperationsInput is an input type that accepts NamedRuleWithOperationsArgs and NamedRuleWithOperationsOutput values. You can construct a concrete instance of `NamedRuleWithOperationsInput` via:
NamedRuleWithOperationsArgs{...}
type NamedRuleWithOperationsOutput ¶
type NamedRuleWithOperationsOutput struct{ *pulumi.OutputState }
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
func (NamedRuleWithOperationsOutput) ApiGroups ¶
func (o NamedRuleWithOperationsOutput) ApiGroups() pulumi.StringArrayOutput
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
func (NamedRuleWithOperationsOutput) ApiVersions ¶
func (o NamedRuleWithOperationsOutput) ApiVersions() pulumi.StringArrayOutput
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
func (NamedRuleWithOperationsOutput) ElementType ¶
func (NamedRuleWithOperationsOutput) ElementType() reflect.Type
func (NamedRuleWithOperationsOutput) Operations ¶
func (o NamedRuleWithOperationsOutput) Operations() pulumi.StringArrayOutput
Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
func (NamedRuleWithOperationsOutput) ResourceNames ¶
func (o NamedRuleWithOperationsOutput) ResourceNames() pulumi.StringArrayOutput
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
func (NamedRuleWithOperationsOutput) Resources ¶
func (o NamedRuleWithOperationsOutput) Resources() pulumi.StringArrayOutput
Resources is a list of resources this rule applies to.
For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
Depending on the enclosing object, subresources might not be allowed. Required.
func (NamedRuleWithOperationsOutput) Scope ¶
func (o NamedRuleWithOperationsOutput) Scope() pulumi.StringPtrOutput
scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
func (NamedRuleWithOperationsOutput) ToNamedRuleWithOperationsOutput ¶
func (o NamedRuleWithOperationsOutput) ToNamedRuleWithOperationsOutput() NamedRuleWithOperationsOutput
func (NamedRuleWithOperationsOutput) ToNamedRuleWithOperationsOutputWithContext ¶
func (o NamedRuleWithOperationsOutput) ToNamedRuleWithOperationsOutputWithContext(ctx context.Context) NamedRuleWithOperationsOutput
func (NamedRuleWithOperationsOutput) ToOutput ¶ added in v4.2.0
func (o NamedRuleWithOperationsOutput) ToOutput(ctx context.Context) pulumix.Output[NamedRuleWithOperations]
type NamedRuleWithOperationsPatch ¶
type NamedRuleWithOperationsPatch struct { // APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required. ApiGroups []string `pulumi:"apiGroups"` // APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required. ApiVersions []string `pulumi:"apiVersions"` // Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required. Operations []string `pulumi:"operations"` // ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. ResourceNames []string `pulumi:"resourceNames"` // Resources is a list of resources this rule applies to. // // For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources. // // If wildcard is present, the validation rule will ensure resources do not overlap with each other. // // Depending on the enclosing object, subresources might not be allowed. Required. Resources []string `pulumi:"resources"` // scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*". Scope *string `pulumi:"scope"` }
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
type NamedRuleWithOperationsPatchArgs ¶
type NamedRuleWithOperationsPatchArgs struct { // APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required. ApiGroups pulumi.StringArrayInput `pulumi:"apiGroups"` // APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required. ApiVersions pulumi.StringArrayInput `pulumi:"apiVersions"` // Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required. Operations pulumi.StringArrayInput `pulumi:"operations"` // ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. ResourceNames pulumi.StringArrayInput `pulumi:"resourceNames"` // Resources is a list of resources this rule applies to. // // For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources. // // If wildcard is present, the validation rule will ensure resources do not overlap with each other. // // Depending on the enclosing object, subresources might not be allowed. Required. Resources pulumi.StringArrayInput `pulumi:"resources"` // scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*". Scope pulumi.StringPtrInput `pulumi:"scope"` }
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
func (NamedRuleWithOperationsPatchArgs) ElementType ¶
func (NamedRuleWithOperationsPatchArgs) ElementType() reflect.Type
func (NamedRuleWithOperationsPatchArgs) ToNamedRuleWithOperationsPatchOutput ¶
func (i NamedRuleWithOperationsPatchArgs) ToNamedRuleWithOperationsPatchOutput() NamedRuleWithOperationsPatchOutput
func (NamedRuleWithOperationsPatchArgs) ToNamedRuleWithOperationsPatchOutputWithContext ¶
func (i NamedRuleWithOperationsPatchArgs) ToNamedRuleWithOperationsPatchOutputWithContext(ctx context.Context) NamedRuleWithOperationsPatchOutput
func (NamedRuleWithOperationsPatchArgs) ToOutput ¶ added in v4.2.0
func (i NamedRuleWithOperationsPatchArgs) ToOutput(ctx context.Context) pulumix.Output[NamedRuleWithOperationsPatch]
type NamedRuleWithOperationsPatchArray ¶
type NamedRuleWithOperationsPatchArray []NamedRuleWithOperationsPatchInput
func (NamedRuleWithOperationsPatchArray) ElementType ¶
func (NamedRuleWithOperationsPatchArray) ElementType() reflect.Type
func (NamedRuleWithOperationsPatchArray) ToNamedRuleWithOperationsPatchArrayOutput ¶
func (i NamedRuleWithOperationsPatchArray) ToNamedRuleWithOperationsPatchArrayOutput() NamedRuleWithOperationsPatchArrayOutput
func (NamedRuleWithOperationsPatchArray) ToNamedRuleWithOperationsPatchArrayOutputWithContext ¶
func (i NamedRuleWithOperationsPatchArray) ToNamedRuleWithOperationsPatchArrayOutputWithContext(ctx context.Context) NamedRuleWithOperationsPatchArrayOutput
func (NamedRuleWithOperationsPatchArray) ToOutput ¶ added in v4.2.0
func (i NamedRuleWithOperationsPatchArray) ToOutput(ctx context.Context) pulumix.Output[[]NamedRuleWithOperationsPatch]
type NamedRuleWithOperationsPatchArrayInput ¶
type NamedRuleWithOperationsPatchArrayInput interface { pulumi.Input ToNamedRuleWithOperationsPatchArrayOutput() NamedRuleWithOperationsPatchArrayOutput ToNamedRuleWithOperationsPatchArrayOutputWithContext(context.Context) NamedRuleWithOperationsPatchArrayOutput }
NamedRuleWithOperationsPatchArrayInput is an input type that accepts NamedRuleWithOperationsPatchArray and NamedRuleWithOperationsPatchArrayOutput values. You can construct a concrete instance of `NamedRuleWithOperationsPatchArrayInput` via:
NamedRuleWithOperationsPatchArray{ NamedRuleWithOperationsPatchArgs{...} }
type NamedRuleWithOperationsPatchArrayOutput ¶
type NamedRuleWithOperationsPatchArrayOutput struct{ *pulumi.OutputState }
func (NamedRuleWithOperationsPatchArrayOutput) ElementType ¶
func (NamedRuleWithOperationsPatchArrayOutput) ElementType() reflect.Type
func (NamedRuleWithOperationsPatchArrayOutput) ToNamedRuleWithOperationsPatchArrayOutput ¶
func (o NamedRuleWithOperationsPatchArrayOutput) ToNamedRuleWithOperationsPatchArrayOutput() NamedRuleWithOperationsPatchArrayOutput
func (NamedRuleWithOperationsPatchArrayOutput) ToNamedRuleWithOperationsPatchArrayOutputWithContext ¶
func (o NamedRuleWithOperationsPatchArrayOutput) ToNamedRuleWithOperationsPatchArrayOutputWithContext(ctx context.Context) NamedRuleWithOperationsPatchArrayOutput
func (NamedRuleWithOperationsPatchArrayOutput) ToOutput ¶ added in v4.2.0
func (o NamedRuleWithOperationsPatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NamedRuleWithOperationsPatch]
type NamedRuleWithOperationsPatchInput ¶
type NamedRuleWithOperationsPatchInput interface { pulumi.Input ToNamedRuleWithOperationsPatchOutput() NamedRuleWithOperationsPatchOutput ToNamedRuleWithOperationsPatchOutputWithContext(context.Context) NamedRuleWithOperationsPatchOutput }
NamedRuleWithOperationsPatchInput is an input type that accepts NamedRuleWithOperationsPatchArgs and NamedRuleWithOperationsPatchOutput values. You can construct a concrete instance of `NamedRuleWithOperationsPatchInput` via:
NamedRuleWithOperationsPatchArgs{...}
type NamedRuleWithOperationsPatchOutput ¶
type NamedRuleWithOperationsPatchOutput struct{ *pulumi.OutputState }
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
func (NamedRuleWithOperationsPatchOutput) ApiGroups ¶
func (o NamedRuleWithOperationsPatchOutput) ApiGroups() pulumi.StringArrayOutput
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
func (NamedRuleWithOperationsPatchOutput) ApiVersions ¶
func (o NamedRuleWithOperationsPatchOutput) ApiVersions() pulumi.StringArrayOutput
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
func (NamedRuleWithOperationsPatchOutput) ElementType ¶
func (NamedRuleWithOperationsPatchOutput) ElementType() reflect.Type
func (NamedRuleWithOperationsPatchOutput) Operations ¶
func (o NamedRuleWithOperationsPatchOutput) Operations() pulumi.StringArrayOutput
Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
func (NamedRuleWithOperationsPatchOutput) ResourceNames ¶
func (o NamedRuleWithOperationsPatchOutput) ResourceNames() pulumi.StringArrayOutput
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
func (NamedRuleWithOperationsPatchOutput) Resources ¶
func (o NamedRuleWithOperationsPatchOutput) Resources() pulumi.StringArrayOutput
Resources is a list of resources this rule applies to.
For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
Depending on the enclosing object, subresources might not be allowed. Required.
func (NamedRuleWithOperationsPatchOutput) Scope ¶
func (o NamedRuleWithOperationsPatchOutput) Scope() pulumi.StringPtrOutput
scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
func (NamedRuleWithOperationsPatchOutput) ToNamedRuleWithOperationsPatchOutput ¶
func (o NamedRuleWithOperationsPatchOutput) ToNamedRuleWithOperationsPatchOutput() NamedRuleWithOperationsPatchOutput
func (NamedRuleWithOperationsPatchOutput) ToNamedRuleWithOperationsPatchOutputWithContext ¶
func (o NamedRuleWithOperationsPatchOutput) ToNamedRuleWithOperationsPatchOutputWithContext(ctx context.Context) NamedRuleWithOperationsPatchOutput
func (NamedRuleWithOperationsPatchOutput) ToOutput ¶ added in v4.2.0
func (o NamedRuleWithOperationsPatchOutput) ToOutput(ctx context.Context) pulumix.Output[NamedRuleWithOperationsPatch]
type ParamKind ¶
type ParamKind struct { // APIVersion is the API group version the resources belong to. In format of "group/version". Required. ApiVersion *string `pulumi:"apiVersion"` // Kind is the API kind the resources belong to. Required. Kind *string `pulumi:"kind"` }
ParamKind is a tuple of Group Kind and Version.
type ParamKindArgs ¶
type ParamKindArgs struct { // APIVersion is the API group version the resources belong to. In format of "group/version". Required. ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"` // Kind is the API kind the resources belong to. Required. Kind pulumi.StringPtrInput `pulumi:"kind"` }
ParamKind is a tuple of Group Kind and Version.
func (ParamKindArgs) ElementType ¶
func (ParamKindArgs) ElementType() reflect.Type
func (ParamKindArgs) ToParamKindOutput ¶
func (i ParamKindArgs) ToParamKindOutput() ParamKindOutput
func (ParamKindArgs) ToParamKindOutputWithContext ¶
func (i ParamKindArgs) ToParamKindOutputWithContext(ctx context.Context) ParamKindOutput
func (ParamKindArgs) ToParamKindPtrOutput ¶
func (i ParamKindArgs) ToParamKindPtrOutput() ParamKindPtrOutput
func (ParamKindArgs) ToParamKindPtrOutputWithContext ¶
func (i ParamKindArgs) ToParamKindPtrOutputWithContext(ctx context.Context) ParamKindPtrOutput
type ParamKindInput ¶
type ParamKindInput interface { pulumi.Input ToParamKindOutput() ParamKindOutput ToParamKindOutputWithContext(context.Context) ParamKindOutput }
ParamKindInput is an input type that accepts ParamKindArgs and ParamKindOutput values. You can construct a concrete instance of `ParamKindInput` via:
ParamKindArgs{...}
type ParamKindOutput ¶
type ParamKindOutput struct{ *pulumi.OutputState }
ParamKind is a tuple of Group Kind and Version.
func (ParamKindOutput) ApiVersion ¶
func (o ParamKindOutput) ApiVersion() pulumi.StringPtrOutput
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
func (ParamKindOutput) ElementType ¶
func (ParamKindOutput) ElementType() reflect.Type
func (ParamKindOutput) Kind ¶
func (o ParamKindOutput) Kind() pulumi.StringPtrOutput
Kind is the API kind the resources belong to. Required.
func (ParamKindOutput) ToParamKindOutput ¶
func (o ParamKindOutput) ToParamKindOutput() ParamKindOutput
func (ParamKindOutput) ToParamKindOutputWithContext ¶
func (o ParamKindOutput) ToParamKindOutputWithContext(ctx context.Context) ParamKindOutput
func (ParamKindOutput) ToParamKindPtrOutput ¶
func (o ParamKindOutput) ToParamKindPtrOutput() ParamKindPtrOutput
func (ParamKindOutput) ToParamKindPtrOutputWithContext ¶
func (o ParamKindOutput) ToParamKindPtrOutputWithContext(ctx context.Context) ParamKindPtrOutput
type ParamKindPatch ¶
type ParamKindPatch struct { // APIVersion is the API group version the resources belong to. In format of "group/version". Required. ApiVersion *string `pulumi:"apiVersion"` // Kind is the API kind the resources belong to. Required. Kind *string `pulumi:"kind"` }
ParamKind is a tuple of Group Kind and Version.
type ParamKindPatchArgs ¶
type ParamKindPatchArgs struct { // APIVersion is the API group version the resources belong to. In format of "group/version". Required. ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"` // Kind is the API kind the resources belong to. Required. Kind pulumi.StringPtrInput `pulumi:"kind"` }
ParamKind is a tuple of Group Kind and Version.
func (ParamKindPatchArgs) ElementType ¶
func (ParamKindPatchArgs) ElementType() reflect.Type
func (ParamKindPatchArgs) ToOutput ¶ added in v4.2.0
func (i ParamKindPatchArgs) ToOutput(ctx context.Context) pulumix.Output[ParamKindPatch]
func (ParamKindPatchArgs) ToParamKindPatchOutput ¶
func (i ParamKindPatchArgs) ToParamKindPatchOutput() ParamKindPatchOutput
func (ParamKindPatchArgs) ToParamKindPatchOutputWithContext ¶
func (i ParamKindPatchArgs) ToParamKindPatchOutputWithContext(ctx context.Context) ParamKindPatchOutput
func (ParamKindPatchArgs) ToParamKindPatchPtrOutput ¶
func (i ParamKindPatchArgs) ToParamKindPatchPtrOutput() ParamKindPatchPtrOutput
func (ParamKindPatchArgs) ToParamKindPatchPtrOutputWithContext ¶
func (i ParamKindPatchArgs) ToParamKindPatchPtrOutputWithContext(ctx context.Context) ParamKindPatchPtrOutput
type ParamKindPatchInput ¶
type ParamKindPatchInput interface { pulumi.Input ToParamKindPatchOutput() ParamKindPatchOutput ToParamKindPatchOutputWithContext(context.Context) ParamKindPatchOutput }
ParamKindPatchInput is an input type that accepts ParamKindPatchArgs and ParamKindPatchOutput values. You can construct a concrete instance of `ParamKindPatchInput` via:
ParamKindPatchArgs{...}
type ParamKindPatchOutput ¶
type ParamKindPatchOutput struct{ *pulumi.OutputState }
ParamKind is a tuple of Group Kind and Version.
func (ParamKindPatchOutput) ApiVersion ¶
func (o ParamKindPatchOutput) ApiVersion() pulumi.StringPtrOutput
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
func (ParamKindPatchOutput) ElementType ¶
func (ParamKindPatchOutput) ElementType() reflect.Type
func (ParamKindPatchOutput) Kind ¶
func (o ParamKindPatchOutput) Kind() pulumi.StringPtrOutput
Kind is the API kind the resources belong to. Required.
func (ParamKindPatchOutput) ToOutput ¶ added in v4.2.0
func (o ParamKindPatchOutput) ToOutput(ctx context.Context) pulumix.Output[ParamKindPatch]
func (ParamKindPatchOutput) ToParamKindPatchOutput ¶
func (o ParamKindPatchOutput) ToParamKindPatchOutput() ParamKindPatchOutput
func (ParamKindPatchOutput) ToParamKindPatchOutputWithContext ¶
func (o ParamKindPatchOutput) ToParamKindPatchOutputWithContext(ctx context.Context) ParamKindPatchOutput
func (ParamKindPatchOutput) ToParamKindPatchPtrOutput ¶
func (o ParamKindPatchOutput) ToParamKindPatchPtrOutput() ParamKindPatchPtrOutput
func (ParamKindPatchOutput) ToParamKindPatchPtrOutputWithContext ¶
func (o ParamKindPatchOutput) ToParamKindPatchPtrOutputWithContext(ctx context.Context) ParamKindPatchPtrOutput
type ParamKindPatchPtrInput ¶
type ParamKindPatchPtrInput interface { pulumi.Input ToParamKindPatchPtrOutput() ParamKindPatchPtrOutput ToParamKindPatchPtrOutputWithContext(context.Context) ParamKindPatchPtrOutput }
ParamKindPatchPtrInput is an input type that accepts ParamKindPatchArgs, ParamKindPatchPtr and ParamKindPatchPtrOutput values. You can construct a concrete instance of `ParamKindPatchPtrInput` via:
ParamKindPatchArgs{...} or: nil
func ParamKindPatchPtr ¶
func ParamKindPatchPtr(v *ParamKindPatchArgs) ParamKindPatchPtrInput
type ParamKindPatchPtrOutput ¶
type ParamKindPatchPtrOutput struct{ *pulumi.OutputState }
func (ParamKindPatchPtrOutput) ApiVersion ¶
func (o ParamKindPatchPtrOutput) ApiVersion() pulumi.StringPtrOutput
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
func (ParamKindPatchPtrOutput) Elem ¶
func (o ParamKindPatchPtrOutput) Elem() ParamKindPatchOutput
func (ParamKindPatchPtrOutput) ElementType ¶
func (ParamKindPatchPtrOutput) ElementType() reflect.Type
func (ParamKindPatchPtrOutput) Kind ¶
func (o ParamKindPatchPtrOutput) Kind() pulumi.StringPtrOutput
Kind is the API kind the resources belong to. Required.
func (ParamKindPatchPtrOutput) ToOutput ¶ added in v4.2.0
func (o ParamKindPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ParamKindPatch]
func (ParamKindPatchPtrOutput) ToParamKindPatchPtrOutput ¶
func (o ParamKindPatchPtrOutput) ToParamKindPatchPtrOutput() ParamKindPatchPtrOutput
func (ParamKindPatchPtrOutput) ToParamKindPatchPtrOutputWithContext ¶
func (o ParamKindPatchPtrOutput) ToParamKindPatchPtrOutputWithContext(ctx context.Context) ParamKindPatchPtrOutput
type ParamKindPtrInput ¶
type ParamKindPtrInput interface { pulumi.Input ToParamKindPtrOutput() ParamKindPtrOutput ToParamKindPtrOutputWithContext(context.Context) ParamKindPtrOutput }
ParamKindPtrInput is an input type that accepts ParamKindArgs, ParamKindPtr and ParamKindPtrOutput values. You can construct a concrete instance of `ParamKindPtrInput` via:
ParamKindArgs{...} or: nil
func ParamKindPtr ¶
func ParamKindPtr(v *ParamKindArgs) ParamKindPtrInput
type ParamKindPtrOutput ¶
type ParamKindPtrOutput struct{ *pulumi.OutputState }
func (ParamKindPtrOutput) ApiVersion ¶
func (o ParamKindPtrOutput) ApiVersion() pulumi.StringPtrOutput
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
func (ParamKindPtrOutput) Elem ¶
func (o ParamKindPtrOutput) Elem() ParamKindOutput
func (ParamKindPtrOutput) ElementType ¶
func (ParamKindPtrOutput) ElementType() reflect.Type
func (ParamKindPtrOutput) Kind ¶
func (o ParamKindPtrOutput) Kind() pulumi.StringPtrOutput
Kind is the API kind the resources belong to. Required.
func (ParamKindPtrOutput) ToParamKindPtrOutput ¶
func (o ParamKindPtrOutput) ToParamKindPtrOutput() ParamKindPtrOutput
func (ParamKindPtrOutput) ToParamKindPtrOutputWithContext ¶
func (o ParamKindPtrOutput) ToParamKindPtrOutputWithContext(ctx context.Context) ParamKindPtrOutput
type ParamRef ¶
type ParamRef struct { // `name` is the name of the resource being referenced. // // `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset. Name *string `pulumi:"name"` // namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields. // // A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty. // // - If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error. // // - If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error. Namespace *string `pulumi:"namespace"` // `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy. // // Allowed values are `Allow` or `Deny` Default to `Deny` ParameterNotFoundAction *string `pulumi:"parameterNotFoundAction"` // selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind. // // If multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together. // // One of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset. Selector *metav1.LabelSelector `pulumi:"selector"` }
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
type ParamRefArgs ¶
type ParamRefArgs struct { // `name` is the name of the resource being referenced. // // `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset. Name pulumi.StringPtrInput `pulumi:"name"` // namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields. // // A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty. // // - If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error. // // - If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error. Namespace pulumi.StringPtrInput `pulumi:"namespace"` // `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy. // // Allowed values are `Allow` or `Deny` Default to `Deny` ParameterNotFoundAction pulumi.StringPtrInput `pulumi:"parameterNotFoundAction"` // selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind. // // If multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together. // // One of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset. Selector metav1.LabelSelectorPtrInput `pulumi:"selector"` }
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
func (ParamRefArgs) ElementType ¶
func (ParamRefArgs) ElementType() reflect.Type
func (ParamRefArgs) ToParamRefOutput ¶
func (i ParamRefArgs) ToParamRefOutput() ParamRefOutput
func (ParamRefArgs) ToParamRefOutputWithContext ¶
func (i ParamRefArgs) ToParamRefOutputWithContext(ctx context.Context) ParamRefOutput
func (ParamRefArgs) ToParamRefPtrOutput ¶
func (i ParamRefArgs) ToParamRefPtrOutput() ParamRefPtrOutput
func (ParamRefArgs) ToParamRefPtrOutputWithContext ¶
func (i ParamRefArgs) ToParamRefPtrOutputWithContext(ctx context.Context) ParamRefPtrOutput
type ParamRefInput ¶
type ParamRefInput interface { pulumi.Input ToParamRefOutput() ParamRefOutput ToParamRefOutputWithContext(context.Context) ParamRefOutput }
ParamRefInput is an input type that accepts ParamRefArgs and ParamRefOutput values. You can construct a concrete instance of `ParamRefInput` via:
ParamRefArgs{...}
type ParamRefOutput ¶
type ParamRefOutput struct{ *pulumi.OutputState }
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
func (ParamRefOutput) ElementType ¶
func (ParamRefOutput) ElementType() reflect.Type
func (ParamRefOutput) Name ¶
func (o ParamRefOutput) Name() pulumi.StringPtrOutput
`name` is the name of the resource being referenced.
`name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.
func (ParamRefOutput) Namespace ¶
func (o ParamRefOutput) Namespace() pulumi.StringPtrOutput
namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.
A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
- If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error.
func (ParamRefOutput) ParameterNotFoundAction ¶ added in v4.1.0
func (o ParamRefOutput) ParameterNotFoundAction() pulumi.StringPtrOutput
`parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.
Allowed values are `Allow` or `Deny` Default to `Deny`
func (ParamRefOutput) Selector ¶ added in v4.1.0
func (o ParamRefOutput) Selector() metav1.LabelSelectorPtrOutput
selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.
If multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.
One of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.
func (ParamRefOutput) ToParamRefOutput ¶
func (o ParamRefOutput) ToParamRefOutput() ParamRefOutput
func (ParamRefOutput) ToParamRefOutputWithContext ¶
func (o ParamRefOutput) ToParamRefOutputWithContext(ctx context.Context) ParamRefOutput
func (ParamRefOutput) ToParamRefPtrOutput ¶
func (o ParamRefOutput) ToParamRefPtrOutput() ParamRefPtrOutput
func (ParamRefOutput) ToParamRefPtrOutputWithContext ¶
func (o ParamRefOutput) ToParamRefPtrOutputWithContext(ctx context.Context) ParamRefPtrOutput
type ParamRefPatch ¶
type ParamRefPatch struct { // `name` is the name of the resource being referenced. // // `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset. Name *string `pulumi:"name"` // namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields. // // A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty. // // - If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error. // // - If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error. Namespace *string `pulumi:"namespace"` // `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy. // // Allowed values are `Allow` or `Deny` Default to `Deny` ParameterNotFoundAction *string `pulumi:"parameterNotFoundAction"` // selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind. // // If multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together. // // One of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset. Selector *metav1.LabelSelectorPatch `pulumi:"selector"` }
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
type ParamRefPatchArgs ¶
type ParamRefPatchArgs struct { // `name` is the name of the resource being referenced. // // `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset. Name pulumi.StringPtrInput `pulumi:"name"` // namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields. // // A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty. // // - If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error. // // - If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error. Namespace pulumi.StringPtrInput `pulumi:"namespace"` // `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy. // // Allowed values are `Allow` or `Deny` Default to `Deny` ParameterNotFoundAction pulumi.StringPtrInput `pulumi:"parameterNotFoundAction"` // selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind. // // If multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together. // // One of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset. Selector metav1.LabelSelectorPatchPtrInput `pulumi:"selector"` }
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
func (ParamRefPatchArgs) ElementType ¶
func (ParamRefPatchArgs) ElementType() reflect.Type
func (ParamRefPatchArgs) ToOutput ¶ added in v4.2.0
func (i ParamRefPatchArgs) ToOutput(ctx context.Context) pulumix.Output[ParamRefPatch]
func (ParamRefPatchArgs) ToParamRefPatchOutput ¶
func (i ParamRefPatchArgs) ToParamRefPatchOutput() ParamRefPatchOutput
func (ParamRefPatchArgs) ToParamRefPatchOutputWithContext ¶
func (i ParamRefPatchArgs) ToParamRefPatchOutputWithContext(ctx context.Context) ParamRefPatchOutput
func (ParamRefPatchArgs) ToParamRefPatchPtrOutput ¶
func (i ParamRefPatchArgs) ToParamRefPatchPtrOutput() ParamRefPatchPtrOutput
func (ParamRefPatchArgs) ToParamRefPatchPtrOutputWithContext ¶
func (i ParamRefPatchArgs) ToParamRefPatchPtrOutputWithContext(ctx context.Context) ParamRefPatchPtrOutput
type ParamRefPatchInput ¶
type ParamRefPatchInput interface { pulumi.Input ToParamRefPatchOutput() ParamRefPatchOutput ToParamRefPatchOutputWithContext(context.Context) ParamRefPatchOutput }
ParamRefPatchInput is an input type that accepts ParamRefPatchArgs and ParamRefPatchOutput values. You can construct a concrete instance of `ParamRefPatchInput` via:
ParamRefPatchArgs{...}
type ParamRefPatchOutput ¶
type ParamRefPatchOutput struct{ *pulumi.OutputState }
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
func (ParamRefPatchOutput) ElementType ¶
func (ParamRefPatchOutput) ElementType() reflect.Type
func (ParamRefPatchOutput) Name ¶
func (o ParamRefPatchOutput) Name() pulumi.StringPtrOutput
`name` is the name of the resource being referenced.
`name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.
func (ParamRefPatchOutput) Namespace ¶
func (o ParamRefPatchOutput) Namespace() pulumi.StringPtrOutput
namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.
A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
- If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error.
func (ParamRefPatchOutput) ParameterNotFoundAction ¶ added in v4.1.0
func (o ParamRefPatchOutput) ParameterNotFoundAction() pulumi.StringPtrOutput
`parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.
Allowed values are `Allow` or `Deny` Default to `Deny`
func (ParamRefPatchOutput) Selector ¶ added in v4.1.0
func (o ParamRefPatchOutput) Selector() metav1.LabelSelectorPatchPtrOutput
selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.
If multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.
One of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.
func (ParamRefPatchOutput) ToOutput ¶ added in v4.2.0
func (o ParamRefPatchOutput) ToOutput(ctx context.Context) pulumix.Output[ParamRefPatch]
func (ParamRefPatchOutput) ToParamRefPatchOutput ¶
func (o ParamRefPatchOutput) ToParamRefPatchOutput() ParamRefPatchOutput
func (ParamRefPatchOutput) ToParamRefPatchOutputWithContext ¶
func (o ParamRefPatchOutput) ToParamRefPatchOutputWithContext(ctx context.Context) ParamRefPatchOutput
func (ParamRefPatchOutput) ToParamRefPatchPtrOutput ¶
func (o ParamRefPatchOutput) ToParamRefPatchPtrOutput() ParamRefPatchPtrOutput
func (ParamRefPatchOutput) ToParamRefPatchPtrOutputWithContext ¶
func (o ParamRefPatchOutput) ToParamRefPatchPtrOutputWithContext(ctx context.Context) ParamRefPatchPtrOutput
type ParamRefPatchPtrInput ¶
type ParamRefPatchPtrInput interface { pulumi.Input ToParamRefPatchPtrOutput() ParamRefPatchPtrOutput ToParamRefPatchPtrOutputWithContext(context.Context) ParamRefPatchPtrOutput }
ParamRefPatchPtrInput is an input type that accepts ParamRefPatchArgs, ParamRefPatchPtr and ParamRefPatchPtrOutput values. You can construct a concrete instance of `ParamRefPatchPtrInput` via:
ParamRefPatchArgs{...} or: nil
func ParamRefPatchPtr ¶
func ParamRefPatchPtr(v *ParamRefPatchArgs) ParamRefPatchPtrInput
type ParamRefPatchPtrOutput ¶
type ParamRefPatchPtrOutput struct{ *pulumi.OutputState }
func (ParamRefPatchPtrOutput) Elem ¶
func (o ParamRefPatchPtrOutput) Elem() ParamRefPatchOutput
func (ParamRefPatchPtrOutput) ElementType ¶
func (ParamRefPatchPtrOutput) ElementType() reflect.Type
func (ParamRefPatchPtrOutput) Name ¶
func (o ParamRefPatchPtrOutput) Name() pulumi.StringPtrOutput
`name` is the name of the resource being referenced.
`name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.
func (ParamRefPatchPtrOutput) Namespace ¶
func (o ParamRefPatchPtrOutput) Namespace() pulumi.StringPtrOutput
namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.
A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
- If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error.
func (ParamRefPatchPtrOutput) ParameterNotFoundAction ¶ added in v4.1.0
func (o ParamRefPatchPtrOutput) ParameterNotFoundAction() pulumi.StringPtrOutput
`parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.
Allowed values are `Allow` or `Deny` Default to `Deny`
func (ParamRefPatchPtrOutput) Selector ¶ added in v4.1.0
func (o ParamRefPatchPtrOutput) Selector() metav1.LabelSelectorPatchPtrOutput
selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.
If multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.
One of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.
func (ParamRefPatchPtrOutput) ToOutput ¶ added in v4.2.0
func (o ParamRefPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ParamRefPatch]
func (ParamRefPatchPtrOutput) ToParamRefPatchPtrOutput ¶
func (o ParamRefPatchPtrOutput) ToParamRefPatchPtrOutput() ParamRefPatchPtrOutput
func (ParamRefPatchPtrOutput) ToParamRefPatchPtrOutputWithContext ¶
func (o ParamRefPatchPtrOutput) ToParamRefPatchPtrOutputWithContext(ctx context.Context) ParamRefPatchPtrOutput
type ParamRefPtrInput ¶
type ParamRefPtrInput interface { pulumi.Input ToParamRefPtrOutput() ParamRefPtrOutput ToParamRefPtrOutputWithContext(context.Context) ParamRefPtrOutput }
ParamRefPtrInput is an input type that accepts ParamRefArgs, ParamRefPtr and ParamRefPtrOutput values. You can construct a concrete instance of `ParamRefPtrInput` via:
ParamRefArgs{...} or: nil
func ParamRefPtr ¶
func ParamRefPtr(v *ParamRefArgs) ParamRefPtrInput
type ParamRefPtrOutput ¶
type ParamRefPtrOutput struct{ *pulumi.OutputState }
func (ParamRefPtrOutput) Elem ¶
func (o ParamRefPtrOutput) Elem() ParamRefOutput
func (ParamRefPtrOutput) ElementType ¶
func (ParamRefPtrOutput) ElementType() reflect.Type
func (ParamRefPtrOutput) Name ¶
func (o ParamRefPtrOutput) Name() pulumi.StringPtrOutput
`name` is the name of the resource being referenced.
`name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.
func (ParamRefPtrOutput) Namespace ¶
func (o ParamRefPtrOutput) Namespace() pulumi.StringPtrOutput
namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.
A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
- If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error.
func (ParamRefPtrOutput) ParameterNotFoundAction ¶ added in v4.1.0
func (o ParamRefPtrOutput) ParameterNotFoundAction() pulumi.StringPtrOutput
`parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.
Allowed values are `Allow` or `Deny` Default to `Deny`
func (ParamRefPtrOutput) Selector ¶ added in v4.1.0
func (o ParamRefPtrOutput) Selector() metav1.LabelSelectorPtrOutput
selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.
If multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.
One of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.
func (ParamRefPtrOutput) ToParamRefPtrOutput ¶
func (o ParamRefPtrOutput) ToParamRefPtrOutput() ParamRefPtrOutput
func (ParamRefPtrOutput) ToParamRefPtrOutputWithContext ¶
func (o ParamRefPtrOutput) ToParamRefPtrOutputWithContext(ctx context.Context) ParamRefPtrOutput
type TypeChecking ¶
type TypeChecking struct { // The type checking warnings for each expression. ExpressionWarnings []ExpressionWarning `pulumi:"expressionWarnings"` }
TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy
type TypeCheckingArgs ¶
type TypeCheckingArgs struct { // The type checking warnings for each expression. ExpressionWarnings ExpressionWarningArrayInput `pulumi:"expressionWarnings"` }
TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy
func (TypeCheckingArgs) ElementType ¶
func (TypeCheckingArgs) ElementType() reflect.Type
func (TypeCheckingArgs) ToOutput ¶ added in v4.2.0
func (i TypeCheckingArgs) ToOutput(ctx context.Context) pulumix.Output[TypeChecking]
func (TypeCheckingArgs) ToTypeCheckingOutput ¶
func (i TypeCheckingArgs) ToTypeCheckingOutput() TypeCheckingOutput
func (TypeCheckingArgs) ToTypeCheckingOutputWithContext ¶
func (i TypeCheckingArgs) ToTypeCheckingOutputWithContext(ctx context.Context) TypeCheckingOutput
func (TypeCheckingArgs) ToTypeCheckingPtrOutput ¶
func (i TypeCheckingArgs) ToTypeCheckingPtrOutput() TypeCheckingPtrOutput
func (TypeCheckingArgs) ToTypeCheckingPtrOutputWithContext ¶
func (i TypeCheckingArgs) ToTypeCheckingPtrOutputWithContext(ctx context.Context) TypeCheckingPtrOutput
type TypeCheckingInput ¶
type TypeCheckingInput interface { pulumi.Input ToTypeCheckingOutput() TypeCheckingOutput ToTypeCheckingOutputWithContext(context.Context) TypeCheckingOutput }
TypeCheckingInput is an input type that accepts TypeCheckingArgs and TypeCheckingOutput values. You can construct a concrete instance of `TypeCheckingInput` via:
TypeCheckingArgs{...}
type TypeCheckingOutput ¶
type TypeCheckingOutput struct{ *pulumi.OutputState }
TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy
func (TypeCheckingOutput) ElementType ¶
func (TypeCheckingOutput) ElementType() reflect.Type
func (TypeCheckingOutput) ExpressionWarnings ¶
func (o TypeCheckingOutput) ExpressionWarnings() ExpressionWarningArrayOutput
The type checking warnings for each expression.
func (TypeCheckingOutput) ToOutput ¶ added in v4.2.0
func (o TypeCheckingOutput) ToOutput(ctx context.Context) pulumix.Output[TypeChecking]
func (TypeCheckingOutput) ToTypeCheckingOutput ¶
func (o TypeCheckingOutput) ToTypeCheckingOutput() TypeCheckingOutput
func (TypeCheckingOutput) ToTypeCheckingOutputWithContext ¶
func (o TypeCheckingOutput) ToTypeCheckingOutputWithContext(ctx context.Context) TypeCheckingOutput
func (TypeCheckingOutput) ToTypeCheckingPtrOutput ¶
func (o TypeCheckingOutput) ToTypeCheckingPtrOutput() TypeCheckingPtrOutput
func (TypeCheckingOutput) ToTypeCheckingPtrOutputWithContext ¶
func (o TypeCheckingOutput) ToTypeCheckingPtrOutputWithContext(ctx context.Context) TypeCheckingPtrOutput
type TypeCheckingPatch ¶
type TypeCheckingPatch struct { // The type checking warnings for each expression. ExpressionWarnings []ExpressionWarningPatch `pulumi:"expressionWarnings"` }
TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy
type TypeCheckingPatchArgs ¶
type TypeCheckingPatchArgs struct { // The type checking warnings for each expression. ExpressionWarnings ExpressionWarningPatchArrayInput `pulumi:"expressionWarnings"` }
TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy
func (TypeCheckingPatchArgs) ElementType ¶
func (TypeCheckingPatchArgs) ElementType() reflect.Type
func (TypeCheckingPatchArgs) ToOutput ¶ added in v4.2.0
func (i TypeCheckingPatchArgs) ToOutput(ctx context.Context) pulumix.Output[TypeCheckingPatch]
func (TypeCheckingPatchArgs) ToTypeCheckingPatchOutput ¶
func (i TypeCheckingPatchArgs) ToTypeCheckingPatchOutput() TypeCheckingPatchOutput
func (TypeCheckingPatchArgs) ToTypeCheckingPatchOutputWithContext ¶
func (i TypeCheckingPatchArgs) ToTypeCheckingPatchOutputWithContext(ctx context.Context) TypeCheckingPatchOutput
func (TypeCheckingPatchArgs) ToTypeCheckingPatchPtrOutput ¶
func (i TypeCheckingPatchArgs) ToTypeCheckingPatchPtrOutput() TypeCheckingPatchPtrOutput
func (TypeCheckingPatchArgs) ToTypeCheckingPatchPtrOutputWithContext ¶
func (i TypeCheckingPatchArgs) ToTypeCheckingPatchPtrOutputWithContext(ctx context.Context) TypeCheckingPatchPtrOutput
type TypeCheckingPatchInput ¶
type TypeCheckingPatchInput interface { pulumi.Input ToTypeCheckingPatchOutput() TypeCheckingPatchOutput ToTypeCheckingPatchOutputWithContext(context.Context) TypeCheckingPatchOutput }
TypeCheckingPatchInput is an input type that accepts TypeCheckingPatchArgs and TypeCheckingPatchOutput values. You can construct a concrete instance of `TypeCheckingPatchInput` via:
TypeCheckingPatchArgs{...}
type TypeCheckingPatchOutput ¶
type TypeCheckingPatchOutput struct{ *pulumi.OutputState }
TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy
func (TypeCheckingPatchOutput) ElementType ¶
func (TypeCheckingPatchOutput) ElementType() reflect.Type
func (TypeCheckingPatchOutput) ExpressionWarnings ¶
func (o TypeCheckingPatchOutput) ExpressionWarnings() ExpressionWarningPatchArrayOutput
The type checking warnings for each expression.
func (TypeCheckingPatchOutput) ToOutput ¶ added in v4.2.0
func (o TypeCheckingPatchOutput) ToOutput(ctx context.Context) pulumix.Output[TypeCheckingPatch]
func (TypeCheckingPatchOutput) ToTypeCheckingPatchOutput ¶
func (o TypeCheckingPatchOutput) ToTypeCheckingPatchOutput() TypeCheckingPatchOutput
func (TypeCheckingPatchOutput) ToTypeCheckingPatchOutputWithContext ¶
func (o TypeCheckingPatchOutput) ToTypeCheckingPatchOutputWithContext(ctx context.Context) TypeCheckingPatchOutput
func (TypeCheckingPatchOutput) ToTypeCheckingPatchPtrOutput ¶
func (o TypeCheckingPatchOutput) ToTypeCheckingPatchPtrOutput() TypeCheckingPatchPtrOutput
func (TypeCheckingPatchOutput) ToTypeCheckingPatchPtrOutputWithContext ¶
func (o TypeCheckingPatchOutput) ToTypeCheckingPatchPtrOutputWithContext(ctx context.Context) TypeCheckingPatchPtrOutput
type TypeCheckingPatchPtrInput ¶
type TypeCheckingPatchPtrInput interface { pulumi.Input ToTypeCheckingPatchPtrOutput() TypeCheckingPatchPtrOutput ToTypeCheckingPatchPtrOutputWithContext(context.Context) TypeCheckingPatchPtrOutput }
TypeCheckingPatchPtrInput is an input type that accepts TypeCheckingPatchArgs, TypeCheckingPatchPtr and TypeCheckingPatchPtrOutput values. You can construct a concrete instance of `TypeCheckingPatchPtrInput` via:
TypeCheckingPatchArgs{...} or: nil
func TypeCheckingPatchPtr ¶
func TypeCheckingPatchPtr(v *TypeCheckingPatchArgs) TypeCheckingPatchPtrInput
type TypeCheckingPatchPtrOutput ¶
type TypeCheckingPatchPtrOutput struct{ *pulumi.OutputState }
func (TypeCheckingPatchPtrOutput) Elem ¶
func (o TypeCheckingPatchPtrOutput) Elem() TypeCheckingPatchOutput
func (TypeCheckingPatchPtrOutput) ElementType ¶
func (TypeCheckingPatchPtrOutput) ElementType() reflect.Type
func (TypeCheckingPatchPtrOutput) ExpressionWarnings ¶
func (o TypeCheckingPatchPtrOutput) ExpressionWarnings() ExpressionWarningPatchArrayOutput
The type checking warnings for each expression.
func (TypeCheckingPatchPtrOutput) ToOutput ¶ added in v4.2.0
func (o TypeCheckingPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TypeCheckingPatch]
func (TypeCheckingPatchPtrOutput) ToTypeCheckingPatchPtrOutput ¶
func (o TypeCheckingPatchPtrOutput) ToTypeCheckingPatchPtrOutput() TypeCheckingPatchPtrOutput
func (TypeCheckingPatchPtrOutput) ToTypeCheckingPatchPtrOutputWithContext ¶
func (o TypeCheckingPatchPtrOutput) ToTypeCheckingPatchPtrOutputWithContext(ctx context.Context) TypeCheckingPatchPtrOutput
type TypeCheckingPtrInput ¶
type TypeCheckingPtrInput interface { pulumi.Input ToTypeCheckingPtrOutput() TypeCheckingPtrOutput ToTypeCheckingPtrOutputWithContext(context.Context) TypeCheckingPtrOutput }
TypeCheckingPtrInput is an input type that accepts TypeCheckingArgs, TypeCheckingPtr and TypeCheckingPtrOutput values. You can construct a concrete instance of `TypeCheckingPtrInput` via:
TypeCheckingArgs{...} or: nil
func TypeCheckingPtr ¶
func TypeCheckingPtr(v *TypeCheckingArgs) TypeCheckingPtrInput
type TypeCheckingPtrOutput ¶
type TypeCheckingPtrOutput struct{ *pulumi.OutputState }
func (TypeCheckingPtrOutput) Elem ¶
func (o TypeCheckingPtrOutput) Elem() TypeCheckingOutput
func (TypeCheckingPtrOutput) ElementType ¶
func (TypeCheckingPtrOutput) ElementType() reflect.Type
func (TypeCheckingPtrOutput) ExpressionWarnings ¶
func (o TypeCheckingPtrOutput) ExpressionWarnings() ExpressionWarningArrayOutput
The type checking warnings for each expression.
func (TypeCheckingPtrOutput) ToOutput ¶ added in v4.2.0
func (o TypeCheckingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TypeChecking]
func (TypeCheckingPtrOutput) ToTypeCheckingPtrOutput ¶
func (o TypeCheckingPtrOutput) ToTypeCheckingPtrOutput() TypeCheckingPtrOutput
func (TypeCheckingPtrOutput) ToTypeCheckingPtrOutputWithContext ¶
func (o TypeCheckingPtrOutput) ToTypeCheckingPtrOutputWithContext(ctx context.Context) TypeCheckingPtrOutput
type ValidatingAdmissionPolicy ¶
type ValidatingAdmissionPolicy 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.StringOutput `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.StringOutput `pulumi:"kind"` // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. Metadata metav1.ObjectMetaOutput `pulumi:"metadata"` // Specification of the desired behavior of the ValidatingAdmissionPolicy. Spec ValidatingAdmissionPolicySpecOutput `pulumi:"spec"` // The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only. Status ValidatingAdmissionPolicyStatusPtrOutput `pulumi:"status"` }
ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
func GetValidatingAdmissionPolicy ¶
func GetValidatingAdmissionPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ValidatingAdmissionPolicyState, opts ...pulumi.ResourceOption) (*ValidatingAdmissionPolicy, error)
GetValidatingAdmissionPolicy gets an existing ValidatingAdmissionPolicy 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 NewValidatingAdmissionPolicy ¶
func NewValidatingAdmissionPolicy(ctx *pulumi.Context, name string, args *ValidatingAdmissionPolicyArgs, opts ...pulumi.ResourceOption) (*ValidatingAdmissionPolicy, error)
NewValidatingAdmissionPolicy registers a new resource with the given unique name, arguments, and options.
func (*ValidatingAdmissionPolicy) ElementType ¶
func (*ValidatingAdmissionPolicy) ElementType() reflect.Type
func (*ValidatingAdmissionPolicy) ToOutput ¶ added in v4.2.0
func (i *ValidatingAdmissionPolicy) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicy]
func (*ValidatingAdmissionPolicy) ToValidatingAdmissionPolicyOutput ¶
func (i *ValidatingAdmissionPolicy) ToValidatingAdmissionPolicyOutput() ValidatingAdmissionPolicyOutput
func (*ValidatingAdmissionPolicy) ToValidatingAdmissionPolicyOutputWithContext ¶
func (i *ValidatingAdmissionPolicy) ToValidatingAdmissionPolicyOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyOutput
type ValidatingAdmissionPolicyArgs ¶
type ValidatingAdmissionPolicyArgs 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 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 ValidatingAdmissionPolicy. Spec ValidatingAdmissionPolicySpecPtrInput }
The set of arguments for constructing a ValidatingAdmissionPolicy resource.
func (ValidatingAdmissionPolicyArgs) ElementType ¶
func (ValidatingAdmissionPolicyArgs) ElementType() reflect.Type
type ValidatingAdmissionPolicyArray ¶
type ValidatingAdmissionPolicyArray []ValidatingAdmissionPolicyInput
func (ValidatingAdmissionPolicyArray) ElementType ¶
func (ValidatingAdmissionPolicyArray) ElementType() reflect.Type
func (ValidatingAdmissionPolicyArray) ToOutput ¶ added in v4.2.0
func (i ValidatingAdmissionPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]*ValidatingAdmissionPolicy]
func (ValidatingAdmissionPolicyArray) ToValidatingAdmissionPolicyArrayOutput ¶
func (i ValidatingAdmissionPolicyArray) ToValidatingAdmissionPolicyArrayOutput() ValidatingAdmissionPolicyArrayOutput
func (ValidatingAdmissionPolicyArray) ToValidatingAdmissionPolicyArrayOutputWithContext ¶
func (i ValidatingAdmissionPolicyArray) ToValidatingAdmissionPolicyArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyArrayOutput
type ValidatingAdmissionPolicyArrayInput ¶
type ValidatingAdmissionPolicyArrayInput interface { pulumi.Input ToValidatingAdmissionPolicyArrayOutput() ValidatingAdmissionPolicyArrayOutput ToValidatingAdmissionPolicyArrayOutputWithContext(context.Context) ValidatingAdmissionPolicyArrayOutput }
ValidatingAdmissionPolicyArrayInput is an input type that accepts ValidatingAdmissionPolicyArray and ValidatingAdmissionPolicyArrayOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyArrayInput` via:
ValidatingAdmissionPolicyArray{ ValidatingAdmissionPolicyArgs{...} }
type ValidatingAdmissionPolicyArrayOutput ¶
type ValidatingAdmissionPolicyArrayOutput struct{ *pulumi.OutputState }
func (ValidatingAdmissionPolicyArrayOutput) ElementType ¶
func (ValidatingAdmissionPolicyArrayOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyArrayOutput) Index ¶
func (o ValidatingAdmissionPolicyArrayOutput) Index(i pulumi.IntInput) ValidatingAdmissionPolicyOutput
func (ValidatingAdmissionPolicyArrayOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ValidatingAdmissionPolicy]
func (ValidatingAdmissionPolicyArrayOutput) ToValidatingAdmissionPolicyArrayOutput ¶
func (o ValidatingAdmissionPolicyArrayOutput) ToValidatingAdmissionPolicyArrayOutput() ValidatingAdmissionPolicyArrayOutput
func (ValidatingAdmissionPolicyArrayOutput) ToValidatingAdmissionPolicyArrayOutputWithContext ¶
func (o ValidatingAdmissionPolicyArrayOutput) ToValidatingAdmissionPolicyArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyArrayOutput
type ValidatingAdmissionPolicyBinding ¶
type ValidatingAdmissionPolicyBinding 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.StringOutput `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.StringOutput `pulumi:"kind"` // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. Metadata metav1.ObjectMetaOutput `pulumi:"metadata"` // Specification of the desired behavior of the ValidatingAdmissionPolicyBinding. Spec ValidatingAdmissionPolicyBindingSpecOutput `pulumi:"spec"` }
ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.
For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.
The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.
func GetValidatingAdmissionPolicyBinding ¶
func GetValidatingAdmissionPolicyBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ValidatingAdmissionPolicyBindingState, opts ...pulumi.ResourceOption) (*ValidatingAdmissionPolicyBinding, error)
GetValidatingAdmissionPolicyBinding gets an existing ValidatingAdmissionPolicyBinding 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 NewValidatingAdmissionPolicyBinding ¶
func NewValidatingAdmissionPolicyBinding(ctx *pulumi.Context, name string, args *ValidatingAdmissionPolicyBindingArgs, opts ...pulumi.ResourceOption) (*ValidatingAdmissionPolicyBinding, error)
NewValidatingAdmissionPolicyBinding registers a new resource with the given unique name, arguments, and options.
func (*ValidatingAdmissionPolicyBinding) ElementType ¶
func (*ValidatingAdmissionPolicyBinding) ElementType() reflect.Type
func (*ValidatingAdmissionPolicyBinding) ToOutput ¶ added in v4.2.0
func (i *ValidatingAdmissionPolicyBinding) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyBinding]
func (*ValidatingAdmissionPolicyBinding) ToValidatingAdmissionPolicyBindingOutput ¶
func (i *ValidatingAdmissionPolicyBinding) ToValidatingAdmissionPolicyBindingOutput() ValidatingAdmissionPolicyBindingOutput
func (*ValidatingAdmissionPolicyBinding) ToValidatingAdmissionPolicyBindingOutputWithContext ¶
func (i *ValidatingAdmissionPolicyBinding) ToValidatingAdmissionPolicyBindingOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingOutput
type ValidatingAdmissionPolicyBindingArgs ¶
type ValidatingAdmissionPolicyBindingArgs 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 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 ValidatingAdmissionPolicyBinding. Spec ValidatingAdmissionPolicyBindingSpecPtrInput }
The set of arguments for constructing a ValidatingAdmissionPolicyBinding resource.
func (ValidatingAdmissionPolicyBindingArgs) ElementType ¶
func (ValidatingAdmissionPolicyBindingArgs) ElementType() reflect.Type
type ValidatingAdmissionPolicyBindingArray ¶
type ValidatingAdmissionPolicyBindingArray []ValidatingAdmissionPolicyBindingInput
func (ValidatingAdmissionPolicyBindingArray) ElementType ¶
func (ValidatingAdmissionPolicyBindingArray) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingArray) ToOutput ¶ added in v4.2.0
func (i ValidatingAdmissionPolicyBindingArray) ToOutput(ctx context.Context) pulumix.Output[[]*ValidatingAdmissionPolicyBinding]
func (ValidatingAdmissionPolicyBindingArray) ToValidatingAdmissionPolicyBindingArrayOutput ¶
func (i ValidatingAdmissionPolicyBindingArray) ToValidatingAdmissionPolicyBindingArrayOutput() ValidatingAdmissionPolicyBindingArrayOutput
func (ValidatingAdmissionPolicyBindingArray) ToValidatingAdmissionPolicyBindingArrayOutputWithContext ¶
func (i ValidatingAdmissionPolicyBindingArray) ToValidatingAdmissionPolicyBindingArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingArrayOutput
type ValidatingAdmissionPolicyBindingArrayInput ¶
type ValidatingAdmissionPolicyBindingArrayInput interface { pulumi.Input ToValidatingAdmissionPolicyBindingArrayOutput() ValidatingAdmissionPolicyBindingArrayOutput ToValidatingAdmissionPolicyBindingArrayOutputWithContext(context.Context) ValidatingAdmissionPolicyBindingArrayOutput }
ValidatingAdmissionPolicyBindingArrayInput is an input type that accepts ValidatingAdmissionPolicyBindingArray and ValidatingAdmissionPolicyBindingArrayOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyBindingArrayInput` via:
ValidatingAdmissionPolicyBindingArray{ ValidatingAdmissionPolicyBindingArgs{...} }
type ValidatingAdmissionPolicyBindingArrayOutput ¶
type ValidatingAdmissionPolicyBindingArrayOutput struct{ *pulumi.OutputState }
func (ValidatingAdmissionPolicyBindingArrayOutput) ElementType ¶
func (ValidatingAdmissionPolicyBindingArrayOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingArrayOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyBindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ValidatingAdmissionPolicyBinding]
func (ValidatingAdmissionPolicyBindingArrayOutput) ToValidatingAdmissionPolicyBindingArrayOutput ¶
func (o ValidatingAdmissionPolicyBindingArrayOutput) ToValidatingAdmissionPolicyBindingArrayOutput() ValidatingAdmissionPolicyBindingArrayOutput
func (ValidatingAdmissionPolicyBindingArrayOutput) ToValidatingAdmissionPolicyBindingArrayOutputWithContext ¶
func (o ValidatingAdmissionPolicyBindingArrayOutput) ToValidatingAdmissionPolicyBindingArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingArrayOutput
type ValidatingAdmissionPolicyBindingInput ¶
type ValidatingAdmissionPolicyBindingInput interface { pulumi.Input ToValidatingAdmissionPolicyBindingOutput() ValidatingAdmissionPolicyBindingOutput ToValidatingAdmissionPolicyBindingOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingOutput }
type ValidatingAdmissionPolicyBindingList ¶
type ValidatingAdmissionPolicyBindingList 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.StringOutput `pulumi:"apiVersion"` // List of PolicyBinding. Items ValidatingAdmissionPolicyBindingTypeArrayOutput `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.StringOutput `pulumi:"kind"` // Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Metadata metav1.ListMetaOutput `pulumi:"metadata"` }
ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding.
func GetValidatingAdmissionPolicyBindingList ¶
func GetValidatingAdmissionPolicyBindingList(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ValidatingAdmissionPolicyBindingListState, opts ...pulumi.ResourceOption) (*ValidatingAdmissionPolicyBindingList, error)
GetValidatingAdmissionPolicyBindingList gets an existing ValidatingAdmissionPolicyBindingList 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 NewValidatingAdmissionPolicyBindingList ¶
func NewValidatingAdmissionPolicyBindingList(ctx *pulumi.Context, name string, args *ValidatingAdmissionPolicyBindingListArgs, opts ...pulumi.ResourceOption) (*ValidatingAdmissionPolicyBindingList, error)
NewValidatingAdmissionPolicyBindingList registers a new resource with the given unique name, arguments, and options.
func (*ValidatingAdmissionPolicyBindingList) ElementType ¶
func (*ValidatingAdmissionPolicyBindingList) ElementType() reflect.Type
func (*ValidatingAdmissionPolicyBindingList) ToOutput ¶ added in v4.2.0
func (i *ValidatingAdmissionPolicyBindingList) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyBindingList]
func (*ValidatingAdmissionPolicyBindingList) ToValidatingAdmissionPolicyBindingListOutput ¶
func (i *ValidatingAdmissionPolicyBindingList) ToValidatingAdmissionPolicyBindingListOutput() ValidatingAdmissionPolicyBindingListOutput
func (*ValidatingAdmissionPolicyBindingList) ToValidatingAdmissionPolicyBindingListOutputWithContext ¶
func (i *ValidatingAdmissionPolicyBindingList) ToValidatingAdmissionPolicyBindingListOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingListOutput
type ValidatingAdmissionPolicyBindingListArgs ¶
type ValidatingAdmissionPolicyBindingListArgs 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 // List of PolicyBinding. Items ValidatingAdmissionPolicyBindingTypeArrayInput // 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 list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Metadata metav1.ListMetaPtrInput }
The set of arguments for constructing a ValidatingAdmissionPolicyBindingList resource.
func (ValidatingAdmissionPolicyBindingListArgs) ElementType ¶
func (ValidatingAdmissionPolicyBindingListArgs) ElementType() reflect.Type
type ValidatingAdmissionPolicyBindingListArray ¶
type ValidatingAdmissionPolicyBindingListArray []ValidatingAdmissionPolicyBindingListInput
func (ValidatingAdmissionPolicyBindingListArray) ElementType ¶
func (ValidatingAdmissionPolicyBindingListArray) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingListArray) ToOutput ¶ added in v4.2.0
func (i ValidatingAdmissionPolicyBindingListArray) ToOutput(ctx context.Context) pulumix.Output[[]*ValidatingAdmissionPolicyBindingList]
func (ValidatingAdmissionPolicyBindingListArray) ToValidatingAdmissionPolicyBindingListArrayOutput ¶
func (i ValidatingAdmissionPolicyBindingListArray) ToValidatingAdmissionPolicyBindingListArrayOutput() ValidatingAdmissionPolicyBindingListArrayOutput
func (ValidatingAdmissionPolicyBindingListArray) ToValidatingAdmissionPolicyBindingListArrayOutputWithContext ¶
func (i ValidatingAdmissionPolicyBindingListArray) ToValidatingAdmissionPolicyBindingListArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingListArrayOutput
type ValidatingAdmissionPolicyBindingListArrayInput ¶
type ValidatingAdmissionPolicyBindingListArrayInput interface { pulumi.Input ToValidatingAdmissionPolicyBindingListArrayOutput() ValidatingAdmissionPolicyBindingListArrayOutput ToValidatingAdmissionPolicyBindingListArrayOutputWithContext(context.Context) ValidatingAdmissionPolicyBindingListArrayOutput }
ValidatingAdmissionPolicyBindingListArrayInput is an input type that accepts ValidatingAdmissionPolicyBindingListArray and ValidatingAdmissionPolicyBindingListArrayOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyBindingListArrayInput` via:
ValidatingAdmissionPolicyBindingListArray{ ValidatingAdmissionPolicyBindingListArgs{...} }
type ValidatingAdmissionPolicyBindingListArrayOutput ¶
type ValidatingAdmissionPolicyBindingListArrayOutput struct{ *pulumi.OutputState }
func (ValidatingAdmissionPolicyBindingListArrayOutput) ElementType ¶
func (ValidatingAdmissionPolicyBindingListArrayOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingListArrayOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyBindingListArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ValidatingAdmissionPolicyBindingList]
func (ValidatingAdmissionPolicyBindingListArrayOutput) ToValidatingAdmissionPolicyBindingListArrayOutput ¶
func (o ValidatingAdmissionPolicyBindingListArrayOutput) ToValidatingAdmissionPolicyBindingListArrayOutput() ValidatingAdmissionPolicyBindingListArrayOutput
func (ValidatingAdmissionPolicyBindingListArrayOutput) ToValidatingAdmissionPolicyBindingListArrayOutputWithContext ¶
func (o ValidatingAdmissionPolicyBindingListArrayOutput) ToValidatingAdmissionPolicyBindingListArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingListArrayOutput
type ValidatingAdmissionPolicyBindingListInput ¶
type ValidatingAdmissionPolicyBindingListInput interface { pulumi.Input ToValidatingAdmissionPolicyBindingListOutput() ValidatingAdmissionPolicyBindingListOutput ToValidatingAdmissionPolicyBindingListOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingListOutput }
type ValidatingAdmissionPolicyBindingListMap ¶
type ValidatingAdmissionPolicyBindingListMap map[string]ValidatingAdmissionPolicyBindingListInput
func (ValidatingAdmissionPolicyBindingListMap) ElementType ¶
func (ValidatingAdmissionPolicyBindingListMap) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingListMap) ToOutput ¶ added in v4.2.0
func (i ValidatingAdmissionPolicyBindingListMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ValidatingAdmissionPolicyBindingList]
func (ValidatingAdmissionPolicyBindingListMap) ToValidatingAdmissionPolicyBindingListMapOutput ¶
func (i ValidatingAdmissionPolicyBindingListMap) ToValidatingAdmissionPolicyBindingListMapOutput() ValidatingAdmissionPolicyBindingListMapOutput
func (ValidatingAdmissionPolicyBindingListMap) ToValidatingAdmissionPolicyBindingListMapOutputWithContext ¶
func (i ValidatingAdmissionPolicyBindingListMap) ToValidatingAdmissionPolicyBindingListMapOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingListMapOutput
type ValidatingAdmissionPolicyBindingListMapInput ¶
type ValidatingAdmissionPolicyBindingListMapInput interface { pulumi.Input ToValidatingAdmissionPolicyBindingListMapOutput() ValidatingAdmissionPolicyBindingListMapOutput ToValidatingAdmissionPolicyBindingListMapOutputWithContext(context.Context) ValidatingAdmissionPolicyBindingListMapOutput }
ValidatingAdmissionPolicyBindingListMapInput is an input type that accepts ValidatingAdmissionPolicyBindingListMap and ValidatingAdmissionPolicyBindingListMapOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyBindingListMapInput` via:
ValidatingAdmissionPolicyBindingListMap{ "key": ValidatingAdmissionPolicyBindingListArgs{...} }
type ValidatingAdmissionPolicyBindingListMapOutput ¶
type ValidatingAdmissionPolicyBindingListMapOutput struct{ *pulumi.OutputState }
func (ValidatingAdmissionPolicyBindingListMapOutput) ElementType ¶
func (ValidatingAdmissionPolicyBindingListMapOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingListMapOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyBindingListMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ValidatingAdmissionPolicyBindingList]
func (ValidatingAdmissionPolicyBindingListMapOutput) ToValidatingAdmissionPolicyBindingListMapOutput ¶
func (o ValidatingAdmissionPolicyBindingListMapOutput) ToValidatingAdmissionPolicyBindingListMapOutput() ValidatingAdmissionPolicyBindingListMapOutput
func (ValidatingAdmissionPolicyBindingListMapOutput) ToValidatingAdmissionPolicyBindingListMapOutputWithContext ¶
func (o ValidatingAdmissionPolicyBindingListMapOutput) ToValidatingAdmissionPolicyBindingListMapOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingListMapOutput
type ValidatingAdmissionPolicyBindingListOutput ¶
type ValidatingAdmissionPolicyBindingListOutput struct{ *pulumi.OutputState }
func (ValidatingAdmissionPolicyBindingListOutput) ApiVersion ¶
func (o ValidatingAdmissionPolicyBindingListOutput) ApiVersion() pulumi.StringOutput
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 (ValidatingAdmissionPolicyBindingListOutput) ElementType ¶
func (ValidatingAdmissionPolicyBindingListOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingListOutput) Items ¶
func (o ValidatingAdmissionPolicyBindingListOutput) Items() ValidatingAdmissionPolicyBindingTypeArrayOutput
List of PolicyBinding.
func (ValidatingAdmissionPolicyBindingListOutput) Kind ¶
func (o ValidatingAdmissionPolicyBindingListOutput) Kind() pulumi.StringOutput
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 (ValidatingAdmissionPolicyBindingListOutput) Metadata ¶
func (o ValidatingAdmissionPolicyBindingListOutput) Metadata() metav1.ListMetaOutput
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (ValidatingAdmissionPolicyBindingListOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyBindingListOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyBindingList]
func (ValidatingAdmissionPolicyBindingListOutput) ToValidatingAdmissionPolicyBindingListOutput ¶
func (o ValidatingAdmissionPolicyBindingListOutput) ToValidatingAdmissionPolicyBindingListOutput() ValidatingAdmissionPolicyBindingListOutput
func (ValidatingAdmissionPolicyBindingListOutput) ToValidatingAdmissionPolicyBindingListOutputWithContext ¶
func (o ValidatingAdmissionPolicyBindingListOutput) ToValidatingAdmissionPolicyBindingListOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingListOutput
type ValidatingAdmissionPolicyBindingListState ¶
type ValidatingAdmissionPolicyBindingListState struct { }
func (ValidatingAdmissionPolicyBindingListState) ElementType ¶
func (ValidatingAdmissionPolicyBindingListState) ElementType() reflect.Type
type ValidatingAdmissionPolicyBindingListType ¶
type ValidatingAdmissionPolicyBindingListType 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"` // List of PolicyBinding. Items []ValidatingAdmissionPolicyBindingType `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 list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Metadata *metav1.ListMeta `pulumi:"metadata"` }
ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding.
type ValidatingAdmissionPolicyBindingListTypeArgs ¶
type ValidatingAdmissionPolicyBindingListTypeArgs 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"` // List of PolicyBinding. Items ValidatingAdmissionPolicyBindingTypeArrayInput `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 list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Metadata metav1.ListMetaPtrInput `pulumi:"metadata"` }
ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding.
func (ValidatingAdmissionPolicyBindingListTypeArgs) ElementType ¶
func (ValidatingAdmissionPolicyBindingListTypeArgs) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingListTypeArgs) ToOutput ¶ added in v4.2.0
func (i ValidatingAdmissionPolicyBindingListTypeArgs) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyBindingListType]
func (ValidatingAdmissionPolicyBindingListTypeArgs) ToValidatingAdmissionPolicyBindingListTypeOutput ¶
func (i ValidatingAdmissionPolicyBindingListTypeArgs) ToValidatingAdmissionPolicyBindingListTypeOutput() ValidatingAdmissionPolicyBindingListTypeOutput
func (ValidatingAdmissionPolicyBindingListTypeArgs) ToValidatingAdmissionPolicyBindingListTypeOutputWithContext ¶
func (i ValidatingAdmissionPolicyBindingListTypeArgs) ToValidatingAdmissionPolicyBindingListTypeOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingListTypeOutput
type ValidatingAdmissionPolicyBindingListTypeInput ¶
type ValidatingAdmissionPolicyBindingListTypeInput interface { pulumi.Input ToValidatingAdmissionPolicyBindingListTypeOutput() ValidatingAdmissionPolicyBindingListTypeOutput ToValidatingAdmissionPolicyBindingListTypeOutputWithContext(context.Context) ValidatingAdmissionPolicyBindingListTypeOutput }
ValidatingAdmissionPolicyBindingListTypeInput is an input type that accepts ValidatingAdmissionPolicyBindingListTypeArgs and ValidatingAdmissionPolicyBindingListTypeOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyBindingListTypeInput` via:
ValidatingAdmissionPolicyBindingListTypeArgs{...}
type ValidatingAdmissionPolicyBindingListTypeOutput ¶
type ValidatingAdmissionPolicyBindingListTypeOutput struct{ *pulumi.OutputState }
ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding.
func (ValidatingAdmissionPolicyBindingListTypeOutput) ApiVersion ¶
func (o ValidatingAdmissionPolicyBindingListTypeOutput) 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 (ValidatingAdmissionPolicyBindingListTypeOutput) ElementType ¶
func (ValidatingAdmissionPolicyBindingListTypeOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingListTypeOutput) Items ¶
func (o ValidatingAdmissionPolicyBindingListTypeOutput) Items() ValidatingAdmissionPolicyBindingTypeArrayOutput
List of PolicyBinding.
func (ValidatingAdmissionPolicyBindingListTypeOutput) Kind ¶
func (o ValidatingAdmissionPolicyBindingListTypeOutput) 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 (ValidatingAdmissionPolicyBindingListTypeOutput) Metadata ¶
func (o ValidatingAdmissionPolicyBindingListTypeOutput) Metadata() metav1.ListMetaPtrOutput
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (ValidatingAdmissionPolicyBindingListTypeOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyBindingListTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyBindingListType]
func (ValidatingAdmissionPolicyBindingListTypeOutput) ToValidatingAdmissionPolicyBindingListTypeOutput ¶
func (o ValidatingAdmissionPolicyBindingListTypeOutput) ToValidatingAdmissionPolicyBindingListTypeOutput() ValidatingAdmissionPolicyBindingListTypeOutput
func (ValidatingAdmissionPolicyBindingListTypeOutput) ToValidatingAdmissionPolicyBindingListTypeOutputWithContext ¶
func (o ValidatingAdmissionPolicyBindingListTypeOutput) ToValidatingAdmissionPolicyBindingListTypeOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingListTypeOutput
type ValidatingAdmissionPolicyBindingMap ¶
type ValidatingAdmissionPolicyBindingMap map[string]ValidatingAdmissionPolicyBindingInput
func (ValidatingAdmissionPolicyBindingMap) ElementType ¶
func (ValidatingAdmissionPolicyBindingMap) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingMap) ToOutput ¶ added in v4.2.0
func (i ValidatingAdmissionPolicyBindingMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ValidatingAdmissionPolicyBinding]
func (ValidatingAdmissionPolicyBindingMap) ToValidatingAdmissionPolicyBindingMapOutput ¶
func (i ValidatingAdmissionPolicyBindingMap) ToValidatingAdmissionPolicyBindingMapOutput() ValidatingAdmissionPolicyBindingMapOutput
func (ValidatingAdmissionPolicyBindingMap) ToValidatingAdmissionPolicyBindingMapOutputWithContext ¶
func (i ValidatingAdmissionPolicyBindingMap) ToValidatingAdmissionPolicyBindingMapOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingMapOutput
type ValidatingAdmissionPolicyBindingMapInput ¶
type ValidatingAdmissionPolicyBindingMapInput interface { pulumi.Input ToValidatingAdmissionPolicyBindingMapOutput() ValidatingAdmissionPolicyBindingMapOutput ToValidatingAdmissionPolicyBindingMapOutputWithContext(context.Context) ValidatingAdmissionPolicyBindingMapOutput }
ValidatingAdmissionPolicyBindingMapInput is an input type that accepts ValidatingAdmissionPolicyBindingMap and ValidatingAdmissionPolicyBindingMapOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyBindingMapInput` via:
ValidatingAdmissionPolicyBindingMap{ "key": ValidatingAdmissionPolicyBindingArgs{...} }
type ValidatingAdmissionPolicyBindingMapOutput ¶
type ValidatingAdmissionPolicyBindingMapOutput struct{ *pulumi.OutputState }
func (ValidatingAdmissionPolicyBindingMapOutput) ElementType ¶
func (ValidatingAdmissionPolicyBindingMapOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingMapOutput) MapIndex ¶
func (o ValidatingAdmissionPolicyBindingMapOutput) MapIndex(k pulumi.StringInput) ValidatingAdmissionPolicyBindingOutput
func (ValidatingAdmissionPolicyBindingMapOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyBindingMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ValidatingAdmissionPolicyBinding]
func (ValidatingAdmissionPolicyBindingMapOutput) ToValidatingAdmissionPolicyBindingMapOutput ¶
func (o ValidatingAdmissionPolicyBindingMapOutput) ToValidatingAdmissionPolicyBindingMapOutput() ValidatingAdmissionPolicyBindingMapOutput
func (ValidatingAdmissionPolicyBindingMapOutput) ToValidatingAdmissionPolicyBindingMapOutputWithContext ¶
func (o ValidatingAdmissionPolicyBindingMapOutput) ToValidatingAdmissionPolicyBindingMapOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingMapOutput
type ValidatingAdmissionPolicyBindingOutput ¶
type ValidatingAdmissionPolicyBindingOutput struct{ *pulumi.OutputState }
func (ValidatingAdmissionPolicyBindingOutput) ApiVersion ¶
func (o ValidatingAdmissionPolicyBindingOutput) ApiVersion() pulumi.StringOutput
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 (ValidatingAdmissionPolicyBindingOutput) ElementType ¶
func (ValidatingAdmissionPolicyBindingOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingOutput) Kind ¶
func (o ValidatingAdmissionPolicyBindingOutput) Kind() pulumi.StringOutput
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 (ValidatingAdmissionPolicyBindingOutput) Metadata ¶
func (o ValidatingAdmissionPolicyBindingOutput) Metadata() metav1.ObjectMetaOutput
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
func (ValidatingAdmissionPolicyBindingOutput) Spec ¶
Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.
func (ValidatingAdmissionPolicyBindingOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyBinding]
func (ValidatingAdmissionPolicyBindingOutput) ToValidatingAdmissionPolicyBindingOutput ¶
func (o ValidatingAdmissionPolicyBindingOutput) ToValidatingAdmissionPolicyBindingOutput() ValidatingAdmissionPolicyBindingOutput
func (ValidatingAdmissionPolicyBindingOutput) ToValidatingAdmissionPolicyBindingOutputWithContext ¶
func (o ValidatingAdmissionPolicyBindingOutput) ToValidatingAdmissionPolicyBindingOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingOutput
type ValidatingAdmissionPolicyBindingPatch ¶
type ValidatingAdmissionPolicyBindingPatch 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 metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. Metadata metav1.ObjectMetaPatchPtrOutput `pulumi:"metadata"` // Specification of the desired behavior of the ValidatingAdmissionPolicyBinding. Spec ValidatingAdmissionPolicyBindingSpecPatchPtrOutput `pulumi:"spec"` }
Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.
For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.
The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.
func GetValidatingAdmissionPolicyBindingPatch ¶
func GetValidatingAdmissionPolicyBindingPatch(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ValidatingAdmissionPolicyBindingPatchState, opts ...pulumi.ResourceOption) (*ValidatingAdmissionPolicyBindingPatch, error)
GetValidatingAdmissionPolicyBindingPatch gets an existing ValidatingAdmissionPolicyBindingPatch 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 NewValidatingAdmissionPolicyBindingPatch ¶
func NewValidatingAdmissionPolicyBindingPatch(ctx *pulumi.Context, name string, args *ValidatingAdmissionPolicyBindingPatchArgs, opts ...pulumi.ResourceOption) (*ValidatingAdmissionPolicyBindingPatch, error)
NewValidatingAdmissionPolicyBindingPatch registers a new resource with the given unique name, arguments, and options.
func (*ValidatingAdmissionPolicyBindingPatch) ElementType ¶
func (*ValidatingAdmissionPolicyBindingPatch) ElementType() reflect.Type
func (*ValidatingAdmissionPolicyBindingPatch) ToOutput ¶ added in v4.2.0
func (i *ValidatingAdmissionPolicyBindingPatch) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyBindingPatch]
func (*ValidatingAdmissionPolicyBindingPatch) ToValidatingAdmissionPolicyBindingPatchOutput ¶
func (i *ValidatingAdmissionPolicyBindingPatch) ToValidatingAdmissionPolicyBindingPatchOutput() ValidatingAdmissionPolicyBindingPatchOutput
func (*ValidatingAdmissionPolicyBindingPatch) ToValidatingAdmissionPolicyBindingPatchOutputWithContext ¶
func (i *ValidatingAdmissionPolicyBindingPatch) ToValidatingAdmissionPolicyBindingPatchOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingPatchOutput
type ValidatingAdmissionPolicyBindingPatchArgs ¶
type ValidatingAdmissionPolicyBindingPatchArgs 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 metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. Metadata metav1.ObjectMetaPatchPtrInput // Specification of the desired behavior of the ValidatingAdmissionPolicyBinding. Spec ValidatingAdmissionPolicyBindingSpecPatchPtrInput }
The set of arguments for constructing a ValidatingAdmissionPolicyBindingPatch resource.
func (ValidatingAdmissionPolicyBindingPatchArgs) ElementType ¶
func (ValidatingAdmissionPolicyBindingPatchArgs) ElementType() reflect.Type
type ValidatingAdmissionPolicyBindingPatchArray ¶
type ValidatingAdmissionPolicyBindingPatchArray []ValidatingAdmissionPolicyBindingPatchInput
func (ValidatingAdmissionPolicyBindingPatchArray) ElementType ¶
func (ValidatingAdmissionPolicyBindingPatchArray) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingPatchArray) ToOutput ¶ added in v4.2.0
func (i ValidatingAdmissionPolicyBindingPatchArray) ToOutput(ctx context.Context) pulumix.Output[[]*ValidatingAdmissionPolicyBindingPatch]
func (ValidatingAdmissionPolicyBindingPatchArray) ToValidatingAdmissionPolicyBindingPatchArrayOutput ¶
func (i ValidatingAdmissionPolicyBindingPatchArray) ToValidatingAdmissionPolicyBindingPatchArrayOutput() ValidatingAdmissionPolicyBindingPatchArrayOutput
func (ValidatingAdmissionPolicyBindingPatchArray) ToValidatingAdmissionPolicyBindingPatchArrayOutputWithContext ¶
func (i ValidatingAdmissionPolicyBindingPatchArray) ToValidatingAdmissionPolicyBindingPatchArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingPatchArrayOutput
type ValidatingAdmissionPolicyBindingPatchArrayInput ¶
type ValidatingAdmissionPolicyBindingPatchArrayInput interface { pulumi.Input ToValidatingAdmissionPolicyBindingPatchArrayOutput() ValidatingAdmissionPolicyBindingPatchArrayOutput ToValidatingAdmissionPolicyBindingPatchArrayOutputWithContext(context.Context) ValidatingAdmissionPolicyBindingPatchArrayOutput }
ValidatingAdmissionPolicyBindingPatchArrayInput is an input type that accepts ValidatingAdmissionPolicyBindingPatchArray and ValidatingAdmissionPolicyBindingPatchArrayOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyBindingPatchArrayInput` via:
ValidatingAdmissionPolicyBindingPatchArray{ ValidatingAdmissionPolicyBindingPatchArgs{...} }
type ValidatingAdmissionPolicyBindingPatchArrayOutput ¶
type ValidatingAdmissionPolicyBindingPatchArrayOutput struct{ *pulumi.OutputState }
func (ValidatingAdmissionPolicyBindingPatchArrayOutput) ElementType ¶
func (ValidatingAdmissionPolicyBindingPatchArrayOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingPatchArrayOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyBindingPatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ValidatingAdmissionPolicyBindingPatch]
func (ValidatingAdmissionPolicyBindingPatchArrayOutput) ToValidatingAdmissionPolicyBindingPatchArrayOutput ¶
func (o ValidatingAdmissionPolicyBindingPatchArrayOutput) ToValidatingAdmissionPolicyBindingPatchArrayOutput() ValidatingAdmissionPolicyBindingPatchArrayOutput
func (ValidatingAdmissionPolicyBindingPatchArrayOutput) ToValidatingAdmissionPolicyBindingPatchArrayOutputWithContext ¶
func (o ValidatingAdmissionPolicyBindingPatchArrayOutput) ToValidatingAdmissionPolicyBindingPatchArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingPatchArrayOutput
type ValidatingAdmissionPolicyBindingPatchInput ¶
type ValidatingAdmissionPolicyBindingPatchInput interface { pulumi.Input ToValidatingAdmissionPolicyBindingPatchOutput() ValidatingAdmissionPolicyBindingPatchOutput ToValidatingAdmissionPolicyBindingPatchOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingPatchOutput }
type ValidatingAdmissionPolicyBindingPatchMap ¶
type ValidatingAdmissionPolicyBindingPatchMap map[string]ValidatingAdmissionPolicyBindingPatchInput
func (ValidatingAdmissionPolicyBindingPatchMap) ElementType ¶
func (ValidatingAdmissionPolicyBindingPatchMap) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingPatchMap) ToOutput ¶ added in v4.2.0
func (i ValidatingAdmissionPolicyBindingPatchMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ValidatingAdmissionPolicyBindingPatch]
func (ValidatingAdmissionPolicyBindingPatchMap) ToValidatingAdmissionPolicyBindingPatchMapOutput ¶
func (i ValidatingAdmissionPolicyBindingPatchMap) ToValidatingAdmissionPolicyBindingPatchMapOutput() ValidatingAdmissionPolicyBindingPatchMapOutput
func (ValidatingAdmissionPolicyBindingPatchMap) ToValidatingAdmissionPolicyBindingPatchMapOutputWithContext ¶
func (i ValidatingAdmissionPolicyBindingPatchMap) ToValidatingAdmissionPolicyBindingPatchMapOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingPatchMapOutput
type ValidatingAdmissionPolicyBindingPatchMapInput ¶
type ValidatingAdmissionPolicyBindingPatchMapInput interface { pulumi.Input ToValidatingAdmissionPolicyBindingPatchMapOutput() ValidatingAdmissionPolicyBindingPatchMapOutput ToValidatingAdmissionPolicyBindingPatchMapOutputWithContext(context.Context) ValidatingAdmissionPolicyBindingPatchMapOutput }
ValidatingAdmissionPolicyBindingPatchMapInput is an input type that accepts ValidatingAdmissionPolicyBindingPatchMap and ValidatingAdmissionPolicyBindingPatchMapOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyBindingPatchMapInput` via:
ValidatingAdmissionPolicyBindingPatchMap{ "key": ValidatingAdmissionPolicyBindingPatchArgs{...} }
type ValidatingAdmissionPolicyBindingPatchMapOutput ¶
type ValidatingAdmissionPolicyBindingPatchMapOutput struct{ *pulumi.OutputState }
func (ValidatingAdmissionPolicyBindingPatchMapOutput) ElementType ¶
func (ValidatingAdmissionPolicyBindingPatchMapOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingPatchMapOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyBindingPatchMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ValidatingAdmissionPolicyBindingPatch]
func (ValidatingAdmissionPolicyBindingPatchMapOutput) ToValidatingAdmissionPolicyBindingPatchMapOutput ¶
func (o ValidatingAdmissionPolicyBindingPatchMapOutput) ToValidatingAdmissionPolicyBindingPatchMapOutput() ValidatingAdmissionPolicyBindingPatchMapOutput
func (ValidatingAdmissionPolicyBindingPatchMapOutput) ToValidatingAdmissionPolicyBindingPatchMapOutputWithContext ¶
func (o ValidatingAdmissionPolicyBindingPatchMapOutput) ToValidatingAdmissionPolicyBindingPatchMapOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingPatchMapOutput
type ValidatingAdmissionPolicyBindingPatchOutput ¶
type ValidatingAdmissionPolicyBindingPatchOutput struct{ *pulumi.OutputState }
func (ValidatingAdmissionPolicyBindingPatchOutput) ApiVersion ¶
func (o ValidatingAdmissionPolicyBindingPatchOutput) 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 (ValidatingAdmissionPolicyBindingPatchOutput) ElementType ¶
func (ValidatingAdmissionPolicyBindingPatchOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingPatchOutput) Kind ¶
func (o ValidatingAdmissionPolicyBindingPatchOutput) 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 (ValidatingAdmissionPolicyBindingPatchOutput) Metadata ¶
func (o ValidatingAdmissionPolicyBindingPatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
func (ValidatingAdmissionPolicyBindingPatchOutput) Spec ¶
func (o ValidatingAdmissionPolicyBindingPatchOutput) Spec() ValidatingAdmissionPolicyBindingSpecPatchPtrOutput
Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.
func (ValidatingAdmissionPolicyBindingPatchOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyBindingPatchOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyBindingPatch]
func (ValidatingAdmissionPolicyBindingPatchOutput) ToValidatingAdmissionPolicyBindingPatchOutput ¶
func (o ValidatingAdmissionPolicyBindingPatchOutput) ToValidatingAdmissionPolicyBindingPatchOutput() ValidatingAdmissionPolicyBindingPatchOutput
func (ValidatingAdmissionPolicyBindingPatchOutput) ToValidatingAdmissionPolicyBindingPatchOutputWithContext ¶
func (o ValidatingAdmissionPolicyBindingPatchOutput) ToValidatingAdmissionPolicyBindingPatchOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingPatchOutput
type ValidatingAdmissionPolicyBindingPatchState ¶
type ValidatingAdmissionPolicyBindingPatchState struct { }
func (ValidatingAdmissionPolicyBindingPatchState) ElementType ¶
func (ValidatingAdmissionPolicyBindingPatchState) ElementType() reflect.Type
type ValidatingAdmissionPolicyBindingPatchType ¶
type ValidatingAdmissionPolicyBindingPatchType 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 metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. Metadata *metav1.ObjectMetaPatch `pulumi:"metadata"` // Specification of the desired behavior of the ValidatingAdmissionPolicyBinding. Spec *ValidatingAdmissionPolicyBindingSpecPatch `pulumi:"spec"` }
ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.
For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.
The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.
type ValidatingAdmissionPolicyBindingPatchTypeArgs ¶
type ValidatingAdmissionPolicyBindingPatchTypeArgs 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 metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. Metadata metav1.ObjectMetaPatchPtrInput `pulumi:"metadata"` // Specification of the desired behavior of the ValidatingAdmissionPolicyBinding. Spec ValidatingAdmissionPolicyBindingSpecPatchPtrInput `pulumi:"spec"` }
ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.
For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.
The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.
func (ValidatingAdmissionPolicyBindingPatchTypeArgs) ElementType ¶
func (ValidatingAdmissionPolicyBindingPatchTypeArgs) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingPatchTypeArgs) ToOutput ¶ added in v4.2.0
func (i ValidatingAdmissionPolicyBindingPatchTypeArgs) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyBindingPatchType]
func (ValidatingAdmissionPolicyBindingPatchTypeArgs) ToValidatingAdmissionPolicyBindingPatchTypeOutput ¶
func (i ValidatingAdmissionPolicyBindingPatchTypeArgs) ToValidatingAdmissionPolicyBindingPatchTypeOutput() ValidatingAdmissionPolicyBindingPatchTypeOutput
func (ValidatingAdmissionPolicyBindingPatchTypeArgs) ToValidatingAdmissionPolicyBindingPatchTypeOutputWithContext ¶
func (i ValidatingAdmissionPolicyBindingPatchTypeArgs) ToValidatingAdmissionPolicyBindingPatchTypeOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingPatchTypeOutput
type ValidatingAdmissionPolicyBindingPatchTypeInput ¶
type ValidatingAdmissionPolicyBindingPatchTypeInput interface { pulumi.Input ToValidatingAdmissionPolicyBindingPatchTypeOutput() ValidatingAdmissionPolicyBindingPatchTypeOutput ToValidatingAdmissionPolicyBindingPatchTypeOutputWithContext(context.Context) ValidatingAdmissionPolicyBindingPatchTypeOutput }
ValidatingAdmissionPolicyBindingPatchTypeInput is an input type that accepts ValidatingAdmissionPolicyBindingPatchTypeArgs and ValidatingAdmissionPolicyBindingPatchTypeOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyBindingPatchTypeInput` via:
ValidatingAdmissionPolicyBindingPatchTypeArgs{...}
type ValidatingAdmissionPolicyBindingPatchTypeOutput ¶
type ValidatingAdmissionPolicyBindingPatchTypeOutput struct{ *pulumi.OutputState }
ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.
For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.
The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.
func (ValidatingAdmissionPolicyBindingPatchTypeOutput) ApiVersion ¶
func (o ValidatingAdmissionPolicyBindingPatchTypeOutput) 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 (ValidatingAdmissionPolicyBindingPatchTypeOutput) ElementType ¶
func (ValidatingAdmissionPolicyBindingPatchTypeOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingPatchTypeOutput) Kind ¶
func (o ValidatingAdmissionPolicyBindingPatchTypeOutput) 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 (ValidatingAdmissionPolicyBindingPatchTypeOutput) Metadata ¶
func (o ValidatingAdmissionPolicyBindingPatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
func (ValidatingAdmissionPolicyBindingPatchTypeOutput) Spec ¶
func (o ValidatingAdmissionPolicyBindingPatchTypeOutput) Spec() ValidatingAdmissionPolicyBindingSpecPatchPtrOutput
Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.
func (ValidatingAdmissionPolicyBindingPatchTypeOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyBindingPatchTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyBindingPatchType]
func (ValidatingAdmissionPolicyBindingPatchTypeOutput) ToValidatingAdmissionPolicyBindingPatchTypeOutput ¶
func (o ValidatingAdmissionPolicyBindingPatchTypeOutput) ToValidatingAdmissionPolicyBindingPatchTypeOutput() ValidatingAdmissionPolicyBindingPatchTypeOutput
func (ValidatingAdmissionPolicyBindingPatchTypeOutput) ToValidatingAdmissionPolicyBindingPatchTypeOutputWithContext ¶
func (o ValidatingAdmissionPolicyBindingPatchTypeOutput) ToValidatingAdmissionPolicyBindingPatchTypeOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingPatchTypeOutput
type ValidatingAdmissionPolicyBindingSpec ¶
type ValidatingAdmissionPolicyBindingSpec struct { // MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required. MatchResources *MatchResources `pulumi:"matchResources"` // paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param. ParamRef *ParamRef `pulumi:"paramRef"` // PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required. PolicyName *string `pulumi:"policyName"` // validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions. // // Failures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy. // // validationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action. // // The supported actions values are: // // "Deny" specifies that a validation failure results in a denied request. // // "Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses. // // "Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{"message": "Invalid value", {"policy": "policy.example.com", {"binding": "policybinding.example.com", {"expressionIndex": "1", {"validationActions": ["Audit"]}]"` // // Clients should expect to handle additional values by ignoring any values not recognized. // // "Deny" and "Warn" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers. // // Required. ValidationActions []string `pulumi:"validationActions"` }
ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
type ValidatingAdmissionPolicyBindingSpecArgs ¶
type ValidatingAdmissionPolicyBindingSpecArgs struct { // MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required. MatchResources MatchResourcesPtrInput `pulumi:"matchResources"` // paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param. ParamRef ParamRefPtrInput `pulumi:"paramRef"` // PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required. PolicyName pulumi.StringPtrInput `pulumi:"policyName"` // validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions. // // Failures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy. // // validationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action. // // The supported actions values are: // // "Deny" specifies that a validation failure results in a denied request. // // "Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses. // // "Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{"message": "Invalid value", {"policy": "policy.example.com", {"binding": "policybinding.example.com", {"expressionIndex": "1", {"validationActions": ["Audit"]}]"` // // Clients should expect to handle additional values by ignoring any values not recognized. // // "Deny" and "Warn" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers. // // Required. ValidationActions pulumi.StringArrayInput `pulumi:"validationActions"` }
ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
func (ValidatingAdmissionPolicyBindingSpecArgs) ElementType ¶
func (ValidatingAdmissionPolicyBindingSpecArgs) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingSpecArgs) ToOutput ¶ added in v4.2.0
func (i ValidatingAdmissionPolicyBindingSpecArgs) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyBindingSpec]
func (ValidatingAdmissionPolicyBindingSpecArgs) ToValidatingAdmissionPolicyBindingSpecOutput ¶
func (i ValidatingAdmissionPolicyBindingSpecArgs) ToValidatingAdmissionPolicyBindingSpecOutput() ValidatingAdmissionPolicyBindingSpecOutput
func (ValidatingAdmissionPolicyBindingSpecArgs) ToValidatingAdmissionPolicyBindingSpecOutputWithContext ¶
func (i ValidatingAdmissionPolicyBindingSpecArgs) ToValidatingAdmissionPolicyBindingSpecOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingSpecOutput
func (ValidatingAdmissionPolicyBindingSpecArgs) ToValidatingAdmissionPolicyBindingSpecPtrOutput ¶
func (i ValidatingAdmissionPolicyBindingSpecArgs) ToValidatingAdmissionPolicyBindingSpecPtrOutput() ValidatingAdmissionPolicyBindingSpecPtrOutput
func (ValidatingAdmissionPolicyBindingSpecArgs) ToValidatingAdmissionPolicyBindingSpecPtrOutputWithContext ¶
func (i ValidatingAdmissionPolicyBindingSpecArgs) ToValidatingAdmissionPolicyBindingSpecPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingSpecPtrOutput
type ValidatingAdmissionPolicyBindingSpecInput ¶
type ValidatingAdmissionPolicyBindingSpecInput interface { pulumi.Input ToValidatingAdmissionPolicyBindingSpecOutput() ValidatingAdmissionPolicyBindingSpecOutput ToValidatingAdmissionPolicyBindingSpecOutputWithContext(context.Context) ValidatingAdmissionPolicyBindingSpecOutput }
ValidatingAdmissionPolicyBindingSpecInput is an input type that accepts ValidatingAdmissionPolicyBindingSpecArgs and ValidatingAdmissionPolicyBindingSpecOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyBindingSpecInput` via:
ValidatingAdmissionPolicyBindingSpecArgs{...}
type ValidatingAdmissionPolicyBindingSpecOutput ¶
type ValidatingAdmissionPolicyBindingSpecOutput struct{ *pulumi.OutputState }
ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
func (ValidatingAdmissionPolicyBindingSpecOutput) ElementType ¶
func (ValidatingAdmissionPolicyBindingSpecOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingSpecOutput) MatchResources ¶
func (o ValidatingAdmissionPolicyBindingSpecOutput) MatchResources() MatchResourcesPtrOutput
MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required.
func (ValidatingAdmissionPolicyBindingSpecOutput) ParamRef ¶
func (o ValidatingAdmissionPolicyBindingSpecOutput) ParamRef() ParamRefPtrOutput
paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param.
func (ValidatingAdmissionPolicyBindingSpecOutput) PolicyName ¶
func (o ValidatingAdmissionPolicyBindingSpecOutput) PolicyName() pulumi.StringPtrOutput
PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
func (ValidatingAdmissionPolicyBindingSpecOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyBindingSpecOutput) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyBindingSpec]
func (ValidatingAdmissionPolicyBindingSpecOutput) ToValidatingAdmissionPolicyBindingSpecOutput ¶
func (o ValidatingAdmissionPolicyBindingSpecOutput) ToValidatingAdmissionPolicyBindingSpecOutput() ValidatingAdmissionPolicyBindingSpecOutput
func (ValidatingAdmissionPolicyBindingSpecOutput) ToValidatingAdmissionPolicyBindingSpecOutputWithContext ¶
func (o ValidatingAdmissionPolicyBindingSpecOutput) ToValidatingAdmissionPolicyBindingSpecOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingSpecOutput
func (ValidatingAdmissionPolicyBindingSpecOutput) ToValidatingAdmissionPolicyBindingSpecPtrOutput ¶
func (o ValidatingAdmissionPolicyBindingSpecOutput) ToValidatingAdmissionPolicyBindingSpecPtrOutput() ValidatingAdmissionPolicyBindingSpecPtrOutput
func (ValidatingAdmissionPolicyBindingSpecOutput) ToValidatingAdmissionPolicyBindingSpecPtrOutputWithContext ¶
func (o ValidatingAdmissionPolicyBindingSpecOutput) ToValidatingAdmissionPolicyBindingSpecPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingSpecPtrOutput
func (ValidatingAdmissionPolicyBindingSpecOutput) ValidationActions ¶
func (o ValidatingAdmissionPolicyBindingSpecOutput) ValidationActions() pulumi.StringArrayOutput
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
Failures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.
validationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.
The supported actions values are:
"Deny" specifies that a validation failure results in a denied request.
"Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.
"Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{"message": "Invalid value", {"policy": "policy.example.com", {"binding": "policybinding.example.com", {"expressionIndex": "1", {"validationActions": ["Audit"]}]"`
Clients should expect to handle additional values by ignoring any values not recognized.
"Deny" and "Warn" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.
Required.
type ValidatingAdmissionPolicyBindingSpecPatch ¶
type ValidatingAdmissionPolicyBindingSpecPatch struct { // MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required. MatchResources *MatchResourcesPatch `pulumi:"matchResources"` // paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param. ParamRef *ParamRefPatch `pulumi:"paramRef"` // PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required. PolicyName *string `pulumi:"policyName"` // validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions. // // Failures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy. // // validationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action. // // The supported actions values are: // // "Deny" specifies that a validation failure results in a denied request. // // "Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses. // // "Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{"message": "Invalid value", {"policy": "policy.example.com", {"binding": "policybinding.example.com", {"expressionIndex": "1", {"validationActions": ["Audit"]}]"` // // Clients should expect to handle additional values by ignoring any values not recognized. // // "Deny" and "Warn" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers. // // Required. ValidationActions []string `pulumi:"validationActions"` }
ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
type ValidatingAdmissionPolicyBindingSpecPatchArgs ¶
type ValidatingAdmissionPolicyBindingSpecPatchArgs struct { // MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required. MatchResources MatchResourcesPatchPtrInput `pulumi:"matchResources"` // paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param. ParamRef ParamRefPatchPtrInput `pulumi:"paramRef"` // PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required. PolicyName pulumi.StringPtrInput `pulumi:"policyName"` // validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions. // // Failures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy. // // validationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action. // // The supported actions values are: // // "Deny" specifies that a validation failure results in a denied request. // // "Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses. // // "Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{"message": "Invalid value", {"policy": "policy.example.com", {"binding": "policybinding.example.com", {"expressionIndex": "1", {"validationActions": ["Audit"]}]"` // // Clients should expect to handle additional values by ignoring any values not recognized. // // "Deny" and "Warn" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers. // // Required. ValidationActions pulumi.StringArrayInput `pulumi:"validationActions"` }
ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
func (ValidatingAdmissionPolicyBindingSpecPatchArgs) ElementType ¶
func (ValidatingAdmissionPolicyBindingSpecPatchArgs) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingSpecPatchArgs) ToOutput ¶ added in v4.2.0
func (i ValidatingAdmissionPolicyBindingSpecPatchArgs) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyBindingSpecPatch]
func (ValidatingAdmissionPolicyBindingSpecPatchArgs) ToValidatingAdmissionPolicyBindingSpecPatchOutput ¶
func (i ValidatingAdmissionPolicyBindingSpecPatchArgs) ToValidatingAdmissionPolicyBindingSpecPatchOutput() ValidatingAdmissionPolicyBindingSpecPatchOutput
func (ValidatingAdmissionPolicyBindingSpecPatchArgs) ToValidatingAdmissionPolicyBindingSpecPatchOutputWithContext ¶
func (i ValidatingAdmissionPolicyBindingSpecPatchArgs) ToValidatingAdmissionPolicyBindingSpecPatchOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingSpecPatchOutput
func (ValidatingAdmissionPolicyBindingSpecPatchArgs) ToValidatingAdmissionPolicyBindingSpecPatchPtrOutput ¶
func (i ValidatingAdmissionPolicyBindingSpecPatchArgs) ToValidatingAdmissionPolicyBindingSpecPatchPtrOutput() ValidatingAdmissionPolicyBindingSpecPatchPtrOutput
func (ValidatingAdmissionPolicyBindingSpecPatchArgs) ToValidatingAdmissionPolicyBindingSpecPatchPtrOutputWithContext ¶
func (i ValidatingAdmissionPolicyBindingSpecPatchArgs) ToValidatingAdmissionPolicyBindingSpecPatchPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingSpecPatchPtrOutput
type ValidatingAdmissionPolicyBindingSpecPatchInput ¶
type ValidatingAdmissionPolicyBindingSpecPatchInput interface { pulumi.Input ToValidatingAdmissionPolicyBindingSpecPatchOutput() ValidatingAdmissionPolicyBindingSpecPatchOutput ToValidatingAdmissionPolicyBindingSpecPatchOutputWithContext(context.Context) ValidatingAdmissionPolicyBindingSpecPatchOutput }
ValidatingAdmissionPolicyBindingSpecPatchInput is an input type that accepts ValidatingAdmissionPolicyBindingSpecPatchArgs and ValidatingAdmissionPolicyBindingSpecPatchOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyBindingSpecPatchInput` via:
ValidatingAdmissionPolicyBindingSpecPatchArgs{...}
type ValidatingAdmissionPolicyBindingSpecPatchOutput ¶
type ValidatingAdmissionPolicyBindingSpecPatchOutput struct{ *pulumi.OutputState }
ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
func (ValidatingAdmissionPolicyBindingSpecPatchOutput) ElementType ¶
func (ValidatingAdmissionPolicyBindingSpecPatchOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingSpecPatchOutput) MatchResources ¶
func (o ValidatingAdmissionPolicyBindingSpecPatchOutput) MatchResources() MatchResourcesPatchPtrOutput
MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required.
func (ValidatingAdmissionPolicyBindingSpecPatchOutput) ParamRef ¶
func (o ValidatingAdmissionPolicyBindingSpecPatchOutput) ParamRef() ParamRefPatchPtrOutput
paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param.
func (ValidatingAdmissionPolicyBindingSpecPatchOutput) PolicyName ¶
func (o ValidatingAdmissionPolicyBindingSpecPatchOutput) PolicyName() pulumi.StringPtrOutput
PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
func (ValidatingAdmissionPolicyBindingSpecPatchOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyBindingSpecPatchOutput) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyBindingSpecPatch]
func (ValidatingAdmissionPolicyBindingSpecPatchOutput) ToValidatingAdmissionPolicyBindingSpecPatchOutput ¶
func (o ValidatingAdmissionPolicyBindingSpecPatchOutput) ToValidatingAdmissionPolicyBindingSpecPatchOutput() ValidatingAdmissionPolicyBindingSpecPatchOutput
func (ValidatingAdmissionPolicyBindingSpecPatchOutput) ToValidatingAdmissionPolicyBindingSpecPatchOutputWithContext ¶
func (o ValidatingAdmissionPolicyBindingSpecPatchOutput) ToValidatingAdmissionPolicyBindingSpecPatchOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingSpecPatchOutput
func (ValidatingAdmissionPolicyBindingSpecPatchOutput) ToValidatingAdmissionPolicyBindingSpecPatchPtrOutput ¶
func (o ValidatingAdmissionPolicyBindingSpecPatchOutput) ToValidatingAdmissionPolicyBindingSpecPatchPtrOutput() ValidatingAdmissionPolicyBindingSpecPatchPtrOutput
func (ValidatingAdmissionPolicyBindingSpecPatchOutput) ToValidatingAdmissionPolicyBindingSpecPatchPtrOutputWithContext ¶
func (o ValidatingAdmissionPolicyBindingSpecPatchOutput) ToValidatingAdmissionPolicyBindingSpecPatchPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingSpecPatchPtrOutput
func (ValidatingAdmissionPolicyBindingSpecPatchOutput) ValidationActions ¶
func (o ValidatingAdmissionPolicyBindingSpecPatchOutput) ValidationActions() pulumi.StringArrayOutput
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
Failures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.
validationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.
The supported actions values are:
"Deny" specifies that a validation failure results in a denied request.
"Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.
"Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{"message": "Invalid value", {"policy": "policy.example.com", {"binding": "policybinding.example.com", {"expressionIndex": "1", {"validationActions": ["Audit"]}]"`
Clients should expect to handle additional values by ignoring any values not recognized.
"Deny" and "Warn" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.
Required.
type ValidatingAdmissionPolicyBindingSpecPatchPtrInput ¶
type ValidatingAdmissionPolicyBindingSpecPatchPtrInput interface { pulumi.Input ToValidatingAdmissionPolicyBindingSpecPatchPtrOutput() ValidatingAdmissionPolicyBindingSpecPatchPtrOutput ToValidatingAdmissionPolicyBindingSpecPatchPtrOutputWithContext(context.Context) ValidatingAdmissionPolicyBindingSpecPatchPtrOutput }
ValidatingAdmissionPolicyBindingSpecPatchPtrInput is an input type that accepts ValidatingAdmissionPolicyBindingSpecPatchArgs, ValidatingAdmissionPolicyBindingSpecPatchPtr and ValidatingAdmissionPolicyBindingSpecPatchPtrOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyBindingSpecPatchPtrInput` via:
ValidatingAdmissionPolicyBindingSpecPatchArgs{...} or: nil
func ValidatingAdmissionPolicyBindingSpecPatchPtr ¶
func ValidatingAdmissionPolicyBindingSpecPatchPtr(v *ValidatingAdmissionPolicyBindingSpecPatchArgs) ValidatingAdmissionPolicyBindingSpecPatchPtrInput
type ValidatingAdmissionPolicyBindingSpecPatchPtrOutput ¶
type ValidatingAdmissionPolicyBindingSpecPatchPtrOutput struct{ *pulumi.OutputState }
func (ValidatingAdmissionPolicyBindingSpecPatchPtrOutput) ElementType ¶
func (ValidatingAdmissionPolicyBindingSpecPatchPtrOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingSpecPatchPtrOutput) MatchResources ¶
func (o ValidatingAdmissionPolicyBindingSpecPatchPtrOutput) MatchResources() MatchResourcesPatchPtrOutput
MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required.
func (ValidatingAdmissionPolicyBindingSpecPatchPtrOutput) ParamRef ¶
func (o ValidatingAdmissionPolicyBindingSpecPatchPtrOutput) ParamRef() ParamRefPatchPtrOutput
paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param.
func (ValidatingAdmissionPolicyBindingSpecPatchPtrOutput) PolicyName ¶
func (o ValidatingAdmissionPolicyBindingSpecPatchPtrOutput) PolicyName() pulumi.StringPtrOutput
PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
func (ValidatingAdmissionPolicyBindingSpecPatchPtrOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyBindingSpecPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyBindingSpecPatch]
func (ValidatingAdmissionPolicyBindingSpecPatchPtrOutput) ToValidatingAdmissionPolicyBindingSpecPatchPtrOutput ¶
func (o ValidatingAdmissionPolicyBindingSpecPatchPtrOutput) ToValidatingAdmissionPolicyBindingSpecPatchPtrOutput() ValidatingAdmissionPolicyBindingSpecPatchPtrOutput
func (ValidatingAdmissionPolicyBindingSpecPatchPtrOutput) ToValidatingAdmissionPolicyBindingSpecPatchPtrOutputWithContext ¶
func (o ValidatingAdmissionPolicyBindingSpecPatchPtrOutput) ToValidatingAdmissionPolicyBindingSpecPatchPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingSpecPatchPtrOutput
func (ValidatingAdmissionPolicyBindingSpecPatchPtrOutput) ValidationActions ¶
func (o ValidatingAdmissionPolicyBindingSpecPatchPtrOutput) ValidationActions() pulumi.StringArrayOutput
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
Failures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.
validationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.
The supported actions values are:
"Deny" specifies that a validation failure results in a denied request.
"Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.
"Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{"message": "Invalid value", {"policy": "policy.example.com", {"binding": "policybinding.example.com", {"expressionIndex": "1", {"validationActions": ["Audit"]}]"`
Clients should expect to handle additional values by ignoring any values not recognized.
"Deny" and "Warn" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.
Required.
type ValidatingAdmissionPolicyBindingSpecPtrInput ¶
type ValidatingAdmissionPolicyBindingSpecPtrInput interface { pulumi.Input ToValidatingAdmissionPolicyBindingSpecPtrOutput() ValidatingAdmissionPolicyBindingSpecPtrOutput ToValidatingAdmissionPolicyBindingSpecPtrOutputWithContext(context.Context) ValidatingAdmissionPolicyBindingSpecPtrOutput }
ValidatingAdmissionPolicyBindingSpecPtrInput is an input type that accepts ValidatingAdmissionPolicyBindingSpecArgs, ValidatingAdmissionPolicyBindingSpecPtr and ValidatingAdmissionPolicyBindingSpecPtrOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyBindingSpecPtrInput` via:
ValidatingAdmissionPolicyBindingSpecArgs{...} or: nil
func ValidatingAdmissionPolicyBindingSpecPtr ¶
func ValidatingAdmissionPolicyBindingSpecPtr(v *ValidatingAdmissionPolicyBindingSpecArgs) ValidatingAdmissionPolicyBindingSpecPtrInput
type ValidatingAdmissionPolicyBindingSpecPtrOutput ¶
type ValidatingAdmissionPolicyBindingSpecPtrOutput struct{ *pulumi.OutputState }
func (ValidatingAdmissionPolicyBindingSpecPtrOutput) ElementType ¶
func (ValidatingAdmissionPolicyBindingSpecPtrOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingSpecPtrOutput) MatchResources ¶
func (o ValidatingAdmissionPolicyBindingSpecPtrOutput) MatchResources() MatchResourcesPtrOutput
MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required.
func (ValidatingAdmissionPolicyBindingSpecPtrOutput) ParamRef ¶
func (o ValidatingAdmissionPolicyBindingSpecPtrOutput) ParamRef() ParamRefPtrOutput
paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param.
func (ValidatingAdmissionPolicyBindingSpecPtrOutput) PolicyName ¶
func (o ValidatingAdmissionPolicyBindingSpecPtrOutput) PolicyName() pulumi.StringPtrOutput
PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
func (ValidatingAdmissionPolicyBindingSpecPtrOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyBindingSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyBindingSpec]
func (ValidatingAdmissionPolicyBindingSpecPtrOutput) ToValidatingAdmissionPolicyBindingSpecPtrOutput ¶
func (o ValidatingAdmissionPolicyBindingSpecPtrOutput) ToValidatingAdmissionPolicyBindingSpecPtrOutput() ValidatingAdmissionPolicyBindingSpecPtrOutput
func (ValidatingAdmissionPolicyBindingSpecPtrOutput) ToValidatingAdmissionPolicyBindingSpecPtrOutputWithContext ¶
func (o ValidatingAdmissionPolicyBindingSpecPtrOutput) ToValidatingAdmissionPolicyBindingSpecPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingSpecPtrOutput
func (ValidatingAdmissionPolicyBindingSpecPtrOutput) ValidationActions ¶
func (o ValidatingAdmissionPolicyBindingSpecPtrOutput) ValidationActions() pulumi.StringArrayOutput
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
Failures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.
validationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.
The supported actions values are:
"Deny" specifies that a validation failure results in a denied request.
"Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.
"Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{"message": "Invalid value", {"policy": "policy.example.com", {"binding": "policybinding.example.com", {"expressionIndex": "1", {"validationActions": ["Audit"]}]"`
Clients should expect to handle additional values by ignoring any values not recognized.
"Deny" and "Warn" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.
Required.
type ValidatingAdmissionPolicyBindingState ¶
type ValidatingAdmissionPolicyBindingState struct { }
func (ValidatingAdmissionPolicyBindingState) ElementType ¶
func (ValidatingAdmissionPolicyBindingState) ElementType() reflect.Type
type ValidatingAdmissionPolicyBindingType ¶
type ValidatingAdmissionPolicyBindingType 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 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 ValidatingAdmissionPolicyBinding. Spec *ValidatingAdmissionPolicyBindingSpec `pulumi:"spec"` }
ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.
For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.
The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.
type ValidatingAdmissionPolicyBindingTypeArgs ¶
type ValidatingAdmissionPolicyBindingTypeArgs 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 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 ValidatingAdmissionPolicyBinding. Spec ValidatingAdmissionPolicyBindingSpecPtrInput `pulumi:"spec"` }
ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.
For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.
The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.
func (ValidatingAdmissionPolicyBindingTypeArgs) ElementType ¶
func (ValidatingAdmissionPolicyBindingTypeArgs) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingTypeArgs) ToOutput ¶ added in v4.2.0
func (i ValidatingAdmissionPolicyBindingTypeArgs) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyBindingType]
func (ValidatingAdmissionPolicyBindingTypeArgs) ToValidatingAdmissionPolicyBindingTypeOutput ¶
func (i ValidatingAdmissionPolicyBindingTypeArgs) ToValidatingAdmissionPolicyBindingTypeOutput() ValidatingAdmissionPolicyBindingTypeOutput
func (ValidatingAdmissionPolicyBindingTypeArgs) ToValidatingAdmissionPolicyBindingTypeOutputWithContext ¶
func (i ValidatingAdmissionPolicyBindingTypeArgs) ToValidatingAdmissionPolicyBindingTypeOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingTypeOutput
type ValidatingAdmissionPolicyBindingTypeArray ¶
type ValidatingAdmissionPolicyBindingTypeArray []ValidatingAdmissionPolicyBindingTypeInput
func (ValidatingAdmissionPolicyBindingTypeArray) ElementType ¶
func (ValidatingAdmissionPolicyBindingTypeArray) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingTypeArray) ToOutput ¶ added in v4.2.0
func (i ValidatingAdmissionPolicyBindingTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]ValidatingAdmissionPolicyBindingType]
func (ValidatingAdmissionPolicyBindingTypeArray) ToValidatingAdmissionPolicyBindingTypeArrayOutput ¶
func (i ValidatingAdmissionPolicyBindingTypeArray) ToValidatingAdmissionPolicyBindingTypeArrayOutput() ValidatingAdmissionPolicyBindingTypeArrayOutput
func (ValidatingAdmissionPolicyBindingTypeArray) ToValidatingAdmissionPolicyBindingTypeArrayOutputWithContext ¶
func (i ValidatingAdmissionPolicyBindingTypeArray) ToValidatingAdmissionPolicyBindingTypeArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingTypeArrayOutput
type ValidatingAdmissionPolicyBindingTypeArrayInput ¶
type ValidatingAdmissionPolicyBindingTypeArrayInput interface { pulumi.Input ToValidatingAdmissionPolicyBindingTypeArrayOutput() ValidatingAdmissionPolicyBindingTypeArrayOutput ToValidatingAdmissionPolicyBindingTypeArrayOutputWithContext(context.Context) ValidatingAdmissionPolicyBindingTypeArrayOutput }
ValidatingAdmissionPolicyBindingTypeArrayInput is an input type that accepts ValidatingAdmissionPolicyBindingTypeArray and ValidatingAdmissionPolicyBindingTypeArrayOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyBindingTypeArrayInput` via:
ValidatingAdmissionPolicyBindingTypeArray{ ValidatingAdmissionPolicyBindingTypeArgs{...} }
type ValidatingAdmissionPolicyBindingTypeArrayOutput ¶
type ValidatingAdmissionPolicyBindingTypeArrayOutput struct{ *pulumi.OutputState }
func (ValidatingAdmissionPolicyBindingTypeArrayOutput) ElementType ¶
func (ValidatingAdmissionPolicyBindingTypeArrayOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingTypeArrayOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyBindingTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ValidatingAdmissionPolicyBindingType]
func (ValidatingAdmissionPolicyBindingTypeArrayOutput) ToValidatingAdmissionPolicyBindingTypeArrayOutput ¶
func (o ValidatingAdmissionPolicyBindingTypeArrayOutput) ToValidatingAdmissionPolicyBindingTypeArrayOutput() ValidatingAdmissionPolicyBindingTypeArrayOutput
func (ValidatingAdmissionPolicyBindingTypeArrayOutput) ToValidatingAdmissionPolicyBindingTypeArrayOutputWithContext ¶
func (o ValidatingAdmissionPolicyBindingTypeArrayOutput) ToValidatingAdmissionPolicyBindingTypeArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingTypeArrayOutput
type ValidatingAdmissionPolicyBindingTypeInput ¶
type ValidatingAdmissionPolicyBindingTypeInput interface { pulumi.Input ToValidatingAdmissionPolicyBindingTypeOutput() ValidatingAdmissionPolicyBindingTypeOutput ToValidatingAdmissionPolicyBindingTypeOutputWithContext(context.Context) ValidatingAdmissionPolicyBindingTypeOutput }
ValidatingAdmissionPolicyBindingTypeInput is an input type that accepts ValidatingAdmissionPolicyBindingTypeArgs and ValidatingAdmissionPolicyBindingTypeOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyBindingTypeInput` via:
ValidatingAdmissionPolicyBindingTypeArgs{...}
type ValidatingAdmissionPolicyBindingTypeOutput ¶
type ValidatingAdmissionPolicyBindingTypeOutput struct{ *pulumi.OutputState }
ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.
For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.
The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.
func (ValidatingAdmissionPolicyBindingTypeOutput) ApiVersion ¶
func (o ValidatingAdmissionPolicyBindingTypeOutput) 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 (ValidatingAdmissionPolicyBindingTypeOutput) ElementType ¶
func (ValidatingAdmissionPolicyBindingTypeOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyBindingTypeOutput) Kind ¶
func (o ValidatingAdmissionPolicyBindingTypeOutput) 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 (ValidatingAdmissionPolicyBindingTypeOutput) Metadata ¶
func (o ValidatingAdmissionPolicyBindingTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
func (ValidatingAdmissionPolicyBindingTypeOutput) Spec ¶
func (o ValidatingAdmissionPolicyBindingTypeOutput) Spec() ValidatingAdmissionPolicyBindingSpecPtrOutput
Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.
func (ValidatingAdmissionPolicyBindingTypeOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyBindingTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyBindingType]
func (ValidatingAdmissionPolicyBindingTypeOutput) ToValidatingAdmissionPolicyBindingTypeOutput ¶
func (o ValidatingAdmissionPolicyBindingTypeOutput) ToValidatingAdmissionPolicyBindingTypeOutput() ValidatingAdmissionPolicyBindingTypeOutput
func (ValidatingAdmissionPolicyBindingTypeOutput) ToValidatingAdmissionPolicyBindingTypeOutputWithContext ¶
func (o ValidatingAdmissionPolicyBindingTypeOutput) ToValidatingAdmissionPolicyBindingTypeOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyBindingTypeOutput
type ValidatingAdmissionPolicyInput ¶
type ValidatingAdmissionPolicyInput interface { pulumi.Input ToValidatingAdmissionPolicyOutput() ValidatingAdmissionPolicyOutput ToValidatingAdmissionPolicyOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyOutput }
type ValidatingAdmissionPolicyList ¶
type ValidatingAdmissionPolicyList 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.StringOutput `pulumi:"apiVersion"` // List of ValidatingAdmissionPolicy. Items ValidatingAdmissionPolicyTypeArrayOutput `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.StringOutput `pulumi:"kind"` // Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Metadata metav1.ListMetaOutput `pulumi:"metadata"` }
ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.
func GetValidatingAdmissionPolicyList ¶
func GetValidatingAdmissionPolicyList(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ValidatingAdmissionPolicyListState, opts ...pulumi.ResourceOption) (*ValidatingAdmissionPolicyList, error)
GetValidatingAdmissionPolicyList gets an existing ValidatingAdmissionPolicyList 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 NewValidatingAdmissionPolicyList ¶
func NewValidatingAdmissionPolicyList(ctx *pulumi.Context, name string, args *ValidatingAdmissionPolicyListArgs, opts ...pulumi.ResourceOption) (*ValidatingAdmissionPolicyList, error)
NewValidatingAdmissionPolicyList registers a new resource with the given unique name, arguments, and options.
func (*ValidatingAdmissionPolicyList) ElementType ¶
func (*ValidatingAdmissionPolicyList) ElementType() reflect.Type
func (*ValidatingAdmissionPolicyList) ToOutput ¶ added in v4.2.0
func (i *ValidatingAdmissionPolicyList) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyList]
func (*ValidatingAdmissionPolicyList) ToValidatingAdmissionPolicyListOutput ¶
func (i *ValidatingAdmissionPolicyList) ToValidatingAdmissionPolicyListOutput() ValidatingAdmissionPolicyListOutput
func (*ValidatingAdmissionPolicyList) ToValidatingAdmissionPolicyListOutputWithContext ¶
func (i *ValidatingAdmissionPolicyList) ToValidatingAdmissionPolicyListOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyListOutput
type ValidatingAdmissionPolicyListArgs ¶
type ValidatingAdmissionPolicyListArgs 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 // List of ValidatingAdmissionPolicy. Items ValidatingAdmissionPolicyTypeArrayInput // 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 list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Metadata metav1.ListMetaPtrInput }
The set of arguments for constructing a ValidatingAdmissionPolicyList resource.
func (ValidatingAdmissionPolicyListArgs) ElementType ¶
func (ValidatingAdmissionPolicyListArgs) ElementType() reflect.Type
type ValidatingAdmissionPolicyListArray ¶
type ValidatingAdmissionPolicyListArray []ValidatingAdmissionPolicyListInput
func (ValidatingAdmissionPolicyListArray) ElementType ¶
func (ValidatingAdmissionPolicyListArray) ElementType() reflect.Type
func (ValidatingAdmissionPolicyListArray) ToOutput ¶ added in v4.2.0
func (i ValidatingAdmissionPolicyListArray) ToOutput(ctx context.Context) pulumix.Output[[]*ValidatingAdmissionPolicyList]
func (ValidatingAdmissionPolicyListArray) ToValidatingAdmissionPolicyListArrayOutput ¶
func (i ValidatingAdmissionPolicyListArray) ToValidatingAdmissionPolicyListArrayOutput() ValidatingAdmissionPolicyListArrayOutput
func (ValidatingAdmissionPolicyListArray) ToValidatingAdmissionPolicyListArrayOutputWithContext ¶
func (i ValidatingAdmissionPolicyListArray) ToValidatingAdmissionPolicyListArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyListArrayOutput
type ValidatingAdmissionPolicyListArrayInput ¶
type ValidatingAdmissionPolicyListArrayInput interface { pulumi.Input ToValidatingAdmissionPolicyListArrayOutput() ValidatingAdmissionPolicyListArrayOutput ToValidatingAdmissionPolicyListArrayOutputWithContext(context.Context) ValidatingAdmissionPolicyListArrayOutput }
ValidatingAdmissionPolicyListArrayInput is an input type that accepts ValidatingAdmissionPolicyListArray and ValidatingAdmissionPolicyListArrayOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyListArrayInput` via:
ValidatingAdmissionPolicyListArray{ ValidatingAdmissionPolicyListArgs{...} }
type ValidatingAdmissionPolicyListArrayOutput ¶
type ValidatingAdmissionPolicyListArrayOutput struct{ *pulumi.OutputState }
func (ValidatingAdmissionPolicyListArrayOutput) ElementType ¶
func (ValidatingAdmissionPolicyListArrayOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyListArrayOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyListArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ValidatingAdmissionPolicyList]
func (ValidatingAdmissionPolicyListArrayOutput) ToValidatingAdmissionPolicyListArrayOutput ¶
func (o ValidatingAdmissionPolicyListArrayOutput) ToValidatingAdmissionPolicyListArrayOutput() ValidatingAdmissionPolicyListArrayOutput
func (ValidatingAdmissionPolicyListArrayOutput) ToValidatingAdmissionPolicyListArrayOutputWithContext ¶
func (o ValidatingAdmissionPolicyListArrayOutput) ToValidatingAdmissionPolicyListArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyListArrayOutput
type ValidatingAdmissionPolicyListInput ¶
type ValidatingAdmissionPolicyListInput interface { pulumi.Input ToValidatingAdmissionPolicyListOutput() ValidatingAdmissionPolicyListOutput ToValidatingAdmissionPolicyListOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyListOutput }
type ValidatingAdmissionPolicyListMap ¶
type ValidatingAdmissionPolicyListMap map[string]ValidatingAdmissionPolicyListInput
func (ValidatingAdmissionPolicyListMap) ElementType ¶
func (ValidatingAdmissionPolicyListMap) ElementType() reflect.Type
func (ValidatingAdmissionPolicyListMap) ToOutput ¶ added in v4.2.0
func (i ValidatingAdmissionPolicyListMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ValidatingAdmissionPolicyList]
func (ValidatingAdmissionPolicyListMap) ToValidatingAdmissionPolicyListMapOutput ¶
func (i ValidatingAdmissionPolicyListMap) ToValidatingAdmissionPolicyListMapOutput() ValidatingAdmissionPolicyListMapOutput
func (ValidatingAdmissionPolicyListMap) ToValidatingAdmissionPolicyListMapOutputWithContext ¶
func (i ValidatingAdmissionPolicyListMap) ToValidatingAdmissionPolicyListMapOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyListMapOutput
type ValidatingAdmissionPolicyListMapInput ¶
type ValidatingAdmissionPolicyListMapInput interface { pulumi.Input ToValidatingAdmissionPolicyListMapOutput() ValidatingAdmissionPolicyListMapOutput ToValidatingAdmissionPolicyListMapOutputWithContext(context.Context) ValidatingAdmissionPolicyListMapOutput }
ValidatingAdmissionPolicyListMapInput is an input type that accepts ValidatingAdmissionPolicyListMap and ValidatingAdmissionPolicyListMapOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyListMapInput` via:
ValidatingAdmissionPolicyListMap{ "key": ValidatingAdmissionPolicyListArgs{...} }
type ValidatingAdmissionPolicyListMapOutput ¶
type ValidatingAdmissionPolicyListMapOutput struct{ *pulumi.OutputState }
func (ValidatingAdmissionPolicyListMapOutput) ElementType ¶
func (ValidatingAdmissionPolicyListMapOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyListMapOutput) MapIndex ¶
func (o ValidatingAdmissionPolicyListMapOutput) MapIndex(k pulumi.StringInput) ValidatingAdmissionPolicyListOutput
func (ValidatingAdmissionPolicyListMapOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyListMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ValidatingAdmissionPolicyList]
func (ValidatingAdmissionPolicyListMapOutput) ToValidatingAdmissionPolicyListMapOutput ¶
func (o ValidatingAdmissionPolicyListMapOutput) ToValidatingAdmissionPolicyListMapOutput() ValidatingAdmissionPolicyListMapOutput
func (ValidatingAdmissionPolicyListMapOutput) ToValidatingAdmissionPolicyListMapOutputWithContext ¶
func (o ValidatingAdmissionPolicyListMapOutput) ToValidatingAdmissionPolicyListMapOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyListMapOutput
type ValidatingAdmissionPolicyListOutput ¶
type ValidatingAdmissionPolicyListOutput struct{ *pulumi.OutputState }
func (ValidatingAdmissionPolicyListOutput) ApiVersion ¶
func (o ValidatingAdmissionPolicyListOutput) ApiVersion() pulumi.StringOutput
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 (ValidatingAdmissionPolicyListOutput) ElementType ¶
func (ValidatingAdmissionPolicyListOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyListOutput) Kind ¶
func (o ValidatingAdmissionPolicyListOutput) Kind() pulumi.StringOutput
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 (ValidatingAdmissionPolicyListOutput) Metadata ¶
func (o ValidatingAdmissionPolicyListOutput) Metadata() metav1.ListMetaOutput
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (ValidatingAdmissionPolicyListOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyListOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyList]
func (ValidatingAdmissionPolicyListOutput) ToValidatingAdmissionPolicyListOutput ¶
func (o ValidatingAdmissionPolicyListOutput) ToValidatingAdmissionPolicyListOutput() ValidatingAdmissionPolicyListOutput
func (ValidatingAdmissionPolicyListOutput) ToValidatingAdmissionPolicyListOutputWithContext ¶
func (o ValidatingAdmissionPolicyListOutput) ToValidatingAdmissionPolicyListOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyListOutput
type ValidatingAdmissionPolicyListState ¶
type ValidatingAdmissionPolicyListState struct { }
func (ValidatingAdmissionPolicyListState) ElementType ¶
func (ValidatingAdmissionPolicyListState) ElementType() reflect.Type
type ValidatingAdmissionPolicyListType ¶
type ValidatingAdmissionPolicyListType 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"` // List of ValidatingAdmissionPolicy. Items []ValidatingAdmissionPolicyType `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 list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Metadata *metav1.ListMeta `pulumi:"metadata"` }
ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.
type ValidatingAdmissionPolicyListTypeArgs ¶
type ValidatingAdmissionPolicyListTypeArgs 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"` // List of ValidatingAdmissionPolicy. Items ValidatingAdmissionPolicyTypeArrayInput `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 list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Metadata metav1.ListMetaPtrInput `pulumi:"metadata"` }
ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.
func (ValidatingAdmissionPolicyListTypeArgs) ElementType ¶
func (ValidatingAdmissionPolicyListTypeArgs) ElementType() reflect.Type
func (ValidatingAdmissionPolicyListTypeArgs) ToOutput ¶ added in v4.2.0
func (i ValidatingAdmissionPolicyListTypeArgs) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyListType]
func (ValidatingAdmissionPolicyListTypeArgs) ToValidatingAdmissionPolicyListTypeOutput ¶
func (i ValidatingAdmissionPolicyListTypeArgs) ToValidatingAdmissionPolicyListTypeOutput() ValidatingAdmissionPolicyListTypeOutput
func (ValidatingAdmissionPolicyListTypeArgs) ToValidatingAdmissionPolicyListTypeOutputWithContext ¶
func (i ValidatingAdmissionPolicyListTypeArgs) ToValidatingAdmissionPolicyListTypeOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyListTypeOutput
type ValidatingAdmissionPolicyListTypeInput ¶
type ValidatingAdmissionPolicyListTypeInput interface { pulumi.Input ToValidatingAdmissionPolicyListTypeOutput() ValidatingAdmissionPolicyListTypeOutput ToValidatingAdmissionPolicyListTypeOutputWithContext(context.Context) ValidatingAdmissionPolicyListTypeOutput }
ValidatingAdmissionPolicyListTypeInput is an input type that accepts ValidatingAdmissionPolicyListTypeArgs and ValidatingAdmissionPolicyListTypeOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyListTypeInput` via:
ValidatingAdmissionPolicyListTypeArgs{...}
type ValidatingAdmissionPolicyListTypeOutput ¶
type ValidatingAdmissionPolicyListTypeOutput struct{ *pulumi.OutputState }
ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.
func (ValidatingAdmissionPolicyListTypeOutput) ApiVersion ¶
func (o ValidatingAdmissionPolicyListTypeOutput) 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 (ValidatingAdmissionPolicyListTypeOutput) ElementType ¶
func (ValidatingAdmissionPolicyListTypeOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyListTypeOutput) Kind ¶
func (o ValidatingAdmissionPolicyListTypeOutput) 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 (ValidatingAdmissionPolicyListTypeOutput) Metadata ¶
func (o ValidatingAdmissionPolicyListTypeOutput) Metadata() metav1.ListMetaPtrOutput
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (ValidatingAdmissionPolicyListTypeOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyListTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyListType]
func (ValidatingAdmissionPolicyListTypeOutput) ToValidatingAdmissionPolicyListTypeOutput ¶
func (o ValidatingAdmissionPolicyListTypeOutput) ToValidatingAdmissionPolicyListTypeOutput() ValidatingAdmissionPolicyListTypeOutput
func (ValidatingAdmissionPolicyListTypeOutput) ToValidatingAdmissionPolicyListTypeOutputWithContext ¶
func (o ValidatingAdmissionPolicyListTypeOutput) ToValidatingAdmissionPolicyListTypeOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyListTypeOutput
type ValidatingAdmissionPolicyMap ¶
type ValidatingAdmissionPolicyMap map[string]ValidatingAdmissionPolicyInput
func (ValidatingAdmissionPolicyMap) ElementType ¶
func (ValidatingAdmissionPolicyMap) ElementType() reflect.Type
func (ValidatingAdmissionPolicyMap) ToOutput ¶ added in v4.2.0
func (i ValidatingAdmissionPolicyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ValidatingAdmissionPolicy]
func (ValidatingAdmissionPolicyMap) ToValidatingAdmissionPolicyMapOutput ¶
func (i ValidatingAdmissionPolicyMap) ToValidatingAdmissionPolicyMapOutput() ValidatingAdmissionPolicyMapOutput
func (ValidatingAdmissionPolicyMap) ToValidatingAdmissionPolicyMapOutputWithContext ¶
func (i ValidatingAdmissionPolicyMap) ToValidatingAdmissionPolicyMapOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyMapOutput
type ValidatingAdmissionPolicyMapInput ¶
type ValidatingAdmissionPolicyMapInput interface { pulumi.Input ToValidatingAdmissionPolicyMapOutput() ValidatingAdmissionPolicyMapOutput ToValidatingAdmissionPolicyMapOutputWithContext(context.Context) ValidatingAdmissionPolicyMapOutput }
ValidatingAdmissionPolicyMapInput is an input type that accepts ValidatingAdmissionPolicyMap and ValidatingAdmissionPolicyMapOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyMapInput` via:
ValidatingAdmissionPolicyMap{ "key": ValidatingAdmissionPolicyArgs{...} }
type ValidatingAdmissionPolicyMapOutput ¶
type ValidatingAdmissionPolicyMapOutput struct{ *pulumi.OutputState }
func (ValidatingAdmissionPolicyMapOutput) ElementType ¶
func (ValidatingAdmissionPolicyMapOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyMapOutput) MapIndex ¶
func (o ValidatingAdmissionPolicyMapOutput) MapIndex(k pulumi.StringInput) ValidatingAdmissionPolicyOutput
func (ValidatingAdmissionPolicyMapOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ValidatingAdmissionPolicy]
func (ValidatingAdmissionPolicyMapOutput) ToValidatingAdmissionPolicyMapOutput ¶
func (o ValidatingAdmissionPolicyMapOutput) ToValidatingAdmissionPolicyMapOutput() ValidatingAdmissionPolicyMapOutput
func (ValidatingAdmissionPolicyMapOutput) ToValidatingAdmissionPolicyMapOutputWithContext ¶
func (o ValidatingAdmissionPolicyMapOutput) ToValidatingAdmissionPolicyMapOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyMapOutput
type ValidatingAdmissionPolicyOutput ¶
type ValidatingAdmissionPolicyOutput struct{ *pulumi.OutputState }
func (ValidatingAdmissionPolicyOutput) ApiVersion ¶
func (o ValidatingAdmissionPolicyOutput) ApiVersion() pulumi.StringOutput
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 (ValidatingAdmissionPolicyOutput) ElementType ¶
func (ValidatingAdmissionPolicyOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyOutput) Kind ¶
func (o ValidatingAdmissionPolicyOutput) Kind() pulumi.StringOutput
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 (ValidatingAdmissionPolicyOutput) Metadata ¶
func (o ValidatingAdmissionPolicyOutput) Metadata() metav1.ObjectMetaOutput
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
func (ValidatingAdmissionPolicyOutput) Spec ¶
func (o ValidatingAdmissionPolicyOutput) Spec() ValidatingAdmissionPolicySpecOutput
Specification of the desired behavior of the ValidatingAdmissionPolicy.
func (ValidatingAdmissionPolicyOutput) Status ¶
func (o ValidatingAdmissionPolicyOutput) Status() ValidatingAdmissionPolicyStatusPtrOutput
The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only.
func (ValidatingAdmissionPolicyOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicy]
func (ValidatingAdmissionPolicyOutput) ToValidatingAdmissionPolicyOutput ¶
func (o ValidatingAdmissionPolicyOutput) ToValidatingAdmissionPolicyOutput() ValidatingAdmissionPolicyOutput
func (ValidatingAdmissionPolicyOutput) ToValidatingAdmissionPolicyOutputWithContext ¶
func (o ValidatingAdmissionPolicyOutput) ToValidatingAdmissionPolicyOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyOutput
type ValidatingAdmissionPolicyPatch ¶
type ValidatingAdmissionPolicyPatch 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 metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. Metadata metav1.ObjectMetaPatchPtrOutput `pulumi:"metadata"` // Specification of the desired behavior of the ValidatingAdmissionPolicy. Spec ValidatingAdmissionPolicySpecPatchPtrOutput `pulumi:"spec"` // The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only. Status ValidatingAdmissionPolicyStatusPatchPtrOutput `pulumi:"status"` }
Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
func GetValidatingAdmissionPolicyPatch ¶
func GetValidatingAdmissionPolicyPatch(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ValidatingAdmissionPolicyPatchState, opts ...pulumi.ResourceOption) (*ValidatingAdmissionPolicyPatch, error)
GetValidatingAdmissionPolicyPatch gets an existing ValidatingAdmissionPolicyPatch 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 NewValidatingAdmissionPolicyPatch ¶
func NewValidatingAdmissionPolicyPatch(ctx *pulumi.Context, name string, args *ValidatingAdmissionPolicyPatchArgs, opts ...pulumi.ResourceOption) (*ValidatingAdmissionPolicyPatch, error)
NewValidatingAdmissionPolicyPatch registers a new resource with the given unique name, arguments, and options.
func (*ValidatingAdmissionPolicyPatch) ElementType ¶
func (*ValidatingAdmissionPolicyPatch) ElementType() reflect.Type
func (*ValidatingAdmissionPolicyPatch) ToOutput ¶ added in v4.2.0
func (i *ValidatingAdmissionPolicyPatch) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyPatch]
func (*ValidatingAdmissionPolicyPatch) ToValidatingAdmissionPolicyPatchOutput ¶
func (i *ValidatingAdmissionPolicyPatch) ToValidatingAdmissionPolicyPatchOutput() ValidatingAdmissionPolicyPatchOutput
func (*ValidatingAdmissionPolicyPatch) ToValidatingAdmissionPolicyPatchOutputWithContext ¶
func (i *ValidatingAdmissionPolicyPatch) ToValidatingAdmissionPolicyPatchOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyPatchOutput
type ValidatingAdmissionPolicyPatchArgs ¶
type ValidatingAdmissionPolicyPatchArgs 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 metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. Metadata metav1.ObjectMetaPatchPtrInput // Specification of the desired behavior of the ValidatingAdmissionPolicy. Spec ValidatingAdmissionPolicySpecPatchPtrInput }
The set of arguments for constructing a ValidatingAdmissionPolicyPatch resource.
func (ValidatingAdmissionPolicyPatchArgs) ElementType ¶
func (ValidatingAdmissionPolicyPatchArgs) ElementType() reflect.Type
type ValidatingAdmissionPolicyPatchArray ¶
type ValidatingAdmissionPolicyPatchArray []ValidatingAdmissionPolicyPatchInput
func (ValidatingAdmissionPolicyPatchArray) ElementType ¶
func (ValidatingAdmissionPolicyPatchArray) ElementType() reflect.Type
func (ValidatingAdmissionPolicyPatchArray) ToOutput ¶ added in v4.2.0
func (i ValidatingAdmissionPolicyPatchArray) ToOutput(ctx context.Context) pulumix.Output[[]*ValidatingAdmissionPolicyPatch]
func (ValidatingAdmissionPolicyPatchArray) ToValidatingAdmissionPolicyPatchArrayOutput ¶
func (i ValidatingAdmissionPolicyPatchArray) ToValidatingAdmissionPolicyPatchArrayOutput() ValidatingAdmissionPolicyPatchArrayOutput
func (ValidatingAdmissionPolicyPatchArray) ToValidatingAdmissionPolicyPatchArrayOutputWithContext ¶
func (i ValidatingAdmissionPolicyPatchArray) ToValidatingAdmissionPolicyPatchArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyPatchArrayOutput
type ValidatingAdmissionPolicyPatchArrayInput ¶
type ValidatingAdmissionPolicyPatchArrayInput interface { pulumi.Input ToValidatingAdmissionPolicyPatchArrayOutput() ValidatingAdmissionPolicyPatchArrayOutput ToValidatingAdmissionPolicyPatchArrayOutputWithContext(context.Context) ValidatingAdmissionPolicyPatchArrayOutput }
ValidatingAdmissionPolicyPatchArrayInput is an input type that accepts ValidatingAdmissionPolicyPatchArray and ValidatingAdmissionPolicyPatchArrayOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyPatchArrayInput` via:
ValidatingAdmissionPolicyPatchArray{ ValidatingAdmissionPolicyPatchArgs{...} }
type ValidatingAdmissionPolicyPatchArrayOutput ¶
type ValidatingAdmissionPolicyPatchArrayOutput struct{ *pulumi.OutputState }
func (ValidatingAdmissionPolicyPatchArrayOutput) ElementType ¶
func (ValidatingAdmissionPolicyPatchArrayOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyPatchArrayOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyPatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ValidatingAdmissionPolicyPatch]
func (ValidatingAdmissionPolicyPatchArrayOutput) ToValidatingAdmissionPolicyPatchArrayOutput ¶
func (o ValidatingAdmissionPolicyPatchArrayOutput) ToValidatingAdmissionPolicyPatchArrayOutput() ValidatingAdmissionPolicyPatchArrayOutput
func (ValidatingAdmissionPolicyPatchArrayOutput) ToValidatingAdmissionPolicyPatchArrayOutputWithContext ¶
func (o ValidatingAdmissionPolicyPatchArrayOutput) ToValidatingAdmissionPolicyPatchArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyPatchArrayOutput
type ValidatingAdmissionPolicyPatchInput ¶
type ValidatingAdmissionPolicyPatchInput interface { pulumi.Input ToValidatingAdmissionPolicyPatchOutput() ValidatingAdmissionPolicyPatchOutput ToValidatingAdmissionPolicyPatchOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyPatchOutput }
type ValidatingAdmissionPolicyPatchMap ¶
type ValidatingAdmissionPolicyPatchMap map[string]ValidatingAdmissionPolicyPatchInput
func (ValidatingAdmissionPolicyPatchMap) ElementType ¶
func (ValidatingAdmissionPolicyPatchMap) ElementType() reflect.Type
func (ValidatingAdmissionPolicyPatchMap) ToOutput ¶ added in v4.2.0
func (i ValidatingAdmissionPolicyPatchMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ValidatingAdmissionPolicyPatch]
func (ValidatingAdmissionPolicyPatchMap) ToValidatingAdmissionPolicyPatchMapOutput ¶
func (i ValidatingAdmissionPolicyPatchMap) ToValidatingAdmissionPolicyPatchMapOutput() ValidatingAdmissionPolicyPatchMapOutput
func (ValidatingAdmissionPolicyPatchMap) ToValidatingAdmissionPolicyPatchMapOutputWithContext ¶
func (i ValidatingAdmissionPolicyPatchMap) ToValidatingAdmissionPolicyPatchMapOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyPatchMapOutput
type ValidatingAdmissionPolicyPatchMapInput ¶
type ValidatingAdmissionPolicyPatchMapInput interface { pulumi.Input ToValidatingAdmissionPolicyPatchMapOutput() ValidatingAdmissionPolicyPatchMapOutput ToValidatingAdmissionPolicyPatchMapOutputWithContext(context.Context) ValidatingAdmissionPolicyPatchMapOutput }
ValidatingAdmissionPolicyPatchMapInput is an input type that accepts ValidatingAdmissionPolicyPatchMap and ValidatingAdmissionPolicyPatchMapOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyPatchMapInput` via:
ValidatingAdmissionPolicyPatchMap{ "key": ValidatingAdmissionPolicyPatchArgs{...} }
type ValidatingAdmissionPolicyPatchMapOutput ¶
type ValidatingAdmissionPolicyPatchMapOutput struct{ *pulumi.OutputState }
func (ValidatingAdmissionPolicyPatchMapOutput) ElementType ¶
func (ValidatingAdmissionPolicyPatchMapOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyPatchMapOutput) MapIndex ¶
func (o ValidatingAdmissionPolicyPatchMapOutput) MapIndex(k pulumi.StringInput) ValidatingAdmissionPolicyPatchOutput
func (ValidatingAdmissionPolicyPatchMapOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyPatchMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ValidatingAdmissionPolicyPatch]
func (ValidatingAdmissionPolicyPatchMapOutput) ToValidatingAdmissionPolicyPatchMapOutput ¶
func (o ValidatingAdmissionPolicyPatchMapOutput) ToValidatingAdmissionPolicyPatchMapOutput() ValidatingAdmissionPolicyPatchMapOutput
func (ValidatingAdmissionPolicyPatchMapOutput) ToValidatingAdmissionPolicyPatchMapOutputWithContext ¶
func (o ValidatingAdmissionPolicyPatchMapOutput) ToValidatingAdmissionPolicyPatchMapOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyPatchMapOutput
type ValidatingAdmissionPolicyPatchOutput ¶
type ValidatingAdmissionPolicyPatchOutput struct{ *pulumi.OutputState }
func (ValidatingAdmissionPolicyPatchOutput) ApiVersion ¶
func (o ValidatingAdmissionPolicyPatchOutput) 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 (ValidatingAdmissionPolicyPatchOutput) ElementType ¶
func (ValidatingAdmissionPolicyPatchOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyPatchOutput) Kind ¶
func (o ValidatingAdmissionPolicyPatchOutput) 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 (ValidatingAdmissionPolicyPatchOutput) Metadata ¶
func (o ValidatingAdmissionPolicyPatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
func (ValidatingAdmissionPolicyPatchOutput) Spec ¶
Specification of the desired behavior of the ValidatingAdmissionPolicy.
func (ValidatingAdmissionPolicyPatchOutput) Status ¶
func (o ValidatingAdmissionPolicyPatchOutput) Status() ValidatingAdmissionPolicyStatusPatchPtrOutput
The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only.
func (ValidatingAdmissionPolicyPatchOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyPatchOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyPatch]
func (ValidatingAdmissionPolicyPatchOutput) ToValidatingAdmissionPolicyPatchOutput ¶
func (o ValidatingAdmissionPolicyPatchOutput) ToValidatingAdmissionPolicyPatchOutput() ValidatingAdmissionPolicyPatchOutput
func (ValidatingAdmissionPolicyPatchOutput) ToValidatingAdmissionPolicyPatchOutputWithContext ¶
func (o ValidatingAdmissionPolicyPatchOutput) ToValidatingAdmissionPolicyPatchOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyPatchOutput
type ValidatingAdmissionPolicyPatchState ¶
type ValidatingAdmissionPolicyPatchState struct { }
func (ValidatingAdmissionPolicyPatchState) ElementType ¶
func (ValidatingAdmissionPolicyPatchState) ElementType() reflect.Type
type ValidatingAdmissionPolicyPatchType ¶
type ValidatingAdmissionPolicyPatchType 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 metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. Metadata *metav1.ObjectMetaPatch `pulumi:"metadata"` // Specification of the desired behavior of the ValidatingAdmissionPolicy. Spec *ValidatingAdmissionPolicySpecPatch `pulumi:"spec"` // The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only. Status *ValidatingAdmissionPolicyStatusPatch `pulumi:"status"` }
ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
type ValidatingAdmissionPolicyPatchTypeArgs ¶
type ValidatingAdmissionPolicyPatchTypeArgs 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 metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. Metadata metav1.ObjectMetaPatchPtrInput `pulumi:"metadata"` // Specification of the desired behavior of the ValidatingAdmissionPolicy. Spec ValidatingAdmissionPolicySpecPatchPtrInput `pulumi:"spec"` // The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only. Status ValidatingAdmissionPolicyStatusPatchPtrInput `pulumi:"status"` }
ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
func (ValidatingAdmissionPolicyPatchTypeArgs) ElementType ¶
func (ValidatingAdmissionPolicyPatchTypeArgs) ElementType() reflect.Type
func (ValidatingAdmissionPolicyPatchTypeArgs) ToOutput ¶ added in v4.2.0
func (i ValidatingAdmissionPolicyPatchTypeArgs) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyPatchType]
func (ValidatingAdmissionPolicyPatchTypeArgs) ToValidatingAdmissionPolicyPatchTypeOutput ¶
func (i ValidatingAdmissionPolicyPatchTypeArgs) ToValidatingAdmissionPolicyPatchTypeOutput() ValidatingAdmissionPolicyPatchTypeOutput
func (ValidatingAdmissionPolicyPatchTypeArgs) ToValidatingAdmissionPolicyPatchTypeOutputWithContext ¶
func (i ValidatingAdmissionPolicyPatchTypeArgs) ToValidatingAdmissionPolicyPatchTypeOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyPatchTypeOutput
type ValidatingAdmissionPolicyPatchTypeInput ¶
type ValidatingAdmissionPolicyPatchTypeInput interface { pulumi.Input ToValidatingAdmissionPolicyPatchTypeOutput() ValidatingAdmissionPolicyPatchTypeOutput ToValidatingAdmissionPolicyPatchTypeOutputWithContext(context.Context) ValidatingAdmissionPolicyPatchTypeOutput }
ValidatingAdmissionPolicyPatchTypeInput is an input type that accepts ValidatingAdmissionPolicyPatchTypeArgs and ValidatingAdmissionPolicyPatchTypeOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyPatchTypeInput` via:
ValidatingAdmissionPolicyPatchTypeArgs{...}
type ValidatingAdmissionPolicyPatchTypeOutput ¶
type ValidatingAdmissionPolicyPatchTypeOutput struct{ *pulumi.OutputState }
ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
func (ValidatingAdmissionPolicyPatchTypeOutput) ApiVersion ¶
func (o ValidatingAdmissionPolicyPatchTypeOutput) 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 (ValidatingAdmissionPolicyPatchTypeOutput) ElementType ¶
func (ValidatingAdmissionPolicyPatchTypeOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyPatchTypeOutput) Kind ¶
func (o ValidatingAdmissionPolicyPatchTypeOutput) 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 (ValidatingAdmissionPolicyPatchTypeOutput) Metadata ¶
func (o ValidatingAdmissionPolicyPatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
func (ValidatingAdmissionPolicyPatchTypeOutput) Spec ¶
func (o ValidatingAdmissionPolicyPatchTypeOutput) Spec() ValidatingAdmissionPolicySpecPatchPtrOutput
Specification of the desired behavior of the ValidatingAdmissionPolicy.
func (ValidatingAdmissionPolicyPatchTypeOutput) Status ¶
func (o ValidatingAdmissionPolicyPatchTypeOutput) Status() ValidatingAdmissionPolicyStatusPatchPtrOutput
The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only.
func (ValidatingAdmissionPolicyPatchTypeOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyPatchTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyPatchType]
func (ValidatingAdmissionPolicyPatchTypeOutput) ToValidatingAdmissionPolicyPatchTypeOutput ¶
func (o ValidatingAdmissionPolicyPatchTypeOutput) ToValidatingAdmissionPolicyPatchTypeOutput() ValidatingAdmissionPolicyPatchTypeOutput
func (ValidatingAdmissionPolicyPatchTypeOutput) ToValidatingAdmissionPolicyPatchTypeOutputWithContext ¶
func (o ValidatingAdmissionPolicyPatchTypeOutput) ToValidatingAdmissionPolicyPatchTypeOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyPatchTypeOutput
type ValidatingAdmissionPolicySpec ¶
type ValidatingAdmissionPolicySpec struct { // auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required. AuditAnnotations []AuditAnnotation `pulumi:"auditAnnotations"` // failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings. // // A policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource. // // failurePolicy does not define how validations that evaluate to false are handled. // // When failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced. // // Allowed values are Ignore or Fail. Defaults to Fail. FailurePolicy *string `pulumi:"failurePolicy"` // MatchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed. // // If a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions. // // The exact matching logic is (in order): // 1. If ANY matchCondition evaluates to FALSE, the policy is skipped. // 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated. // 3. If any matchCondition evaluates to an error (but none are FALSE): // - If failurePolicy=Fail, reject the request // - If failurePolicy=Ignore, the policy is skipped MatchConditions []MatchCondition `pulumi:"matchConditions"` // MatchConstraints specifies what resources this policy is designed to validate. The AdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding. Required. MatchConstraints *MatchResources `pulumi:"matchConstraints"` // ParamKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the params variable will be null. ParamKind *ParamKind `pulumi:"paramKind"` // Validations contain CEL expressions which is used to apply the validation. Validations and AuditAnnotations may not both be empty; a minimum of one Validations or AuditAnnotations is required. Validations []Validation `pulumi:"validations"` // Variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except MatchConditions because MatchConditions are evaluated before the rest of the policy. // // The expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, Variables must be sorted by the order of first appearance and acyclic. Variables []Variable `pulumi:"variables"` }
ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
type ValidatingAdmissionPolicySpecArgs ¶
type ValidatingAdmissionPolicySpecArgs struct { // auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required. AuditAnnotations AuditAnnotationArrayInput `pulumi:"auditAnnotations"` // failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings. // // A policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource. // // failurePolicy does not define how validations that evaluate to false are handled. // // When failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced. // // Allowed values are Ignore or Fail. Defaults to Fail. FailurePolicy pulumi.StringPtrInput `pulumi:"failurePolicy"` // MatchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed. // // If a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions. // // The exact matching logic is (in order): // 1. If ANY matchCondition evaluates to FALSE, the policy is skipped. // 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated. // 3. If any matchCondition evaluates to an error (but none are FALSE): // - If failurePolicy=Fail, reject the request // - If failurePolicy=Ignore, the policy is skipped MatchConditions MatchConditionArrayInput `pulumi:"matchConditions"` // MatchConstraints specifies what resources this policy is designed to validate. The AdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding. Required. MatchConstraints MatchResourcesPtrInput `pulumi:"matchConstraints"` // ParamKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the params variable will be null. ParamKind ParamKindPtrInput `pulumi:"paramKind"` // Validations contain CEL expressions which is used to apply the validation. Validations and AuditAnnotations may not both be empty; a minimum of one Validations or AuditAnnotations is required. Validations ValidationArrayInput `pulumi:"validations"` // Variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except MatchConditions because MatchConditions are evaluated before the rest of the policy. // // The expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, Variables must be sorted by the order of first appearance and acyclic. Variables VariableArrayInput `pulumi:"variables"` }
ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
func (ValidatingAdmissionPolicySpecArgs) ElementType ¶
func (ValidatingAdmissionPolicySpecArgs) ElementType() reflect.Type
func (ValidatingAdmissionPolicySpecArgs) ToOutput ¶ added in v4.2.0
func (i ValidatingAdmissionPolicySpecArgs) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicySpec]
func (ValidatingAdmissionPolicySpecArgs) ToValidatingAdmissionPolicySpecOutput ¶
func (i ValidatingAdmissionPolicySpecArgs) ToValidatingAdmissionPolicySpecOutput() ValidatingAdmissionPolicySpecOutput
func (ValidatingAdmissionPolicySpecArgs) ToValidatingAdmissionPolicySpecOutputWithContext ¶
func (i ValidatingAdmissionPolicySpecArgs) ToValidatingAdmissionPolicySpecOutputWithContext(ctx context.Context) ValidatingAdmissionPolicySpecOutput
func (ValidatingAdmissionPolicySpecArgs) ToValidatingAdmissionPolicySpecPtrOutput ¶
func (i ValidatingAdmissionPolicySpecArgs) ToValidatingAdmissionPolicySpecPtrOutput() ValidatingAdmissionPolicySpecPtrOutput
func (ValidatingAdmissionPolicySpecArgs) ToValidatingAdmissionPolicySpecPtrOutputWithContext ¶
func (i ValidatingAdmissionPolicySpecArgs) ToValidatingAdmissionPolicySpecPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicySpecPtrOutput
type ValidatingAdmissionPolicySpecInput ¶
type ValidatingAdmissionPolicySpecInput interface { pulumi.Input ToValidatingAdmissionPolicySpecOutput() ValidatingAdmissionPolicySpecOutput ToValidatingAdmissionPolicySpecOutputWithContext(context.Context) ValidatingAdmissionPolicySpecOutput }
ValidatingAdmissionPolicySpecInput is an input type that accepts ValidatingAdmissionPolicySpecArgs and ValidatingAdmissionPolicySpecOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicySpecInput` via:
ValidatingAdmissionPolicySpecArgs{...}
type ValidatingAdmissionPolicySpecOutput ¶
type ValidatingAdmissionPolicySpecOutput struct{ *pulumi.OutputState }
ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
func (ValidatingAdmissionPolicySpecOutput) AuditAnnotations ¶
func (o ValidatingAdmissionPolicySpecOutput) AuditAnnotations() AuditAnnotationArrayOutput
auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.
func (ValidatingAdmissionPolicySpecOutput) ElementType ¶
func (ValidatingAdmissionPolicySpecOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicySpecOutput) FailurePolicy ¶
func (o ValidatingAdmissionPolicySpecOutput) FailurePolicy() pulumi.StringPtrOutput
failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.
A policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource.
failurePolicy does not define how validations that evaluate to false are handled.
When failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced.
Allowed values are Ignore or Fail. Defaults to Fail.
func (ValidatingAdmissionPolicySpecOutput) MatchConditions ¶
func (o ValidatingAdmissionPolicySpecOutput) MatchConditions() MatchConditionArrayOutput
MatchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
If a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.
The exact matching logic is (in order):
- If ANY matchCondition evaluates to FALSE, the policy is skipped.
- If ALL matchConditions evaluate to TRUE, the policy is evaluated.
- If any matchCondition evaluates to an error (but none are FALSE): - If failurePolicy=Fail, reject the request - If failurePolicy=Ignore, the policy is skipped
func (ValidatingAdmissionPolicySpecOutput) MatchConstraints ¶
func (o ValidatingAdmissionPolicySpecOutput) MatchConstraints() MatchResourcesPtrOutput
MatchConstraints specifies what resources this policy is designed to validate. The AdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding. Required.
func (ValidatingAdmissionPolicySpecOutput) ParamKind ¶
func (o ValidatingAdmissionPolicySpecOutput) ParamKind() ParamKindPtrOutput
ParamKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the params variable will be null.
func (ValidatingAdmissionPolicySpecOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicySpecOutput) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicySpec]
func (ValidatingAdmissionPolicySpecOutput) ToValidatingAdmissionPolicySpecOutput ¶
func (o ValidatingAdmissionPolicySpecOutput) ToValidatingAdmissionPolicySpecOutput() ValidatingAdmissionPolicySpecOutput
func (ValidatingAdmissionPolicySpecOutput) ToValidatingAdmissionPolicySpecOutputWithContext ¶
func (o ValidatingAdmissionPolicySpecOutput) ToValidatingAdmissionPolicySpecOutputWithContext(ctx context.Context) ValidatingAdmissionPolicySpecOutput
func (ValidatingAdmissionPolicySpecOutput) ToValidatingAdmissionPolicySpecPtrOutput ¶
func (o ValidatingAdmissionPolicySpecOutput) ToValidatingAdmissionPolicySpecPtrOutput() ValidatingAdmissionPolicySpecPtrOutput
func (ValidatingAdmissionPolicySpecOutput) ToValidatingAdmissionPolicySpecPtrOutputWithContext ¶
func (o ValidatingAdmissionPolicySpecOutput) ToValidatingAdmissionPolicySpecPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicySpecPtrOutput
func (ValidatingAdmissionPolicySpecOutput) Validations ¶
func (o ValidatingAdmissionPolicySpecOutput) Validations() ValidationArrayOutput
Validations contain CEL expressions which is used to apply the validation. Validations and AuditAnnotations may not both be empty; a minimum of one Validations or AuditAnnotations is required.
func (ValidatingAdmissionPolicySpecOutput) Variables ¶ added in v4.1.0
func (o ValidatingAdmissionPolicySpecOutput) Variables() VariableArrayOutput
Variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except MatchConditions because MatchConditions are evaluated before the rest of the policy.
The expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, Variables must be sorted by the order of first appearance and acyclic.
type ValidatingAdmissionPolicySpecPatch ¶
type ValidatingAdmissionPolicySpecPatch struct { // auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required. AuditAnnotations []AuditAnnotationPatch `pulumi:"auditAnnotations"` // failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings. // // A policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource. // // failurePolicy does not define how validations that evaluate to false are handled. // // When failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced. // // Allowed values are Ignore or Fail. Defaults to Fail. FailurePolicy *string `pulumi:"failurePolicy"` // MatchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed. // // If a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions. // // The exact matching logic is (in order): // 1. If ANY matchCondition evaluates to FALSE, the policy is skipped. // 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated. // 3. If any matchCondition evaluates to an error (but none are FALSE): // - If failurePolicy=Fail, reject the request // - If failurePolicy=Ignore, the policy is skipped MatchConditions []MatchConditionPatch `pulumi:"matchConditions"` // MatchConstraints specifies what resources this policy is designed to validate. The AdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding. Required. MatchConstraints *MatchResourcesPatch `pulumi:"matchConstraints"` // ParamKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the params variable will be null. ParamKind *ParamKindPatch `pulumi:"paramKind"` // Validations contain CEL expressions which is used to apply the validation. Validations and AuditAnnotations may not both be empty; a minimum of one Validations or AuditAnnotations is required. Validations []ValidationPatch `pulumi:"validations"` // Variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except MatchConditions because MatchConditions are evaluated before the rest of the policy. // // The expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, Variables must be sorted by the order of first appearance and acyclic. Variables []VariablePatch `pulumi:"variables"` }
ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
type ValidatingAdmissionPolicySpecPatchArgs ¶
type ValidatingAdmissionPolicySpecPatchArgs struct { // auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required. AuditAnnotations AuditAnnotationPatchArrayInput `pulumi:"auditAnnotations"` // failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings. // // A policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource. // // failurePolicy does not define how validations that evaluate to false are handled. // // When failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced. // // Allowed values are Ignore or Fail. Defaults to Fail. FailurePolicy pulumi.StringPtrInput `pulumi:"failurePolicy"` // MatchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed. // // If a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions. // // The exact matching logic is (in order): // 1. If ANY matchCondition evaluates to FALSE, the policy is skipped. // 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated. // 3. If any matchCondition evaluates to an error (but none are FALSE): // - If failurePolicy=Fail, reject the request // - If failurePolicy=Ignore, the policy is skipped MatchConditions MatchConditionPatchArrayInput `pulumi:"matchConditions"` // MatchConstraints specifies what resources this policy is designed to validate. The AdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding. Required. MatchConstraints MatchResourcesPatchPtrInput `pulumi:"matchConstraints"` // ParamKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the params variable will be null. ParamKind ParamKindPatchPtrInput `pulumi:"paramKind"` // Validations contain CEL expressions which is used to apply the validation. Validations and AuditAnnotations may not both be empty; a minimum of one Validations or AuditAnnotations is required. Validations ValidationPatchArrayInput `pulumi:"validations"` // Variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except MatchConditions because MatchConditions are evaluated before the rest of the policy. // // The expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, Variables must be sorted by the order of first appearance and acyclic. Variables VariablePatchArrayInput `pulumi:"variables"` }
ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
func (ValidatingAdmissionPolicySpecPatchArgs) ElementType ¶
func (ValidatingAdmissionPolicySpecPatchArgs) ElementType() reflect.Type
func (ValidatingAdmissionPolicySpecPatchArgs) ToOutput ¶ added in v4.2.0
func (i ValidatingAdmissionPolicySpecPatchArgs) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicySpecPatch]
func (ValidatingAdmissionPolicySpecPatchArgs) ToValidatingAdmissionPolicySpecPatchOutput ¶
func (i ValidatingAdmissionPolicySpecPatchArgs) ToValidatingAdmissionPolicySpecPatchOutput() ValidatingAdmissionPolicySpecPatchOutput
func (ValidatingAdmissionPolicySpecPatchArgs) ToValidatingAdmissionPolicySpecPatchOutputWithContext ¶
func (i ValidatingAdmissionPolicySpecPatchArgs) ToValidatingAdmissionPolicySpecPatchOutputWithContext(ctx context.Context) ValidatingAdmissionPolicySpecPatchOutput
func (ValidatingAdmissionPolicySpecPatchArgs) ToValidatingAdmissionPolicySpecPatchPtrOutput ¶
func (i ValidatingAdmissionPolicySpecPatchArgs) ToValidatingAdmissionPolicySpecPatchPtrOutput() ValidatingAdmissionPolicySpecPatchPtrOutput
func (ValidatingAdmissionPolicySpecPatchArgs) ToValidatingAdmissionPolicySpecPatchPtrOutputWithContext ¶
func (i ValidatingAdmissionPolicySpecPatchArgs) ToValidatingAdmissionPolicySpecPatchPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicySpecPatchPtrOutput
type ValidatingAdmissionPolicySpecPatchInput ¶
type ValidatingAdmissionPolicySpecPatchInput interface { pulumi.Input ToValidatingAdmissionPolicySpecPatchOutput() ValidatingAdmissionPolicySpecPatchOutput ToValidatingAdmissionPolicySpecPatchOutputWithContext(context.Context) ValidatingAdmissionPolicySpecPatchOutput }
ValidatingAdmissionPolicySpecPatchInput is an input type that accepts ValidatingAdmissionPolicySpecPatchArgs and ValidatingAdmissionPolicySpecPatchOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicySpecPatchInput` via:
ValidatingAdmissionPolicySpecPatchArgs{...}
type ValidatingAdmissionPolicySpecPatchOutput ¶
type ValidatingAdmissionPolicySpecPatchOutput struct{ *pulumi.OutputState }
ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
func (ValidatingAdmissionPolicySpecPatchOutput) AuditAnnotations ¶
func (o ValidatingAdmissionPolicySpecPatchOutput) AuditAnnotations() AuditAnnotationPatchArrayOutput
auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.
func (ValidatingAdmissionPolicySpecPatchOutput) ElementType ¶
func (ValidatingAdmissionPolicySpecPatchOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicySpecPatchOutput) FailurePolicy ¶
func (o ValidatingAdmissionPolicySpecPatchOutput) FailurePolicy() pulumi.StringPtrOutput
failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.
A policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource.
failurePolicy does not define how validations that evaluate to false are handled.
When failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced.
Allowed values are Ignore or Fail. Defaults to Fail.
func (ValidatingAdmissionPolicySpecPatchOutput) MatchConditions ¶
func (o ValidatingAdmissionPolicySpecPatchOutput) MatchConditions() MatchConditionPatchArrayOutput
MatchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
If a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.
The exact matching logic is (in order):
- If ANY matchCondition evaluates to FALSE, the policy is skipped.
- If ALL matchConditions evaluate to TRUE, the policy is evaluated.
- If any matchCondition evaluates to an error (but none are FALSE): - If failurePolicy=Fail, reject the request - If failurePolicy=Ignore, the policy is skipped
func (ValidatingAdmissionPolicySpecPatchOutput) MatchConstraints ¶
func (o ValidatingAdmissionPolicySpecPatchOutput) MatchConstraints() MatchResourcesPatchPtrOutput
MatchConstraints specifies what resources this policy is designed to validate. The AdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding. Required.
func (ValidatingAdmissionPolicySpecPatchOutput) ParamKind ¶
func (o ValidatingAdmissionPolicySpecPatchOutput) ParamKind() ParamKindPatchPtrOutput
ParamKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the params variable will be null.
func (ValidatingAdmissionPolicySpecPatchOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicySpecPatchOutput) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicySpecPatch]
func (ValidatingAdmissionPolicySpecPatchOutput) ToValidatingAdmissionPolicySpecPatchOutput ¶
func (o ValidatingAdmissionPolicySpecPatchOutput) ToValidatingAdmissionPolicySpecPatchOutput() ValidatingAdmissionPolicySpecPatchOutput
func (ValidatingAdmissionPolicySpecPatchOutput) ToValidatingAdmissionPolicySpecPatchOutputWithContext ¶
func (o ValidatingAdmissionPolicySpecPatchOutput) ToValidatingAdmissionPolicySpecPatchOutputWithContext(ctx context.Context) ValidatingAdmissionPolicySpecPatchOutput
func (ValidatingAdmissionPolicySpecPatchOutput) ToValidatingAdmissionPolicySpecPatchPtrOutput ¶
func (o ValidatingAdmissionPolicySpecPatchOutput) ToValidatingAdmissionPolicySpecPatchPtrOutput() ValidatingAdmissionPolicySpecPatchPtrOutput
func (ValidatingAdmissionPolicySpecPatchOutput) ToValidatingAdmissionPolicySpecPatchPtrOutputWithContext ¶
func (o ValidatingAdmissionPolicySpecPatchOutput) ToValidatingAdmissionPolicySpecPatchPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicySpecPatchPtrOutput
func (ValidatingAdmissionPolicySpecPatchOutput) Validations ¶
func (o ValidatingAdmissionPolicySpecPatchOutput) Validations() ValidationPatchArrayOutput
Validations contain CEL expressions which is used to apply the validation. Validations and AuditAnnotations may not both be empty; a minimum of one Validations or AuditAnnotations is required.
func (ValidatingAdmissionPolicySpecPatchOutput) Variables ¶ added in v4.1.0
func (o ValidatingAdmissionPolicySpecPatchOutput) Variables() VariablePatchArrayOutput
Variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except MatchConditions because MatchConditions are evaluated before the rest of the policy.
The expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, Variables must be sorted by the order of first appearance and acyclic.
type ValidatingAdmissionPolicySpecPatchPtrInput ¶
type ValidatingAdmissionPolicySpecPatchPtrInput interface { pulumi.Input ToValidatingAdmissionPolicySpecPatchPtrOutput() ValidatingAdmissionPolicySpecPatchPtrOutput ToValidatingAdmissionPolicySpecPatchPtrOutputWithContext(context.Context) ValidatingAdmissionPolicySpecPatchPtrOutput }
ValidatingAdmissionPolicySpecPatchPtrInput is an input type that accepts ValidatingAdmissionPolicySpecPatchArgs, ValidatingAdmissionPolicySpecPatchPtr and ValidatingAdmissionPolicySpecPatchPtrOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicySpecPatchPtrInput` via:
ValidatingAdmissionPolicySpecPatchArgs{...} or: nil
func ValidatingAdmissionPolicySpecPatchPtr ¶
func ValidatingAdmissionPolicySpecPatchPtr(v *ValidatingAdmissionPolicySpecPatchArgs) ValidatingAdmissionPolicySpecPatchPtrInput
type ValidatingAdmissionPolicySpecPatchPtrOutput ¶
type ValidatingAdmissionPolicySpecPatchPtrOutput struct{ *pulumi.OutputState }
func (ValidatingAdmissionPolicySpecPatchPtrOutput) AuditAnnotations ¶
func (o ValidatingAdmissionPolicySpecPatchPtrOutput) AuditAnnotations() AuditAnnotationPatchArrayOutput
auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.
func (ValidatingAdmissionPolicySpecPatchPtrOutput) ElementType ¶
func (ValidatingAdmissionPolicySpecPatchPtrOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicySpecPatchPtrOutput) FailurePolicy ¶
func (o ValidatingAdmissionPolicySpecPatchPtrOutput) FailurePolicy() pulumi.StringPtrOutput
failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.
A policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource.
failurePolicy does not define how validations that evaluate to false are handled.
When failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced.
Allowed values are Ignore or Fail. Defaults to Fail.
func (ValidatingAdmissionPolicySpecPatchPtrOutput) MatchConditions ¶
func (o ValidatingAdmissionPolicySpecPatchPtrOutput) MatchConditions() MatchConditionPatchArrayOutput
MatchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
If a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.
The exact matching logic is (in order):
- If ANY matchCondition evaluates to FALSE, the policy is skipped.
- If ALL matchConditions evaluate to TRUE, the policy is evaluated.
- If any matchCondition evaluates to an error (but none are FALSE): - If failurePolicy=Fail, reject the request - If failurePolicy=Ignore, the policy is skipped
func (ValidatingAdmissionPolicySpecPatchPtrOutput) MatchConstraints ¶
func (o ValidatingAdmissionPolicySpecPatchPtrOutput) MatchConstraints() MatchResourcesPatchPtrOutput
MatchConstraints specifies what resources this policy is designed to validate. The AdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding. Required.
func (ValidatingAdmissionPolicySpecPatchPtrOutput) ParamKind ¶
func (o ValidatingAdmissionPolicySpecPatchPtrOutput) ParamKind() ParamKindPatchPtrOutput
ParamKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the params variable will be null.
func (ValidatingAdmissionPolicySpecPatchPtrOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicySpecPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicySpecPatch]
func (ValidatingAdmissionPolicySpecPatchPtrOutput) ToValidatingAdmissionPolicySpecPatchPtrOutput ¶
func (o ValidatingAdmissionPolicySpecPatchPtrOutput) ToValidatingAdmissionPolicySpecPatchPtrOutput() ValidatingAdmissionPolicySpecPatchPtrOutput
func (ValidatingAdmissionPolicySpecPatchPtrOutput) ToValidatingAdmissionPolicySpecPatchPtrOutputWithContext ¶
func (o ValidatingAdmissionPolicySpecPatchPtrOutput) ToValidatingAdmissionPolicySpecPatchPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicySpecPatchPtrOutput
func (ValidatingAdmissionPolicySpecPatchPtrOutput) Validations ¶
func (o ValidatingAdmissionPolicySpecPatchPtrOutput) Validations() ValidationPatchArrayOutput
Validations contain CEL expressions which is used to apply the validation. Validations and AuditAnnotations may not both be empty; a minimum of one Validations or AuditAnnotations is required.
func (ValidatingAdmissionPolicySpecPatchPtrOutput) Variables ¶ added in v4.1.0
func (o ValidatingAdmissionPolicySpecPatchPtrOutput) Variables() VariablePatchArrayOutput
Variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except MatchConditions because MatchConditions are evaluated before the rest of the policy.
The expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, Variables must be sorted by the order of first appearance and acyclic.
type ValidatingAdmissionPolicySpecPtrInput ¶
type ValidatingAdmissionPolicySpecPtrInput interface { pulumi.Input ToValidatingAdmissionPolicySpecPtrOutput() ValidatingAdmissionPolicySpecPtrOutput ToValidatingAdmissionPolicySpecPtrOutputWithContext(context.Context) ValidatingAdmissionPolicySpecPtrOutput }
ValidatingAdmissionPolicySpecPtrInput is an input type that accepts ValidatingAdmissionPolicySpecArgs, ValidatingAdmissionPolicySpecPtr and ValidatingAdmissionPolicySpecPtrOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicySpecPtrInput` via:
ValidatingAdmissionPolicySpecArgs{...} or: nil
func ValidatingAdmissionPolicySpecPtr ¶
func ValidatingAdmissionPolicySpecPtr(v *ValidatingAdmissionPolicySpecArgs) ValidatingAdmissionPolicySpecPtrInput
type ValidatingAdmissionPolicySpecPtrOutput ¶
type ValidatingAdmissionPolicySpecPtrOutput struct{ *pulumi.OutputState }
func (ValidatingAdmissionPolicySpecPtrOutput) AuditAnnotations ¶
func (o ValidatingAdmissionPolicySpecPtrOutput) AuditAnnotations() AuditAnnotationArrayOutput
auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.
func (ValidatingAdmissionPolicySpecPtrOutput) ElementType ¶
func (ValidatingAdmissionPolicySpecPtrOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicySpecPtrOutput) FailurePolicy ¶
func (o ValidatingAdmissionPolicySpecPtrOutput) FailurePolicy() pulumi.StringPtrOutput
failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.
A policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource.
failurePolicy does not define how validations that evaluate to false are handled.
When failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced.
Allowed values are Ignore or Fail. Defaults to Fail.
func (ValidatingAdmissionPolicySpecPtrOutput) MatchConditions ¶
func (o ValidatingAdmissionPolicySpecPtrOutput) MatchConditions() MatchConditionArrayOutput
MatchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
If a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.
The exact matching logic is (in order):
- If ANY matchCondition evaluates to FALSE, the policy is skipped.
- If ALL matchConditions evaluate to TRUE, the policy is evaluated.
- If any matchCondition evaluates to an error (but none are FALSE): - If failurePolicy=Fail, reject the request - If failurePolicy=Ignore, the policy is skipped
func (ValidatingAdmissionPolicySpecPtrOutput) MatchConstraints ¶
func (o ValidatingAdmissionPolicySpecPtrOutput) MatchConstraints() MatchResourcesPtrOutput
MatchConstraints specifies what resources this policy is designed to validate. The AdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding. Required.
func (ValidatingAdmissionPolicySpecPtrOutput) ParamKind ¶
func (o ValidatingAdmissionPolicySpecPtrOutput) ParamKind() ParamKindPtrOutput
ParamKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the params variable will be null.
func (ValidatingAdmissionPolicySpecPtrOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicySpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicySpec]
func (ValidatingAdmissionPolicySpecPtrOutput) ToValidatingAdmissionPolicySpecPtrOutput ¶
func (o ValidatingAdmissionPolicySpecPtrOutput) ToValidatingAdmissionPolicySpecPtrOutput() ValidatingAdmissionPolicySpecPtrOutput
func (ValidatingAdmissionPolicySpecPtrOutput) ToValidatingAdmissionPolicySpecPtrOutputWithContext ¶
func (o ValidatingAdmissionPolicySpecPtrOutput) ToValidatingAdmissionPolicySpecPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicySpecPtrOutput
func (ValidatingAdmissionPolicySpecPtrOutput) Validations ¶
func (o ValidatingAdmissionPolicySpecPtrOutput) Validations() ValidationArrayOutput
Validations contain CEL expressions which is used to apply the validation. Validations and AuditAnnotations may not both be empty; a minimum of one Validations or AuditAnnotations is required.
func (ValidatingAdmissionPolicySpecPtrOutput) Variables ¶ added in v4.1.0
func (o ValidatingAdmissionPolicySpecPtrOutput) Variables() VariableArrayOutput
Variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except MatchConditions because MatchConditions are evaluated before the rest of the policy.
The expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, Variables must be sorted by the order of first appearance and acyclic.
type ValidatingAdmissionPolicyState ¶
type ValidatingAdmissionPolicyState struct { }
func (ValidatingAdmissionPolicyState) ElementType ¶
func (ValidatingAdmissionPolicyState) ElementType() reflect.Type
type ValidatingAdmissionPolicyStatus ¶
type ValidatingAdmissionPolicyStatus struct { // The conditions represent the latest available observations of a policy's current state. Conditions []metav1.Condition `pulumi:"conditions"` // The generation observed by the controller. ObservedGeneration *int `pulumi:"observedGeneration"` // The results of type checking for each expression. Presence of this field indicates the completion of the type checking. TypeChecking *TypeChecking `pulumi:"typeChecking"` }
ValidatingAdmissionPolicyStatus represents the status of a ValidatingAdmissionPolicy.
type ValidatingAdmissionPolicyStatusArgs ¶
type ValidatingAdmissionPolicyStatusArgs struct { // The conditions represent the latest available observations of a policy's current state. Conditions metav1.ConditionArrayInput `pulumi:"conditions"` // The generation observed by the controller. ObservedGeneration pulumi.IntPtrInput `pulumi:"observedGeneration"` // The results of type checking for each expression. Presence of this field indicates the completion of the type checking. TypeChecking TypeCheckingPtrInput `pulumi:"typeChecking"` }
ValidatingAdmissionPolicyStatus represents the status of a ValidatingAdmissionPolicy.
func (ValidatingAdmissionPolicyStatusArgs) ElementType ¶
func (ValidatingAdmissionPolicyStatusArgs) ElementType() reflect.Type
func (ValidatingAdmissionPolicyStatusArgs) ToOutput ¶ added in v4.2.0
func (i ValidatingAdmissionPolicyStatusArgs) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyStatus]
func (ValidatingAdmissionPolicyStatusArgs) ToValidatingAdmissionPolicyStatusOutput ¶
func (i ValidatingAdmissionPolicyStatusArgs) ToValidatingAdmissionPolicyStatusOutput() ValidatingAdmissionPolicyStatusOutput
func (ValidatingAdmissionPolicyStatusArgs) ToValidatingAdmissionPolicyStatusOutputWithContext ¶
func (i ValidatingAdmissionPolicyStatusArgs) ToValidatingAdmissionPolicyStatusOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyStatusOutput
func (ValidatingAdmissionPolicyStatusArgs) ToValidatingAdmissionPolicyStatusPtrOutput ¶
func (i ValidatingAdmissionPolicyStatusArgs) ToValidatingAdmissionPolicyStatusPtrOutput() ValidatingAdmissionPolicyStatusPtrOutput
func (ValidatingAdmissionPolicyStatusArgs) ToValidatingAdmissionPolicyStatusPtrOutputWithContext ¶
func (i ValidatingAdmissionPolicyStatusArgs) ToValidatingAdmissionPolicyStatusPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyStatusPtrOutput
type ValidatingAdmissionPolicyStatusInput ¶
type ValidatingAdmissionPolicyStatusInput interface { pulumi.Input ToValidatingAdmissionPolicyStatusOutput() ValidatingAdmissionPolicyStatusOutput ToValidatingAdmissionPolicyStatusOutputWithContext(context.Context) ValidatingAdmissionPolicyStatusOutput }
ValidatingAdmissionPolicyStatusInput is an input type that accepts ValidatingAdmissionPolicyStatusArgs and ValidatingAdmissionPolicyStatusOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyStatusInput` via:
ValidatingAdmissionPolicyStatusArgs{...}
type ValidatingAdmissionPolicyStatusOutput ¶
type ValidatingAdmissionPolicyStatusOutput struct{ *pulumi.OutputState }
ValidatingAdmissionPolicyStatus represents the status of a ValidatingAdmissionPolicy.
func (ValidatingAdmissionPolicyStatusOutput) Conditions ¶
func (o ValidatingAdmissionPolicyStatusOutput) Conditions() metav1.ConditionArrayOutput
The conditions represent the latest available observations of a policy's current state.
func (ValidatingAdmissionPolicyStatusOutput) ElementType ¶
func (ValidatingAdmissionPolicyStatusOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyStatusOutput) ObservedGeneration ¶
func (o ValidatingAdmissionPolicyStatusOutput) ObservedGeneration() pulumi.IntPtrOutput
The generation observed by the controller.
func (ValidatingAdmissionPolicyStatusOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyStatusOutput) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyStatus]
func (ValidatingAdmissionPolicyStatusOutput) ToValidatingAdmissionPolicyStatusOutput ¶
func (o ValidatingAdmissionPolicyStatusOutput) ToValidatingAdmissionPolicyStatusOutput() ValidatingAdmissionPolicyStatusOutput
func (ValidatingAdmissionPolicyStatusOutput) ToValidatingAdmissionPolicyStatusOutputWithContext ¶
func (o ValidatingAdmissionPolicyStatusOutput) ToValidatingAdmissionPolicyStatusOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyStatusOutput
func (ValidatingAdmissionPolicyStatusOutput) ToValidatingAdmissionPolicyStatusPtrOutput ¶
func (o ValidatingAdmissionPolicyStatusOutput) ToValidatingAdmissionPolicyStatusPtrOutput() ValidatingAdmissionPolicyStatusPtrOutput
func (ValidatingAdmissionPolicyStatusOutput) ToValidatingAdmissionPolicyStatusPtrOutputWithContext ¶
func (o ValidatingAdmissionPolicyStatusOutput) ToValidatingAdmissionPolicyStatusPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyStatusPtrOutput
func (ValidatingAdmissionPolicyStatusOutput) TypeChecking ¶
func (o ValidatingAdmissionPolicyStatusOutput) TypeChecking() TypeCheckingPtrOutput
The results of type checking for each expression. Presence of this field indicates the completion of the type checking.
type ValidatingAdmissionPolicyStatusPatch ¶
type ValidatingAdmissionPolicyStatusPatch struct { // The conditions represent the latest available observations of a policy's current state. Conditions []metav1.ConditionPatch `pulumi:"conditions"` // The generation observed by the controller. ObservedGeneration *int `pulumi:"observedGeneration"` // The results of type checking for each expression. Presence of this field indicates the completion of the type checking. TypeChecking *TypeCheckingPatch `pulumi:"typeChecking"` }
ValidatingAdmissionPolicyStatus represents the status of a ValidatingAdmissionPolicy.
type ValidatingAdmissionPolicyStatusPatchArgs ¶
type ValidatingAdmissionPolicyStatusPatchArgs struct { // The conditions represent the latest available observations of a policy's current state. Conditions metav1.ConditionPatchArrayInput `pulumi:"conditions"` // The generation observed by the controller. ObservedGeneration pulumi.IntPtrInput `pulumi:"observedGeneration"` // The results of type checking for each expression. Presence of this field indicates the completion of the type checking. TypeChecking TypeCheckingPatchPtrInput `pulumi:"typeChecking"` }
ValidatingAdmissionPolicyStatus represents the status of a ValidatingAdmissionPolicy.
func (ValidatingAdmissionPolicyStatusPatchArgs) ElementType ¶
func (ValidatingAdmissionPolicyStatusPatchArgs) ElementType() reflect.Type
func (ValidatingAdmissionPolicyStatusPatchArgs) ToOutput ¶ added in v4.2.0
func (i ValidatingAdmissionPolicyStatusPatchArgs) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyStatusPatch]
func (ValidatingAdmissionPolicyStatusPatchArgs) ToValidatingAdmissionPolicyStatusPatchOutput ¶
func (i ValidatingAdmissionPolicyStatusPatchArgs) ToValidatingAdmissionPolicyStatusPatchOutput() ValidatingAdmissionPolicyStatusPatchOutput
func (ValidatingAdmissionPolicyStatusPatchArgs) ToValidatingAdmissionPolicyStatusPatchOutputWithContext ¶
func (i ValidatingAdmissionPolicyStatusPatchArgs) ToValidatingAdmissionPolicyStatusPatchOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyStatusPatchOutput
func (ValidatingAdmissionPolicyStatusPatchArgs) ToValidatingAdmissionPolicyStatusPatchPtrOutput ¶
func (i ValidatingAdmissionPolicyStatusPatchArgs) ToValidatingAdmissionPolicyStatusPatchPtrOutput() ValidatingAdmissionPolicyStatusPatchPtrOutput
func (ValidatingAdmissionPolicyStatusPatchArgs) ToValidatingAdmissionPolicyStatusPatchPtrOutputWithContext ¶
func (i ValidatingAdmissionPolicyStatusPatchArgs) ToValidatingAdmissionPolicyStatusPatchPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyStatusPatchPtrOutput
type ValidatingAdmissionPolicyStatusPatchInput ¶
type ValidatingAdmissionPolicyStatusPatchInput interface { pulumi.Input ToValidatingAdmissionPolicyStatusPatchOutput() ValidatingAdmissionPolicyStatusPatchOutput ToValidatingAdmissionPolicyStatusPatchOutputWithContext(context.Context) ValidatingAdmissionPolicyStatusPatchOutput }
ValidatingAdmissionPolicyStatusPatchInput is an input type that accepts ValidatingAdmissionPolicyStatusPatchArgs and ValidatingAdmissionPolicyStatusPatchOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyStatusPatchInput` via:
ValidatingAdmissionPolicyStatusPatchArgs{...}
type ValidatingAdmissionPolicyStatusPatchOutput ¶
type ValidatingAdmissionPolicyStatusPatchOutput struct{ *pulumi.OutputState }
ValidatingAdmissionPolicyStatus represents the status of a ValidatingAdmissionPolicy.
func (ValidatingAdmissionPolicyStatusPatchOutput) Conditions ¶
func (o ValidatingAdmissionPolicyStatusPatchOutput) Conditions() metav1.ConditionPatchArrayOutput
The conditions represent the latest available observations of a policy's current state.
func (ValidatingAdmissionPolicyStatusPatchOutput) ElementType ¶
func (ValidatingAdmissionPolicyStatusPatchOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyStatusPatchOutput) ObservedGeneration ¶
func (o ValidatingAdmissionPolicyStatusPatchOutput) ObservedGeneration() pulumi.IntPtrOutput
The generation observed by the controller.
func (ValidatingAdmissionPolicyStatusPatchOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyStatusPatchOutput) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyStatusPatch]
func (ValidatingAdmissionPolicyStatusPatchOutput) ToValidatingAdmissionPolicyStatusPatchOutput ¶
func (o ValidatingAdmissionPolicyStatusPatchOutput) ToValidatingAdmissionPolicyStatusPatchOutput() ValidatingAdmissionPolicyStatusPatchOutput
func (ValidatingAdmissionPolicyStatusPatchOutput) ToValidatingAdmissionPolicyStatusPatchOutputWithContext ¶
func (o ValidatingAdmissionPolicyStatusPatchOutput) ToValidatingAdmissionPolicyStatusPatchOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyStatusPatchOutput
func (ValidatingAdmissionPolicyStatusPatchOutput) ToValidatingAdmissionPolicyStatusPatchPtrOutput ¶
func (o ValidatingAdmissionPolicyStatusPatchOutput) ToValidatingAdmissionPolicyStatusPatchPtrOutput() ValidatingAdmissionPolicyStatusPatchPtrOutput
func (ValidatingAdmissionPolicyStatusPatchOutput) ToValidatingAdmissionPolicyStatusPatchPtrOutputWithContext ¶
func (o ValidatingAdmissionPolicyStatusPatchOutput) ToValidatingAdmissionPolicyStatusPatchPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyStatusPatchPtrOutput
func (ValidatingAdmissionPolicyStatusPatchOutput) TypeChecking ¶
func (o ValidatingAdmissionPolicyStatusPatchOutput) TypeChecking() TypeCheckingPatchPtrOutput
The results of type checking for each expression. Presence of this field indicates the completion of the type checking.
type ValidatingAdmissionPolicyStatusPatchPtrInput ¶
type ValidatingAdmissionPolicyStatusPatchPtrInput interface { pulumi.Input ToValidatingAdmissionPolicyStatusPatchPtrOutput() ValidatingAdmissionPolicyStatusPatchPtrOutput ToValidatingAdmissionPolicyStatusPatchPtrOutputWithContext(context.Context) ValidatingAdmissionPolicyStatusPatchPtrOutput }
ValidatingAdmissionPolicyStatusPatchPtrInput is an input type that accepts ValidatingAdmissionPolicyStatusPatchArgs, ValidatingAdmissionPolicyStatusPatchPtr and ValidatingAdmissionPolicyStatusPatchPtrOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyStatusPatchPtrInput` via:
ValidatingAdmissionPolicyStatusPatchArgs{...} or: nil
func ValidatingAdmissionPolicyStatusPatchPtr ¶
func ValidatingAdmissionPolicyStatusPatchPtr(v *ValidatingAdmissionPolicyStatusPatchArgs) ValidatingAdmissionPolicyStatusPatchPtrInput
type ValidatingAdmissionPolicyStatusPatchPtrOutput ¶
type ValidatingAdmissionPolicyStatusPatchPtrOutput struct{ *pulumi.OutputState }
func (ValidatingAdmissionPolicyStatusPatchPtrOutput) Conditions ¶
func (o ValidatingAdmissionPolicyStatusPatchPtrOutput) Conditions() metav1.ConditionPatchArrayOutput
The conditions represent the latest available observations of a policy's current state.
func (ValidatingAdmissionPolicyStatusPatchPtrOutput) ElementType ¶
func (ValidatingAdmissionPolicyStatusPatchPtrOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyStatusPatchPtrOutput) ObservedGeneration ¶
func (o ValidatingAdmissionPolicyStatusPatchPtrOutput) ObservedGeneration() pulumi.IntPtrOutput
The generation observed by the controller.
func (ValidatingAdmissionPolicyStatusPatchPtrOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyStatusPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyStatusPatch]
func (ValidatingAdmissionPolicyStatusPatchPtrOutput) ToValidatingAdmissionPolicyStatusPatchPtrOutput ¶
func (o ValidatingAdmissionPolicyStatusPatchPtrOutput) ToValidatingAdmissionPolicyStatusPatchPtrOutput() ValidatingAdmissionPolicyStatusPatchPtrOutput
func (ValidatingAdmissionPolicyStatusPatchPtrOutput) ToValidatingAdmissionPolicyStatusPatchPtrOutputWithContext ¶
func (o ValidatingAdmissionPolicyStatusPatchPtrOutput) ToValidatingAdmissionPolicyStatusPatchPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyStatusPatchPtrOutput
func (ValidatingAdmissionPolicyStatusPatchPtrOutput) TypeChecking ¶
func (o ValidatingAdmissionPolicyStatusPatchPtrOutput) TypeChecking() TypeCheckingPatchPtrOutput
The results of type checking for each expression. Presence of this field indicates the completion of the type checking.
type ValidatingAdmissionPolicyStatusPtrInput ¶
type ValidatingAdmissionPolicyStatusPtrInput interface { pulumi.Input ToValidatingAdmissionPolicyStatusPtrOutput() ValidatingAdmissionPolicyStatusPtrOutput ToValidatingAdmissionPolicyStatusPtrOutputWithContext(context.Context) ValidatingAdmissionPolicyStatusPtrOutput }
ValidatingAdmissionPolicyStatusPtrInput is an input type that accepts ValidatingAdmissionPolicyStatusArgs, ValidatingAdmissionPolicyStatusPtr and ValidatingAdmissionPolicyStatusPtrOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyStatusPtrInput` via:
ValidatingAdmissionPolicyStatusArgs{...} or: nil
func ValidatingAdmissionPolicyStatusPtr ¶
func ValidatingAdmissionPolicyStatusPtr(v *ValidatingAdmissionPolicyStatusArgs) ValidatingAdmissionPolicyStatusPtrInput
type ValidatingAdmissionPolicyStatusPtrOutput ¶
type ValidatingAdmissionPolicyStatusPtrOutput struct{ *pulumi.OutputState }
func (ValidatingAdmissionPolicyStatusPtrOutput) Conditions ¶
func (o ValidatingAdmissionPolicyStatusPtrOutput) Conditions() metav1.ConditionArrayOutput
The conditions represent the latest available observations of a policy's current state.
func (ValidatingAdmissionPolicyStatusPtrOutput) ElementType ¶
func (ValidatingAdmissionPolicyStatusPtrOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyStatusPtrOutput) ObservedGeneration ¶
func (o ValidatingAdmissionPolicyStatusPtrOutput) ObservedGeneration() pulumi.IntPtrOutput
The generation observed by the controller.
func (ValidatingAdmissionPolicyStatusPtrOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidatingAdmissionPolicyStatus]
func (ValidatingAdmissionPolicyStatusPtrOutput) ToValidatingAdmissionPolicyStatusPtrOutput ¶
func (o ValidatingAdmissionPolicyStatusPtrOutput) ToValidatingAdmissionPolicyStatusPtrOutput() ValidatingAdmissionPolicyStatusPtrOutput
func (ValidatingAdmissionPolicyStatusPtrOutput) ToValidatingAdmissionPolicyStatusPtrOutputWithContext ¶
func (o ValidatingAdmissionPolicyStatusPtrOutput) ToValidatingAdmissionPolicyStatusPtrOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyStatusPtrOutput
func (ValidatingAdmissionPolicyStatusPtrOutput) TypeChecking ¶
func (o ValidatingAdmissionPolicyStatusPtrOutput) TypeChecking() TypeCheckingPtrOutput
The results of type checking for each expression. Presence of this field indicates the completion of the type checking.
type ValidatingAdmissionPolicyType ¶
type ValidatingAdmissionPolicyType 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 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 ValidatingAdmissionPolicy. Spec *ValidatingAdmissionPolicySpec `pulumi:"spec"` // The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only. Status *ValidatingAdmissionPolicyStatus `pulumi:"status"` }
ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
type ValidatingAdmissionPolicyTypeArgs ¶
type ValidatingAdmissionPolicyTypeArgs 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 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 ValidatingAdmissionPolicy. Spec ValidatingAdmissionPolicySpecPtrInput `pulumi:"spec"` // The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only. Status ValidatingAdmissionPolicyStatusPtrInput `pulumi:"status"` }
ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
func (ValidatingAdmissionPolicyTypeArgs) ElementType ¶
func (ValidatingAdmissionPolicyTypeArgs) ElementType() reflect.Type
func (ValidatingAdmissionPolicyTypeArgs) ToOutput ¶ added in v4.2.0
func (i ValidatingAdmissionPolicyTypeArgs) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyType]
func (ValidatingAdmissionPolicyTypeArgs) ToValidatingAdmissionPolicyTypeOutput ¶
func (i ValidatingAdmissionPolicyTypeArgs) ToValidatingAdmissionPolicyTypeOutput() ValidatingAdmissionPolicyTypeOutput
func (ValidatingAdmissionPolicyTypeArgs) ToValidatingAdmissionPolicyTypeOutputWithContext ¶
func (i ValidatingAdmissionPolicyTypeArgs) ToValidatingAdmissionPolicyTypeOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyTypeOutput
type ValidatingAdmissionPolicyTypeArray ¶
type ValidatingAdmissionPolicyTypeArray []ValidatingAdmissionPolicyTypeInput
func (ValidatingAdmissionPolicyTypeArray) ElementType ¶
func (ValidatingAdmissionPolicyTypeArray) ElementType() reflect.Type
func (ValidatingAdmissionPolicyTypeArray) ToOutput ¶ added in v4.2.0
func (i ValidatingAdmissionPolicyTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]ValidatingAdmissionPolicyType]
func (ValidatingAdmissionPolicyTypeArray) ToValidatingAdmissionPolicyTypeArrayOutput ¶
func (i ValidatingAdmissionPolicyTypeArray) ToValidatingAdmissionPolicyTypeArrayOutput() ValidatingAdmissionPolicyTypeArrayOutput
func (ValidatingAdmissionPolicyTypeArray) ToValidatingAdmissionPolicyTypeArrayOutputWithContext ¶
func (i ValidatingAdmissionPolicyTypeArray) ToValidatingAdmissionPolicyTypeArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyTypeArrayOutput
type ValidatingAdmissionPolicyTypeArrayInput ¶
type ValidatingAdmissionPolicyTypeArrayInput interface { pulumi.Input ToValidatingAdmissionPolicyTypeArrayOutput() ValidatingAdmissionPolicyTypeArrayOutput ToValidatingAdmissionPolicyTypeArrayOutputWithContext(context.Context) ValidatingAdmissionPolicyTypeArrayOutput }
ValidatingAdmissionPolicyTypeArrayInput is an input type that accepts ValidatingAdmissionPolicyTypeArray and ValidatingAdmissionPolicyTypeArrayOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyTypeArrayInput` via:
ValidatingAdmissionPolicyTypeArray{ ValidatingAdmissionPolicyTypeArgs{...} }
type ValidatingAdmissionPolicyTypeArrayOutput ¶
type ValidatingAdmissionPolicyTypeArrayOutput struct{ *pulumi.OutputState }
func (ValidatingAdmissionPolicyTypeArrayOutput) ElementType ¶
func (ValidatingAdmissionPolicyTypeArrayOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyTypeArrayOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ValidatingAdmissionPolicyType]
func (ValidatingAdmissionPolicyTypeArrayOutput) ToValidatingAdmissionPolicyTypeArrayOutput ¶
func (o ValidatingAdmissionPolicyTypeArrayOutput) ToValidatingAdmissionPolicyTypeArrayOutput() ValidatingAdmissionPolicyTypeArrayOutput
func (ValidatingAdmissionPolicyTypeArrayOutput) ToValidatingAdmissionPolicyTypeArrayOutputWithContext ¶
func (o ValidatingAdmissionPolicyTypeArrayOutput) ToValidatingAdmissionPolicyTypeArrayOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyTypeArrayOutput
type ValidatingAdmissionPolicyTypeInput ¶
type ValidatingAdmissionPolicyTypeInput interface { pulumi.Input ToValidatingAdmissionPolicyTypeOutput() ValidatingAdmissionPolicyTypeOutput ToValidatingAdmissionPolicyTypeOutputWithContext(context.Context) ValidatingAdmissionPolicyTypeOutput }
ValidatingAdmissionPolicyTypeInput is an input type that accepts ValidatingAdmissionPolicyTypeArgs and ValidatingAdmissionPolicyTypeOutput values. You can construct a concrete instance of `ValidatingAdmissionPolicyTypeInput` via:
ValidatingAdmissionPolicyTypeArgs{...}
type ValidatingAdmissionPolicyTypeOutput ¶
type ValidatingAdmissionPolicyTypeOutput struct{ *pulumi.OutputState }
ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
func (ValidatingAdmissionPolicyTypeOutput) ApiVersion ¶
func (o ValidatingAdmissionPolicyTypeOutput) 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 (ValidatingAdmissionPolicyTypeOutput) ElementType ¶
func (ValidatingAdmissionPolicyTypeOutput) ElementType() reflect.Type
func (ValidatingAdmissionPolicyTypeOutput) Kind ¶
func (o ValidatingAdmissionPolicyTypeOutput) 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 (ValidatingAdmissionPolicyTypeOutput) Metadata ¶
func (o ValidatingAdmissionPolicyTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
func (ValidatingAdmissionPolicyTypeOutput) Spec ¶
Specification of the desired behavior of the ValidatingAdmissionPolicy.
func (ValidatingAdmissionPolicyTypeOutput) Status ¶
func (o ValidatingAdmissionPolicyTypeOutput) Status() ValidatingAdmissionPolicyStatusPtrOutput
The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only.
func (ValidatingAdmissionPolicyTypeOutput) ToOutput ¶ added in v4.2.0
func (o ValidatingAdmissionPolicyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ValidatingAdmissionPolicyType]
func (ValidatingAdmissionPolicyTypeOutput) ToValidatingAdmissionPolicyTypeOutput ¶
func (o ValidatingAdmissionPolicyTypeOutput) ToValidatingAdmissionPolicyTypeOutput() ValidatingAdmissionPolicyTypeOutput
func (ValidatingAdmissionPolicyTypeOutput) ToValidatingAdmissionPolicyTypeOutputWithContext ¶
func (o ValidatingAdmissionPolicyTypeOutput) ToValidatingAdmissionPolicyTypeOutputWithContext(ctx context.Context) ValidatingAdmissionPolicyTypeOutput
type Validation ¶
type Validation struct { // Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables: // // - 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value. // For example, a variable named 'foo' can be accessed as 'variables.foo'. // - 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request. // See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz // - 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the // request resource. // // The `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible. // // Only property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are: // "true", "false", "null", "in", "as", "break", "const", "continue", "else", "for", "function", "if", // "import", "let", "loop", "package", "namespace", "return". // Examples: // - Expression accessing a property named "namespace": {"Expression": "object.__namespace__ > 0"} // - Expression accessing a property named "x-prop": {"Expression": "object.x__dash__prop > 0"} // - Expression accessing a property named "redact__d": {"Expression": "object.redact__underscores__d > 0"} // // Equality on arrays with list type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type: // - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and // non-intersecting elements in `Y` are appended, retaining their partial order. // - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values // are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with // non-intersecting keys are appended, retaining their partial order. // Required. Expression string `pulumi:"expression"` // Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}". Message *string `pulumi:"message"` // messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")" MessageExpression *string `pulumi:"messageExpression"` // Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client. Reason *string `pulumi:"reason"` }
Validation specifies the CEL expression which is used to apply the validation.
type ValidationArgs ¶
type ValidationArgs struct { // Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables: // // - 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value. // For example, a variable named 'foo' can be accessed as 'variables.foo'. // - 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request. // See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz // - 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the // request resource. // // The `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible. // // Only property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are: // "true", "false", "null", "in", "as", "break", "const", "continue", "else", "for", "function", "if", // "import", "let", "loop", "package", "namespace", "return". // Examples: // - Expression accessing a property named "namespace": {"Expression": "object.__namespace__ > 0"} // - Expression accessing a property named "x-prop": {"Expression": "object.x__dash__prop > 0"} // - Expression accessing a property named "redact__d": {"Expression": "object.redact__underscores__d > 0"} // // Equality on arrays with list type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type: // - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and // non-intersecting elements in `Y` are appended, retaining their partial order. // - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values // are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with // non-intersecting keys are appended, retaining their partial order. // Required. Expression pulumi.StringInput `pulumi:"expression"` // Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}". Message pulumi.StringPtrInput `pulumi:"message"` // messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")" MessageExpression pulumi.StringPtrInput `pulumi:"messageExpression"` // Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client. Reason pulumi.StringPtrInput `pulumi:"reason"` }
Validation specifies the CEL expression which is used to apply the validation.
func (ValidationArgs) ElementType ¶
func (ValidationArgs) ElementType() reflect.Type
func (ValidationArgs) ToOutput ¶ added in v4.2.0
func (i ValidationArgs) ToOutput(ctx context.Context) pulumix.Output[Validation]
func (ValidationArgs) ToValidationOutput ¶
func (i ValidationArgs) ToValidationOutput() ValidationOutput
func (ValidationArgs) ToValidationOutputWithContext ¶
func (i ValidationArgs) ToValidationOutputWithContext(ctx context.Context) ValidationOutput
type ValidationArray ¶
type ValidationArray []ValidationInput
func (ValidationArray) ElementType ¶
func (ValidationArray) ElementType() reflect.Type
func (ValidationArray) ToOutput ¶ added in v4.2.0
func (i ValidationArray) ToOutput(ctx context.Context) pulumix.Output[[]Validation]
func (ValidationArray) ToValidationArrayOutput ¶
func (i ValidationArray) ToValidationArrayOutput() ValidationArrayOutput
func (ValidationArray) ToValidationArrayOutputWithContext ¶
func (i ValidationArray) ToValidationArrayOutputWithContext(ctx context.Context) ValidationArrayOutput
type ValidationArrayInput ¶
type ValidationArrayInput interface { pulumi.Input ToValidationArrayOutput() ValidationArrayOutput ToValidationArrayOutputWithContext(context.Context) ValidationArrayOutput }
ValidationArrayInput is an input type that accepts ValidationArray and ValidationArrayOutput values. You can construct a concrete instance of `ValidationArrayInput` via:
ValidationArray{ ValidationArgs{...} }
type ValidationArrayOutput ¶
type ValidationArrayOutput struct{ *pulumi.OutputState }
func (ValidationArrayOutput) ElementType ¶
func (ValidationArrayOutput) ElementType() reflect.Type
func (ValidationArrayOutput) Index ¶
func (o ValidationArrayOutput) Index(i pulumi.IntInput) ValidationOutput
func (ValidationArrayOutput) ToOutput ¶ added in v4.2.0
func (o ValidationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Validation]
func (ValidationArrayOutput) ToValidationArrayOutput ¶
func (o ValidationArrayOutput) ToValidationArrayOutput() ValidationArrayOutput
func (ValidationArrayOutput) ToValidationArrayOutputWithContext ¶
func (o ValidationArrayOutput) ToValidationArrayOutputWithContext(ctx context.Context) ValidationArrayOutput
type ValidationInput ¶
type ValidationInput interface { pulumi.Input ToValidationOutput() ValidationOutput ToValidationOutputWithContext(context.Context) ValidationOutput }
ValidationInput is an input type that accepts ValidationArgs and ValidationOutput values. You can construct a concrete instance of `ValidationInput` via:
ValidationArgs{...}
type ValidationOutput ¶
type ValidationOutput struct{ *pulumi.OutputState }
Validation specifies the CEL expression which is used to apply the validation.
func (ValidationOutput) ElementType ¶
func (ValidationOutput) ElementType() reflect.Type
func (ValidationOutput) Expression ¶
func (o ValidationOutput) Expression() pulumi.StringOutput
Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:
- 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value. For example, a variable named 'foo' can be accessed as 'variables.foo'.
- 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request. See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
- 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the request resource.
The `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible.
Only property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:
"true", "false", "null", "in", "as", "break", "const", "continue", "else", "for", "function", "if", "import", "let", "loop", "package", "namespace", "return".
Examples:
- Expression accessing a property named "namespace": {"Expression": "object.__namespace__ > 0"}
- Expression accessing a property named "x-prop": {"Expression": "object.x__dash__prop > 0"}
- Expression accessing a property named "redact__d": {"Expression": "object.redact__underscores__d > 0"}
Equality on arrays with list type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:
- 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and non-intersecting elements in `Y` are appended, retaining their partial order.
- 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with non-intersecting keys are appended, retaining their partial order. Required.
func (ValidationOutput) Message ¶
func (o ValidationOutput) Message() pulumi.StringPtrOutput
Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}".
func (ValidationOutput) MessageExpression ¶
func (o ValidationOutput) MessageExpression() pulumi.StringPtrOutput
messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")"
func (ValidationOutput) Reason ¶
func (o ValidationOutput) Reason() pulumi.StringPtrOutput
Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client.
func (ValidationOutput) ToOutput ¶ added in v4.2.0
func (o ValidationOutput) ToOutput(ctx context.Context) pulumix.Output[Validation]
func (ValidationOutput) ToValidationOutput ¶
func (o ValidationOutput) ToValidationOutput() ValidationOutput
func (ValidationOutput) ToValidationOutputWithContext ¶
func (o ValidationOutput) ToValidationOutputWithContext(ctx context.Context) ValidationOutput
type ValidationPatch ¶
type ValidationPatch struct { // Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables: // // - 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value. // For example, a variable named 'foo' can be accessed as 'variables.foo'. // - 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request. // See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz // - 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the // request resource. // // The `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible. // // Only property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are: // "true", "false", "null", "in", "as", "break", "const", "continue", "else", "for", "function", "if", // "import", "let", "loop", "package", "namespace", "return". // Examples: // - Expression accessing a property named "namespace": {"Expression": "object.__namespace__ > 0"} // - Expression accessing a property named "x-prop": {"Expression": "object.x__dash__prop > 0"} // - Expression accessing a property named "redact__d": {"Expression": "object.redact__underscores__d > 0"} // // Equality on arrays with list type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type: // - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and // non-intersecting elements in `Y` are appended, retaining their partial order. // - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values // are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with // non-intersecting keys are appended, retaining their partial order. // Required. Expression *string `pulumi:"expression"` // Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}". Message *string `pulumi:"message"` // messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")" MessageExpression *string `pulumi:"messageExpression"` // Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client. Reason *string `pulumi:"reason"` }
Validation specifies the CEL expression which is used to apply the validation.
type ValidationPatchArgs ¶
type ValidationPatchArgs struct { // Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables: // // - 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value. // For example, a variable named 'foo' can be accessed as 'variables.foo'. // - 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request. // See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz // - 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the // request resource. // // The `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible. // // Only property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are: // "true", "false", "null", "in", "as", "break", "const", "continue", "else", "for", "function", "if", // "import", "let", "loop", "package", "namespace", "return". // Examples: // - Expression accessing a property named "namespace": {"Expression": "object.__namespace__ > 0"} // - Expression accessing a property named "x-prop": {"Expression": "object.x__dash__prop > 0"} // - Expression accessing a property named "redact__d": {"Expression": "object.redact__underscores__d > 0"} // // Equality on arrays with list type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type: // - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and // non-intersecting elements in `Y` are appended, retaining their partial order. // - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values // are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with // non-intersecting keys are appended, retaining their partial order. // Required. Expression pulumi.StringPtrInput `pulumi:"expression"` // Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}". Message pulumi.StringPtrInput `pulumi:"message"` // messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")" MessageExpression pulumi.StringPtrInput `pulumi:"messageExpression"` // Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client. Reason pulumi.StringPtrInput `pulumi:"reason"` }
Validation specifies the CEL expression which is used to apply the validation.
func (ValidationPatchArgs) ElementType ¶
func (ValidationPatchArgs) ElementType() reflect.Type
func (ValidationPatchArgs) ToOutput ¶ added in v4.2.0
func (i ValidationPatchArgs) ToOutput(ctx context.Context) pulumix.Output[ValidationPatch]
func (ValidationPatchArgs) ToValidationPatchOutput ¶
func (i ValidationPatchArgs) ToValidationPatchOutput() ValidationPatchOutput
func (ValidationPatchArgs) ToValidationPatchOutputWithContext ¶
func (i ValidationPatchArgs) ToValidationPatchOutputWithContext(ctx context.Context) ValidationPatchOutput
type ValidationPatchArray ¶
type ValidationPatchArray []ValidationPatchInput
func (ValidationPatchArray) ElementType ¶
func (ValidationPatchArray) ElementType() reflect.Type
func (ValidationPatchArray) ToOutput ¶ added in v4.2.0
func (i ValidationPatchArray) ToOutput(ctx context.Context) pulumix.Output[[]ValidationPatch]
func (ValidationPatchArray) ToValidationPatchArrayOutput ¶
func (i ValidationPatchArray) ToValidationPatchArrayOutput() ValidationPatchArrayOutput
func (ValidationPatchArray) ToValidationPatchArrayOutputWithContext ¶
func (i ValidationPatchArray) ToValidationPatchArrayOutputWithContext(ctx context.Context) ValidationPatchArrayOutput
type ValidationPatchArrayInput ¶
type ValidationPatchArrayInput interface { pulumi.Input ToValidationPatchArrayOutput() ValidationPatchArrayOutput ToValidationPatchArrayOutputWithContext(context.Context) ValidationPatchArrayOutput }
ValidationPatchArrayInput is an input type that accepts ValidationPatchArray and ValidationPatchArrayOutput values. You can construct a concrete instance of `ValidationPatchArrayInput` via:
ValidationPatchArray{ ValidationPatchArgs{...} }
type ValidationPatchArrayOutput ¶
type ValidationPatchArrayOutput struct{ *pulumi.OutputState }
func (ValidationPatchArrayOutput) ElementType ¶
func (ValidationPatchArrayOutput) ElementType() reflect.Type
func (ValidationPatchArrayOutput) Index ¶
func (o ValidationPatchArrayOutput) Index(i pulumi.IntInput) ValidationPatchOutput
func (ValidationPatchArrayOutput) ToOutput ¶ added in v4.2.0
func (o ValidationPatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ValidationPatch]
func (ValidationPatchArrayOutput) ToValidationPatchArrayOutput ¶
func (o ValidationPatchArrayOutput) ToValidationPatchArrayOutput() ValidationPatchArrayOutput
func (ValidationPatchArrayOutput) ToValidationPatchArrayOutputWithContext ¶
func (o ValidationPatchArrayOutput) ToValidationPatchArrayOutputWithContext(ctx context.Context) ValidationPatchArrayOutput
type ValidationPatchInput ¶
type ValidationPatchInput interface { pulumi.Input ToValidationPatchOutput() ValidationPatchOutput ToValidationPatchOutputWithContext(context.Context) ValidationPatchOutput }
ValidationPatchInput is an input type that accepts ValidationPatchArgs and ValidationPatchOutput values. You can construct a concrete instance of `ValidationPatchInput` via:
ValidationPatchArgs{...}
type ValidationPatchOutput ¶
type ValidationPatchOutput struct{ *pulumi.OutputState }
Validation specifies the CEL expression which is used to apply the validation.
func (ValidationPatchOutput) ElementType ¶
func (ValidationPatchOutput) ElementType() reflect.Type
func (ValidationPatchOutput) Expression ¶
func (o ValidationPatchOutput) Expression() pulumi.StringPtrOutput
Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:
- 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value. For example, a variable named 'foo' can be accessed as 'variables.foo'.
- 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request. See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
- 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the request resource.
The `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible.
Only property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:
"true", "false", "null", "in", "as", "break", "const", "continue", "else", "for", "function", "if", "import", "let", "loop", "package", "namespace", "return".
Examples:
- Expression accessing a property named "namespace": {"Expression": "object.__namespace__ > 0"}
- Expression accessing a property named "x-prop": {"Expression": "object.x__dash__prop > 0"}
- Expression accessing a property named "redact__d": {"Expression": "object.redact__underscores__d > 0"}
Equality on arrays with list type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:
- 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and non-intersecting elements in `Y` are appended, retaining their partial order.
- 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with non-intersecting keys are appended, retaining their partial order. Required.
func (ValidationPatchOutput) Message ¶
func (o ValidationPatchOutput) Message() pulumi.StringPtrOutput
Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}".
func (ValidationPatchOutput) MessageExpression ¶
func (o ValidationPatchOutput) MessageExpression() pulumi.StringPtrOutput
messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")"
func (ValidationPatchOutput) Reason ¶
func (o ValidationPatchOutput) Reason() pulumi.StringPtrOutput
Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client.
func (ValidationPatchOutput) ToOutput ¶ added in v4.2.0
func (o ValidationPatchOutput) ToOutput(ctx context.Context) pulumix.Output[ValidationPatch]
func (ValidationPatchOutput) ToValidationPatchOutput ¶
func (o ValidationPatchOutput) ToValidationPatchOutput() ValidationPatchOutput
func (ValidationPatchOutput) ToValidationPatchOutputWithContext ¶
func (o ValidationPatchOutput) ToValidationPatchOutputWithContext(ctx context.Context) ValidationPatchOutput
type Variable ¶ added in v4.1.0
type Variable struct { // Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation. Expression string `pulumi:"expression"` // Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo` Name string `pulumi:"name"` }
Variable is the definition of a variable that is used for composition.
type VariableArgs ¶ added in v4.1.0
type VariableArgs struct { // Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation. Expression pulumi.StringInput `pulumi:"expression"` // Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo` Name pulumi.StringInput `pulumi:"name"` }
Variable is the definition of a variable that is used for composition.
func (VariableArgs) ElementType ¶ added in v4.1.0
func (VariableArgs) ElementType() reflect.Type
func (VariableArgs) ToVariableOutput ¶ added in v4.1.0
func (i VariableArgs) ToVariableOutput() VariableOutput
func (VariableArgs) ToVariableOutputWithContext ¶ added in v4.1.0
func (i VariableArgs) ToVariableOutputWithContext(ctx context.Context) VariableOutput
type VariableArray ¶ added in v4.1.0
type VariableArray []VariableInput
func (VariableArray) ElementType ¶ added in v4.1.0
func (VariableArray) ElementType() reflect.Type
func (VariableArray) ToVariableArrayOutput ¶ added in v4.1.0
func (i VariableArray) ToVariableArrayOutput() VariableArrayOutput
func (VariableArray) ToVariableArrayOutputWithContext ¶ added in v4.1.0
func (i VariableArray) ToVariableArrayOutputWithContext(ctx context.Context) VariableArrayOutput
type VariableArrayInput ¶ added in v4.1.0
type VariableArrayInput interface { pulumi.Input ToVariableArrayOutput() VariableArrayOutput ToVariableArrayOutputWithContext(context.Context) VariableArrayOutput }
VariableArrayInput is an input type that accepts VariableArray and VariableArrayOutput values. You can construct a concrete instance of `VariableArrayInput` via:
VariableArray{ VariableArgs{...} }
type VariableArrayOutput ¶ added in v4.1.0
type VariableArrayOutput struct{ *pulumi.OutputState }
func (VariableArrayOutput) ElementType ¶ added in v4.1.0
func (VariableArrayOutput) ElementType() reflect.Type
func (VariableArrayOutput) Index ¶ added in v4.1.0
func (o VariableArrayOutput) Index(i pulumi.IntInput) VariableOutput
func (VariableArrayOutput) ToVariableArrayOutput ¶ added in v4.1.0
func (o VariableArrayOutput) ToVariableArrayOutput() VariableArrayOutput
func (VariableArrayOutput) ToVariableArrayOutputWithContext ¶ added in v4.1.0
func (o VariableArrayOutput) ToVariableArrayOutputWithContext(ctx context.Context) VariableArrayOutput
type VariableInput ¶ added in v4.1.0
type VariableInput interface { pulumi.Input ToVariableOutput() VariableOutput ToVariableOutputWithContext(context.Context) VariableOutput }
VariableInput is an input type that accepts VariableArgs and VariableOutput values. You can construct a concrete instance of `VariableInput` via:
VariableArgs{...}
type VariableOutput ¶ added in v4.1.0
type VariableOutput struct{ *pulumi.OutputState }
Variable is the definition of a variable that is used for composition.
func (VariableOutput) ElementType ¶ added in v4.1.0
func (VariableOutput) ElementType() reflect.Type
func (VariableOutput) Expression ¶ added in v4.1.0
func (o VariableOutput) Expression() pulumi.StringOutput
Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.
func (VariableOutput) Name ¶ added in v4.1.0
func (o VariableOutput) Name() pulumi.StringOutput
Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`
func (VariableOutput) ToVariableOutput ¶ added in v4.1.0
func (o VariableOutput) ToVariableOutput() VariableOutput
func (VariableOutput) ToVariableOutputWithContext ¶ added in v4.1.0
func (o VariableOutput) ToVariableOutputWithContext(ctx context.Context) VariableOutput
type VariablePatch ¶ added in v4.1.0
type VariablePatch struct { // Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation. Expression *string `pulumi:"expression"` // Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo` Name *string `pulumi:"name"` }
Variable is the definition of a variable that is used for composition.
type VariablePatchArgs ¶ added in v4.1.0
type VariablePatchArgs struct { // Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation. Expression pulumi.StringPtrInput `pulumi:"expression"` // Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo` Name pulumi.StringPtrInput `pulumi:"name"` }
Variable is the definition of a variable that is used for composition.
func (VariablePatchArgs) ElementType ¶ added in v4.1.0
func (VariablePatchArgs) ElementType() reflect.Type
func (VariablePatchArgs) ToOutput ¶ added in v4.2.0
func (i VariablePatchArgs) ToOutput(ctx context.Context) pulumix.Output[VariablePatch]
func (VariablePatchArgs) ToVariablePatchOutput ¶ added in v4.1.0
func (i VariablePatchArgs) ToVariablePatchOutput() VariablePatchOutput
func (VariablePatchArgs) ToVariablePatchOutputWithContext ¶ added in v4.1.0
func (i VariablePatchArgs) ToVariablePatchOutputWithContext(ctx context.Context) VariablePatchOutput
type VariablePatchArray ¶ added in v4.1.0
type VariablePatchArray []VariablePatchInput
func (VariablePatchArray) ElementType ¶ added in v4.1.0
func (VariablePatchArray) ElementType() reflect.Type
func (VariablePatchArray) ToOutput ¶ added in v4.2.0
func (i VariablePatchArray) ToOutput(ctx context.Context) pulumix.Output[[]VariablePatch]
func (VariablePatchArray) ToVariablePatchArrayOutput ¶ added in v4.1.0
func (i VariablePatchArray) ToVariablePatchArrayOutput() VariablePatchArrayOutput
func (VariablePatchArray) ToVariablePatchArrayOutputWithContext ¶ added in v4.1.0
func (i VariablePatchArray) ToVariablePatchArrayOutputWithContext(ctx context.Context) VariablePatchArrayOutput
type VariablePatchArrayInput ¶ added in v4.1.0
type VariablePatchArrayInput interface { pulumi.Input ToVariablePatchArrayOutput() VariablePatchArrayOutput ToVariablePatchArrayOutputWithContext(context.Context) VariablePatchArrayOutput }
VariablePatchArrayInput is an input type that accepts VariablePatchArray and VariablePatchArrayOutput values. You can construct a concrete instance of `VariablePatchArrayInput` via:
VariablePatchArray{ VariablePatchArgs{...} }
type VariablePatchArrayOutput ¶ added in v4.1.0
type VariablePatchArrayOutput struct{ *pulumi.OutputState }
func (VariablePatchArrayOutput) ElementType ¶ added in v4.1.0
func (VariablePatchArrayOutput) ElementType() reflect.Type
func (VariablePatchArrayOutput) Index ¶ added in v4.1.0
func (o VariablePatchArrayOutput) Index(i pulumi.IntInput) VariablePatchOutput
func (VariablePatchArrayOutput) ToOutput ¶ added in v4.2.0
func (o VariablePatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VariablePatch]
func (VariablePatchArrayOutput) ToVariablePatchArrayOutput ¶ added in v4.1.0
func (o VariablePatchArrayOutput) ToVariablePatchArrayOutput() VariablePatchArrayOutput
func (VariablePatchArrayOutput) ToVariablePatchArrayOutputWithContext ¶ added in v4.1.0
func (o VariablePatchArrayOutput) ToVariablePatchArrayOutputWithContext(ctx context.Context) VariablePatchArrayOutput
type VariablePatchInput ¶ added in v4.1.0
type VariablePatchInput interface { pulumi.Input ToVariablePatchOutput() VariablePatchOutput ToVariablePatchOutputWithContext(context.Context) VariablePatchOutput }
VariablePatchInput is an input type that accepts VariablePatchArgs and VariablePatchOutput values. You can construct a concrete instance of `VariablePatchInput` via:
VariablePatchArgs{...}
type VariablePatchOutput ¶ added in v4.1.0
type VariablePatchOutput struct{ *pulumi.OutputState }
Variable is the definition of a variable that is used for composition.
func (VariablePatchOutput) ElementType ¶ added in v4.1.0
func (VariablePatchOutput) ElementType() reflect.Type
func (VariablePatchOutput) Expression ¶ added in v4.1.0
func (o VariablePatchOutput) Expression() pulumi.StringPtrOutput
Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.
func (VariablePatchOutput) Name ¶ added in v4.1.0
func (o VariablePatchOutput) Name() pulumi.StringPtrOutput
Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`
func (VariablePatchOutput) ToOutput ¶ added in v4.2.0
func (o VariablePatchOutput) ToOutput(ctx context.Context) pulumix.Output[VariablePatch]
func (VariablePatchOutput) ToVariablePatchOutput ¶ added in v4.1.0
func (o VariablePatchOutput) ToVariablePatchOutput() VariablePatchOutput
func (VariablePatchOutput) ToVariablePatchOutputWithContext ¶ added in v4.1.0
func (o VariablePatchOutput) ToVariablePatchOutputWithContext(ctx context.Context) VariablePatchOutput