Documentation ¶
Index ¶
- type PriorityClass
- type PriorityClassArgs
- type PriorityClassArray
- type PriorityClassArrayInput
- type PriorityClassArrayOutput
- func (PriorityClassArrayOutput) ElementType() reflect.Type
- func (o PriorityClassArrayOutput) Index(i pulumi.IntInput) PriorityClassOutput
- func (o PriorityClassArrayOutput) ToPriorityClassArrayOutput() PriorityClassArrayOutput
- func (o PriorityClassArrayOutput) ToPriorityClassArrayOutputWithContext(ctx context.Context) PriorityClassArrayOutput
- type PriorityClassInput
- type PriorityClassList
- type PriorityClassListArgs
- type PriorityClassListArray
- type PriorityClassListArrayInput
- type PriorityClassListArrayOutput
- func (PriorityClassListArrayOutput) ElementType() reflect.Type
- func (o PriorityClassListArrayOutput) Index(i pulumi.IntInput) PriorityClassListOutput
- func (o PriorityClassListArrayOutput) ToPriorityClassListArrayOutput() PriorityClassListArrayOutput
- func (o PriorityClassListArrayOutput) ToPriorityClassListArrayOutputWithContext(ctx context.Context) PriorityClassListArrayOutput
- type PriorityClassListInput
- type PriorityClassListMap
- type PriorityClassListMapInput
- type PriorityClassListMapOutput
- func (PriorityClassListMapOutput) ElementType() reflect.Type
- func (o PriorityClassListMapOutput) MapIndex(k pulumi.StringInput) PriorityClassListOutput
- func (o PriorityClassListMapOutput) ToPriorityClassListMapOutput() PriorityClassListMapOutput
- func (o PriorityClassListMapOutput) ToPriorityClassListMapOutputWithContext(ctx context.Context) PriorityClassListMapOutput
- type PriorityClassListOutput
- func (o PriorityClassListOutput) ApiVersion() pulumi.StringOutput
- func (PriorityClassListOutput) ElementType() reflect.Type
- func (o PriorityClassListOutput) Items() PriorityClassTypeArrayOutput
- func (o PriorityClassListOutput) Kind() pulumi.StringOutput
- func (o PriorityClassListOutput) Metadata() metav1.ListMetaOutput
- func (o PriorityClassListOutput) ToPriorityClassListOutput() PriorityClassListOutput
- func (o PriorityClassListOutput) ToPriorityClassListOutputWithContext(ctx context.Context) PriorityClassListOutput
- type PriorityClassListState
- type PriorityClassListType
- type PriorityClassListTypeArgs
- type PriorityClassListTypeInput
- type PriorityClassListTypeOutput
- func (o PriorityClassListTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (PriorityClassListTypeOutput) ElementType() reflect.Type
- func (o PriorityClassListTypeOutput) Items() PriorityClassTypeArrayOutput
- func (o PriorityClassListTypeOutput) Kind() pulumi.StringPtrOutput
- func (o PriorityClassListTypeOutput) Metadata() metav1.ListMetaPtrOutput
- func (o PriorityClassListTypeOutput) ToPriorityClassListTypeOutput() PriorityClassListTypeOutput
- func (o PriorityClassListTypeOutput) ToPriorityClassListTypeOutputWithContext(ctx context.Context) PriorityClassListTypeOutput
- type PriorityClassMap
- type PriorityClassMapInput
- type PriorityClassMapOutput
- func (PriorityClassMapOutput) ElementType() reflect.Type
- func (o PriorityClassMapOutput) MapIndex(k pulumi.StringInput) PriorityClassOutput
- func (o PriorityClassMapOutput) ToPriorityClassMapOutput() PriorityClassMapOutput
- func (o PriorityClassMapOutput) ToPriorityClassMapOutputWithContext(ctx context.Context) PriorityClassMapOutput
- type PriorityClassOutput
- func (o PriorityClassOutput) ApiVersion() pulumi.StringOutput
- func (o PriorityClassOutput) Description() pulumi.StringOutput
- func (PriorityClassOutput) ElementType() reflect.Type
- func (o PriorityClassOutput) GlobalDefault() pulumi.BoolOutput
- func (o PriorityClassOutput) Kind() pulumi.StringOutput
- func (o PriorityClassOutput) Metadata() metav1.ObjectMetaOutput
- func (o PriorityClassOutput) PreemptionPolicy() pulumi.StringOutput
- func (o PriorityClassOutput) ToPriorityClassOutput() PriorityClassOutput
- func (o PriorityClassOutput) ToPriorityClassOutputWithContext(ctx context.Context) PriorityClassOutput
- func (o PriorityClassOutput) Value() pulumi.IntOutput
- type PriorityClassPatch
- type PriorityClassPatchArgs
- type PriorityClassPatchArray
- type PriorityClassPatchArrayInput
- type PriorityClassPatchArrayOutput
- func (PriorityClassPatchArrayOutput) ElementType() reflect.Type
- func (o PriorityClassPatchArrayOutput) Index(i pulumi.IntInput) PriorityClassPatchOutput
- func (o PriorityClassPatchArrayOutput) ToPriorityClassPatchArrayOutput() PriorityClassPatchArrayOutput
- func (o PriorityClassPatchArrayOutput) ToPriorityClassPatchArrayOutputWithContext(ctx context.Context) PriorityClassPatchArrayOutput
- type PriorityClassPatchInput
- type PriorityClassPatchMap
- type PriorityClassPatchMapInput
- type PriorityClassPatchMapOutput
- func (PriorityClassPatchMapOutput) ElementType() reflect.Type
- func (o PriorityClassPatchMapOutput) MapIndex(k pulumi.StringInput) PriorityClassPatchOutput
- func (o PriorityClassPatchMapOutput) ToPriorityClassPatchMapOutput() PriorityClassPatchMapOutput
- func (o PriorityClassPatchMapOutput) ToPriorityClassPatchMapOutputWithContext(ctx context.Context) PriorityClassPatchMapOutput
- type PriorityClassPatchOutput
- func (o PriorityClassPatchOutput) ApiVersion() pulumi.StringPtrOutput
- func (o PriorityClassPatchOutput) Description() pulumi.StringPtrOutput
- func (PriorityClassPatchOutput) ElementType() reflect.Type
- func (o PriorityClassPatchOutput) GlobalDefault() pulumi.BoolPtrOutput
- func (o PriorityClassPatchOutput) Kind() pulumi.StringPtrOutput
- func (o PriorityClassPatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o PriorityClassPatchOutput) PreemptionPolicy() pulumi.StringPtrOutput
- func (o PriorityClassPatchOutput) ToPriorityClassPatchOutput() PriorityClassPatchOutput
- func (o PriorityClassPatchOutput) ToPriorityClassPatchOutputWithContext(ctx context.Context) PriorityClassPatchOutput
- func (o PriorityClassPatchOutput) Value() pulumi.IntPtrOutput
- type PriorityClassPatchState
- type PriorityClassPatchType
- type PriorityClassPatchTypeArgs
- type PriorityClassPatchTypeInput
- type PriorityClassPatchTypeOutput
- func (o PriorityClassPatchTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (o PriorityClassPatchTypeOutput) Description() pulumi.StringPtrOutput
- func (PriorityClassPatchTypeOutput) ElementType() reflect.Type
- func (o PriorityClassPatchTypeOutput) GlobalDefault() pulumi.BoolPtrOutput
- func (o PriorityClassPatchTypeOutput) Kind() pulumi.StringPtrOutput
- func (o PriorityClassPatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o PriorityClassPatchTypeOutput) PreemptionPolicy() pulumi.StringPtrOutput
- func (o PriorityClassPatchTypeOutput) ToPriorityClassPatchTypeOutput() PriorityClassPatchTypeOutput
- func (o PriorityClassPatchTypeOutput) ToPriorityClassPatchTypeOutputWithContext(ctx context.Context) PriorityClassPatchTypeOutput
- func (o PriorityClassPatchTypeOutput) Value() pulumi.IntPtrOutput
- type PriorityClassState
- type PriorityClassType
- type PriorityClassTypeArgs
- type PriorityClassTypeArray
- type PriorityClassTypeArrayInput
- type PriorityClassTypeArrayOutput
- func (PriorityClassTypeArrayOutput) ElementType() reflect.Type
- func (o PriorityClassTypeArrayOutput) Index(i pulumi.IntInput) PriorityClassTypeOutput
- func (o PriorityClassTypeArrayOutput) ToPriorityClassTypeArrayOutput() PriorityClassTypeArrayOutput
- func (o PriorityClassTypeArrayOutput) ToPriorityClassTypeArrayOutputWithContext(ctx context.Context) PriorityClassTypeArrayOutput
- type PriorityClassTypeInput
- type PriorityClassTypeOutput
- func (o PriorityClassTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (o PriorityClassTypeOutput) Description() pulumi.StringPtrOutput
- func (PriorityClassTypeOutput) ElementType() reflect.Type
- func (o PriorityClassTypeOutput) GlobalDefault() pulumi.BoolPtrOutput
- func (o PriorityClassTypeOutput) Kind() pulumi.StringPtrOutput
- func (o PriorityClassTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o PriorityClassTypeOutput) PreemptionPolicy() pulumi.StringPtrOutput
- func (o PriorityClassTypeOutput) ToPriorityClassTypeOutput() PriorityClassTypeOutput
- func (o PriorityClassTypeOutput) ToPriorityClassTypeOutputWithContext(ctx context.Context) PriorityClassTypeOutput
- func (o PriorityClassTypeOutput) Value() pulumi.IntOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PriorityClass ¶
type PriorityClass 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"` // description is an arbitrary string that usually provides guidelines on when this priority class should be used. Description pulumi.StringOutput `pulumi:"description"` // globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. GlobalDefault pulumi.BoolOutput `pulumi:"globalDefault"` // 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's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaOutput `pulumi:"metadata"` // preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. PreemptionPolicy pulumi.StringOutput `pulumi:"preemptionPolicy"` // value represents the integer value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. Value pulumi.IntOutput `pulumi:"value"` }
PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.
func GetPriorityClass ¶
func GetPriorityClass(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PriorityClassState, opts ...pulumi.ResourceOption) (*PriorityClass, error)
GetPriorityClass gets an existing PriorityClass 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 NewPriorityClass ¶
func NewPriorityClass(ctx *pulumi.Context, name string, args *PriorityClassArgs, opts ...pulumi.ResourceOption) (*PriorityClass, error)
NewPriorityClass registers a new resource with the given unique name, arguments, and options.
func (*PriorityClass) ElementType ¶
func (*PriorityClass) ElementType() reflect.Type
func (*PriorityClass) ToPriorityClassOutput ¶
func (i *PriorityClass) ToPriorityClassOutput() PriorityClassOutput
func (*PriorityClass) ToPriorityClassOutputWithContext ¶
func (i *PriorityClass) ToPriorityClassOutputWithContext(ctx context.Context) PriorityClassOutput
type PriorityClassArgs ¶
type PriorityClassArgs 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 // description is an arbitrary string that usually provides guidelines on when this priority class should be used. Description pulumi.StringPtrInput // globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. GlobalDefault pulumi.BoolPtrInput // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPtrInput // preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. PreemptionPolicy pulumi.StringPtrInput // value represents the integer value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. Value pulumi.IntInput }
The set of arguments for constructing a PriorityClass resource.
func (PriorityClassArgs) ElementType ¶
func (PriorityClassArgs) ElementType() reflect.Type
type PriorityClassArray ¶
type PriorityClassArray []PriorityClassInput
func (PriorityClassArray) ElementType ¶
func (PriorityClassArray) ElementType() reflect.Type
func (PriorityClassArray) ToPriorityClassArrayOutput ¶
func (i PriorityClassArray) ToPriorityClassArrayOutput() PriorityClassArrayOutput
func (PriorityClassArray) ToPriorityClassArrayOutputWithContext ¶
func (i PriorityClassArray) ToPriorityClassArrayOutputWithContext(ctx context.Context) PriorityClassArrayOutput
type PriorityClassArrayInput ¶
type PriorityClassArrayInput interface { pulumi.Input ToPriorityClassArrayOutput() PriorityClassArrayOutput ToPriorityClassArrayOutputWithContext(context.Context) PriorityClassArrayOutput }
PriorityClassArrayInput is an input type that accepts PriorityClassArray and PriorityClassArrayOutput values. You can construct a concrete instance of `PriorityClassArrayInput` via:
PriorityClassArray{ PriorityClassArgs{...} }
type PriorityClassArrayOutput ¶
type PriorityClassArrayOutput struct{ *pulumi.OutputState }
func (PriorityClassArrayOutput) ElementType ¶
func (PriorityClassArrayOutput) ElementType() reflect.Type
func (PriorityClassArrayOutput) Index ¶
func (o PriorityClassArrayOutput) Index(i pulumi.IntInput) PriorityClassOutput
func (PriorityClassArrayOutput) ToPriorityClassArrayOutput ¶
func (o PriorityClassArrayOutput) ToPriorityClassArrayOutput() PriorityClassArrayOutput
func (PriorityClassArrayOutput) ToPriorityClassArrayOutputWithContext ¶
func (o PriorityClassArrayOutput) ToPriorityClassArrayOutputWithContext(ctx context.Context) PriorityClassArrayOutput
type PriorityClassInput ¶
type PriorityClassInput interface { pulumi.Input ToPriorityClassOutput() PriorityClassOutput ToPriorityClassOutputWithContext(ctx context.Context) PriorityClassOutput }
type PriorityClassList ¶
type PriorityClassList 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"` // items is the list of PriorityClasses Items PriorityClassTypeArrayOutput `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#metadata Metadata metav1.ListMetaOutput `pulumi:"metadata"` }
PriorityClassList is a collection of priority classes.
func GetPriorityClassList ¶
func GetPriorityClassList(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PriorityClassListState, opts ...pulumi.ResourceOption) (*PriorityClassList, error)
GetPriorityClassList gets an existing PriorityClassList 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 NewPriorityClassList ¶
func NewPriorityClassList(ctx *pulumi.Context, name string, args *PriorityClassListArgs, opts ...pulumi.ResourceOption) (*PriorityClassList, error)
NewPriorityClassList registers a new resource with the given unique name, arguments, and options.
func (*PriorityClassList) ElementType ¶
func (*PriorityClassList) ElementType() reflect.Type
func (*PriorityClassList) ToPriorityClassListOutput ¶
func (i *PriorityClassList) ToPriorityClassListOutput() PriorityClassListOutput
func (*PriorityClassList) ToPriorityClassListOutputWithContext ¶
func (i *PriorityClassList) ToPriorityClassListOutputWithContext(ctx context.Context) PriorityClassListOutput
type PriorityClassListArgs ¶
type PriorityClassListArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput // items is the list of PriorityClasses Items PriorityClassTypeArrayInput // 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#metadata Metadata metav1.ListMetaPtrInput }
The set of arguments for constructing a PriorityClassList resource.
func (PriorityClassListArgs) ElementType ¶
func (PriorityClassListArgs) ElementType() reflect.Type
type PriorityClassListArray ¶
type PriorityClassListArray []PriorityClassListInput
func (PriorityClassListArray) ElementType ¶
func (PriorityClassListArray) ElementType() reflect.Type
func (PriorityClassListArray) ToPriorityClassListArrayOutput ¶
func (i PriorityClassListArray) ToPriorityClassListArrayOutput() PriorityClassListArrayOutput
func (PriorityClassListArray) ToPriorityClassListArrayOutputWithContext ¶
func (i PriorityClassListArray) ToPriorityClassListArrayOutputWithContext(ctx context.Context) PriorityClassListArrayOutput
type PriorityClassListArrayInput ¶
type PriorityClassListArrayInput interface { pulumi.Input ToPriorityClassListArrayOutput() PriorityClassListArrayOutput ToPriorityClassListArrayOutputWithContext(context.Context) PriorityClassListArrayOutput }
PriorityClassListArrayInput is an input type that accepts PriorityClassListArray and PriorityClassListArrayOutput values. You can construct a concrete instance of `PriorityClassListArrayInput` via:
PriorityClassListArray{ PriorityClassListArgs{...} }
type PriorityClassListArrayOutput ¶
type PriorityClassListArrayOutput struct{ *pulumi.OutputState }
func (PriorityClassListArrayOutput) ElementType ¶
func (PriorityClassListArrayOutput) ElementType() reflect.Type
func (PriorityClassListArrayOutput) Index ¶
func (o PriorityClassListArrayOutput) Index(i pulumi.IntInput) PriorityClassListOutput
func (PriorityClassListArrayOutput) ToPriorityClassListArrayOutput ¶
func (o PriorityClassListArrayOutput) ToPriorityClassListArrayOutput() PriorityClassListArrayOutput
func (PriorityClassListArrayOutput) ToPriorityClassListArrayOutputWithContext ¶
func (o PriorityClassListArrayOutput) ToPriorityClassListArrayOutputWithContext(ctx context.Context) PriorityClassListArrayOutput
type PriorityClassListInput ¶
type PriorityClassListInput interface { pulumi.Input ToPriorityClassListOutput() PriorityClassListOutput ToPriorityClassListOutputWithContext(ctx context.Context) PriorityClassListOutput }
type PriorityClassListMap ¶
type PriorityClassListMap map[string]PriorityClassListInput
func (PriorityClassListMap) ElementType ¶
func (PriorityClassListMap) ElementType() reflect.Type
func (PriorityClassListMap) ToPriorityClassListMapOutput ¶
func (i PriorityClassListMap) ToPriorityClassListMapOutput() PriorityClassListMapOutput
func (PriorityClassListMap) ToPriorityClassListMapOutputWithContext ¶
func (i PriorityClassListMap) ToPriorityClassListMapOutputWithContext(ctx context.Context) PriorityClassListMapOutput
type PriorityClassListMapInput ¶
type PriorityClassListMapInput interface { pulumi.Input ToPriorityClassListMapOutput() PriorityClassListMapOutput ToPriorityClassListMapOutputWithContext(context.Context) PriorityClassListMapOutput }
PriorityClassListMapInput is an input type that accepts PriorityClassListMap and PriorityClassListMapOutput values. You can construct a concrete instance of `PriorityClassListMapInput` via:
PriorityClassListMap{ "key": PriorityClassListArgs{...} }
type PriorityClassListMapOutput ¶
type PriorityClassListMapOutput struct{ *pulumi.OutputState }
func (PriorityClassListMapOutput) ElementType ¶
func (PriorityClassListMapOutput) ElementType() reflect.Type
func (PriorityClassListMapOutput) MapIndex ¶
func (o PriorityClassListMapOutput) MapIndex(k pulumi.StringInput) PriorityClassListOutput
func (PriorityClassListMapOutput) ToPriorityClassListMapOutput ¶
func (o PriorityClassListMapOutput) ToPriorityClassListMapOutput() PriorityClassListMapOutput
func (PriorityClassListMapOutput) ToPriorityClassListMapOutputWithContext ¶
func (o PriorityClassListMapOutput) ToPriorityClassListMapOutputWithContext(ctx context.Context) PriorityClassListMapOutput
type PriorityClassListOutput ¶
type PriorityClassListOutput struct{ *pulumi.OutputState }
func (PriorityClassListOutput) ApiVersion ¶
func (o PriorityClassListOutput) 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 (PriorityClassListOutput) ElementType ¶
func (PriorityClassListOutput) ElementType() reflect.Type
func (PriorityClassListOutput) Items ¶
func (o PriorityClassListOutput) Items() PriorityClassTypeArrayOutput
items is the list of PriorityClasses
func (PriorityClassListOutput) Kind ¶
func (o PriorityClassListOutput) 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 (PriorityClassListOutput) Metadata ¶
func (o PriorityClassListOutput) Metadata() metav1.ListMetaOutput
Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (PriorityClassListOutput) ToPriorityClassListOutput ¶
func (o PriorityClassListOutput) ToPriorityClassListOutput() PriorityClassListOutput
func (PriorityClassListOutput) ToPriorityClassListOutputWithContext ¶
func (o PriorityClassListOutput) ToPriorityClassListOutputWithContext(ctx context.Context) PriorityClassListOutput
type PriorityClassListState ¶
type PriorityClassListState struct { }
func (PriorityClassListState) ElementType ¶
func (PriorityClassListState) ElementType() reflect.Type
type PriorityClassListType ¶
type PriorityClassListType struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `pulumi:"apiVersion"` // items is the list of PriorityClasses Items []PriorityClassType `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#metadata Metadata *metav1.ListMeta `pulumi:"metadata"` }
PriorityClassList is a collection of priority classes.
type PriorityClassListTypeArgs ¶
type PriorityClassListTypeArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"` // items is the list of PriorityClasses Items PriorityClassTypeArrayInput `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#metadata Metadata metav1.ListMetaPtrInput `pulumi:"metadata"` }
PriorityClassList is a collection of priority classes.
func (PriorityClassListTypeArgs) ElementType ¶
func (PriorityClassListTypeArgs) ElementType() reflect.Type
func (PriorityClassListTypeArgs) ToPriorityClassListTypeOutput ¶
func (i PriorityClassListTypeArgs) ToPriorityClassListTypeOutput() PriorityClassListTypeOutput
func (PriorityClassListTypeArgs) ToPriorityClassListTypeOutputWithContext ¶
func (i PriorityClassListTypeArgs) ToPriorityClassListTypeOutputWithContext(ctx context.Context) PriorityClassListTypeOutput
type PriorityClassListTypeInput ¶
type PriorityClassListTypeInput interface { pulumi.Input ToPriorityClassListTypeOutput() PriorityClassListTypeOutput ToPriorityClassListTypeOutputWithContext(context.Context) PriorityClassListTypeOutput }
PriorityClassListTypeInput is an input type that accepts PriorityClassListTypeArgs and PriorityClassListTypeOutput values. You can construct a concrete instance of `PriorityClassListTypeInput` via:
PriorityClassListTypeArgs{...}
type PriorityClassListTypeOutput ¶
type PriorityClassListTypeOutput struct{ *pulumi.OutputState }
PriorityClassList is a collection of priority classes.
func (PriorityClassListTypeOutput) ApiVersion ¶
func (o PriorityClassListTypeOutput) 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 (PriorityClassListTypeOutput) ElementType ¶
func (PriorityClassListTypeOutput) ElementType() reflect.Type
func (PriorityClassListTypeOutput) Items ¶
func (o PriorityClassListTypeOutput) Items() PriorityClassTypeArrayOutput
items is the list of PriorityClasses
func (PriorityClassListTypeOutput) Kind ¶
func (o PriorityClassListTypeOutput) 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 (PriorityClassListTypeOutput) Metadata ¶
func (o PriorityClassListTypeOutput) Metadata() metav1.ListMetaPtrOutput
Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (PriorityClassListTypeOutput) ToPriorityClassListTypeOutput ¶
func (o PriorityClassListTypeOutput) ToPriorityClassListTypeOutput() PriorityClassListTypeOutput
func (PriorityClassListTypeOutput) ToPriorityClassListTypeOutputWithContext ¶
func (o PriorityClassListTypeOutput) ToPriorityClassListTypeOutputWithContext(ctx context.Context) PriorityClassListTypeOutput
type PriorityClassMap ¶
type PriorityClassMap map[string]PriorityClassInput
func (PriorityClassMap) ElementType ¶
func (PriorityClassMap) ElementType() reflect.Type
func (PriorityClassMap) ToPriorityClassMapOutput ¶
func (i PriorityClassMap) ToPriorityClassMapOutput() PriorityClassMapOutput
func (PriorityClassMap) ToPriorityClassMapOutputWithContext ¶
func (i PriorityClassMap) ToPriorityClassMapOutputWithContext(ctx context.Context) PriorityClassMapOutput
type PriorityClassMapInput ¶
type PriorityClassMapInput interface { pulumi.Input ToPriorityClassMapOutput() PriorityClassMapOutput ToPriorityClassMapOutputWithContext(context.Context) PriorityClassMapOutput }
PriorityClassMapInput is an input type that accepts PriorityClassMap and PriorityClassMapOutput values. You can construct a concrete instance of `PriorityClassMapInput` via:
PriorityClassMap{ "key": PriorityClassArgs{...} }
type PriorityClassMapOutput ¶
type PriorityClassMapOutput struct{ *pulumi.OutputState }
func (PriorityClassMapOutput) ElementType ¶
func (PriorityClassMapOutput) ElementType() reflect.Type
func (PriorityClassMapOutput) MapIndex ¶
func (o PriorityClassMapOutput) MapIndex(k pulumi.StringInput) PriorityClassOutput
func (PriorityClassMapOutput) ToPriorityClassMapOutput ¶
func (o PriorityClassMapOutput) ToPriorityClassMapOutput() PriorityClassMapOutput
func (PriorityClassMapOutput) ToPriorityClassMapOutputWithContext ¶
func (o PriorityClassMapOutput) ToPriorityClassMapOutputWithContext(ctx context.Context) PriorityClassMapOutput
type PriorityClassOutput ¶
type PriorityClassOutput struct{ *pulumi.OutputState }
func (PriorityClassOutput) ApiVersion ¶
func (o PriorityClassOutput) 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 (PriorityClassOutput) Description ¶
func (o PriorityClassOutput) Description() pulumi.StringOutput
description is an arbitrary string that usually provides guidelines on when this priority class should be used.
func (PriorityClassOutput) ElementType ¶
func (PriorityClassOutput) ElementType() reflect.Type
func (PriorityClassOutput) GlobalDefault ¶
func (o PriorityClassOutput) GlobalDefault() pulumi.BoolOutput
globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.
func (PriorityClassOutput) Kind ¶
func (o PriorityClassOutput) 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 (PriorityClassOutput) Metadata ¶
func (o PriorityClassOutput) Metadata() metav1.ObjectMetaOutput
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (PriorityClassOutput) PreemptionPolicy ¶
func (o PriorityClassOutput) PreemptionPolicy() pulumi.StringOutput
preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.
func (PriorityClassOutput) ToPriorityClassOutput ¶
func (o PriorityClassOutput) ToPriorityClassOutput() PriorityClassOutput
func (PriorityClassOutput) ToPriorityClassOutputWithContext ¶
func (o PriorityClassOutput) ToPriorityClassOutputWithContext(ctx context.Context) PriorityClassOutput
func (PriorityClassOutput) Value ¶
func (o PriorityClassOutput) Value() pulumi.IntOutput
value represents the integer value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.
type PriorityClassPatch ¶
type PriorityClassPatch 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"` // description is an arbitrary string that usually provides guidelines on when this priority class should be used. Description pulumi.StringPtrOutput `pulumi:"description"` // globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. GlobalDefault pulumi.BoolPtrOutput `pulumi:"globalDefault"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrOutput `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPatchPtrOutput `pulumi:"metadata"` // preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. PreemptionPolicy pulumi.StringPtrOutput `pulumi:"preemptionPolicy"` // value represents the integer value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. Value pulumi.IntPtrOutput `pulumi:"value"` }
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. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.
func GetPriorityClassPatch ¶
func GetPriorityClassPatch(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PriorityClassPatchState, opts ...pulumi.ResourceOption) (*PriorityClassPatch, error)
GetPriorityClassPatch gets an existing PriorityClassPatch 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 NewPriorityClassPatch ¶
func NewPriorityClassPatch(ctx *pulumi.Context, name string, args *PriorityClassPatchArgs, opts ...pulumi.ResourceOption) (*PriorityClassPatch, error)
NewPriorityClassPatch registers a new resource with the given unique name, arguments, and options.
func (*PriorityClassPatch) ElementType ¶
func (*PriorityClassPatch) ElementType() reflect.Type
func (*PriorityClassPatch) ToPriorityClassPatchOutput ¶
func (i *PriorityClassPatch) ToPriorityClassPatchOutput() PriorityClassPatchOutput
func (*PriorityClassPatch) ToPriorityClassPatchOutputWithContext ¶
func (i *PriorityClassPatch) ToPriorityClassPatchOutputWithContext(ctx context.Context) PriorityClassPatchOutput
type PriorityClassPatchArgs ¶
type PriorityClassPatchArgs 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 // description is an arbitrary string that usually provides guidelines on when this priority class should be used. Description pulumi.StringPtrInput // globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. GlobalDefault pulumi.BoolPtrInput // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPatchPtrInput // preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. PreemptionPolicy pulumi.StringPtrInput // value represents the integer value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. Value pulumi.IntPtrInput }
The set of arguments for constructing a PriorityClassPatch resource.
func (PriorityClassPatchArgs) ElementType ¶
func (PriorityClassPatchArgs) ElementType() reflect.Type
type PriorityClassPatchArray ¶
type PriorityClassPatchArray []PriorityClassPatchInput
func (PriorityClassPatchArray) ElementType ¶
func (PriorityClassPatchArray) ElementType() reflect.Type
func (PriorityClassPatchArray) ToPriorityClassPatchArrayOutput ¶
func (i PriorityClassPatchArray) ToPriorityClassPatchArrayOutput() PriorityClassPatchArrayOutput
func (PriorityClassPatchArray) ToPriorityClassPatchArrayOutputWithContext ¶
func (i PriorityClassPatchArray) ToPriorityClassPatchArrayOutputWithContext(ctx context.Context) PriorityClassPatchArrayOutput
type PriorityClassPatchArrayInput ¶
type PriorityClassPatchArrayInput interface { pulumi.Input ToPriorityClassPatchArrayOutput() PriorityClassPatchArrayOutput ToPriorityClassPatchArrayOutputWithContext(context.Context) PriorityClassPatchArrayOutput }
PriorityClassPatchArrayInput is an input type that accepts PriorityClassPatchArray and PriorityClassPatchArrayOutput values. You can construct a concrete instance of `PriorityClassPatchArrayInput` via:
PriorityClassPatchArray{ PriorityClassPatchArgs{...} }
type PriorityClassPatchArrayOutput ¶
type PriorityClassPatchArrayOutput struct{ *pulumi.OutputState }
func (PriorityClassPatchArrayOutput) ElementType ¶
func (PriorityClassPatchArrayOutput) ElementType() reflect.Type
func (PriorityClassPatchArrayOutput) Index ¶
func (o PriorityClassPatchArrayOutput) Index(i pulumi.IntInput) PriorityClassPatchOutput
func (PriorityClassPatchArrayOutput) ToPriorityClassPatchArrayOutput ¶
func (o PriorityClassPatchArrayOutput) ToPriorityClassPatchArrayOutput() PriorityClassPatchArrayOutput
func (PriorityClassPatchArrayOutput) ToPriorityClassPatchArrayOutputWithContext ¶
func (o PriorityClassPatchArrayOutput) ToPriorityClassPatchArrayOutputWithContext(ctx context.Context) PriorityClassPatchArrayOutput
type PriorityClassPatchInput ¶
type PriorityClassPatchInput interface { pulumi.Input ToPriorityClassPatchOutput() PriorityClassPatchOutput ToPriorityClassPatchOutputWithContext(ctx context.Context) PriorityClassPatchOutput }
type PriorityClassPatchMap ¶
type PriorityClassPatchMap map[string]PriorityClassPatchInput
func (PriorityClassPatchMap) ElementType ¶
func (PriorityClassPatchMap) ElementType() reflect.Type
func (PriorityClassPatchMap) ToPriorityClassPatchMapOutput ¶
func (i PriorityClassPatchMap) ToPriorityClassPatchMapOutput() PriorityClassPatchMapOutput
func (PriorityClassPatchMap) ToPriorityClassPatchMapOutputWithContext ¶
func (i PriorityClassPatchMap) ToPriorityClassPatchMapOutputWithContext(ctx context.Context) PriorityClassPatchMapOutput
type PriorityClassPatchMapInput ¶
type PriorityClassPatchMapInput interface { pulumi.Input ToPriorityClassPatchMapOutput() PriorityClassPatchMapOutput ToPriorityClassPatchMapOutputWithContext(context.Context) PriorityClassPatchMapOutput }
PriorityClassPatchMapInput is an input type that accepts PriorityClassPatchMap and PriorityClassPatchMapOutput values. You can construct a concrete instance of `PriorityClassPatchMapInput` via:
PriorityClassPatchMap{ "key": PriorityClassPatchArgs{...} }
type PriorityClassPatchMapOutput ¶
type PriorityClassPatchMapOutput struct{ *pulumi.OutputState }
func (PriorityClassPatchMapOutput) ElementType ¶
func (PriorityClassPatchMapOutput) ElementType() reflect.Type
func (PriorityClassPatchMapOutput) MapIndex ¶
func (o PriorityClassPatchMapOutput) MapIndex(k pulumi.StringInput) PriorityClassPatchOutput
func (PriorityClassPatchMapOutput) ToPriorityClassPatchMapOutput ¶
func (o PriorityClassPatchMapOutput) ToPriorityClassPatchMapOutput() PriorityClassPatchMapOutput
func (PriorityClassPatchMapOutput) ToPriorityClassPatchMapOutputWithContext ¶
func (o PriorityClassPatchMapOutput) ToPriorityClassPatchMapOutputWithContext(ctx context.Context) PriorityClassPatchMapOutput
type PriorityClassPatchOutput ¶
type PriorityClassPatchOutput struct{ *pulumi.OutputState }
func (PriorityClassPatchOutput) ApiVersion ¶
func (o PriorityClassPatchOutput) 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 (PriorityClassPatchOutput) Description ¶
func (o PriorityClassPatchOutput) Description() pulumi.StringPtrOutput
description is an arbitrary string that usually provides guidelines on when this priority class should be used.
func (PriorityClassPatchOutput) ElementType ¶
func (PriorityClassPatchOutput) ElementType() reflect.Type
func (PriorityClassPatchOutput) GlobalDefault ¶
func (o PriorityClassPatchOutput) GlobalDefault() pulumi.BoolPtrOutput
globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.
func (PriorityClassPatchOutput) Kind ¶
func (o PriorityClassPatchOutput) 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 (PriorityClassPatchOutput) Metadata ¶
func (o PriorityClassPatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (PriorityClassPatchOutput) PreemptionPolicy ¶
func (o PriorityClassPatchOutput) PreemptionPolicy() pulumi.StringPtrOutput
preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.
func (PriorityClassPatchOutput) ToPriorityClassPatchOutput ¶
func (o PriorityClassPatchOutput) ToPriorityClassPatchOutput() PriorityClassPatchOutput
func (PriorityClassPatchOutput) ToPriorityClassPatchOutputWithContext ¶
func (o PriorityClassPatchOutput) ToPriorityClassPatchOutputWithContext(ctx context.Context) PriorityClassPatchOutput
func (PriorityClassPatchOutput) Value ¶
func (o PriorityClassPatchOutput) Value() pulumi.IntPtrOutput
value represents the integer value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.
type PriorityClassPatchState ¶
type PriorityClassPatchState struct { }
func (PriorityClassPatchState) ElementType ¶
func (PriorityClassPatchState) ElementType() reflect.Type
type PriorityClassPatchType ¶
type PriorityClassPatchType 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"` // description is an arbitrary string that usually provides guidelines on when this priority class should be used. Description *string `pulumi:"description"` // globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. GlobalDefault *bool `pulumi:"globalDefault"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata *metav1.ObjectMetaPatch `pulumi:"metadata"` // preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. PreemptionPolicy *string `pulumi:"preemptionPolicy"` // value represents the integer value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. Value *int `pulumi:"value"` }
PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.
type PriorityClassPatchTypeArgs ¶
type PriorityClassPatchTypeArgs 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"` // description is an arbitrary string that usually provides guidelines on when this priority class should be used. Description pulumi.StringPtrInput `pulumi:"description"` // globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. GlobalDefault pulumi.BoolPtrInput `pulumi:"globalDefault"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPatchPtrInput `pulumi:"metadata"` // preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. PreemptionPolicy pulumi.StringPtrInput `pulumi:"preemptionPolicy"` // value represents the integer value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. Value pulumi.IntPtrInput `pulumi:"value"` }
PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.
func (PriorityClassPatchTypeArgs) ElementType ¶
func (PriorityClassPatchTypeArgs) ElementType() reflect.Type
func (PriorityClassPatchTypeArgs) ToPriorityClassPatchTypeOutput ¶
func (i PriorityClassPatchTypeArgs) ToPriorityClassPatchTypeOutput() PriorityClassPatchTypeOutput
func (PriorityClassPatchTypeArgs) ToPriorityClassPatchTypeOutputWithContext ¶
func (i PriorityClassPatchTypeArgs) ToPriorityClassPatchTypeOutputWithContext(ctx context.Context) PriorityClassPatchTypeOutput
type PriorityClassPatchTypeInput ¶
type PriorityClassPatchTypeInput interface { pulumi.Input ToPriorityClassPatchTypeOutput() PriorityClassPatchTypeOutput ToPriorityClassPatchTypeOutputWithContext(context.Context) PriorityClassPatchTypeOutput }
PriorityClassPatchTypeInput is an input type that accepts PriorityClassPatchTypeArgs and PriorityClassPatchTypeOutput values. You can construct a concrete instance of `PriorityClassPatchTypeInput` via:
PriorityClassPatchTypeArgs{...}
type PriorityClassPatchTypeOutput ¶
type PriorityClassPatchTypeOutput struct{ *pulumi.OutputState }
PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.
func (PriorityClassPatchTypeOutput) ApiVersion ¶
func (o PriorityClassPatchTypeOutput) 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 (PriorityClassPatchTypeOutput) Description ¶
func (o PriorityClassPatchTypeOutput) Description() pulumi.StringPtrOutput
description is an arbitrary string that usually provides guidelines on when this priority class should be used.
func (PriorityClassPatchTypeOutput) ElementType ¶
func (PriorityClassPatchTypeOutput) ElementType() reflect.Type
func (PriorityClassPatchTypeOutput) GlobalDefault ¶
func (o PriorityClassPatchTypeOutput) GlobalDefault() pulumi.BoolPtrOutput
globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.
func (PriorityClassPatchTypeOutput) Kind ¶
func (o PriorityClassPatchTypeOutput) 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 (PriorityClassPatchTypeOutput) Metadata ¶
func (o PriorityClassPatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (PriorityClassPatchTypeOutput) PreemptionPolicy ¶
func (o PriorityClassPatchTypeOutput) PreemptionPolicy() pulumi.StringPtrOutput
preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.
func (PriorityClassPatchTypeOutput) ToPriorityClassPatchTypeOutput ¶
func (o PriorityClassPatchTypeOutput) ToPriorityClassPatchTypeOutput() PriorityClassPatchTypeOutput
func (PriorityClassPatchTypeOutput) ToPriorityClassPatchTypeOutputWithContext ¶
func (o PriorityClassPatchTypeOutput) ToPriorityClassPatchTypeOutputWithContext(ctx context.Context) PriorityClassPatchTypeOutput
func (PriorityClassPatchTypeOutput) Value ¶
func (o PriorityClassPatchTypeOutput) Value() pulumi.IntPtrOutput
value represents the integer value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.
type PriorityClassState ¶
type PriorityClassState struct { }
func (PriorityClassState) ElementType ¶
func (PriorityClassState) ElementType() reflect.Type
type PriorityClassType ¶
type PriorityClassType 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"` // description is an arbitrary string that usually provides guidelines on when this priority class should be used. Description *string `pulumi:"description"` // globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. GlobalDefault *bool `pulumi:"globalDefault"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata *metav1.ObjectMeta `pulumi:"metadata"` // preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. PreemptionPolicy *string `pulumi:"preemptionPolicy"` // value represents the integer value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. Value int `pulumi:"value"` }
PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.
type PriorityClassTypeArgs ¶
type PriorityClassTypeArgs 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"` // description is an arbitrary string that usually provides guidelines on when this priority class should be used. Description pulumi.StringPtrInput `pulumi:"description"` // globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. GlobalDefault pulumi.BoolPtrInput `pulumi:"globalDefault"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"` // preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. PreemptionPolicy pulumi.StringPtrInput `pulumi:"preemptionPolicy"` // value represents the integer value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. Value pulumi.IntInput `pulumi:"value"` }
PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.
func (PriorityClassTypeArgs) ElementType ¶
func (PriorityClassTypeArgs) ElementType() reflect.Type
func (PriorityClassTypeArgs) ToPriorityClassTypeOutput ¶
func (i PriorityClassTypeArgs) ToPriorityClassTypeOutput() PriorityClassTypeOutput
func (PriorityClassTypeArgs) ToPriorityClassTypeOutputWithContext ¶
func (i PriorityClassTypeArgs) ToPriorityClassTypeOutputWithContext(ctx context.Context) PriorityClassTypeOutput
type PriorityClassTypeArray ¶
type PriorityClassTypeArray []PriorityClassTypeInput
func (PriorityClassTypeArray) ElementType ¶
func (PriorityClassTypeArray) ElementType() reflect.Type
func (PriorityClassTypeArray) ToPriorityClassTypeArrayOutput ¶
func (i PriorityClassTypeArray) ToPriorityClassTypeArrayOutput() PriorityClassTypeArrayOutput
func (PriorityClassTypeArray) ToPriorityClassTypeArrayOutputWithContext ¶
func (i PriorityClassTypeArray) ToPriorityClassTypeArrayOutputWithContext(ctx context.Context) PriorityClassTypeArrayOutput
type PriorityClassTypeArrayInput ¶
type PriorityClassTypeArrayInput interface { pulumi.Input ToPriorityClassTypeArrayOutput() PriorityClassTypeArrayOutput ToPriorityClassTypeArrayOutputWithContext(context.Context) PriorityClassTypeArrayOutput }
PriorityClassTypeArrayInput is an input type that accepts PriorityClassTypeArray and PriorityClassTypeArrayOutput values. You can construct a concrete instance of `PriorityClassTypeArrayInput` via:
PriorityClassTypeArray{ PriorityClassTypeArgs{...} }
type PriorityClassTypeArrayOutput ¶
type PriorityClassTypeArrayOutput struct{ *pulumi.OutputState }
func (PriorityClassTypeArrayOutput) ElementType ¶
func (PriorityClassTypeArrayOutput) ElementType() reflect.Type
func (PriorityClassTypeArrayOutput) Index ¶
func (o PriorityClassTypeArrayOutput) Index(i pulumi.IntInput) PriorityClassTypeOutput
func (PriorityClassTypeArrayOutput) ToPriorityClassTypeArrayOutput ¶
func (o PriorityClassTypeArrayOutput) ToPriorityClassTypeArrayOutput() PriorityClassTypeArrayOutput
func (PriorityClassTypeArrayOutput) ToPriorityClassTypeArrayOutputWithContext ¶
func (o PriorityClassTypeArrayOutput) ToPriorityClassTypeArrayOutputWithContext(ctx context.Context) PriorityClassTypeArrayOutput
type PriorityClassTypeInput ¶
type PriorityClassTypeInput interface { pulumi.Input ToPriorityClassTypeOutput() PriorityClassTypeOutput ToPriorityClassTypeOutputWithContext(context.Context) PriorityClassTypeOutput }
PriorityClassTypeInput is an input type that accepts PriorityClassTypeArgs and PriorityClassTypeOutput values. You can construct a concrete instance of `PriorityClassTypeInput` via:
PriorityClassTypeArgs{...}
type PriorityClassTypeOutput ¶
type PriorityClassTypeOutput struct{ *pulumi.OutputState }
PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.
func (PriorityClassTypeOutput) ApiVersion ¶
func (o PriorityClassTypeOutput) 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 (PriorityClassTypeOutput) Description ¶
func (o PriorityClassTypeOutput) Description() pulumi.StringPtrOutput
description is an arbitrary string that usually provides guidelines on when this priority class should be used.
func (PriorityClassTypeOutput) ElementType ¶
func (PriorityClassTypeOutput) ElementType() reflect.Type
func (PriorityClassTypeOutput) GlobalDefault ¶
func (o PriorityClassTypeOutput) GlobalDefault() pulumi.BoolPtrOutput
globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.
func (PriorityClassTypeOutput) Kind ¶
func (o PriorityClassTypeOutput) 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 (PriorityClassTypeOutput) Metadata ¶
func (o PriorityClassTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (PriorityClassTypeOutput) PreemptionPolicy ¶
func (o PriorityClassTypeOutput) PreemptionPolicy() pulumi.StringPtrOutput
preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.
func (PriorityClassTypeOutput) ToPriorityClassTypeOutput ¶
func (o PriorityClassTypeOutput) ToPriorityClassTypeOutput() PriorityClassTypeOutput
func (PriorityClassTypeOutput) ToPriorityClassTypeOutputWithContext ¶
func (o PriorityClassTypeOutput) ToPriorityClassTypeOutputWithContext(ctx context.Context) PriorityClassTypeOutput
func (PriorityClassTypeOutput) Value ¶
func (o PriorityClassTypeOutput) Value() pulumi.IntOutput
value represents the integer value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.