v1

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

nolint: lll

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CrossVersionObjectReference

type CrossVersionObjectReference struct {
	// API version of the referent
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
	Kind *string `pulumi:"kind"`
	// Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
	Name *string `pulumi:"name"`
}

CrossVersionObjectReference contains enough information to let you identify the referred resource.

type CrossVersionObjectReferenceArgs

type CrossVersionObjectReferenceArgs struct {
	// API version of the referent
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
	Name pulumi.StringPtrInput `pulumi:"name"`
}

CrossVersionObjectReference contains enough information to let you identify the referred resource.

func (CrossVersionObjectReferenceArgs) ElementType

func (CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferenceOutput

func (i CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferenceOutput() CrossVersionObjectReferenceOutput

func (CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferenceOutputWithContext

func (i CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferenceOutputWithContext(ctx context.Context) CrossVersionObjectReferenceOutput

func (CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferencePtrOutput

func (i CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferencePtrOutput() CrossVersionObjectReferencePtrOutput

func (CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferencePtrOutputWithContext

func (i CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferencePtrOutputWithContext(ctx context.Context) CrossVersionObjectReferencePtrOutput

type CrossVersionObjectReferenceInput

type CrossVersionObjectReferenceInput interface {
	pulumi.Input

	ToCrossVersionObjectReferenceOutput() CrossVersionObjectReferenceOutput
	ToCrossVersionObjectReferenceOutputWithContext(context.Context) CrossVersionObjectReferenceOutput
}

type CrossVersionObjectReferenceOutput

type CrossVersionObjectReferenceOutput struct{ *pulumi.OutputState }

CrossVersionObjectReference contains enough information to let you identify the referred resource.

func (CrossVersionObjectReferenceOutput) ApiVersion

API version of the referent

func (CrossVersionObjectReferenceOutput) ElementType

func (CrossVersionObjectReferenceOutput) Name

Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names

func (CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferenceOutput

func (o CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferenceOutput() CrossVersionObjectReferenceOutput

func (CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferenceOutputWithContext

func (o CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferenceOutputWithContext(ctx context.Context) CrossVersionObjectReferenceOutput

func (CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferencePtrOutput

func (o CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferencePtrOutput() CrossVersionObjectReferencePtrOutput

func (CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferencePtrOutputWithContext

func (o CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferencePtrOutputWithContext(ctx context.Context) CrossVersionObjectReferencePtrOutput

type CrossVersionObjectReferencePtrInput

type CrossVersionObjectReferencePtrInput interface {
	pulumi.Input

	ToCrossVersionObjectReferencePtrOutput() CrossVersionObjectReferencePtrOutput
	ToCrossVersionObjectReferencePtrOutputWithContext(context.Context) CrossVersionObjectReferencePtrOutput
}

type CrossVersionObjectReferencePtrOutput

type CrossVersionObjectReferencePtrOutput struct{ *pulumi.OutputState }

func (CrossVersionObjectReferencePtrOutput) ApiVersion

API version of the referent

func (CrossVersionObjectReferencePtrOutput) Elem

func (CrossVersionObjectReferencePtrOutput) ElementType

func (CrossVersionObjectReferencePtrOutput) Name

Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names

func (CrossVersionObjectReferencePtrOutput) ToCrossVersionObjectReferencePtrOutput

func (o CrossVersionObjectReferencePtrOutput) ToCrossVersionObjectReferencePtrOutput() CrossVersionObjectReferencePtrOutput

func (CrossVersionObjectReferencePtrOutput) ToCrossVersionObjectReferencePtrOutputWithContext

func (o CrossVersionObjectReferencePtrOutput) ToCrossVersionObjectReferencePtrOutputWithContext(ctx context.Context) CrossVersionObjectReferencePtrOutput

type HorizontalPodAutoscaler

type HorizontalPodAutoscaler struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrOutput `pulumi:"kind"`
	// Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrOutput `pulumi:"metadata"`
	// behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
	Spec HorizontalPodAutoscalerSpecPtrOutput `pulumi:"spec"`
	// current information about the autoscaler.
	Status HorizontalPodAutoscalerStatusPtrOutput `pulumi:"status"`
}

configuration of a horizontal pod autoscaler.

func GetHorizontalPodAutoscaler

func GetHorizontalPodAutoscaler(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HorizontalPodAutoscalerState, opts ...pulumi.ResourceOption) (*HorizontalPodAutoscaler, error)

GetHorizontalPodAutoscaler gets an existing HorizontalPodAutoscaler 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 NewHorizontalPodAutoscaler

func NewHorizontalPodAutoscaler(ctx *pulumi.Context,
	name string, args *HorizontalPodAutoscalerArgs, opts ...pulumi.ResourceOption) (*HorizontalPodAutoscaler, error)

NewHorizontalPodAutoscaler registers a new resource with the given unique name, arguments, and options.

type HorizontalPodAutoscalerArgs

type HorizontalPodAutoscalerArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput
	// behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
	Spec HorizontalPodAutoscalerSpecPtrInput
}

The set of arguments for constructing a HorizontalPodAutoscaler resource.

func (HorizontalPodAutoscalerArgs) ElementType

type HorizontalPodAutoscalerList

type HorizontalPodAutoscalerList 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"`
	// list of horizontal pod autoscaler objects.
	Items HorizontalPodAutoscalerTypeArrayOutput `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.
	Metadata metav1.ListMetaPtrOutput `pulumi:"metadata"`
}

list of horizontal pod autoscaler objects.

func GetHorizontalPodAutoscalerList

func GetHorizontalPodAutoscalerList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HorizontalPodAutoscalerListState, opts ...pulumi.ResourceOption) (*HorizontalPodAutoscalerList, error)

GetHorizontalPodAutoscalerList gets an existing HorizontalPodAutoscalerList 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 NewHorizontalPodAutoscalerList

func NewHorizontalPodAutoscalerList(ctx *pulumi.Context,
	name string, args *HorizontalPodAutoscalerListArgs, opts ...pulumi.ResourceOption) (*HorizontalPodAutoscalerList, error)

NewHorizontalPodAutoscalerList registers a new resource with the given unique name, arguments, and options.

type HorizontalPodAutoscalerListArgs

type HorizontalPodAutoscalerListArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// list of horizontal pod autoscaler objects.
	Items HorizontalPodAutoscalerTypeArrayInput
	// 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.
	Metadata metav1.ListMetaPtrInput
}

The set of arguments for constructing a HorizontalPodAutoscalerList resource.

func (HorizontalPodAutoscalerListArgs) ElementType

type HorizontalPodAutoscalerListState

type HorizontalPodAutoscalerListState struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// list of horizontal pod autoscaler objects.
	Items HorizontalPodAutoscalerTypeArrayInput
	// 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.
	Metadata metav1.ListMetaPtrInput
}

func (HorizontalPodAutoscalerListState) ElementType

type HorizontalPodAutoscalerListType

type HorizontalPodAutoscalerListType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// list of horizontal pod autoscaler objects.
	Items []HorizontalPodAutoscalerType `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.
	Metadata *metav1.ListMeta `pulumi:"metadata"`
}

list of horizontal pod autoscaler objects.

type HorizontalPodAutoscalerListTypeArgs

type HorizontalPodAutoscalerListTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// list of horizontal pod autoscaler objects.
	Items HorizontalPodAutoscalerTypeArrayInput `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.
	Metadata metav1.ListMetaPtrInput `pulumi:"metadata"`
}

list of horizontal pod autoscaler objects.

func (HorizontalPodAutoscalerListTypeArgs) ElementType

func (HorizontalPodAutoscalerListTypeArgs) ToHorizontalPodAutoscalerListTypeOutput

func (i HorizontalPodAutoscalerListTypeArgs) ToHorizontalPodAutoscalerListTypeOutput() HorizontalPodAutoscalerListTypeOutput

func (HorizontalPodAutoscalerListTypeArgs) ToHorizontalPodAutoscalerListTypeOutputWithContext

func (i HorizontalPodAutoscalerListTypeArgs) ToHorizontalPodAutoscalerListTypeOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListTypeOutput

type HorizontalPodAutoscalerListTypeInput

type HorizontalPodAutoscalerListTypeInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerListTypeOutput() HorizontalPodAutoscalerListTypeOutput
	ToHorizontalPodAutoscalerListTypeOutputWithContext(context.Context) HorizontalPodAutoscalerListTypeOutput
}

type HorizontalPodAutoscalerListTypeOutput

type HorizontalPodAutoscalerListTypeOutput struct{ *pulumi.OutputState }

list of horizontal pod autoscaler objects.

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

func (HorizontalPodAutoscalerListTypeOutput) Items

list of horizontal pod autoscaler objects.

func (HorizontalPodAutoscalerListTypeOutput) 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 (HorizontalPodAutoscalerListTypeOutput) Metadata

Standard list metadata.

func (HorizontalPodAutoscalerListTypeOutput) ToHorizontalPodAutoscalerListTypeOutput

func (o HorizontalPodAutoscalerListTypeOutput) ToHorizontalPodAutoscalerListTypeOutput() HorizontalPodAutoscalerListTypeOutput

func (HorizontalPodAutoscalerListTypeOutput) ToHorizontalPodAutoscalerListTypeOutputWithContext

func (o HorizontalPodAutoscalerListTypeOutput) ToHorizontalPodAutoscalerListTypeOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListTypeOutput

type HorizontalPodAutoscalerSpec

type HorizontalPodAutoscalerSpec struct {
	// upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.
	MaxReplicas *int `pulumi:"maxReplicas"`
	// minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down.  It defaults to 1 pod.  minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured.  Scaling is active as long as at least one metric value is available.
	MinReplicas *int `pulumi:"minReplicas"`
	// reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource.
	ScaleTargetRef *CrossVersionObjectReference `pulumi:"scaleTargetRef"`
	// target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.
	TargetCPUUtilizationPercentage *int `pulumi:"targetCPUUtilizationPercentage"`
}

specification of a horizontal pod autoscaler.

type HorizontalPodAutoscalerSpecArgs

type HorizontalPodAutoscalerSpecArgs struct {
	// upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.
	MaxReplicas pulumi.IntPtrInput `pulumi:"maxReplicas"`
	// minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down.  It defaults to 1 pod.  minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured.  Scaling is active as long as at least one metric value is available.
	MinReplicas pulumi.IntPtrInput `pulumi:"minReplicas"`
	// reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource.
	ScaleTargetRef CrossVersionObjectReferencePtrInput `pulumi:"scaleTargetRef"`
	// target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.
	TargetCPUUtilizationPercentage pulumi.IntPtrInput `pulumi:"targetCPUUtilizationPercentage"`
}

specification of a horizontal pod autoscaler.

func (HorizontalPodAutoscalerSpecArgs) ElementType

func (HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecOutput

func (i HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecOutput() HorizontalPodAutoscalerSpecOutput

func (HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecOutputWithContext

func (i HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecOutputWithContext(ctx context.Context) HorizontalPodAutoscalerSpecOutput

func (HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecPtrOutput

func (i HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecPtrOutput() HorizontalPodAutoscalerSpecPtrOutput

func (HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecPtrOutputWithContext

func (i HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerSpecPtrOutput

type HorizontalPodAutoscalerSpecInput

type HorizontalPodAutoscalerSpecInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerSpecOutput() HorizontalPodAutoscalerSpecOutput
	ToHorizontalPodAutoscalerSpecOutputWithContext(context.Context) HorizontalPodAutoscalerSpecOutput
}

type HorizontalPodAutoscalerSpecOutput

type HorizontalPodAutoscalerSpecOutput struct{ *pulumi.OutputState }

specification of a horizontal pod autoscaler.

func (HorizontalPodAutoscalerSpecOutput) ElementType

func (HorizontalPodAutoscalerSpecOutput) MaxReplicas

upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.

func (HorizontalPodAutoscalerSpecOutput) MinReplicas

minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.

func (HorizontalPodAutoscalerSpecOutput) ScaleTargetRef

reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource.

func (HorizontalPodAutoscalerSpecOutput) TargetCPUUtilizationPercentage

func (o HorizontalPodAutoscalerSpecOutput) TargetCPUUtilizationPercentage() pulumi.IntPtrOutput

target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.

func (HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecOutput

func (o HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecOutput() HorizontalPodAutoscalerSpecOutput

func (HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecOutputWithContext

func (o HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecOutputWithContext(ctx context.Context) HorizontalPodAutoscalerSpecOutput

func (HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecPtrOutput

func (o HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecPtrOutput() HorizontalPodAutoscalerSpecPtrOutput

func (HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecPtrOutputWithContext

func (o HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerSpecPtrOutput

type HorizontalPodAutoscalerSpecPtrInput

type HorizontalPodAutoscalerSpecPtrInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerSpecPtrOutput() HorizontalPodAutoscalerSpecPtrOutput
	ToHorizontalPodAutoscalerSpecPtrOutputWithContext(context.Context) HorizontalPodAutoscalerSpecPtrOutput
}

type HorizontalPodAutoscalerSpecPtrOutput

type HorizontalPodAutoscalerSpecPtrOutput struct{ *pulumi.OutputState }

func (HorizontalPodAutoscalerSpecPtrOutput) Elem

func (HorizontalPodAutoscalerSpecPtrOutput) ElementType

func (HorizontalPodAutoscalerSpecPtrOutput) MaxReplicas

upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.

func (HorizontalPodAutoscalerSpecPtrOutput) MinReplicas

minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.

func (HorizontalPodAutoscalerSpecPtrOutput) ScaleTargetRef

reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource.

func (HorizontalPodAutoscalerSpecPtrOutput) TargetCPUUtilizationPercentage

func (o HorizontalPodAutoscalerSpecPtrOutput) TargetCPUUtilizationPercentage() pulumi.IntPtrOutput

target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.

func (HorizontalPodAutoscalerSpecPtrOutput) ToHorizontalPodAutoscalerSpecPtrOutput

func (o HorizontalPodAutoscalerSpecPtrOutput) ToHorizontalPodAutoscalerSpecPtrOutput() HorizontalPodAutoscalerSpecPtrOutput

func (HorizontalPodAutoscalerSpecPtrOutput) ToHorizontalPodAutoscalerSpecPtrOutputWithContext

func (o HorizontalPodAutoscalerSpecPtrOutput) ToHorizontalPodAutoscalerSpecPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerSpecPtrOutput

type HorizontalPodAutoscalerState

type HorizontalPodAutoscalerState struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput
	// behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
	Spec HorizontalPodAutoscalerSpecPtrInput
	// current information about the autoscaler.
	Status HorizontalPodAutoscalerStatusPtrInput
}

func (HorizontalPodAutoscalerState) ElementType

type HorizontalPodAutoscalerStatus

type HorizontalPodAutoscalerStatus struct {
	// current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.
	CurrentCPUUtilizationPercentage *int `pulumi:"currentCPUUtilizationPercentage"`
	// current number of replicas of pods managed by this autoscaler.
	CurrentReplicas *int `pulumi:"currentReplicas"`
	// desired number of replicas of pods managed by this autoscaler.
	DesiredReplicas *int `pulumi:"desiredReplicas"`
	// last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.
	LastScaleTime *string `pulumi:"lastScaleTime"`
	// most recent generation observed by this autoscaler.
	ObservedGeneration *int `pulumi:"observedGeneration"`
}

current status of a horizontal pod autoscaler

type HorizontalPodAutoscalerStatusArgs

type HorizontalPodAutoscalerStatusArgs struct {
	// current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.
	CurrentCPUUtilizationPercentage pulumi.IntPtrInput `pulumi:"currentCPUUtilizationPercentage"`
	// current number of replicas of pods managed by this autoscaler.
	CurrentReplicas pulumi.IntPtrInput `pulumi:"currentReplicas"`
	// desired number of replicas of pods managed by this autoscaler.
	DesiredReplicas pulumi.IntPtrInput `pulumi:"desiredReplicas"`
	// last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.
	LastScaleTime pulumi.StringPtrInput `pulumi:"lastScaleTime"`
	// most recent generation observed by this autoscaler.
	ObservedGeneration pulumi.IntPtrInput `pulumi:"observedGeneration"`
}

current status of a horizontal pod autoscaler

func (HorizontalPodAutoscalerStatusArgs) ElementType

func (HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusOutput

func (i HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusOutput() HorizontalPodAutoscalerStatusOutput

func (HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusOutputWithContext

func (i HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusOutputWithContext(ctx context.Context) HorizontalPodAutoscalerStatusOutput

func (HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusPtrOutput

func (i HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusPtrOutput() HorizontalPodAutoscalerStatusPtrOutput

func (HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusPtrOutputWithContext

func (i HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerStatusPtrOutput

type HorizontalPodAutoscalerStatusInput

type HorizontalPodAutoscalerStatusInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerStatusOutput() HorizontalPodAutoscalerStatusOutput
	ToHorizontalPodAutoscalerStatusOutputWithContext(context.Context) HorizontalPodAutoscalerStatusOutput
}

type HorizontalPodAutoscalerStatusOutput

type HorizontalPodAutoscalerStatusOutput struct{ *pulumi.OutputState }

current status of a horizontal pod autoscaler

func (HorizontalPodAutoscalerStatusOutput) CurrentCPUUtilizationPercentage

func (o HorizontalPodAutoscalerStatusOutput) CurrentCPUUtilizationPercentage() pulumi.IntPtrOutput

current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.

func (HorizontalPodAutoscalerStatusOutput) CurrentReplicas

current number of replicas of pods managed by this autoscaler.

func (HorizontalPodAutoscalerStatusOutput) DesiredReplicas

desired number of replicas of pods managed by this autoscaler.

func (HorizontalPodAutoscalerStatusOutput) ElementType

func (HorizontalPodAutoscalerStatusOutput) LastScaleTime

last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.

func (HorizontalPodAutoscalerStatusOutput) ObservedGeneration

most recent generation observed by this autoscaler.

func (HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusOutput

func (o HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusOutput() HorizontalPodAutoscalerStatusOutput

func (HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusOutputWithContext

func (o HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusOutputWithContext(ctx context.Context) HorizontalPodAutoscalerStatusOutput

func (HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusPtrOutput

func (o HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusPtrOutput() HorizontalPodAutoscalerStatusPtrOutput

func (HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusPtrOutputWithContext

func (o HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerStatusPtrOutput

type HorizontalPodAutoscalerStatusPtrInput

type HorizontalPodAutoscalerStatusPtrInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerStatusPtrOutput() HorizontalPodAutoscalerStatusPtrOutput
	ToHorizontalPodAutoscalerStatusPtrOutputWithContext(context.Context) HorizontalPodAutoscalerStatusPtrOutput
}

type HorizontalPodAutoscalerStatusPtrOutput

type HorizontalPodAutoscalerStatusPtrOutput struct{ *pulumi.OutputState }

func (HorizontalPodAutoscalerStatusPtrOutput) CurrentCPUUtilizationPercentage

func (o HorizontalPodAutoscalerStatusPtrOutput) CurrentCPUUtilizationPercentage() pulumi.IntPtrOutput

current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.

func (HorizontalPodAutoscalerStatusPtrOutput) CurrentReplicas

current number of replicas of pods managed by this autoscaler.

func (HorizontalPodAutoscalerStatusPtrOutput) DesiredReplicas

desired number of replicas of pods managed by this autoscaler.

func (HorizontalPodAutoscalerStatusPtrOutput) Elem

func (HorizontalPodAutoscalerStatusPtrOutput) ElementType

func (HorizontalPodAutoscalerStatusPtrOutput) LastScaleTime

last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.

func (HorizontalPodAutoscalerStatusPtrOutput) ObservedGeneration

most recent generation observed by this autoscaler.

func (HorizontalPodAutoscalerStatusPtrOutput) ToHorizontalPodAutoscalerStatusPtrOutput

func (o HorizontalPodAutoscalerStatusPtrOutput) ToHorizontalPodAutoscalerStatusPtrOutput() HorizontalPodAutoscalerStatusPtrOutput

func (HorizontalPodAutoscalerStatusPtrOutput) ToHorizontalPodAutoscalerStatusPtrOutputWithContext

func (o HorizontalPodAutoscalerStatusPtrOutput) ToHorizontalPodAutoscalerStatusPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerStatusPtrOutput

type HorizontalPodAutoscalerType

type HorizontalPodAutoscalerType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
	Spec *HorizontalPodAutoscalerSpec `pulumi:"spec"`
	// current information about the autoscaler.
	Status *HorizontalPodAutoscalerStatus `pulumi:"status"`
}

configuration of a horizontal pod autoscaler.

type HorizontalPodAutoscalerTypeArgs

type HorizontalPodAutoscalerTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
	Spec HorizontalPodAutoscalerSpecPtrInput `pulumi:"spec"`
	// current information about the autoscaler.
	Status HorizontalPodAutoscalerStatusPtrInput `pulumi:"status"`
}

configuration of a horizontal pod autoscaler.

func (HorizontalPodAutoscalerTypeArgs) ElementType

func (HorizontalPodAutoscalerTypeArgs) ToHorizontalPodAutoscalerTypeOutput

func (i HorizontalPodAutoscalerTypeArgs) ToHorizontalPodAutoscalerTypeOutput() HorizontalPodAutoscalerTypeOutput

func (HorizontalPodAutoscalerTypeArgs) ToHorizontalPodAutoscalerTypeOutputWithContext

func (i HorizontalPodAutoscalerTypeArgs) ToHorizontalPodAutoscalerTypeOutputWithContext(ctx context.Context) HorizontalPodAutoscalerTypeOutput

type HorizontalPodAutoscalerTypeArray

type HorizontalPodAutoscalerTypeArray []HorizontalPodAutoscalerTypeInput

func (HorizontalPodAutoscalerTypeArray) ElementType

func (HorizontalPodAutoscalerTypeArray) ToHorizontalPodAutoscalerTypeArrayOutput

func (i HorizontalPodAutoscalerTypeArray) ToHorizontalPodAutoscalerTypeArrayOutput() HorizontalPodAutoscalerTypeArrayOutput

func (HorizontalPodAutoscalerTypeArray) ToHorizontalPodAutoscalerTypeArrayOutputWithContext

func (i HorizontalPodAutoscalerTypeArray) ToHorizontalPodAutoscalerTypeArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerTypeArrayOutput

type HorizontalPodAutoscalerTypeArrayInput

type HorizontalPodAutoscalerTypeArrayInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerTypeArrayOutput() HorizontalPodAutoscalerTypeArrayOutput
	ToHorizontalPodAutoscalerTypeArrayOutputWithContext(context.Context) HorizontalPodAutoscalerTypeArrayOutput
}

type HorizontalPodAutoscalerTypeArrayOutput

type HorizontalPodAutoscalerTypeArrayOutput struct{ *pulumi.OutputState }

func (HorizontalPodAutoscalerTypeArrayOutput) ElementType

func (HorizontalPodAutoscalerTypeArrayOutput) Index

func (HorizontalPodAutoscalerTypeArrayOutput) ToHorizontalPodAutoscalerTypeArrayOutput

func (o HorizontalPodAutoscalerTypeArrayOutput) ToHorizontalPodAutoscalerTypeArrayOutput() HorizontalPodAutoscalerTypeArrayOutput

func (HorizontalPodAutoscalerTypeArrayOutput) ToHorizontalPodAutoscalerTypeArrayOutputWithContext

func (o HorizontalPodAutoscalerTypeArrayOutput) ToHorizontalPodAutoscalerTypeArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerTypeArrayOutput

type HorizontalPodAutoscalerTypeInput

type HorizontalPodAutoscalerTypeInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerTypeOutput() HorizontalPodAutoscalerTypeOutput
	ToHorizontalPodAutoscalerTypeOutputWithContext(context.Context) HorizontalPodAutoscalerTypeOutput
}

type HorizontalPodAutoscalerTypeOutput

type HorizontalPodAutoscalerTypeOutput struct{ *pulumi.OutputState }

configuration of a horizontal pod autoscaler.

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

func (HorizontalPodAutoscalerTypeOutput) 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 (HorizontalPodAutoscalerTypeOutput) Status

current information about the autoscaler.

func (HorizontalPodAutoscalerTypeOutput) ToHorizontalPodAutoscalerTypeOutput

func (o HorizontalPodAutoscalerTypeOutput) ToHorizontalPodAutoscalerTypeOutput() HorizontalPodAutoscalerTypeOutput

func (HorizontalPodAutoscalerTypeOutput) ToHorizontalPodAutoscalerTypeOutputWithContext

func (o HorizontalPodAutoscalerTypeOutput) ToHorizontalPodAutoscalerTypeOutputWithContext(ctx context.Context) HorizontalPodAutoscalerTypeOutput

type Scale

type Scale struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
	Spec *ScaleSpec `pulumi:"spec"`
	// current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only.
	Status *ScaleStatus `pulumi:"status"`
}

Scale represents a scaling request for a resource.

type ScaleArgs

type ScaleArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
	Spec ScaleSpecPtrInput `pulumi:"spec"`
	// current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only.
	Status ScaleStatusPtrInput `pulumi:"status"`
}

Scale represents a scaling request for a resource.

func (ScaleArgs) ElementType

func (ScaleArgs) ElementType() reflect.Type

func (ScaleArgs) ToScaleOutput

func (i ScaleArgs) ToScaleOutput() ScaleOutput

func (ScaleArgs) ToScaleOutputWithContext

func (i ScaleArgs) ToScaleOutputWithContext(ctx context.Context) ScaleOutput

type ScaleInput

type ScaleInput interface {
	pulumi.Input

	ToScaleOutput() ScaleOutput
	ToScaleOutputWithContext(context.Context) ScaleOutput
}

type ScaleOutput

type ScaleOutput struct{ *pulumi.OutputState }

Scale represents a scaling request for a resource.

func (ScaleOutput) ApiVersion

func (o ScaleOutput) 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 (ScaleOutput) ElementType

func (ScaleOutput) ElementType() reflect.Type

func (ScaleOutput) 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 (ScaleOutput) Status

func (o ScaleOutput) Status() ScaleStatusPtrOutput

current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only.

func (ScaleOutput) ToScaleOutput

func (o ScaleOutput) ToScaleOutput() ScaleOutput

func (ScaleOutput) ToScaleOutputWithContext

func (o ScaleOutput) ToScaleOutputWithContext(ctx context.Context) ScaleOutput

type ScaleSpec

type ScaleSpec struct {
	// desired number of instances for the scaled object.
	Replicas *int `pulumi:"replicas"`
}

ScaleSpec describes the attributes of a scale subresource.

type ScaleSpecArgs

type ScaleSpecArgs struct {
	// desired number of instances for the scaled object.
	Replicas pulumi.IntPtrInput `pulumi:"replicas"`
}

ScaleSpec describes the attributes of a scale subresource.

func (ScaleSpecArgs) ElementType

func (ScaleSpecArgs) ElementType() reflect.Type

func (ScaleSpecArgs) ToScaleSpecOutput

func (i ScaleSpecArgs) ToScaleSpecOutput() ScaleSpecOutput

func (ScaleSpecArgs) ToScaleSpecOutputWithContext

func (i ScaleSpecArgs) ToScaleSpecOutputWithContext(ctx context.Context) ScaleSpecOutput

func (ScaleSpecArgs) ToScaleSpecPtrOutput

func (i ScaleSpecArgs) ToScaleSpecPtrOutput() ScaleSpecPtrOutput

func (ScaleSpecArgs) ToScaleSpecPtrOutputWithContext

func (i ScaleSpecArgs) ToScaleSpecPtrOutputWithContext(ctx context.Context) ScaleSpecPtrOutput

type ScaleSpecInput

type ScaleSpecInput interface {
	pulumi.Input

	ToScaleSpecOutput() ScaleSpecOutput
	ToScaleSpecOutputWithContext(context.Context) ScaleSpecOutput
}

type ScaleSpecOutput

type ScaleSpecOutput struct{ *pulumi.OutputState }

ScaleSpec describes the attributes of a scale subresource.

func (ScaleSpecOutput) ElementType

func (ScaleSpecOutput) ElementType() reflect.Type

func (ScaleSpecOutput) Replicas

func (o ScaleSpecOutput) Replicas() pulumi.IntPtrOutput

desired number of instances for the scaled object.

func (ScaleSpecOutput) ToScaleSpecOutput

func (o ScaleSpecOutput) ToScaleSpecOutput() ScaleSpecOutput

func (ScaleSpecOutput) ToScaleSpecOutputWithContext

func (o ScaleSpecOutput) ToScaleSpecOutputWithContext(ctx context.Context) ScaleSpecOutput

func (ScaleSpecOutput) ToScaleSpecPtrOutput

func (o ScaleSpecOutput) ToScaleSpecPtrOutput() ScaleSpecPtrOutput

func (ScaleSpecOutput) ToScaleSpecPtrOutputWithContext

func (o ScaleSpecOutput) ToScaleSpecPtrOutputWithContext(ctx context.Context) ScaleSpecPtrOutput

type ScaleSpecPtrInput

type ScaleSpecPtrInput interface {
	pulumi.Input

	ToScaleSpecPtrOutput() ScaleSpecPtrOutput
	ToScaleSpecPtrOutputWithContext(context.Context) ScaleSpecPtrOutput
}

func ScaleSpecPtr

func ScaleSpecPtr(v *ScaleSpecArgs) ScaleSpecPtrInput

type ScaleSpecPtrOutput

type ScaleSpecPtrOutput struct{ *pulumi.OutputState }

func (ScaleSpecPtrOutput) Elem

func (ScaleSpecPtrOutput) ElementType

func (ScaleSpecPtrOutput) ElementType() reflect.Type

func (ScaleSpecPtrOutput) Replicas

func (o ScaleSpecPtrOutput) Replicas() pulumi.IntPtrOutput

desired number of instances for the scaled object.

func (ScaleSpecPtrOutput) ToScaleSpecPtrOutput

func (o ScaleSpecPtrOutput) ToScaleSpecPtrOutput() ScaleSpecPtrOutput

func (ScaleSpecPtrOutput) ToScaleSpecPtrOutputWithContext

func (o ScaleSpecPtrOutput) ToScaleSpecPtrOutputWithContext(ctx context.Context) ScaleSpecPtrOutput

type ScaleStatus

type ScaleStatus struct {
	// actual number of observed instances of the scaled object.
	Replicas *int `pulumi:"replicas"`
	// label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors
	Selector *string `pulumi:"selector"`
}

ScaleStatus represents the current status of a scale subresource.

type ScaleStatusArgs

type ScaleStatusArgs struct {
	// actual number of observed instances of the scaled object.
	Replicas pulumi.IntPtrInput `pulumi:"replicas"`
	// label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors
	Selector pulumi.StringPtrInput `pulumi:"selector"`
}

ScaleStatus represents the current status of a scale subresource.

func (ScaleStatusArgs) ElementType

func (ScaleStatusArgs) ElementType() reflect.Type

func (ScaleStatusArgs) ToScaleStatusOutput

func (i ScaleStatusArgs) ToScaleStatusOutput() ScaleStatusOutput

func (ScaleStatusArgs) ToScaleStatusOutputWithContext

func (i ScaleStatusArgs) ToScaleStatusOutputWithContext(ctx context.Context) ScaleStatusOutput

func (ScaleStatusArgs) ToScaleStatusPtrOutput

func (i ScaleStatusArgs) ToScaleStatusPtrOutput() ScaleStatusPtrOutput

func (ScaleStatusArgs) ToScaleStatusPtrOutputWithContext

func (i ScaleStatusArgs) ToScaleStatusPtrOutputWithContext(ctx context.Context) ScaleStatusPtrOutput

type ScaleStatusInput

type ScaleStatusInput interface {
	pulumi.Input

	ToScaleStatusOutput() ScaleStatusOutput
	ToScaleStatusOutputWithContext(context.Context) ScaleStatusOutput
}

type ScaleStatusOutput

type ScaleStatusOutput struct{ *pulumi.OutputState }

ScaleStatus represents the current status of a scale subresource.

func (ScaleStatusOutput) ElementType

func (ScaleStatusOutput) ElementType() reflect.Type

func (ScaleStatusOutput) Replicas

func (o ScaleStatusOutput) Replicas() pulumi.IntPtrOutput

actual number of observed instances of the scaled object.

func (ScaleStatusOutput) Selector

label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors

func (ScaleStatusOutput) ToScaleStatusOutput

func (o ScaleStatusOutput) ToScaleStatusOutput() ScaleStatusOutput

func (ScaleStatusOutput) ToScaleStatusOutputWithContext

func (o ScaleStatusOutput) ToScaleStatusOutputWithContext(ctx context.Context) ScaleStatusOutput

func (ScaleStatusOutput) ToScaleStatusPtrOutput

func (o ScaleStatusOutput) ToScaleStatusPtrOutput() ScaleStatusPtrOutput

func (ScaleStatusOutput) ToScaleStatusPtrOutputWithContext

func (o ScaleStatusOutput) ToScaleStatusPtrOutputWithContext(ctx context.Context) ScaleStatusPtrOutput

type ScaleStatusPtrInput

type ScaleStatusPtrInput interface {
	pulumi.Input

	ToScaleStatusPtrOutput() ScaleStatusPtrOutput
	ToScaleStatusPtrOutputWithContext(context.Context) ScaleStatusPtrOutput
}

func ScaleStatusPtr

func ScaleStatusPtr(v *ScaleStatusArgs) ScaleStatusPtrInput

type ScaleStatusPtrOutput

type ScaleStatusPtrOutput struct{ *pulumi.OutputState }

func (ScaleStatusPtrOutput) Elem

func (ScaleStatusPtrOutput) ElementType

func (ScaleStatusPtrOutput) ElementType() reflect.Type

func (ScaleStatusPtrOutput) Replicas

actual number of observed instances of the scaled object.

func (ScaleStatusPtrOutput) Selector

label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors

func (ScaleStatusPtrOutput) ToScaleStatusPtrOutput

func (o ScaleStatusPtrOutput) ToScaleStatusPtrOutput() ScaleStatusPtrOutput

func (ScaleStatusPtrOutput) ToScaleStatusPtrOutputWithContext

func (o ScaleStatusPtrOutput) ToScaleStatusPtrOutputWithContext(ctx context.Context) ScaleStatusPtrOutput

Jump to

Keyboard shortcuts

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