v1beta1

package
v2.9.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 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"`
}

DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. 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 added in v2.7.2

func (*PriorityClass) ElementType() reflect.Type

func (*PriorityClass) ToPriorityClassOutput added in v2.7.2

func (i *PriorityClass) ToPriorityClassOutput() PriorityClassOutput

func (*PriorityClass) ToPriorityClassOutputWithContext added in v2.7.2

func (i *PriorityClass) ToPriorityClassOutputWithContext(ctx context.Context) PriorityClassOutput

func (*PriorityClass) ToPriorityClassPtrOutput added in v2.7.7

func (i *PriorityClass) ToPriorityClassPtrOutput() PriorityClassPtrOutput

func (*PriorityClass) ToPriorityClassPtrOutputWithContext added in v2.7.7

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 added in v2.7.7

type PriorityClassArray []PriorityClassInput

func (PriorityClassArray) ElementType added in v2.7.7

func (PriorityClassArray) ElementType() reflect.Type

func (PriorityClassArray) ToPriorityClassArrayOutput added in v2.7.7

func (i PriorityClassArray) ToPriorityClassArrayOutput() PriorityClassArrayOutput

func (PriorityClassArray) ToPriorityClassArrayOutputWithContext added in v2.7.7

func (i PriorityClassArray) ToPriorityClassArrayOutputWithContext(ctx context.Context) PriorityClassArrayOutput

type PriorityClassArrayInput added in v2.7.7

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 added in v2.7.7

type PriorityClassArrayOutput struct{ *pulumi.OutputState }

func (PriorityClassArrayOutput) ElementType added in v2.7.7

func (PriorityClassArrayOutput) ElementType() reflect.Type

func (PriorityClassArrayOutput) Index added in v2.7.7

func (PriorityClassArrayOutput) ToPriorityClassArrayOutput added in v2.7.7

func (o PriorityClassArrayOutput) ToPriorityClassArrayOutput() PriorityClassArrayOutput

func (PriorityClassArrayOutput) ToPriorityClassArrayOutputWithContext added in v2.7.7

func (o PriorityClassArrayOutput) ToPriorityClassArrayOutputWithContext(ctx context.Context) PriorityClassArrayOutput

type PriorityClassInput added in v2.7.2

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 added in v2.7.2

func (*PriorityClassList) ElementType() reflect.Type

func (*PriorityClassList) ToPriorityClassListOutput added in v2.7.2

func (i *PriorityClassList) ToPriorityClassListOutput() PriorityClassListOutput

func (*PriorityClassList) ToPriorityClassListOutputWithContext added in v2.7.2

func (i *PriorityClassList) ToPriorityClassListOutputWithContext(ctx context.Context) PriorityClassListOutput

func (*PriorityClassList) ToPriorityClassListPtrOutput added in v2.7.7

func (i *PriorityClassList) ToPriorityClassListPtrOutput() PriorityClassListPtrOutput

func (*PriorityClassList) ToPriorityClassListPtrOutputWithContext added in v2.7.7

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 added in v2.7.7

type PriorityClassListArray []PriorityClassListInput

func (PriorityClassListArray) ElementType added in v2.7.7

func (PriorityClassListArray) ElementType() reflect.Type

func (PriorityClassListArray) ToPriorityClassListArrayOutput added in v2.7.7

func (i PriorityClassListArray) ToPriorityClassListArrayOutput() PriorityClassListArrayOutput

func (PriorityClassListArray) ToPriorityClassListArrayOutputWithContext added in v2.7.7

func (i PriorityClassListArray) ToPriorityClassListArrayOutputWithContext(ctx context.Context) PriorityClassListArrayOutput

type PriorityClassListArrayInput added in v2.7.7

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 added in v2.7.7

type PriorityClassListArrayOutput struct{ *pulumi.OutputState }

func (PriorityClassListArrayOutput) ElementType added in v2.7.7

func (PriorityClassListArrayOutput) Index added in v2.7.7

func (PriorityClassListArrayOutput) ToPriorityClassListArrayOutput added in v2.7.7

func (o PriorityClassListArrayOutput) ToPriorityClassListArrayOutput() PriorityClassListArrayOutput

func (PriorityClassListArrayOutput) ToPriorityClassListArrayOutputWithContext added in v2.7.7

func (o PriorityClassListArrayOutput) ToPriorityClassListArrayOutputWithContext(ctx context.Context) PriorityClassListArrayOutput

type PriorityClassListInput added in v2.7.2

type PriorityClassListInput interface {
	pulumi.Input

	ToPriorityClassListOutput() PriorityClassListOutput
	ToPriorityClassListOutputWithContext(ctx context.Context) PriorityClassListOutput
}

type PriorityClassListMap added in v2.7.7

type PriorityClassListMap map[string]PriorityClassListInput

func (PriorityClassListMap) ElementType added in v2.7.7

func (PriorityClassListMap) ElementType() reflect.Type

func (PriorityClassListMap) ToPriorityClassListMapOutput added in v2.7.7

func (i PriorityClassListMap) ToPriorityClassListMapOutput() PriorityClassListMapOutput

func (PriorityClassListMap) ToPriorityClassListMapOutputWithContext added in v2.7.7

func (i PriorityClassListMap) ToPriorityClassListMapOutputWithContext(ctx context.Context) PriorityClassListMapOutput

type PriorityClassListMapInput added in v2.7.7

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 added in v2.7.7

type PriorityClassListMapOutput struct{ *pulumi.OutputState }

func (PriorityClassListMapOutput) ElementType added in v2.7.7

func (PriorityClassListMapOutput) ElementType() reflect.Type

func (PriorityClassListMapOutput) MapIndex added in v2.7.7

func (PriorityClassListMapOutput) ToPriorityClassListMapOutput added in v2.7.7

func (o PriorityClassListMapOutput) ToPriorityClassListMapOutput() PriorityClassListMapOutput

func (PriorityClassListMapOutput) ToPriorityClassListMapOutputWithContext added in v2.7.7

func (o PriorityClassListMapOutput) ToPriorityClassListMapOutputWithContext(ctx context.Context) PriorityClassListMapOutput

type PriorityClassListOutput added in v2.7.2

type PriorityClassListOutput struct {
	*pulumi.OutputState
}

func (PriorityClassListOutput) ElementType added in v2.7.2

func (PriorityClassListOutput) ElementType() reflect.Type

func (PriorityClassListOutput) ToPriorityClassListOutput added in v2.7.2

func (o PriorityClassListOutput) ToPriorityClassListOutput() PriorityClassListOutput

func (PriorityClassListOutput) ToPriorityClassListOutputWithContext added in v2.7.2

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

func (PriorityClassListOutput) ToPriorityClassListPtrOutput added in v2.7.7

func (o PriorityClassListOutput) ToPriorityClassListPtrOutput() PriorityClassListPtrOutput

func (PriorityClassListOutput) ToPriorityClassListPtrOutputWithContext added in v2.7.7

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

type PriorityClassListPtrInput added in v2.7.7

type PriorityClassListPtrInput interface {
	pulumi.Input

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

type PriorityClassListPtrOutput added in v2.7.7

type PriorityClassListPtrOutput struct {
	*pulumi.OutputState
}

func (PriorityClassListPtrOutput) ElementType added in v2.7.7

func (PriorityClassListPtrOutput) ElementType() reflect.Type

func (PriorityClassListPtrOutput) ToPriorityClassListPtrOutput added in v2.7.7

func (o PriorityClassListPtrOutput) ToPriorityClassListPtrOutput() PriorityClassListPtrOutput

func (PriorityClassListPtrOutput) ToPriorityClassListPtrOutputWithContext added in v2.7.7

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

type PriorityClassListState

type PriorityClassListState 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
}

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 added in v2.7.7

type PriorityClassMap map[string]PriorityClassInput

func (PriorityClassMap) ElementType added in v2.7.7

func (PriorityClassMap) ElementType() reflect.Type

func (PriorityClassMap) ToPriorityClassMapOutput added in v2.7.7

func (i PriorityClassMap) ToPriorityClassMapOutput() PriorityClassMapOutput

func (PriorityClassMap) ToPriorityClassMapOutputWithContext added in v2.7.7

func (i PriorityClassMap) ToPriorityClassMapOutputWithContext(ctx context.Context) PriorityClassMapOutput

type PriorityClassMapInput added in v2.7.7

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 added in v2.7.7

type PriorityClassMapOutput struct{ *pulumi.OutputState }

func (PriorityClassMapOutput) ElementType added in v2.7.7

func (PriorityClassMapOutput) ElementType() reflect.Type

func (PriorityClassMapOutput) MapIndex added in v2.7.7

func (PriorityClassMapOutput) ToPriorityClassMapOutput added in v2.7.7

func (o PriorityClassMapOutput) ToPriorityClassMapOutput() PriorityClassMapOutput

func (PriorityClassMapOutput) ToPriorityClassMapOutputWithContext added in v2.7.7

func (o PriorityClassMapOutput) ToPriorityClassMapOutputWithContext(ctx context.Context) PriorityClassMapOutput

type PriorityClassOutput added in v2.7.2

type PriorityClassOutput struct {
	*pulumi.OutputState
}

func (PriorityClassOutput) ElementType added in v2.7.2

func (PriorityClassOutput) ElementType() reflect.Type

func (PriorityClassOutput) ToPriorityClassOutput added in v2.7.2

func (o PriorityClassOutput) ToPriorityClassOutput() PriorityClassOutput

func (PriorityClassOutput) ToPriorityClassOutputWithContext added in v2.7.2

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

func (PriorityClassOutput) ToPriorityClassPtrOutput added in v2.7.7

func (o PriorityClassOutput) ToPriorityClassPtrOutput() PriorityClassPtrOutput

func (PriorityClassOutput) ToPriorityClassPtrOutputWithContext added in v2.7.7

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

type PriorityClassPtrInput added in v2.7.7

type PriorityClassPtrInput interface {
	pulumi.Input

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

type PriorityClassPtrOutput added in v2.7.7

type PriorityClassPtrOutput struct {
	*pulumi.OutputState
}

func (PriorityClassPtrOutput) ElementType added in v2.7.7

func (PriorityClassPtrOutput) ElementType() reflect.Type

func (PriorityClassPtrOutput) ToPriorityClassPtrOutput added in v2.7.7

func (o PriorityClassPtrOutput) ToPriorityClassPtrOutput() PriorityClassPtrOutput

func (PriorityClassPtrOutput) ToPriorityClassPtrOutputWithContext added in v2.7.7

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

type PriorityClassState

type PriorityClassState 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.IntPtrInput
}

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"`
}

DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. 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"`
}

DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. 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 }

DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. 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