v1

package
Version: v3.10.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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.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.ObjectMetaPtrOutput `pulumi:"metadata"`
	// PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate.
	PreemptionPolicy pulumi.StringPtrOutput `pulumi:"preemptionPolicy"`
	// The 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

func (*PriorityClass) ToPriorityClassPtrOutput

func (i *PriorityClass) ToPriorityClassPtrOutput() PriorityClassPtrOutput

func (*PriorityClass) ToPriorityClassPtrOutputWithContext

func (i *PriorityClass) ToPriorityClassPtrOutputWithContext(ctx context.Context) PriorityClassPtrOutput

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. This field is beta-level, gated by the NonPreemptingPriority feature-gate.
	PreemptionPolicy pulumi.StringPtrInput
	// The 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 (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.StringPtrOutput `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.StringPtrOutput `pulumi:"kind"`
	// Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrOutput `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

func (*PriorityClassList) ToPriorityClassListPtrOutput

func (i *PriorityClassList) ToPriorityClassListPtrOutput() PriorityClassListPtrOutput

func (*PriorityClassList) ToPriorityClassListPtrOutputWithContext

func (i *PriorityClassList) ToPriorityClassListPtrOutputWithContext(ctx context.Context) PriorityClassListPtrOutput

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) Index

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 (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) ElementType

func (PriorityClassListOutput) ElementType() reflect.Type

func (PriorityClassListOutput) ToPriorityClassListOutput

func (o PriorityClassListOutput) ToPriorityClassListOutput() PriorityClassListOutput

func (PriorityClassListOutput) ToPriorityClassListOutputWithContext

func (o PriorityClassListOutput) ToPriorityClassListOutputWithContext(ctx context.Context) PriorityClassListOutput

func (PriorityClassListOutput) ToPriorityClassListPtrOutput

func (o PriorityClassListOutput) ToPriorityClassListPtrOutput() PriorityClassListPtrOutput

func (PriorityClassListOutput) ToPriorityClassListPtrOutputWithContext

func (o PriorityClassListOutput) ToPriorityClassListPtrOutputWithContext(ctx context.Context) PriorityClassListPtrOutput

type PriorityClassListPtrInput

type PriorityClassListPtrInput interface {
	pulumi.Input

	ToPriorityClassListPtrOutput() PriorityClassListPtrOutput
	ToPriorityClassListPtrOutputWithContext(ctx context.Context) PriorityClassListPtrOutput
}

type PriorityClassListPtrOutput

type PriorityClassListPtrOutput struct{ *pulumi.OutputState }

func (PriorityClassListPtrOutput) Elem added in v3.7.2

func (PriorityClassListPtrOutput) ElementType

func (PriorityClassListPtrOutput) ElementType() reflect.Type

func (PriorityClassListPtrOutput) ToPriorityClassListPtrOutput

func (o PriorityClassListPtrOutput) ToPriorityClassListPtrOutput() PriorityClassListPtrOutput

func (PriorityClassListPtrOutput) ToPriorityClassListPtrOutputWithContext

func (o PriorityClassListPtrOutput) ToPriorityClassListPtrOutputWithContext(ctx context.Context) PriorityClassListPtrOutput

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

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) Items

items is the list of PriorityClasses

func (PriorityClassListTypeOutput) Kind

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) 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 (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) ElementType

func (PriorityClassOutput) ElementType() reflect.Type

func (PriorityClassOutput) ToPriorityClassOutput

func (o PriorityClassOutput) ToPriorityClassOutput() PriorityClassOutput

func (PriorityClassOutput) ToPriorityClassOutputWithContext

func (o PriorityClassOutput) ToPriorityClassOutputWithContext(ctx context.Context) PriorityClassOutput

func (PriorityClassOutput) ToPriorityClassPtrOutput

func (o PriorityClassOutput) ToPriorityClassPtrOutput() PriorityClassPtrOutput

func (PriorityClassOutput) ToPriorityClassPtrOutputWithContext

func (o PriorityClassOutput) ToPriorityClassPtrOutputWithContext(ctx context.Context) PriorityClassPtrOutput

type PriorityClassPtrInput

type PriorityClassPtrInput interface {
	pulumi.Input

	ToPriorityClassPtrOutput() PriorityClassPtrOutput
	ToPriorityClassPtrOutputWithContext(ctx context.Context) PriorityClassPtrOutput
}

type PriorityClassPtrOutput

type PriorityClassPtrOutput struct{ *pulumi.OutputState }

func (PriorityClassPtrOutput) Elem added in v3.7.2

func (PriorityClassPtrOutput) ElementType

func (PriorityClassPtrOutput) ElementType() reflect.Type

func (PriorityClassPtrOutput) ToPriorityClassPtrOutput

func (o PriorityClassPtrOutput) ToPriorityClassPtrOutput() PriorityClassPtrOutput

func (PriorityClassPtrOutput) ToPriorityClassPtrOutputWithContext

func (o PriorityClassPtrOutput) ToPriorityClassPtrOutputWithContext(ctx context.Context) PriorityClassPtrOutput

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. This field is beta-level, gated by the NonPreemptingPriority feature-gate.
	PreemptionPolicy *string `pulumi:"preemptionPolicy"`
	// The 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. This field is beta-level, gated by the NonPreemptingPriority feature-gate.
	PreemptionPolicy pulumi.StringPtrInput `pulumi:"preemptionPolicy"`
	// The 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) Index

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

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

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

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) 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. This field is beta-level, gated by the NonPreemptingPriority feature-gate.

func (PriorityClassTypeOutput) ToPriorityClassTypeOutput

func (o PriorityClassTypeOutput) ToPriorityClassTypeOutput() PriorityClassTypeOutput

func (PriorityClassTypeOutput) ToPriorityClassTypeOutputWithContext

func (o PriorityClassTypeOutput) ToPriorityClassTypeOutputWithContext(ctx context.Context) PriorityClassTypeOutput

func (PriorityClassTypeOutput) Value

The 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.

Jump to

Keyboard shortcuts

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