Documentation
¶
Index ¶
- type Lease
- type LeaseArgs
- type LeaseArray
- type LeaseArrayInput
- type LeaseArrayOutput
- type LeaseCandidate
- type LeaseCandidateArgs
- type LeaseCandidateArray
- type LeaseCandidateArrayInput
- type LeaseCandidateArrayOutput
- func (LeaseCandidateArrayOutput) ElementType() reflect.Type
- func (o LeaseCandidateArrayOutput) Index(i pulumi.IntInput) LeaseCandidateOutput
- func (o LeaseCandidateArrayOutput) ToLeaseCandidateArrayOutput() LeaseCandidateArrayOutput
- func (o LeaseCandidateArrayOutput) ToLeaseCandidateArrayOutputWithContext(ctx context.Context) LeaseCandidateArrayOutput
- type LeaseCandidateInput
- type LeaseCandidateList
- type LeaseCandidateListArgs
- type LeaseCandidateListArray
- type LeaseCandidateListArrayInput
- type LeaseCandidateListArrayOutput
- func (LeaseCandidateListArrayOutput) ElementType() reflect.Type
- func (o LeaseCandidateListArrayOutput) Index(i pulumi.IntInput) LeaseCandidateListOutput
- func (o LeaseCandidateListArrayOutput) ToLeaseCandidateListArrayOutput() LeaseCandidateListArrayOutput
- func (o LeaseCandidateListArrayOutput) ToLeaseCandidateListArrayOutputWithContext(ctx context.Context) LeaseCandidateListArrayOutput
- type LeaseCandidateListInput
- type LeaseCandidateListMap
- type LeaseCandidateListMapInput
- type LeaseCandidateListMapOutput
- func (LeaseCandidateListMapOutput) ElementType() reflect.Type
- func (o LeaseCandidateListMapOutput) MapIndex(k pulumi.StringInput) LeaseCandidateListOutput
- func (o LeaseCandidateListMapOutput) ToLeaseCandidateListMapOutput() LeaseCandidateListMapOutput
- func (o LeaseCandidateListMapOutput) ToLeaseCandidateListMapOutputWithContext(ctx context.Context) LeaseCandidateListMapOutput
- type LeaseCandidateListOutput
- func (o LeaseCandidateListOutput) ApiVersion() pulumi.StringOutput
- func (LeaseCandidateListOutput) ElementType() reflect.Type
- func (o LeaseCandidateListOutput) Items() LeaseCandidateTypeArrayOutput
- func (o LeaseCandidateListOutput) Kind() pulumi.StringOutput
- func (o LeaseCandidateListOutput) Metadata() metav1.ListMetaOutput
- func (o LeaseCandidateListOutput) ToLeaseCandidateListOutput() LeaseCandidateListOutput
- func (o LeaseCandidateListOutput) ToLeaseCandidateListOutputWithContext(ctx context.Context) LeaseCandidateListOutput
- type LeaseCandidateListState
- type LeaseCandidateListType
- type LeaseCandidateListTypeArgs
- type LeaseCandidateListTypeInput
- type LeaseCandidateListTypeOutput
- func (o LeaseCandidateListTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (LeaseCandidateListTypeOutput) ElementType() reflect.Type
- func (o LeaseCandidateListTypeOutput) Items() LeaseCandidateTypeArrayOutput
- func (o LeaseCandidateListTypeOutput) Kind() pulumi.StringPtrOutput
- func (o LeaseCandidateListTypeOutput) Metadata() metav1.ListMetaPtrOutput
- func (o LeaseCandidateListTypeOutput) ToLeaseCandidateListTypeOutput() LeaseCandidateListTypeOutput
- func (o LeaseCandidateListTypeOutput) ToLeaseCandidateListTypeOutputWithContext(ctx context.Context) LeaseCandidateListTypeOutput
- type LeaseCandidateMap
- type LeaseCandidateMapInput
- type LeaseCandidateMapOutput
- func (LeaseCandidateMapOutput) ElementType() reflect.Type
- func (o LeaseCandidateMapOutput) MapIndex(k pulumi.StringInput) LeaseCandidateOutput
- func (o LeaseCandidateMapOutput) ToLeaseCandidateMapOutput() LeaseCandidateMapOutput
- func (o LeaseCandidateMapOutput) ToLeaseCandidateMapOutputWithContext(ctx context.Context) LeaseCandidateMapOutput
- type LeaseCandidateOutput
- func (o LeaseCandidateOutput) ApiVersion() pulumi.StringOutput
- func (LeaseCandidateOutput) ElementType() reflect.Type
- func (o LeaseCandidateOutput) Kind() pulumi.StringOutput
- func (o LeaseCandidateOutput) Metadata() metav1.ObjectMetaOutput
- func (o LeaseCandidateOutput) Spec() LeaseCandidateSpecOutput
- func (o LeaseCandidateOutput) ToLeaseCandidateOutput() LeaseCandidateOutput
- func (o LeaseCandidateOutput) ToLeaseCandidateOutputWithContext(ctx context.Context) LeaseCandidateOutput
- type LeaseCandidatePatch
- type LeaseCandidatePatchArgs
- type LeaseCandidatePatchArray
- type LeaseCandidatePatchArrayInput
- type LeaseCandidatePatchArrayOutput
- func (LeaseCandidatePatchArrayOutput) ElementType() reflect.Type
- func (o LeaseCandidatePatchArrayOutput) Index(i pulumi.IntInput) LeaseCandidatePatchOutput
- func (o LeaseCandidatePatchArrayOutput) ToLeaseCandidatePatchArrayOutput() LeaseCandidatePatchArrayOutput
- func (o LeaseCandidatePatchArrayOutput) ToLeaseCandidatePatchArrayOutputWithContext(ctx context.Context) LeaseCandidatePatchArrayOutput
- type LeaseCandidatePatchInput
- type LeaseCandidatePatchMap
- type LeaseCandidatePatchMapInput
- type LeaseCandidatePatchMapOutput
- func (LeaseCandidatePatchMapOutput) ElementType() reflect.Type
- func (o LeaseCandidatePatchMapOutput) MapIndex(k pulumi.StringInput) LeaseCandidatePatchOutput
- func (o LeaseCandidatePatchMapOutput) ToLeaseCandidatePatchMapOutput() LeaseCandidatePatchMapOutput
- func (o LeaseCandidatePatchMapOutput) ToLeaseCandidatePatchMapOutputWithContext(ctx context.Context) LeaseCandidatePatchMapOutput
- type LeaseCandidatePatchOutput
- func (o LeaseCandidatePatchOutput) ApiVersion() pulumi.StringPtrOutput
- func (LeaseCandidatePatchOutput) ElementType() reflect.Type
- func (o LeaseCandidatePatchOutput) Kind() pulumi.StringPtrOutput
- func (o LeaseCandidatePatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o LeaseCandidatePatchOutput) Spec() LeaseCandidateSpecPatchPtrOutput
- func (o LeaseCandidatePatchOutput) ToLeaseCandidatePatchOutput() LeaseCandidatePatchOutput
- func (o LeaseCandidatePatchOutput) ToLeaseCandidatePatchOutputWithContext(ctx context.Context) LeaseCandidatePatchOutput
- type LeaseCandidatePatchState
- type LeaseCandidatePatchType
- type LeaseCandidatePatchTypeArgs
- type LeaseCandidatePatchTypeInput
- type LeaseCandidatePatchTypeOutput
- func (o LeaseCandidatePatchTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (LeaseCandidatePatchTypeOutput) ElementType() reflect.Type
- func (o LeaseCandidatePatchTypeOutput) Kind() pulumi.StringPtrOutput
- func (o LeaseCandidatePatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o LeaseCandidatePatchTypeOutput) Spec() LeaseCandidateSpecPatchPtrOutput
- func (o LeaseCandidatePatchTypeOutput) ToLeaseCandidatePatchTypeOutput() LeaseCandidatePatchTypeOutput
- func (o LeaseCandidatePatchTypeOutput) ToLeaseCandidatePatchTypeOutputWithContext(ctx context.Context) LeaseCandidatePatchTypeOutput
- type LeaseCandidateSpec
- type LeaseCandidateSpecArgs
- func (LeaseCandidateSpecArgs) ElementType() reflect.Type
- func (i LeaseCandidateSpecArgs) ToLeaseCandidateSpecOutput() LeaseCandidateSpecOutput
- func (i LeaseCandidateSpecArgs) ToLeaseCandidateSpecOutputWithContext(ctx context.Context) LeaseCandidateSpecOutput
- func (i LeaseCandidateSpecArgs) ToLeaseCandidateSpecPtrOutput() LeaseCandidateSpecPtrOutput
- func (i LeaseCandidateSpecArgs) ToLeaseCandidateSpecPtrOutputWithContext(ctx context.Context) LeaseCandidateSpecPtrOutput
- type LeaseCandidateSpecInput
- type LeaseCandidateSpecOutput
- func (o LeaseCandidateSpecOutput) BinaryVersion() pulumi.StringOutput
- func (LeaseCandidateSpecOutput) ElementType() reflect.Type
- func (o LeaseCandidateSpecOutput) EmulationVersion() pulumi.StringPtrOutput
- func (o LeaseCandidateSpecOutput) LeaseName() pulumi.StringOutput
- func (o LeaseCandidateSpecOutput) PingTime() pulumi.StringPtrOutput
- func (o LeaseCandidateSpecOutput) RenewTime() pulumi.StringPtrOutput
- func (o LeaseCandidateSpecOutput) Strategy() pulumi.StringOutput
- func (o LeaseCandidateSpecOutput) ToLeaseCandidateSpecOutput() LeaseCandidateSpecOutput
- func (o LeaseCandidateSpecOutput) ToLeaseCandidateSpecOutputWithContext(ctx context.Context) LeaseCandidateSpecOutput
- func (o LeaseCandidateSpecOutput) ToLeaseCandidateSpecPtrOutput() LeaseCandidateSpecPtrOutput
- func (o LeaseCandidateSpecOutput) ToLeaseCandidateSpecPtrOutputWithContext(ctx context.Context) LeaseCandidateSpecPtrOutput
- type LeaseCandidateSpecPatch
- type LeaseCandidateSpecPatchArgs
- func (LeaseCandidateSpecPatchArgs) ElementType() reflect.Type
- func (i LeaseCandidateSpecPatchArgs) ToLeaseCandidateSpecPatchOutput() LeaseCandidateSpecPatchOutput
- func (i LeaseCandidateSpecPatchArgs) ToLeaseCandidateSpecPatchOutputWithContext(ctx context.Context) LeaseCandidateSpecPatchOutput
- func (i LeaseCandidateSpecPatchArgs) ToLeaseCandidateSpecPatchPtrOutput() LeaseCandidateSpecPatchPtrOutput
- func (i LeaseCandidateSpecPatchArgs) ToLeaseCandidateSpecPatchPtrOutputWithContext(ctx context.Context) LeaseCandidateSpecPatchPtrOutput
- type LeaseCandidateSpecPatchInput
- type LeaseCandidateSpecPatchOutput
- func (o LeaseCandidateSpecPatchOutput) BinaryVersion() pulumi.StringPtrOutput
- func (LeaseCandidateSpecPatchOutput) ElementType() reflect.Type
- func (o LeaseCandidateSpecPatchOutput) EmulationVersion() pulumi.StringPtrOutput
- func (o LeaseCandidateSpecPatchOutput) LeaseName() pulumi.StringPtrOutput
- func (o LeaseCandidateSpecPatchOutput) PingTime() pulumi.StringPtrOutput
- func (o LeaseCandidateSpecPatchOutput) RenewTime() pulumi.StringPtrOutput
- func (o LeaseCandidateSpecPatchOutput) Strategy() pulumi.StringPtrOutput
- func (o LeaseCandidateSpecPatchOutput) ToLeaseCandidateSpecPatchOutput() LeaseCandidateSpecPatchOutput
- func (o LeaseCandidateSpecPatchOutput) ToLeaseCandidateSpecPatchOutputWithContext(ctx context.Context) LeaseCandidateSpecPatchOutput
- func (o LeaseCandidateSpecPatchOutput) ToLeaseCandidateSpecPatchPtrOutput() LeaseCandidateSpecPatchPtrOutput
- func (o LeaseCandidateSpecPatchOutput) ToLeaseCandidateSpecPatchPtrOutputWithContext(ctx context.Context) LeaseCandidateSpecPatchPtrOutput
- type LeaseCandidateSpecPatchPtrInput
- type LeaseCandidateSpecPatchPtrOutput
- func (o LeaseCandidateSpecPatchPtrOutput) BinaryVersion() pulumi.StringPtrOutput
- func (o LeaseCandidateSpecPatchPtrOutput) Elem() LeaseCandidateSpecPatchOutput
- func (LeaseCandidateSpecPatchPtrOutput) ElementType() reflect.Type
- func (o LeaseCandidateSpecPatchPtrOutput) EmulationVersion() pulumi.StringPtrOutput
- func (o LeaseCandidateSpecPatchPtrOutput) LeaseName() pulumi.StringPtrOutput
- func (o LeaseCandidateSpecPatchPtrOutput) PingTime() pulumi.StringPtrOutput
- func (o LeaseCandidateSpecPatchPtrOutput) RenewTime() pulumi.StringPtrOutput
- func (o LeaseCandidateSpecPatchPtrOutput) Strategy() pulumi.StringPtrOutput
- func (o LeaseCandidateSpecPatchPtrOutput) ToLeaseCandidateSpecPatchPtrOutput() LeaseCandidateSpecPatchPtrOutput
- func (o LeaseCandidateSpecPatchPtrOutput) ToLeaseCandidateSpecPatchPtrOutputWithContext(ctx context.Context) LeaseCandidateSpecPatchPtrOutput
- type LeaseCandidateSpecPtrInput
- type LeaseCandidateSpecPtrOutput
- func (o LeaseCandidateSpecPtrOutput) BinaryVersion() pulumi.StringPtrOutput
- func (o LeaseCandidateSpecPtrOutput) Elem() LeaseCandidateSpecOutput
- func (LeaseCandidateSpecPtrOutput) ElementType() reflect.Type
- func (o LeaseCandidateSpecPtrOutput) EmulationVersion() pulumi.StringPtrOutput
- func (o LeaseCandidateSpecPtrOutput) LeaseName() pulumi.StringPtrOutput
- func (o LeaseCandidateSpecPtrOutput) PingTime() pulumi.StringPtrOutput
- func (o LeaseCandidateSpecPtrOutput) RenewTime() pulumi.StringPtrOutput
- func (o LeaseCandidateSpecPtrOutput) Strategy() pulumi.StringPtrOutput
- func (o LeaseCandidateSpecPtrOutput) ToLeaseCandidateSpecPtrOutput() LeaseCandidateSpecPtrOutput
- func (o LeaseCandidateSpecPtrOutput) ToLeaseCandidateSpecPtrOutputWithContext(ctx context.Context) LeaseCandidateSpecPtrOutput
- type LeaseCandidateState
- type LeaseCandidateType
- type LeaseCandidateTypeArgs
- type LeaseCandidateTypeArray
- type LeaseCandidateTypeArrayInput
- type LeaseCandidateTypeArrayOutput
- func (LeaseCandidateTypeArrayOutput) ElementType() reflect.Type
- func (o LeaseCandidateTypeArrayOutput) Index(i pulumi.IntInput) LeaseCandidateTypeOutput
- func (o LeaseCandidateTypeArrayOutput) ToLeaseCandidateTypeArrayOutput() LeaseCandidateTypeArrayOutput
- func (o LeaseCandidateTypeArrayOutput) ToLeaseCandidateTypeArrayOutputWithContext(ctx context.Context) LeaseCandidateTypeArrayOutput
- type LeaseCandidateTypeInput
- type LeaseCandidateTypeOutput
- func (o LeaseCandidateTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (LeaseCandidateTypeOutput) ElementType() reflect.Type
- func (o LeaseCandidateTypeOutput) Kind() pulumi.StringPtrOutput
- func (o LeaseCandidateTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o LeaseCandidateTypeOutput) Spec() LeaseCandidateSpecPtrOutput
- func (o LeaseCandidateTypeOutput) ToLeaseCandidateTypeOutput() LeaseCandidateTypeOutput
- func (o LeaseCandidateTypeOutput) ToLeaseCandidateTypeOutputWithContext(ctx context.Context) LeaseCandidateTypeOutput
- type LeaseInput
- type LeaseList
- type LeaseListArgs
- type LeaseListArray
- type LeaseListArrayInput
- type LeaseListArrayOutput
- func (LeaseListArrayOutput) ElementType() reflect.Type
- func (o LeaseListArrayOutput) Index(i pulumi.IntInput) LeaseListOutput
- func (o LeaseListArrayOutput) ToLeaseListArrayOutput() LeaseListArrayOutput
- func (o LeaseListArrayOutput) ToLeaseListArrayOutputWithContext(ctx context.Context) LeaseListArrayOutput
- type LeaseListInput
- type LeaseListMap
- type LeaseListMapInput
- type LeaseListMapOutput
- type LeaseListOutput
- func (o LeaseListOutput) ApiVersion() pulumi.StringOutput
- func (LeaseListOutput) ElementType() reflect.Type
- func (o LeaseListOutput) Items() LeaseTypeArrayOutput
- func (o LeaseListOutput) Kind() pulumi.StringOutput
- func (o LeaseListOutput) Metadata() metav1.ListMetaOutput
- func (o LeaseListOutput) ToLeaseListOutput() LeaseListOutput
- func (o LeaseListOutput) ToLeaseListOutputWithContext(ctx context.Context) LeaseListOutput
- type LeaseListState
- type LeaseListType
- type LeaseListTypeArgs
- type LeaseListTypeInput
- type LeaseListTypeOutput
- func (o LeaseListTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (LeaseListTypeOutput) ElementType() reflect.Type
- func (o LeaseListTypeOutput) Items() LeaseTypeArrayOutput
- func (o LeaseListTypeOutput) Kind() pulumi.StringPtrOutput
- func (o LeaseListTypeOutput) Metadata() metav1.ListMetaPtrOutput
- func (o LeaseListTypeOutput) ToLeaseListTypeOutput() LeaseListTypeOutput
- func (o LeaseListTypeOutput) ToLeaseListTypeOutputWithContext(ctx context.Context) LeaseListTypeOutput
- type LeaseMap
- type LeaseMapInput
- type LeaseMapOutput
- type LeaseOutput
- func (o LeaseOutput) ApiVersion() pulumi.StringOutput
- func (LeaseOutput) ElementType() reflect.Type
- func (o LeaseOutput) Kind() pulumi.StringOutput
- func (o LeaseOutput) Metadata() metav1.ObjectMetaOutput
- func (o LeaseOutput) Spec() LeaseSpecOutput
- func (o LeaseOutput) ToLeaseOutput() LeaseOutput
- func (o LeaseOutput) ToLeaseOutputWithContext(ctx context.Context) LeaseOutput
- type LeasePatch
- type LeasePatchArgs
- type LeasePatchArray
- type LeasePatchArrayInput
- type LeasePatchArrayOutput
- func (LeasePatchArrayOutput) ElementType() reflect.Type
- func (o LeasePatchArrayOutput) Index(i pulumi.IntInput) LeasePatchOutput
- func (o LeasePatchArrayOutput) ToLeasePatchArrayOutput() LeasePatchArrayOutput
- func (o LeasePatchArrayOutput) ToLeasePatchArrayOutputWithContext(ctx context.Context) LeasePatchArrayOutput
- type LeasePatchInput
- type LeasePatchMap
- type LeasePatchMapInput
- type LeasePatchMapOutput
- func (LeasePatchMapOutput) ElementType() reflect.Type
- func (o LeasePatchMapOutput) MapIndex(k pulumi.StringInput) LeasePatchOutput
- func (o LeasePatchMapOutput) ToLeasePatchMapOutput() LeasePatchMapOutput
- func (o LeasePatchMapOutput) ToLeasePatchMapOutputWithContext(ctx context.Context) LeasePatchMapOutput
- type LeasePatchOutput
- func (o LeasePatchOutput) ApiVersion() pulumi.StringPtrOutput
- func (LeasePatchOutput) ElementType() reflect.Type
- func (o LeasePatchOutput) Kind() pulumi.StringPtrOutput
- func (o LeasePatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o LeasePatchOutput) Spec() LeaseSpecPatchPtrOutput
- func (o LeasePatchOutput) ToLeasePatchOutput() LeasePatchOutput
- func (o LeasePatchOutput) ToLeasePatchOutputWithContext(ctx context.Context) LeasePatchOutput
- type LeasePatchState
- type LeasePatchType
- type LeasePatchTypeArgs
- type LeasePatchTypeInput
- type LeasePatchTypeOutput
- func (o LeasePatchTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (LeasePatchTypeOutput) ElementType() reflect.Type
- func (o LeasePatchTypeOutput) Kind() pulumi.StringPtrOutput
- func (o LeasePatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o LeasePatchTypeOutput) Spec() LeaseSpecPatchPtrOutput
- func (o LeasePatchTypeOutput) ToLeasePatchTypeOutput() LeasePatchTypeOutput
- func (o LeasePatchTypeOutput) ToLeasePatchTypeOutputWithContext(ctx context.Context) LeasePatchTypeOutput
- type LeaseSpec
- type LeaseSpecArgs
- func (LeaseSpecArgs) ElementType() reflect.Type
- func (i LeaseSpecArgs) ToLeaseSpecOutput() LeaseSpecOutput
- func (i LeaseSpecArgs) ToLeaseSpecOutputWithContext(ctx context.Context) LeaseSpecOutput
- func (i LeaseSpecArgs) ToLeaseSpecPtrOutput() LeaseSpecPtrOutput
- func (i LeaseSpecArgs) ToLeaseSpecPtrOutputWithContext(ctx context.Context) LeaseSpecPtrOutput
- type LeaseSpecInput
- type LeaseSpecOutput
- func (o LeaseSpecOutput) AcquireTime() pulumi.StringPtrOutput
- func (LeaseSpecOutput) ElementType() reflect.Type
- func (o LeaseSpecOutput) HolderIdentity() pulumi.StringPtrOutput
- func (o LeaseSpecOutput) LeaseDurationSeconds() pulumi.IntPtrOutput
- func (o LeaseSpecOutput) LeaseTransitions() pulumi.IntPtrOutput
- func (o LeaseSpecOutput) RenewTime() pulumi.StringPtrOutput
- func (o LeaseSpecOutput) ToLeaseSpecOutput() LeaseSpecOutput
- func (o LeaseSpecOutput) ToLeaseSpecOutputWithContext(ctx context.Context) LeaseSpecOutput
- func (o LeaseSpecOutput) ToLeaseSpecPtrOutput() LeaseSpecPtrOutput
- func (o LeaseSpecOutput) ToLeaseSpecPtrOutputWithContext(ctx context.Context) LeaseSpecPtrOutput
- type LeaseSpecPatch
- type LeaseSpecPatchArgs
- func (LeaseSpecPatchArgs) ElementType() reflect.Type
- func (i LeaseSpecPatchArgs) ToLeaseSpecPatchOutput() LeaseSpecPatchOutput
- func (i LeaseSpecPatchArgs) ToLeaseSpecPatchOutputWithContext(ctx context.Context) LeaseSpecPatchOutput
- func (i LeaseSpecPatchArgs) ToLeaseSpecPatchPtrOutput() LeaseSpecPatchPtrOutput
- func (i LeaseSpecPatchArgs) ToLeaseSpecPatchPtrOutputWithContext(ctx context.Context) LeaseSpecPatchPtrOutput
- type LeaseSpecPatchInput
- type LeaseSpecPatchOutput
- func (o LeaseSpecPatchOutput) AcquireTime() pulumi.StringPtrOutput
- func (LeaseSpecPatchOutput) ElementType() reflect.Type
- func (o LeaseSpecPatchOutput) HolderIdentity() pulumi.StringPtrOutput
- func (o LeaseSpecPatchOutput) LeaseDurationSeconds() pulumi.IntPtrOutput
- func (o LeaseSpecPatchOutput) LeaseTransitions() pulumi.IntPtrOutput
- func (o LeaseSpecPatchOutput) RenewTime() pulumi.StringPtrOutput
- func (o LeaseSpecPatchOutput) ToLeaseSpecPatchOutput() LeaseSpecPatchOutput
- func (o LeaseSpecPatchOutput) ToLeaseSpecPatchOutputWithContext(ctx context.Context) LeaseSpecPatchOutput
- func (o LeaseSpecPatchOutput) ToLeaseSpecPatchPtrOutput() LeaseSpecPatchPtrOutput
- func (o LeaseSpecPatchOutput) ToLeaseSpecPatchPtrOutputWithContext(ctx context.Context) LeaseSpecPatchPtrOutput
- type LeaseSpecPatchPtrInput
- type LeaseSpecPatchPtrOutput
- func (o LeaseSpecPatchPtrOutput) AcquireTime() pulumi.StringPtrOutput
- func (o LeaseSpecPatchPtrOutput) Elem() LeaseSpecPatchOutput
- func (LeaseSpecPatchPtrOutput) ElementType() reflect.Type
- func (o LeaseSpecPatchPtrOutput) HolderIdentity() pulumi.StringPtrOutput
- func (o LeaseSpecPatchPtrOutput) LeaseDurationSeconds() pulumi.IntPtrOutput
- func (o LeaseSpecPatchPtrOutput) LeaseTransitions() pulumi.IntPtrOutput
- func (o LeaseSpecPatchPtrOutput) RenewTime() pulumi.StringPtrOutput
- func (o LeaseSpecPatchPtrOutput) ToLeaseSpecPatchPtrOutput() LeaseSpecPatchPtrOutput
- func (o LeaseSpecPatchPtrOutput) ToLeaseSpecPatchPtrOutputWithContext(ctx context.Context) LeaseSpecPatchPtrOutput
- type LeaseSpecPtrInput
- type LeaseSpecPtrOutput
- func (o LeaseSpecPtrOutput) AcquireTime() pulumi.StringPtrOutput
- func (o LeaseSpecPtrOutput) Elem() LeaseSpecOutput
- func (LeaseSpecPtrOutput) ElementType() reflect.Type
- func (o LeaseSpecPtrOutput) HolderIdentity() pulumi.StringPtrOutput
- func (o LeaseSpecPtrOutput) LeaseDurationSeconds() pulumi.IntPtrOutput
- func (o LeaseSpecPtrOutput) LeaseTransitions() pulumi.IntPtrOutput
- func (o LeaseSpecPtrOutput) RenewTime() pulumi.StringPtrOutput
- func (o LeaseSpecPtrOutput) ToLeaseSpecPtrOutput() LeaseSpecPtrOutput
- func (o LeaseSpecPtrOutput) ToLeaseSpecPtrOutputWithContext(ctx context.Context) LeaseSpecPtrOutput
- type LeaseState
- type LeaseType
- type LeaseTypeArgs
- type LeaseTypeArray
- type LeaseTypeArrayInput
- type LeaseTypeArrayOutput
- func (LeaseTypeArrayOutput) ElementType() reflect.Type
- func (o LeaseTypeArrayOutput) Index(i pulumi.IntInput) LeaseTypeOutput
- func (o LeaseTypeArrayOutput) ToLeaseTypeArrayOutput() LeaseTypeArrayOutput
- func (o LeaseTypeArrayOutput) ToLeaseTypeArrayOutputWithContext(ctx context.Context) LeaseTypeArrayOutput
- type LeaseTypeInput
- type LeaseTypeOutput
- func (o LeaseTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (LeaseTypeOutput) ElementType() reflect.Type
- func (o LeaseTypeOutput) Kind() pulumi.StringPtrOutput
- func (o LeaseTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o LeaseTypeOutput) Spec() LeaseSpecPtrOutput
- func (o LeaseTypeOutput) ToLeaseTypeOutput() LeaseTypeOutput
- func (o LeaseTypeOutput) ToLeaseTypeOutputWithContext(ctx context.Context) LeaseTypeOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lease ¶
type Lease struct {
pulumi.CustomResourceState
// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
ApiVersion pulumi.StringOutput `pulumi:"apiVersion"`
// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
Kind pulumi.StringOutput `pulumi:"kind"`
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
Metadata metav1.ObjectMetaOutput `pulumi:"metadata"`
// Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
Spec LeaseSpecOutput `pulumi:"spec"`
}
Lease defines a lease concept.
func GetLease ¶
func GetLease(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LeaseState, opts ...pulumi.ResourceOption) (*Lease, error)
GetLease gets an existing Lease 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 NewLease ¶
func NewLease(ctx *pulumi.Context, name string, args *LeaseArgs, opts ...pulumi.ResourceOption) (*Lease, error)
NewLease registers a new resource with the given unique name, arguments, and options.
func (*Lease) ElementType ¶
func (*Lease) ToLeaseOutput ¶
func (i *Lease) ToLeaseOutput() LeaseOutput
func (*Lease) ToLeaseOutputWithContext ¶
func (i *Lease) ToLeaseOutputWithContext(ctx context.Context) LeaseOutput
type LeaseArgs ¶
type LeaseArgs 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
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
Metadata metav1.ObjectMetaPtrInput
// Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
Spec LeaseSpecPtrInput
}
The set of arguments for constructing a Lease resource.
func (LeaseArgs) ElementType ¶
type LeaseArray ¶
type LeaseArray []LeaseInput
func (LeaseArray) ElementType ¶
func (LeaseArray) ElementType() reflect.Type
func (LeaseArray) ToLeaseArrayOutput ¶
func (i LeaseArray) ToLeaseArrayOutput() LeaseArrayOutput
func (LeaseArray) ToLeaseArrayOutputWithContext ¶
func (i LeaseArray) ToLeaseArrayOutputWithContext(ctx context.Context) LeaseArrayOutput
type LeaseArrayInput ¶
type LeaseArrayInput interface {
pulumi.Input
ToLeaseArrayOutput() LeaseArrayOutput
ToLeaseArrayOutputWithContext(context.Context) LeaseArrayOutput
}
LeaseArrayInput is an input type that accepts LeaseArray and LeaseArrayOutput values. You can construct a concrete instance of `LeaseArrayInput` via:
LeaseArray{ LeaseArgs{...} }
type LeaseArrayOutput ¶
type LeaseArrayOutput struct{ *pulumi.OutputState }
func (LeaseArrayOutput) ElementType ¶
func (LeaseArrayOutput) ElementType() reflect.Type
func (LeaseArrayOutput) Index ¶
func (o LeaseArrayOutput) Index(i pulumi.IntInput) LeaseOutput
func (LeaseArrayOutput) ToLeaseArrayOutput ¶
func (o LeaseArrayOutput) ToLeaseArrayOutput() LeaseArrayOutput
func (LeaseArrayOutput) ToLeaseArrayOutputWithContext ¶
func (o LeaseArrayOutput) ToLeaseArrayOutputWithContext(ctx context.Context) LeaseArrayOutput
type LeaseCandidate ¶ added in v4.23.0
type LeaseCandidate struct {
pulumi.CustomResourceState
// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
ApiVersion pulumi.StringOutput `pulumi:"apiVersion"`
// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
Kind pulumi.StringOutput `pulumi:"kind"`
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
Metadata metav1.ObjectMetaOutput `pulumi:"metadata"`
// spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
Spec LeaseCandidateSpecOutput `pulumi:"spec"`
}
LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.
func GetLeaseCandidate ¶ added in v4.23.0
func GetLeaseCandidate(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LeaseCandidateState, opts ...pulumi.ResourceOption) (*LeaseCandidate, error)
GetLeaseCandidate gets an existing LeaseCandidate 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 NewLeaseCandidate ¶ added in v4.23.0
func NewLeaseCandidate(ctx *pulumi.Context, name string, args *LeaseCandidateArgs, opts ...pulumi.ResourceOption) (*LeaseCandidate, error)
NewLeaseCandidate registers a new resource with the given unique name, arguments, and options.
func (*LeaseCandidate) ElementType ¶ added in v4.23.0
func (*LeaseCandidate) ElementType() reflect.Type
func (*LeaseCandidate) ToLeaseCandidateOutput ¶ added in v4.23.0
func (i *LeaseCandidate) ToLeaseCandidateOutput() LeaseCandidateOutput
func (*LeaseCandidate) ToLeaseCandidateOutputWithContext ¶ added in v4.23.0
func (i *LeaseCandidate) ToLeaseCandidateOutputWithContext(ctx context.Context) LeaseCandidateOutput
type LeaseCandidateArgs ¶ added in v4.23.0
type LeaseCandidateArgs 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
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
Metadata metav1.ObjectMetaPtrInput
// spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
Spec LeaseCandidateSpecPtrInput
}
The set of arguments for constructing a LeaseCandidate resource.
func (LeaseCandidateArgs) ElementType ¶ added in v4.23.0
func (LeaseCandidateArgs) ElementType() reflect.Type
type LeaseCandidateArray ¶ added in v4.23.0
type LeaseCandidateArray []LeaseCandidateInput
func (LeaseCandidateArray) ElementType ¶ added in v4.23.0
func (LeaseCandidateArray) ElementType() reflect.Type
func (LeaseCandidateArray) ToLeaseCandidateArrayOutput ¶ added in v4.23.0
func (i LeaseCandidateArray) ToLeaseCandidateArrayOutput() LeaseCandidateArrayOutput
func (LeaseCandidateArray) ToLeaseCandidateArrayOutputWithContext ¶ added in v4.23.0
func (i LeaseCandidateArray) ToLeaseCandidateArrayOutputWithContext(ctx context.Context) LeaseCandidateArrayOutput
type LeaseCandidateArrayInput ¶ added in v4.23.0
type LeaseCandidateArrayInput interface {
pulumi.Input
ToLeaseCandidateArrayOutput() LeaseCandidateArrayOutput
ToLeaseCandidateArrayOutputWithContext(context.Context) LeaseCandidateArrayOutput
}
LeaseCandidateArrayInput is an input type that accepts LeaseCandidateArray and LeaseCandidateArrayOutput values. You can construct a concrete instance of `LeaseCandidateArrayInput` via:
LeaseCandidateArray{ LeaseCandidateArgs{...} }
type LeaseCandidateArrayOutput ¶ added in v4.23.0
type LeaseCandidateArrayOutput struct{ *pulumi.OutputState }
func (LeaseCandidateArrayOutput) ElementType ¶ added in v4.23.0
func (LeaseCandidateArrayOutput) ElementType() reflect.Type
func (LeaseCandidateArrayOutput) Index ¶ added in v4.23.0
func (o LeaseCandidateArrayOutput) Index(i pulumi.IntInput) LeaseCandidateOutput
func (LeaseCandidateArrayOutput) ToLeaseCandidateArrayOutput ¶ added in v4.23.0
func (o LeaseCandidateArrayOutput) ToLeaseCandidateArrayOutput() LeaseCandidateArrayOutput
func (LeaseCandidateArrayOutput) ToLeaseCandidateArrayOutputWithContext ¶ added in v4.23.0
func (o LeaseCandidateArrayOutput) ToLeaseCandidateArrayOutputWithContext(ctx context.Context) LeaseCandidateArrayOutput
type LeaseCandidateInput ¶ added in v4.23.0
type LeaseCandidateInput interface {
pulumi.Input
ToLeaseCandidateOutput() LeaseCandidateOutput
ToLeaseCandidateOutputWithContext(ctx context.Context) LeaseCandidateOutput
}
type LeaseCandidateList ¶ added in v4.23.0
type LeaseCandidateList struct {
pulumi.CustomResourceState
// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
ApiVersion pulumi.StringOutput `pulumi:"apiVersion"`
// items is a list of schema objects.
Items LeaseCandidateTypeArrayOutput `pulumi:"items"`
// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
Kind pulumi.StringOutput `pulumi:"kind"`
// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
Metadata metav1.ListMetaOutput `pulumi:"metadata"`
}
LeaseCandidateList is a list of Lease objects.
func GetLeaseCandidateList ¶ added in v4.23.0
func GetLeaseCandidateList(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LeaseCandidateListState, opts ...pulumi.ResourceOption) (*LeaseCandidateList, error)
GetLeaseCandidateList gets an existing LeaseCandidateList 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 NewLeaseCandidateList ¶ added in v4.23.0
func NewLeaseCandidateList(ctx *pulumi.Context, name string, args *LeaseCandidateListArgs, opts ...pulumi.ResourceOption) (*LeaseCandidateList, error)
NewLeaseCandidateList registers a new resource with the given unique name, arguments, and options.
func (*LeaseCandidateList) ElementType ¶ added in v4.23.0
func (*LeaseCandidateList) ElementType() reflect.Type
func (*LeaseCandidateList) ToLeaseCandidateListOutput ¶ added in v4.23.0
func (i *LeaseCandidateList) ToLeaseCandidateListOutput() LeaseCandidateListOutput
func (*LeaseCandidateList) ToLeaseCandidateListOutputWithContext ¶ added in v4.23.0
func (i *LeaseCandidateList) ToLeaseCandidateListOutputWithContext(ctx context.Context) LeaseCandidateListOutput
type LeaseCandidateListArgs ¶ added in v4.23.0
type LeaseCandidateListArgs 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 a list of schema objects.
Items LeaseCandidateTypeArrayInput
// 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 LeaseCandidateList resource.
func (LeaseCandidateListArgs) ElementType ¶ added in v4.23.0
func (LeaseCandidateListArgs) ElementType() reflect.Type
type LeaseCandidateListArray ¶ added in v4.23.0
type LeaseCandidateListArray []LeaseCandidateListInput
func (LeaseCandidateListArray) ElementType ¶ added in v4.23.0
func (LeaseCandidateListArray) ElementType() reflect.Type
func (LeaseCandidateListArray) ToLeaseCandidateListArrayOutput ¶ added in v4.23.0
func (i LeaseCandidateListArray) ToLeaseCandidateListArrayOutput() LeaseCandidateListArrayOutput
func (LeaseCandidateListArray) ToLeaseCandidateListArrayOutputWithContext ¶ added in v4.23.0
func (i LeaseCandidateListArray) ToLeaseCandidateListArrayOutputWithContext(ctx context.Context) LeaseCandidateListArrayOutput
type LeaseCandidateListArrayInput ¶ added in v4.23.0
type LeaseCandidateListArrayInput interface {
pulumi.Input
ToLeaseCandidateListArrayOutput() LeaseCandidateListArrayOutput
ToLeaseCandidateListArrayOutputWithContext(context.Context) LeaseCandidateListArrayOutput
}
LeaseCandidateListArrayInput is an input type that accepts LeaseCandidateListArray and LeaseCandidateListArrayOutput values. You can construct a concrete instance of `LeaseCandidateListArrayInput` via:
LeaseCandidateListArray{ LeaseCandidateListArgs{...} }
type LeaseCandidateListArrayOutput ¶ added in v4.23.0
type LeaseCandidateListArrayOutput struct{ *pulumi.OutputState }
func (LeaseCandidateListArrayOutput) ElementType ¶ added in v4.23.0
func (LeaseCandidateListArrayOutput) ElementType() reflect.Type
func (LeaseCandidateListArrayOutput) Index ¶ added in v4.23.0
func (o LeaseCandidateListArrayOutput) Index(i pulumi.IntInput) LeaseCandidateListOutput
func (LeaseCandidateListArrayOutput) ToLeaseCandidateListArrayOutput ¶ added in v4.23.0
func (o LeaseCandidateListArrayOutput) ToLeaseCandidateListArrayOutput() LeaseCandidateListArrayOutput
func (LeaseCandidateListArrayOutput) ToLeaseCandidateListArrayOutputWithContext ¶ added in v4.23.0
func (o LeaseCandidateListArrayOutput) ToLeaseCandidateListArrayOutputWithContext(ctx context.Context) LeaseCandidateListArrayOutput
type LeaseCandidateListInput ¶ added in v4.23.0
type LeaseCandidateListInput interface {
pulumi.Input
ToLeaseCandidateListOutput() LeaseCandidateListOutput
ToLeaseCandidateListOutputWithContext(ctx context.Context) LeaseCandidateListOutput
}
type LeaseCandidateListMap ¶ added in v4.23.0
type LeaseCandidateListMap map[string]LeaseCandidateListInput
func (LeaseCandidateListMap) ElementType ¶ added in v4.23.0
func (LeaseCandidateListMap) ElementType() reflect.Type
func (LeaseCandidateListMap) ToLeaseCandidateListMapOutput ¶ added in v4.23.0
func (i LeaseCandidateListMap) ToLeaseCandidateListMapOutput() LeaseCandidateListMapOutput
func (LeaseCandidateListMap) ToLeaseCandidateListMapOutputWithContext ¶ added in v4.23.0
func (i LeaseCandidateListMap) ToLeaseCandidateListMapOutputWithContext(ctx context.Context) LeaseCandidateListMapOutput
type LeaseCandidateListMapInput ¶ added in v4.23.0
type LeaseCandidateListMapInput interface {
pulumi.Input
ToLeaseCandidateListMapOutput() LeaseCandidateListMapOutput
ToLeaseCandidateListMapOutputWithContext(context.Context) LeaseCandidateListMapOutput
}
LeaseCandidateListMapInput is an input type that accepts LeaseCandidateListMap and LeaseCandidateListMapOutput values. You can construct a concrete instance of `LeaseCandidateListMapInput` via:
LeaseCandidateListMap{ "key": LeaseCandidateListArgs{...} }
type LeaseCandidateListMapOutput ¶ added in v4.23.0
type LeaseCandidateListMapOutput struct{ *pulumi.OutputState }
func (LeaseCandidateListMapOutput) ElementType ¶ added in v4.23.0
func (LeaseCandidateListMapOutput) ElementType() reflect.Type
func (LeaseCandidateListMapOutput) MapIndex ¶ added in v4.23.0
func (o LeaseCandidateListMapOutput) MapIndex(k pulumi.StringInput) LeaseCandidateListOutput
func (LeaseCandidateListMapOutput) ToLeaseCandidateListMapOutput ¶ added in v4.23.0
func (o LeaseCandidateListMapOutput) ToLeaseCandidateListMapOutput() LeaseCandidateListMapOutput
func (LeaseCandidateListMapOutput) ToLeaseCandidateListMapOutputWithContext ¶ added in v4.23.0
func (o LeaseCandidateListMapOutput) ToLeaseCandidateListMapOutputWithContext(ctx context.Context) LeaseCandidateListMapOutput
type LeaseCandidateListOutput ¶ added in v4.23.0
type LeaseCandidateListOutput struct{ *pulumi.OutputState }
func (LeaseCandidateListOutput) ApiVersion ¶ added in v4.23.0
func (o LeaseCandidateListOutput) ApiVersion() pulumi.StringOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (LeaseCandidateListOutput) ElementType ¶ added in v4.23.0
func (LeaseCandidateListOutput) ElementType() reflect.Type
func (LeaseCandidateListOutput) Items ¶ added in v4.23.0
func (o LeaseCandidateListOutput) Items() LeaseCandidateTypeArrayOutput
items is a list of schema objects.
func (LeaseCandidateListOutput) Kind ¶ added in v4.23.0
func (o LeaseCandidateListOutput) Kind() pulumi.StringOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (LeaseCandidateListOutput) Metadata ¶ added in v4.23.0
func (o LeaseCandidateListOutput) Metadata() metav1.ListMetaOutput
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (LeaseCandidateListOutput) ToLeaseCandidateListOutput ¶ added in v4.23.0
func (o LeaseCandidateListOutput) ToLeaseCandidateListOutput() LeaseCandidateListOutput
func (LeaseCandidateListOutput) ToLeaseCandidateListOutputWithContext ¶ added in v4.23.0
func (o LeaseCandidateListOutput) ToLeaseCandidateListOutputWithContext(ctx context.Context) LeaseCandidateListOutput
type LeaseCandidateListState ¶ added in v4.23.0
type LeaseCandidateListState struct {
}
func (LeaseCandidateListState) ElementType ¶ added in v4.23.0
func (LeaseCandidateListState) ElementType() reflect.Type
type LeaseCandidateListType ¶ added in v4.23.0
type LeaseCandidateListType 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 a list of schema objects.
Items []LeaseCandidateType `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"`
}
LeaseCandidateList is a list of Lease objects.
type LeaseCandidateListTypeArgs ¶ added in v4.23.0
type LeaseCandidateListTypeArgs 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 a list of schema objects.
Items LeaseCandidateTypeArrayInput `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"`
}
LeaseCandidateList is a list of Lease objects.
func (LeaseCandidateListTypeArgs) ElementType ¶ added in v4.23.0
func (LeaseCandidateListTypeArgs) ElementType() reflect.Type
func (LeaseCandidateListTypeArgs) ToLeaseCandidateListTypeOutput ¶ added in v4.23.0
func (i LeaseCandidateListTypeArgs) ToLeaseCandidateListTypeOutput() LeaseCandidateListTypeOutput
func (LeaseCandidateListTypeArgs) ToLeaseCandidateListTypeOutputWithContext ¶ added in v4.23.0
func (i LeaseCandidateListTypeArgs) ToLeaseCandidateListTypeOutputWithContext(ctx context.Context) LeaseCandidateListTypeOutput
type LeaseCandidateListTypeInput ¶ added in v4.23.0
type LeaseCandidateListTypeInput interface {
pulumi.Input
ToLeaseCandidateListTypeOutput() LeaseCandidateListTypeOutput
ToLeaseCandidateListTypeOutputWithContext(context.Context) LeaseCandidateListTypeOutput
}
LeaseCandidateListTypeInput is an input type that accepts LeaseCandidateListTypeArgs and LeaseCandidateListTypeOutput values. You can construct a concrete instance of `LeaseCandidateListTypeInput` via:
LeaseCandidateListTypeArgs{...}
type LeaseCandidateListTypeOutput ¶ added in v4.23.0
type LeaseCandidateListTypeOutput struct{ *pulumi.OutputState }
LeaseCandidateList is a list of Lease objects.
func (LeaseCandidateListTypeOutput) ApiVersion ¶ added in v4.23.0
func (o LeaseCandidateListTypeOutput) 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 (LeaseCandidateListTypeOutput) ElementType ¶ added in v4.23.0
func (LeaseCandidateListTypeOutput) ElementType() reflect.Type
func (LeaseCandidateListTypeOutput) Items ¶ added in v4.23.0
func (o LeaseCandidateListTypeOutput) Items() LeaseCandidateTypeArrayOutput
items is a list of schema objects.
func (LeaseCandidateListTypeOutput) Kind ¶ added in v4.23.0
func (o LeaseCandidateListTypeOutput) Kind() pulumi.StringPtrOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (LeaseCandidateListTypeOutput) Metadata ¶ added in v4.23.0
func (o LeaseCandidateListTypeOutput) Metadata() metav1.ListMetaPtrOutput
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (LeaseCandidateListTypeOutput) ToLeaseCandidateListTypeOutput ¶ added in v4.23.0
func (o LeaseCandidateListTypeOutput) ToLeaseCandidateListTypeOutput() LeaseCandidateListTypeOutput
func (LeaseCandidateListTypeOutput) ToLeaseCandidateListTypeOutputWithContext ¶ added in v4.23.0
func (o LeaseCandidateListTypeOutput) ToLeaseCandidateListTypeOutputWithContext(ctx context.Context) LeaseCandidateListTypeOutput
type LeaseCandidateMap ¶ added in v4.23.0
type LeaseCandidateMap map[string]LeaseCandidateInput
func (LeaseCandidateMap) ElementType ¶ added in v4.23.0
func (LeaseCandidateMap) ElementType() reflect.Type
func (LeaseCandidateMap) ToLeaseCandidateMapOutput ¶ added in v4.23.0
func (i LeaseCandidateMap) ToLeaseCandidateMapOutput() LeaseCandidateMapOutput
func (LeaseCandidateMap) ToLeaseCandidateMapOutputWithContext ¶ added in v4.23.0
func (i LeaseCandidateMap) ToLeaseCandidateMapOutputWithContext(ctx context.Context) LeaseCandidateMapOutput
type LeaseCandidateMapInput ¶ added in v4.23.0
type LeaseCandidateMapInput interface {
pulumi.Input
ToLeaseCandidateMapOutput() LeaseCandidateMapOutput
ToLeaseCandidateMapOutputWithContext(context.Context) LeaseCandidateMapOutput
}
LeaseCandidateMapInput is an input type that accepts LeaseCandidateMap and LeaseCandidateMapOutput values. You can construct a concrete instance of `LeaseCandidateMapInput` via:
LeaseCandidateMap{ "key": LeaseCandidateArgs{...} }
type LeaseCandidateMapOutput ¶ added in v4.23.0
type LeaseCandidateMapOutput struct{ *pulumi.OutputState }
func (LeaseCandidateMapOutput) ElementType ¶ added in v4.23.0
func (LeaseCandidateMapOutput) ElementType() reflect.Type
func (LeaseCandidateMapOutput) MapIndex ¶ added in v4.23.0
func (o LeaseCandidateMapOutput) MapIndex(k pulumi.StringInput) LeaseCandidateOutput
func (LeaseCandidateMapOutput) ToLeaseCandidateMapOutput ¶ added in v4.23.0
func (o LeaseCandidateMapOutput) ToLeaseCandidateMapOutput() LeaseCandidateMapOutput
func (LeaseCandidateMapOutput) ToLeaseCandidateMapOutputWithContext ¶ added in v4.23.0
func (o LeaseCandidateMapOutput) ToLeaseCandidateMapOutputWithContext(ctx context.Context) LeaseCandidateMapOutput
type LeaseCandidateOutput ¶ added in v4.23.0
type LeaseCandidateOutput struct{ *pulumi.OutputState }
func (LeaseCandidateOutput) ApiVersion ¶ added in v4.23.0
func (o LeaseCandidateOutput) ApiVersion() pulumi.StringOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (LeaseCandidateOutput) ElementType ¶ added in v4.23.0
func (LeaseCandidateOutput) ElementType() reflect.Type
func (LeaseCandidateOutput) Kind ¶ added in v4.23.0
func (o LeaseCandidateOutput) Kind() pulumi.StringOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (LeaseCandidateOutput) Metadata ¶ added in v4.23.0
func (o LeaseCandidateOutput) Metadata() metav1.ObjectMetaOutput
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (LeaseCandidateOutput) Spec ¶ added in v4.23.0
func (o LeaseCandidateOutput) Spec() LeaseCandidateSpecOutput
spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (LeaseCandidateOutput) ToLeaseCandidateOutput ¶ added in v4.23.0
func (o LeaseCandidateOutput) ToLeaseCandidateOutput() LeaseCandidateOutput
func (LeaseCandidateOutput) ToLeaseCandidateOutputWithContext ¶ added in v4.23.0
func (o LeaseCandidateOutput) ToLeaseCandidateOutputWithContext(ctx context.Context) LeaseCandidateOutput
type LeaseCandidatePatch ¶ added in v4.23.0
type LeaseCandidatePatch 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"`
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
Metadata metav1.ObjectMetaPatchPtrOutput `pulumi:"metadata"`
// spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
Spec LeaseCandidateSpecPatchPtrOutput `pulumi:"spec"`
}
Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.
func GetLeaseCandidatePatch ¶ added in v4.23.0
func GetLeaseCandidatePatch(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LeaseCandidatePatchState, opts ...pulumi.ResourceOption) (*LeaseCandidatePatch, error)
GetLeaseCandidatePatch gets an existing LeaseCandidatePatch 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 NewLeaseCandidatePatch ¶ added in v4.23.0
func NewLeaseCandidatePatch(ctx *pulumi.Context, name string, args *LeaseCandidatePatchArgs, opts ...pulumi.ResourceOption) (*LeaseCandidatePatch, error)
NewLeaseCandidatePatch registers a new resource with the given unique name, arguments, and options.
func (*LeaseCandidatePatch) ElementType ¶ added in v4.23.0
func (*LeaseCandidatePatch) ElementType() reflect.Type
func (*LeaseCandidatePatch) ToLeaseCandidatePatchOutput ¶ added in v4.23.0
func (i *LeaseCandidatePatch) ToLeaseCandidatePatchOutput() LeaseCandidatePatchOutput
func (*LeaseCandidatePatch) ToLeaseCandidatePatchOutputWithContext ¶ added in v4.23.0
func (i *LeaseCandidatePatch) ToLeaseCandidatePatchOutputWithContext(ctx context.Context) LeaseCandidatePatchOutput
type LeaseCandidatePatchArgs ¶ added in v4.23.0
type LeaseCandidatePatchArgs 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
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
Metadata metav1.ObjectMetaPatchPtrInput
// spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
Spec LeaseCandidateSpecPatchPtrInput
}
The set of arguments for constructing a LeaseCandidatePatch resource.
func (LeaseCandidatePatchArgs) ElementType ¶ added in v4.23.0
func (LeaseCandidatePatchArgs) ElementType() reflect.Type
type LeaseCandidatePatchArray ¶ added in v4.23.0
type LeaseCandidatePatchArray []LeaseCandidatePatchInput
func (LeaseCandidatePatchArray) ElementType ¶ added in v4.23.0
func (LeaseCandidatePatchArray) ElementType() reflect.Type
func (LeaseCandidatePatchArray) ToLeaseCandidatePatchArrayOutput ¶ added in v4.23.0
func (i LeaseCandidatePatchArray) ToLeaseCandidatePatchArrayOutput() LeaseCandidatePatchArrayOutput
func (LeaseCandidatePatchArray) ToLeaseCandidatePatchArrayOutputWithContext ¶ added in v4.23.0
func (i LeaseCandidatePatchArray) ToLeaseCandidatePatchArrayOutputWithContext(ctx context.Context) LeaseCandidatePatchArrayOutput
type LeaseCandidatePatchArrayInput ¶ added in v4.23.0
type LeaseCandidatePatchArrayInput interface {
pulumi.Input
ToLeaseCandidatePatchArrayOutput() LeaseCandidatePatchArrayOutput
ToLeaseCandidatePatchArrayOutputWithContext(context.Context) LeaseCandidatePatchArrayOutput
}
LeaseCandidatePatchArrayInput is an input type that accepts LeaseCandidatePatchArray and LeaseCandidatePatchArrayOutput values. You can construct a concrete instance of `LeaseCandidatePatchArrayInput` via:
LeaseCandidatePatchArray{ LeaseCandidatePatchArgs{...} }
type LeaseCandidatePatchArrayOutput ¶ added in v4.23.0
type LeaseCandidatePatchArrayOutput struct{ *pulumi.OutputState }
func (LeaseCandidatePatchArrayOutput) ElementType ¶ added in v4.23.0
func (LeaseCandidatePatchArrayOutput) ElementType() reflect.Type
func (LeaseCandidatePatchArrayOutput) Index ¶ added in v4.23.0
func (o LeaseCandidatePatchArrayOutput) Index(i pulumi.IntInput) LeaseCandidatePatchOutput
func (LeaseCandidatePatchArrayOutput) ToLeaseCandidatePatchArrayOutput ¶ added in v4.23.0
func (o LeaseCandidatePatchArrayOutput) ToLeaseCandidatePatchArrayOutput() LeaseCandidatePatchArrayOutput
func (LeaseCandidatePatchArrayOutput) ToLeaseCandidatePatchArrayOutputWithContext ¶ added in v4.23.0
func (o LeaseCandidatePatchArrayOutput) ToLeaseCandidatePatchArrayOutputWithContext(ctx context.Context) LeaseCandidatePatchArrayOutput
type LeaseCandidatePatchInput ¶ added in v4.23.0
type LeaseCandidatePatchInput interface {
pulumi.Input
ToLeaseCandidatePatchOutput() LeaseCandidatePatchOutput
ToLeaseCandidatePatchOutputWithContext(ctx context.Context) LeaseCandidatePatchOutput
}
type LeaseCandidatePatchMap ¶ added in v4.23.0
type LeaseCandidatePatchMap map[string]LeaseCandidatePatchInput
func (LeaseCandidatePatchMap) ElementType ¶ added in v4.23.0
func (LeaseCandidatePatchMap) ElementType() reflect.Type
func (LeaseCandidatePatchMap) ToLeaseCandidatePatchMapOutput ¶ added in v4.23.0
func (i LeaseCandidatePatchMap) ToLeaseCandidatePatchMapOutput() LeaseCandidatePatchMapOutput
func (LeaseCandidatePatchMap) ToLeaseCandidatePatchMapOutputWithContext ¶ added in v4.23.0
func (i LeaseCandidatePatchMap) ToLeaseCandidatePatchMapOutputWithContext(ctx context.Context) LeaseCandidatePatchMapOutput
type LeaseCandidatePatchMapInput ¶ added in v4.23.0
type LeaseCandidatePatchMapInput interface {
pulumi.Input
ToLeaseCandidatePatchMapOutput() LeaseCandidatePatchMapOutput
ToLeaseCandidatePatchMapOutputWithContext(context.Context) LeaseCandidatePatchMapOutput
}
LeaseCandidatePatchMapInput is an input type that accepts LeaseCandidatePatchMap and LeaseCandidatePatchMapOutput values. You can construct a concrete instance of `LeaseCandidatePatchMapInput` via:
LeaseCandidatePatchMap{ "key": LeaseCandidatePatchArgs{...} }
type LeaseCandidatePatchMapOutput ¶ added in v4.23.0
type LeaseCandidatePatchMapOutput struct{ *pulumi.OutputState }
func (LeaseCandidatePatchMapOutput) ElementType ¶ added in v4.23.0
func (LeaseCandidatePatchMapOutput) ElementType() reflect.Type
func (LeaseCandidatePatchMapOutput) MapIndex ¶ added in v4.23.0
func (o LeaseCandidatePatchMapOutput) MapIndex(k pulumi.StringInput) LeaseCandidatePatchOutput
func (LeaseCandidatePatchMapOutput) ToLeaseCandidatePatchMapOutput ¶ added in v4.23.0
func (o LeaseCandidatePatchMapOutput) ToLeaseCandidatePatchMapOutput() LeaseCandidatePatchMapOutput
func (LeaseCandidatePatchMapOutput) ToLeaseCandidatePatchMapOutputWithContext ¶ added in v4.23.0
func (o LeaseCandidatePatchMapOutput) ToLeaseCandidatePatchMapOutputWithContext(ctx context.Context) LeaseCandidatePatchMapOutput
type LeaseCandidatePatchOutput ¶ added in v4.23.0
type LeaseCandidatePatchOutput struct{ *pulumi.OutputState }
func (LeaseCandidatePatchOutput) ApiVersion ¶ added in v4.23.0
func (o LeaseCandidatePatchOutput) 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 (LeaseCandidatePatchOutput) ElementType ¶ added in v4.23.0
func (LeaseCandidatePatchOutput) ElementType() reflect.Type
func (LeaseCandidatePatchOutput) Kind ¶ added in v4.23.0
func (o LeaseCandidatePatchOutput) Kind() pulumi.StringPtrOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (LeaseCandidatePatchOutput) Metadata ¶ added in v4.23.0
func (o LeaseCandidatePatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (LeaseCandidatePatchOutput) Spec ¶ added in v4.23.0
func (o LeaseCandidatePatchOutput) Spec() LeaseCandidateSpecPatchPtrOutput
spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (LeaseCandidatePatchOutput) ToLeaseCandidatePatchOutput ¶ added in v4.23.0
func (o LeaseCandidatePatchOutput) ToLeaseCandidatePatchOutput() LeaseCandidatePatchOutput
func (LeaseCandidatePatchOutput) ToLeaseCandidatePatchOutputWithContext ¶ added in v4.23.0
func (o LeaseCandidatePatchOutput) ToLeaseCandidatePatchOutputWithContext(ctx context.Context) LeaseCandidatePatchOutput
type LeaseCandidatePatchState ¶ added in v4.23.0
type LeaseCandidatePatchState struct {
}
func (LeaseCandidatePatchState) ElementType ¶ added in v4.23.0
func (LeaseCandidatePatchState) ElementType() reflect.Type
type LeaseCandidatePatchType ¶ added in v4.23.0
type LeaseCandidatePatchType 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"`
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
Metadata *metav1.ObjectMetaPatch `pulumi:"metadata"`
// spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
Spec *LeaseCandidateSpecPatch `pulumi:"spec"`
}
LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.
type LeaseCandidatePatchTypeArgs ¶ added in v4.23.0
type LeaseCandidatePatchTypeArgs 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"`
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
Metadata metav1.ObjectMetaPatchPtrInput `pulumi:"metadata"`
// spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
Spec LeaseCandidateSpecPatchPtrInput `pulumi:"spec"`
}
LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.
func (LeaseCandidatePatchTypeArgs) ElementType ¶ added in v4.23.0
func (LeaseCandidatePatchTypeArgs) ElementType() reflect.Type
func (LeaseCandidatePatchTypeArgs) ToLeaseCandidatePatchTypeOutput ¶ added in v4.23.0
func (i LeaseCandidatePatchTypeArgs) ToLeaseCandidatePatchTypeOutput() LeaseCandidatePatchTypeOutput
func (LeaseCandidatePatchTypeArgs) ToLeaseCandidatePatchTypeOutputWithContext ¶ added in v4.23.0
func (i LeaseCandidatePatchTypeArgs) ToLeaseCandidatePatchTypeOutputWithContext(ctx context.Context) LeaseCandidatePatchTypeOutput
type LeaseCandidatePatchTypeInput ¶ added in v4.23.0
type LeaseCandidatePatchTypeInput interface {
pulumi.Input
ToLeaseCandidatePatchTypeOutput() LeaseCandidatePatchTypeOutput
ToLeaseCandidatePatchTypeOutputWithContext(context.Context) LeaseCandidatePatchTypeOutput
}
LeaseCandidatePatchTypeInput is an input type that accepts LeaseCandidatePatchTypeArgs and LeaseCandidatePatchTypeOutput values. You can construct a concrete instance of `LeaseCandidatePatchTypeInput` via:
LeaseCandidatePatchTypeArgs{...}
type LeaseCandidatePatchTypeOutput ¶ added in v4.23.0
type LeaseCandidatePatchTypeOutput struct{ *pulumi.OutputState }
LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.
func (LeaseCandidatePatchTypeOutput) ApiVersion ¶ added in v4.23.0
func (o LeaseCandidatePatchTypeOutput) 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 (LeaseCandidatePatchTypeOutput) ElementType ¶ added in v4.23.0
func (LeaseCandidatePatchTypeOutput) ElementType() reflect.Type
func (LeaseCandidatePatchTypeOutput) Kind ¶ added in v4.23.0
func (o LeaseCandidatePatchTypeOutput) Kind() pulumi.StringPtrOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (LeaseCandidatePatchTypeOutput) Metadata ¶ added in v4.23.0
func (o LeaseCandidatePatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (LeaseCandidatePatchTypeOutput) Spec ¶ added in v4.23.0
func (o LeaseCandidatePatchTypeOutput) Spec() LeaseCandidateSpecPatchPtrOutput
spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (LeaseCandidatePatchTypeOutput) ToLeaseCandidatePatchTypeOutput ¶ added in v4.23.0
func (o LeaseCandidatePatchTypeOutput) ToLeaseCandidatePatchTypeOutput() LeaseCandidatePatchTypeOutput
func (LeaseCandidatePatchTypeOutput) ToLeaseCandidatePatchTypeOutputWithContext ¶ added in v4.23.0
func (o LeaseCandidatePatchTypeOutput) ToLeaseCandidatePatchTypeOutputWithContext(ctx context.Context) LeaseCandidatePatchTypeOutput
type LeaseCandidateSpec ¶ added in v4.23.0
type LeaseCandidateSpec struct {
// BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required.
BinaryVersion string `pulumi:"binaryVersion"`
// EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is "OldestEmulationVersion"
EmulationVersion *string `pulumi:"emulationVersion"`
// LeaseName is the name of the lease for which this candidate is contending. The limits on this field are the same as on Lease.name. Multiple lease candidates may reference the same Lease.name. This field is immutable.
LeaseName string `pulumi:"leaseName"`
// PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime.
PingTime *string `pulumi:"pingTime"`
// RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates.
RenewTime *string `pulumi:"renewTime"`
// Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved.
Strategy string `pulumi:"strategy"`
}
LeaseCandidateSpec is a specification of a Lease.
type LeaseCandidateSpecArgs ¶ added in v4.23.0
type LeaseCandidateSpecArgs struct {
// BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required.
BinaryVersion pulumi.StringInput `pulumi:"binaryVersion"`
// EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is "OldestEmulationVersion"
EmulationVersion pulumi.StringPtrInput `pulumi:"emulationVersion"`
// LeaseName is the name of the lease for which this candidate is contending. The limits on this field are the same as on Lease.name. Multiple lease candidates may reference the same Lease.name. This field is immutable.
LeaseName pulumi.StringInput `pulumi:"leaseName"`
// PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime.
PingTime pulumi.StringPtrInput `pulumi:"pingTime"`
// RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates.
RenewTime pulumi.StringPtrInput `pulumi:"renewTime"`
// Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved.
Strategy pulumi.StringInput `pulumi:"strategy"`
}
LeaseCandidateSpec is a specification of a Lease.
func (LeaseCandidateSpecArgs) ElementType ¶ added in v4.23.0
func (LeaseCandidateSpecArgs) ElementType() reflect.Type
func (LeaseCandidateSpecArgs) ToLeaseCandidateSpecOutput ¶ added in v4.23.0
func (i LeaseCandidateSpecArgs) ToLeaseCandidateSpecOutput() LeaseCandidateSpecOutput
func (LeaseCandidateSpecArgs) ToLeaseCandidateSpecOutputWithContext ¶ added in v4.23.0
func (i LeaseCandidateSpecArgs) ToLeaseCandidateSpecOutputWithContext(ctx context.Context) LeaseCandidateSpecOutput
func (LeaseCandidateSpecArgs) ToLeaseCandidateSpecPtrOutput ¶ added in v4.23.0
func (i LeaseCandidateSpecArgs) ToLeaseCandidateSpecPtrOutput() LeaseCandidateSpecPtrOutput
func (LeaseCandidateSpecArgs) ToLeaseCandidateSpecPtrOutputWithContext ¶ added in v4.23.0
func (i LeaseCandidateSpecArgs) ToLeaseCandidateSpecPtrOutputWithContext(ctx context.Context) LeaseCandidateSpecPtrOutput
type LeaseCandidateSpecInput ¶ added in v4.23.0
type LeaseCandidateSpecInput interface {
pulumi.Input
ToLeaseCandidateSpecOutput() LeaseCandidateSpecOutput
ToLeaseCandidateSpecOutputWithContext(context.Context) LeaseCandidateSpecOutput
}
LeaseCandidateSpecInput is an input type that accepts LeaseCandidateSpecArgs and LeaseCandidateSpecOutput values. You can construct a concrete instance of `LeaseCandidateSpecInput` via:
LeaseCandidateSpecArgs{...}
type LeaseCandidateSpecOutput ¶ added in v4.23.0
type LeaseCandidateSpecOutput struct{ *pulumi.OutputState }
LeaseCandidateSpec is a specification of a Lease.
func (LeaseCandidateSpecOutput) BinaryVersion ¶ added in v4.23.0
func (o LeaseCandidateSpecOutput) BinaryVersion() pulumi.StringOutput
BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required.
func (LeaseCandidateSpecOutput) ElementType ¶ added in v4.23.0
func (LeaseCandidateSpecOutput) ElementType() reflect.Type
func (LeaseCandidateSpecOutput) EmulationVersion ¶ added in v4.23.0
func (o LeaseCandidateSpecOutput) EmulationVersion() pulumi.StringPtrOutput
EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is "OldestEmulationVersion"
func (LeaseCandidateSpecOutput) LeaseName ¶ added in v4.23.0
func (o LeaseCandidateSpecOutput) LeaseName() pulumi.StringOutput
LeaseName is the name of the lease for which this candidate is contending. The limits on this field are the same as on Lease.name. Multiple lease candidates may reference the same Lease.name. This field is immutable.
func (LeaseCandidateSpecOutput) PingTime ¶ added in v4.23.0
func (o LeaseCandidateSpecOutput) PingTime() pulumi.StringPtrOutput
PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime.
func (LeaseCandidateSpecOutput) RenewTime ¶ added in v4.23.0
func (o LeaseCandidateSpecOutput) RenewTime() pulumi.StringPtrOutput
RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates.
func (LeaseCandidateSpecOutput) Strategy ¶ added in v4.23.0
func (o LeaseCandidateSpecOutput) Strategy() pulumi.StringOutput
Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved.
func (LeaseCandidateSpecOutput) ToLeaseCandidateSpecOutput ¶ added in v4.23.0
func (o LeaseCandidateSpecOutput) ToLeaseCandidateSpecOutput() LeaseCandidateSpecOutput
func (LeaseCandidateSpecOutput) ToLeaseCandidateSpecOutputWithContext ¶ added in v4.23.0
func (o LeaseCandidateSpecOutput) ToLeaseCandidateSpecOutputWithContext(ctx context.Context) LeaseCandidateSpecOutput
func (LeaseCandidateSpecOutput) ToLeaseCandidateSpecPtrOutput ¶ added in v4.23.0
func (o LeaseCandidateSpecOutput) ToLeaseCandidateSpecPtrOutput() LeaseCandidateSpecPtrOutput
func (LeaseCandidateSpecOutput) ToLeaseCandidateSpecPtrOutputWithContext ¶ added in v4.23.0
func (o LeaseCandidateSpecOutput) ToLeaseCandidateSpecPtrOutputWithContext(ctx context.Context) LeaseCandidateSpecPtrOutput
type LeaseCandidateSpecPatch ¶ added in v4.23.0
type LeaseCandidateSpecPatch struct {
// BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required.
BinaryVersion *string `pulumi:"binaryVersion"`
// EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is "OldestEmulationVersion"
EmulationVersion *string `pulumi:"emulationVersion"`
// LeaseName is the name of the lease for which this candidate is contending. The limits on this field are the same as on Lease.name. Multiple lease candidates may reference the same Lease.name. This field is immutable.
LeaseName *string `pulumi:"leaseName"`
// PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime.
PingTime *string `pulumi:"pingTime"`
// RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates.
RenewTime *string `pulumi:"renewTime"`
// Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved.
Strategy *string `pulumi:"strategy"`
}
LeaseCandidateSpec is a specification of a Lease.
type LeaseCandidateSpecPatchArgs ¶ added in v4.23.0
type LeaseCandidateSpecPatchArgs struct {
// BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required.
BinaryVersion pulumi.StringPtrInput `pulumi:"binaryVersion"`
// EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is "OldestEmulationVersion"
EmulationVersion pulumi.StringPtrInput `pulumi:"emulationVersion"`
// LeaseName is the name of the lease for which this candidate is contending. The limits on this field are the same as on Lease.name. Multiple lease candidates may reference the same Lease.name. This field is immutable.
LeaseName pulumi.StringPtrInput `pulumi:"leaseName"`
// PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime.
PingTime pulumi.StringPtrInput `pulumi:"pingTime"`
// RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates.
RenewTime pulumi.StringPtrInput `pulumi:"renewTime"`
// Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved.
Strategy pulumi.StringPtrInput `pulumi:"strategy"`
}
LeaseCandidateSpec is a specification of a Lease.
func (LeaseCandidateSpecPatchArgs) ElementType ¶ added in v4.23.0
func (LeaseCandidateSpecPatchArgs) ElementType() reflect.Type
func (LeaseCandidateSpecPatchArgs) ToLeaseCandidateSpecPatchOutput ¶ added in v4.23.0
func (i LeaseCandidateSpecPatchArgs) ToLeaseCandidateSpecPatchOutput() LeaseCandidateSpecPatchOutput
func (LeaseCandidateSpecPatchArgs) ToLeaseCandidateSpecPatchOutputWithContext ¶ added in v4.23.0
func (i LeaseCandidateSpecPatchArgs) ToLeaseCandidateSpecPatchOutputWithContext(ctx context.Context) LeaseCandidateSpecPatchOutput
func (LeaseCandidateSpecPatchArgs) ToLeaseCandidateSpecPatchPtrOutput ¶ added in v4.23.0
func (i LeaseCandidateSpecPatchArgs) ToLeaseCandidateSpecPatchPtrOutput() LeaseCandidateSpecPatchPtrOutput
func (LeaseCandidateSpecPatchArgs) ToLeaseCandidateSpecPatchPtrOutputWithContext ¶ added in v4.23.0
func (i LeaseCandidateSpecPatchArgs) ToLeaseCandidateSpecPatchPtrOutputWithContext(ctx context.Context) LeaseCandidateSpecPatchPtrOutput
type LeaseCandidateSpecPatchInput ¶ added in v4.23.0
type LeaseCandidateSpecPatchInput interface {
pulumi.Input
ToLeaseCandidateSpecPatchOutput() LeaseCandidateSpecPatchOutput
ToLeaseCandidateSpecPatchOutputWithContext(context.Context) LeaseCandidateSpecPatchOutput
}
LeaseCandidateSpecPatchInput is an input type that accepts LeaseCandidateSpecPatchArgs and LeaseCandidateSpecPatchOutput values. You can construct a concrete instance of `LeaseCandidateSpecPatchInput` via:
LeaseCandidateSpecPatchArgs{...}
type LeaseCandidateSpecPatchOutput ¶ added in v4.23.0
type LeaseCandidateSpecPatchOutput struct{ *pulumi.OutputState }
LeaseCandidateSpec is a specification of a Lease.
func (LeaseCandidateSpecPatchOutput) BinaryVersion ¶ added in v4.23.0
func (o LeaseCandidateSpecPatchOutput) BinaryVersion() pulumi.StringPtrOutput
BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required.
func (LeaseCandidateSpecPatchOutput) ElementType ¶ added in v4.23.0
func (LeaseCandidateSpecPatchOutput) ElementType() reflect.Type
func (LeaseCandidateSpecPatchOutput) EmulationVersion ¶ added in v4.23.0
func (o LeaseCandidateSpecPatchOutput) EmulationVersion() pulumi.StringPtrOutput
EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is "OldestEmulationVersion"
func (LeaseCandidateSpecPatchOutput) LeaseName ¶ added in v4.23.0
func (o LeaseCandidateSpecPatchOutput) LeaseName() pulumi.StringPtrOutput
LeaseName is the name of the lease for which this candidate is contending. The limits on this field are the same as on Lease.name. Multiple lease candidates may reference the same Lease.name. This field is immutable.
func (LeaseCandidateSpecPatchOutput) PingTime ¶ added in v4.23.0
func (o LeaseCandidateSpecPatchOutput) PingTime() pulumi.StringPtrOutput
PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime.
func (LeaseCandidateSpecPatchOutput) RenewTime ¶ added in v4.23.0
func (o LeaseCandidateSpecPatchOutput) RenewTime() pulumi.StringPtrOutput
RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates.
func (LeaseCandidateSpecPatchOutput) Strategy ¶ added in v4.23.0
func (o LeaseCandidateSpecPatchOutput) Strategy() pulumi.StringPtrOutput
Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved.
func (LeaseCandidateSpecPatchOutput) ToLeaseCandidateSpecPatchOutput ¶ added in v4.23.0
func (o LeaseCandidateSpecPatchOutput) ToLeaseCandidateSpecPatchOutput() LeaseCandidateSpecPatchOutput
func (LeaseCandidateSpecPatchOutput) ToLeaseCandidateSpecPatchOutputWithContext ¶ added in v4.23.0
func (o LeaseCandidateSpecPatchOutput) ToLeaseCandidateSpecPatchOutputWithContext(ctx context.Context) LeaseCandidateSpecPatchOutput
func (LeaseCandidateSpecPatchOutput) ToLeaseCandidateSpecPatchPtrOutput ¶ added in v4.23.0
func (o LeaseCandidateSpecPatchOutput) ToLeaseCandidateSpecPatchPtrOutput() LeaseCandidateSpecPatchPtrOutput
func (LeaseCandidateSpecPatchOutput) ToLeaseCandidateSpecPatchPtrOutputWithContext ¶ added in v4.23.0
func (o LeaseCandidateSpecPatchOutput) ToLeaseCandidateSpecPatchPtrOutputWithContext(ctx context.Context) LeaseCandidateSpecPatchPtrOutput
type LeaseCandidateSpecPatchPtrInput ¶ added in v4.23.0
type LeaseCandidateSpecPatchPtrInput interface {
pulumi.Input
ToLeaseCandidateSpecPatchPtrOutput() LeaseCandidateSpecPatchPtrOutput
ToLeaseCandidateSpecPatchPtrOutputWithContext(context.Context) LeaseCandidateSpecPatchPtrOutput
}
LeaseCandidateSpecPatchPtrInput is an input type that accepts LeaseCandidateSpecPatchArgs, LeaseCandidateSpecPatchPtr and LeaseCandidateSpecPatchPtrOutput values. You can construct a concrete instance of `LeaseCandidateSpecPatchPtrInput` via:
LeaseCandidateSpecPatchArgs{...}
or:
nil
func LeaseCandidateSpecPatchPtr ¶ added in v4.23.0
func LeaseCandidateSpecPatchPtr(v *LeaseCandidateSpecPatchArgs) LeaseCandidateSpecPatchPtrInput
type LeaseCandidateSpecPatchPtrOutput ¶ added in v4.23.0
type LeaseCandidateSpecPatchPtrOutput struct{ *pulumi.OutputState }
func (LeaseCandidateSpecPatchPtrOutput) BinaryVersion ¶ added in v4.23.0
func (o LeaseCandidateSpecPatchPtrOutput) BinaryVersion() pulumi.StringPtrOutput
BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required.
func (LeaseCandidateSpecPatchPtrOutput) Elem ¶ added in v4.23.0
func (o LeaseCandidateSpecPatchPtrOutput) Elem() LeaseCandidateSpecPatchOutput
func (LeaseCandidateSpecPatchPtrOutput) ElementType ¶ added in v4.23.0
func (LeaseCandidateSpecPatchPtrOutput) ElementType() reflect.Type
func (LeaseCandidateSpecPatchPtrOutput) EmulationVersion ¶ added in v4.23.0
func (o LeaseCandidateSpecPatchPtrOutput) EmulationVersion() pulumi.StringPtrOutput
EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is "OldestEmulationVersion"
func (LeaseCandidateSpecPatchPtrOutput) LeaseName ¶ added in v4.23.0
func (o LeaseCandidateSpecPatchPtrOutput) LeaseName() pulumi.StringPtrOutput
LeaseName is the name of the lease for which this candidate is contending. The limits on this field are the same as on Lease.name. Multiple lease candidates may reference the same Lease.name. This field is immutable.
func (LeaseCandidateSpecPatchPtrOutput) PingTime ¶ added in v4.23.0
func (o LeaseCandidateSpecPatchPtrOutput) PingTime() pulumi.StringPtrOutput
PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime.
func (LeaseCandidateSpecPatchPtrOutput) RenewTime ¶ added in v4.23.0
func (o LeaseCandidateSpecPatchPtrOutput) RenewTime() pulumi.StringPtrOutput
RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates.
func (LeaseCandidateSpecPatchPtrOutput) Strategy ¶ added in v4.23.0
func (o LeaseCandidateSpecPatchPtrOutput) Strategy() pulumi.StringPtrOutput
Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved.
func (LeaseCandidateSpecPatchPtrOutput) ToLeaseCandidateSpecPatchPtrOutput ¶ added in v4.23.0
func (o LeaseCandidateSpecPatchPtrOutput) ToLeaseCandidateSpecPatchPtrOutput() LeaseCandidateSpecPatchPtrOutput
func (LeaseCandidateSpecPatchPtrOutput) ToLeaseCandidateSpecPatchPtrOutputWithContext ¶ added in v4.23.0
func (o LeaseCandidateSpecPatchPtrOutput) ToLeaseCandidateSpecPatchPtrOutputWithContext(ctx context.Context) LeaseCandidateSpecPatchPtrOutput
type LeaseCandidateSpecPtrInput ¶ added in v4.23.0
type LeaseCandidateSpecPtrInput interface {
pulumi.Input
ToLeaseCandidateSpecPtrOutput() LeaseCandidateSpecPtrOutput
ToLeaseCandidateSpecPtrOutputWithContext(context.Context) LeaseCandidateSpecPtrOutput
}
LeaseCandidateSpecPtrInput is an input type that accepts LeaseCandidateSpecArgs, LeaseCandidateSpecPtr and LeaseCandidateSpecPtrOutput values. You can construct a concrete instance of `LeaseCandidateSpecPtrInput` via:
LeaseCandidateSpecArgs{...}
or:
nil
func LeaseCandidateSpecPtr ¶ added in v4.23.0
func LeaseCandidateSpecPtr(v *LeaseCandidateSpecArgs) LeaseCandidateSpecPtrInput
type LeaseCandidateSpecPtrOutput ¶ added in v4.23.0
type LeaseCandidateSpecPtrOutput struct{ *pulumi.OutputState }
func (LeaseCandidateSpecPtrOutput) BinaryVersion ¶ added in v4.23.0
func (o LeaseCandidateSpecPtrOutput) BinaryVersion() pulumi.StringPtrOutput
BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required.
func (LeaseCandidateSpecPtrOutput) Elem ¶ added in v4.23.0
func (o LeaseCandidateSpecPtrOutput) Elem() LeaseCandidateSpecOutput
func (LeaseCandidateSpecPtrOutput) ElementType ¶ added in v4.23.0
func (LeaseCandidateSpecPtrOutput) ElementType() reflect.Type
func (LeaseCandidateSpecPtrOutput) EmulationVersion ¶ added in v4.23.0
func (o LeaseCandidateSpecPtrOutput) EmulationVersion() pulumi.StringPtrOutput
EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is "OldestEmulationVersion"
func (LeaseCandidateSpecPtrOutput) LeaseName ¶ added in v4.23.0
func (o LeaseCandidateSpecPtrOutput) LeaseName() pulumi.StringPtrOutput
LeaseName is the name of the lease for which this candidate is contending. The limits on this field are the same as on Lease.name. Multiple lease candidates may reference the same Lease.name. This field is immutable.
func (LeaseCandidateSpecPtrOutput) PingTime ¶ added in v4.23.0
func (o LeaseCandidateSpecPtrOutput) PingTime() pulumi.StringPtrOutput
PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime.
func (LeaseCandidateSpecPtrOutput) RenewTime ¶ added in v4.23.0
func (o LeaseCandidateSpecPtrOutput) RenewTime() pulumi.StringPtrOutput
RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates.
func (LeaseCandidateSpecPtrOutput) Strategy ¶ added in v4.23.0
func (o LeaseCandidateSpecPtrOutput) Strategy() pulumi.StringPtrOutput
Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved.
func (LeaseCandidateSpecPtrOutput) ToLeaseCandidateSpecPtrOutput ¶ added in v4.23.0
func (o LeaseCandidateSpecPtrOutput) ToLeaseCandidateSpecPtrOutput() LeaseCandidateSpecPtrOutput
func (LeaseCandidateSpecPtrOutput) ToLeaseCandidateSpecPtrOutputWithContext ¶ added in v4.23.0
func (o LeaseCandidateSpecPtrOutput) ToLeaseCandidateSpecPtrOutputWithContext(ctx context.Context) LeaseCandidateSpecPtrOutput
type LeaseCandidateState ¶ added in v4.23.0
type LeaseCandidateState struct {
}
func (LeaseCandidateState) ElementType ¶ added in v4.23.0
func (LeaseCandidateState) ElementType() reflect.Type
type LeaseCandidateType ¶ added in v4.23.0
type LeaseCandidateType 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"`
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
Metadata *metav1.ObjectMeta `pulumi:"metadata"`
// spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
Spec *LeaseCandidateSpec `pulumi:"spec"`
}
LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.
type LeaseCandidateTypeArgs ¶ added in v4.23.0
type LeaseCandidateTypeArgs 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"`
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
// spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
Spec LeaseCandidateSpecPtrInput `pulumi:"spec"`
}
LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.
func (LeaseCandidateTypeArgs) ElementType ¶ added in v4.23.0
func (LeaseCandidateTypeArgs) ElementType() reflect.Type
func (LeaseCandidateTypeArgs) ToLeaseCandidateTypeOutput ¶ added in v4.23.0
func (i LeaseCandidateTypeArgs) ToLeaseCandidateTypeOutput() LeaseCandidateTypeOutput
func (LeaseCandidateTypeArgs) ToLeaseCandidateTypeOutputWithContext ¶ added in v4.23.0
func (i LeaseCandidateTypeArgs) ToLeaseCandidateTypeOutputWithContext(ctx context.Context) LeaseCandidateTypeOutput
type LeaseCandidateTypeArray ¶ added in v4.23.0
type LeaseCandidateTypeArray []LeaseCandidateTypeInput
func (LeaseCandidateTypeArray) ElementType ¶ added in v4.23.0
func (LeaseCandidateTypeArray) ElementType() reflect.Type
func (LeaseCandidateTypeArray) ToLeaseCandidateTypeArrayOutput ¶ added in v4.23.0
func (i LeaseCandidateTypeArray) ToLeaseCandidateTypeArrayOutput() LeaseCandidateTypeArrayOutput
func (LeaseCandidateTypeArray) ToLeaseCandidateTypeArrayOutputWithContext ¶ added in v4.23.0
func (i LeaseCandidateTypeArray) ToLeaseCandidateTypeArrayOutputWithContext(ctx context.Context) LeaseCandidateTypeArrayOutput
type LeaseCandidateTypeArrayInput ¶ added in v4.23.0
type LeaseCandidateTypeArrayInput interface {
pulumi.Input
ToLeaseCandidateTypeArrayOutput() LeaseCandidateTypeArrayOutput
ToLeaseCandidateTypeArrayOutputWithContext(context.Context) LeaseCandidateTypeArrayOutput
}
LeaseCandidateTypeArrayInput is an input type that accepts LeaseCandidateTypeArray and LeaseCandidateTypeArrayOutput values. You can construct a concrete instance of `LeaseCandidateTypeArrayInput` via:
LeaseCandidateTypeArray{ LeaseCandidateTypeArgs{...} }
type LeaseCandidateTypeArrayOutput ¶ added in v4.23.0
type LeaseCandidateTypeArrayOutput struct{ *pulumi.OutputState }
func (LeaseCandidateTypeArrayOutput) ElementType ¶ added in v4.23.0
func (LeaseCandidateTypeArrayOutput) ElementType() reflect.Type
func (LeaseCandidateTypeArrayOutput) Index ¶ added in v4.23.0
func (o LeaseCandidateTypeArrayOutput) Index(i pulumi.IntInput) LeaseCandidateTypeOutput
func (LeaseCandidateTypeArrayOutput) ToLeaseCandidateTypeArrayOutput ¶ added in v4.23.0
func (o LeaseCandidateTypeArrayOutput) ToLeaseCandidateTypeArrayOutput() LeaseCandidateTypeArrayOutput
func (LeaseCandidateTypeArrayOutput) ToLeaseCandidateTypeArrayOutputWithContext ¶ added in v4.23.0
func (o LeaseCandidateTypeArrayOutput) ToLeaseCandidateTypeArrayOutputWithContext(ctx context.Context) LeaseCandidateTypeArrayOutput
type LeaseCandidateTypeInput ¶ added in v4.23.0
type LeaseCandidateTypeInput interface {
pulumi.Input
ToLeaseCandidateTypeOutput() LeaseCandidateTypeOutput
ToLeaseCandidateTypeOutputWithContext(context.Context) LeaseCandidateTypeOutput
}
LeaseCandidateTypeInput is an input type that accepts LeaseCandidateTypeArgs and LeaseCandidateTypeOutput values. You can construct a concrete instance of `LeaseCandidateTypeInput` via:
LeaseCandidateTypeArgs{...}
type LeaseCandidateTypeOutput ¶ added in v4.23.0
type LeaseCandidateTypeOutput struct{ *pulumi.OutputState }
LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.
func (LeaseCandidateTypeOutput) ApiVersion ¶ added in v4.23.0
func (o LeaseCandidateTypeOutput) 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 (LeaseCandidateTypeOutput) ElementType ¶ added in v4.23.0
func (LeaseCandidateTypeOutput) ElementType() reflect.Type
func (LeaseCandidateTypeOutput) Kind ¶ added in v4.23.0
func (o LeaseCandidateTypeOutput) Kind() pulumi.StringPtrOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (LeaseCandidateTypeOutput) Metadata ¶ added in v4.23.0
func (o LeaseCandidateTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (LeaseCandidateTypeOutput) Spec ¶ added in v4.23.0
func (o LeaseCandidateTypeOutput) Spec() LeaseCandidateSpecPtrOutput
spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (LeaseCandidateTypeOutput) ToLeaseCandidateTypeOutput ¶ added in v4.23.0
func (o LeaseCandidateTypeOutput) ToLeaseCandidateTypeOutput() LeaseCandidateTypeOutput
func (LeaseCandidateTypeOutput) ToLeaseCandidateTypeOutputWithContext ¶ added in v4.23.0
func (o LeaseCandidateTypeOutput) ToLeaseCandidateTypeOutputWithContext(ctx context.Context) LeaseCandidateTypeOutput
type LeaseInput ¶
type LeaseInput interface {
pulumi.Input
ToLeaseOutput() LeaseOutput
ToLeaseOutputWithContext(ctx context.Context) LeaseOutput
}
type LeaseList ¶
type LeaseList struct {
pulumi.CustomResourceState
// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
ApiVersion pulumi.StringOutput `pulumi:"apiVersion"`
// Items is a list of schema objects.
Items LeaseTypeArrayOutput `pulumi:"items"`
// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
Kind pulumi.StringOutput `pulumi:"kind"`
// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
Metadata metav1.ListMetaOutput `pulumi:"metadata"`
}
LeaseList is a list of Lease objects.
func GetLeaseList ¶
func GetLeaseList(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LeaseListState, opts ...pulumi.ResourceOption) (*LeaseList, error)
GetLeaseList gets an existing LeaseList 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 NewLeaseList ¶
func NewLeaseList(ctx *pulumi.Context, name string, args *LeaseListArgs, opts ...pulumi.ResourceOption) (*LeaseList, error)
NewLeaseList registers a new resource with the given unique name, arguments, and options.
func (*LeaseList) ElementType ¶
func (*LeaseList) ToLeaseListOutput ¶
func (i *LeaseList) ToLeaseListOutput() LeaseListOutput
func (*LeaseList) ToLeaseListOutputWithContext ¶
func (i *LeaseList) ToLeaseListOutputWithContext(ctx context.Context) LeaseListOutput
type LeaseListArgs ¶
type LeaseListArgs 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 a list of schema objects.
Items LeaseTypeArrayInput
// 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 LeaseList resource.
func (LeaseListArgs) ElementType ¶
func (LeaseListArgs) ElementType() reflect.Type
type LeaseListArray ¶
type LeaseListArray []LeaseListInput
func (LeaseListArray) ElementType ¶
func (LeaseListArray) ElementType() reflect.Type
func (LeaseListArray) ToLeaseListArrayOutput ¶
func (i LeaseListArray) ToLeaseListArrayOutput() LeaseListArrayOutput
func (LeaseListArray) ToLeaseListArrayOutputWithContext ¶
func (i LeaseListArray) ToLeaseListArrayOutputWithContext(ctx context.Context) LeaseListArrayOutput
type LeaseListArrayInput ¶
type LeaseListArrayInput interface {
pulumi.Input
ToLeaseListArrayOutput() LeaseListArrayOutput
ToLeaseListArrayOutputWithContext(context.Context) LeaseListArrayOutput
}
LeaseListArrayInput is an input type that accepts LeaseListArray and LeaseListArrayOutput values. You can construct a concrete instance of `LeaseListArrayInput` via:
LeaseListArray{ LeaseListArgs{...} }
type LeaseListArrayOutput ¶
type LeaseListArrayOutput struct{ *pulumi.OutputState }
func (LeaseListArrayOutput) ElementType ¶
func (LeaseListArrayOutput) ElementType() reflect.Type
func (LeaseListArrayOutput) Index ¶
func (o LeaseListArrayOutput) Index(i pulumi.IntInput) LeaseListOutput
func (LeaseListArrayOutput) ToLeaseListArrayOutput ¶
func (o LeaseListArrayOutput) ToLeaseListArrayOutput() LeaseListArrayOutput
func (LeaseListArrayOutput) ToLeaseListArrayOutputWithContext ¶
func (o LeaseListArrayOutput) ToLeaseListArrayOutputWithContext(ctx context.Context) LeaseListArrayOutput
type LeaseListInput ¶
type LeaseListInput interface {
pulumi.Input
ToLeaseListOutput() LeaseListOutput
ToLeaseListOutputWithContext(ctx context.Context) LeaseListOutput
}
type LeaseListMap ¶
type LeaseListMap map[string]LeaseListInput
func (LeaseListMap) ElementType ¶
func (LeaseListMap) ElementType() reflect.Type
func (LeaseListMap) ToLeaseListMapOutput ¶
func (i LeaseListMap) ToLeaseListMapOutput() LeaseListMapOutput
func (LeaseListMap) ToLeaseListMapOutputWithContext ¶
func (i LeaseListMap) ToLeaseListMapOutputWithContext(ctx context.Context) LeaseListMapOutput
type LeaseListMapInput ¶
type LeaseListMapInput interface {
pulumi.Input
ToLeaseListMapOutput() LeaseListMapOutput
ToLeaseListMapOutputWithContext(context.Context) LeaseListMapOutput
}
LeaseListMapInput is an input type that accepts LeaseListMap and LeaseListMapOutput values. You can construct a concrete instance of `LeaseListMapInput` via:
LeaseListMap{ "key": LeaseListArgs{...} }
type LeaseListMapOutput ¶
type LeaseListMapOutput struct{ *pulumi.OutputState }
func (LeaseListMapOutput) ElementType ¶
func (LeaseListMapOutput) ElementType() reflect.Type
func (LeaseListMapOutput) MapIndex ¶
func (o LeaseListMapOutput) MapIndex(k pulumi.StringInput) LeaseListOutput
func (LeaseListMapOutput) ToLeaseListMapOutput ¶
func (o LeaseListMapOutput) ToLeaseListMapOutput() LeaseListMapOutput
func (LeaseListMapOutput) ToLeaseListMapOutputWithContext ¶
func (o LeaseListMapOutput) ToLeaseListMapOutputWithContext(ctx context.Context) LeaseListMapOutput
type LeaseListOutput ¶
type LeaseListOutput struct{ *pulumi.OutputState }
func (LeaseListOutput) ApiVersion ¶
func (o LeaseListOutput) ApiVersion() pulumi.StringOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (LeaseListOutput) ElementType ¶
func (LeaseListOutput) ElementType() reflect.Type
func (LeaseListOutput) Items ¶
func (o LeaseListOutput) Items() LeaseTypeArrayOutput
Items is a list of schema objects.
func (LeaseListOutput) Kind ¶
func (o LeaseListOutput) Kind() pulumi.StringOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (LeaseListOutput) Metadata ¶
func (o LeaseListOutput) Metadata() metav1.ListMetaOutput
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (LeaseListOutput) ToLeaseListOutput ¶
func (o LeaseListOutput) ToLeaseListOutput() LeaseListOutput
func (LeaseListOutput) ToLeaseListOutputWithContext ¶
func (o LeaseListOutput) ToLeaseListOutputWithContext(ctx context.Context) LeaseListOutput
type LeaseListState ¶
type LeaseListState struct {
}
func (LeaseListState) ElementType ¶
func (LeaseListState) ElementType() reflect.Type
type LeaseListType ¶
type LeaseListType 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 a list of schema objects.
Items []LeaseType `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"`
}
LeaseList is a list of Lease objects.
type LeaseListTypeArgs ¶
type LeaseListTypeArgs 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 a list of schema objects.
Items LeaseTypeArrayInput `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"`
}
LeaseList is a list of Lease objects.
func (LeaseListTypeArgs) ElementType ¶
func (LeaseListTypeArgs) ElementType() reflect.Type
func (LeaseListTypeArgs) ToLeaseListTypeOutput ¶
func (i LeaseListTypeArgs) ToLeaseListTypeOutput() LeaseListTypeOutput
func (LeaseListTypeArgs) ToLeaseListTypeOutputWithContext ¶
func (i LeaseListTypeArgs) ToLeaseListTypeOutputWithContext(ctx context.Context) LeaseListTypeOutput
type LeaseListTypeInput ¶
type LeaseListTypeInput interface {
pulumi.Input
ToLeaseListTypeOutput() LeaseListTypeOutput
ToLeaseListTypeOutputWithContext(context.Context) LeaseListTypeOutput
}
LeaseListTypeInput is an input type that accepts LeaseListTypeArgs and LeaseListTypeOutput values. You can construct a concrete instance of `LeaseListTypeInput` via:
LeaseListTypeArgs{...}
type LeaseListTypeOutput ¶
type LeaseListTypeOutput struct{ *pulumi.OutputState }
LeaseList is a list of Lease objects.
func (LeaseListTypeOutput) ApiVersion ¶
func (o LeaseListTypeOutput) 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 (LeaseListTypeOutput) ElementType ¶
func (LeaseListTypeOutput) ElementType() reflect.Type
func (LeaseListTypeOutput) Items ¶
func (o LeaseListTypeOutput) Items() LeaseTypeArrayOutput
Items is a list of schema objects.
func (LeaseListTypeOutput) Kind ¶
func (o LeaseListTypeOutput) Kind() pulumi.StringPtrOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (LeaseListTypeOutput) Metadata ¶
func (o LeaseListTypeOutput) Metadata() metav1.ListMetaPtrOutput
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (LeaseListTypeOutput) ToLeaseListTypeOutput ¶
func (o LeaseListTypeOutput) ToLeaseListTypeOutput() LeaseListTypeOutput
func (LeaseListTypeOutput) ToLeaseListTypeOutputWithContext ¶
func (o LeaseListTypeOutput) ToLeaseListTypeOutputWithContext(ctx context.Context) LeaseListTypeOutput
type LeaseMap ¶
type LeaseMap map[string]LeaseInput
func (LeaseMap) ElementType ¶
func (LeaseMap) ToLeaseMapOutput ¶
func (i LeaseMap) ToLeaseMapOutput() LeaseMapOutput
func (LeaseMap) ToLeaseMapOutputWithContext ¶
func (i LeaseMap) ToLeaseMapOutputWithContext(ctx context.Context) LeaseMapOutput
type LeaseMapInput ¶
type LeaseMapInput interface {
pulumi.Input
ToLeaseMapOutput() LeaseMapOutput
ToLeaseMapOutputWithContext(context.Context) LeaseMapOutput
}
LeaseMapInput is an input type that accepts LeaseMap and LeaseMapOutput values. You can construct a concrete instance of `LeaseMapInput` via:
LeaseMap{ "key": LeaseArgs{...} }
type LeaseMapOutput ¶
type LeaseMapOutput struct{ *pulumi.OutputState }
func (LeaseMapOutput) ElementType ¶
func (LeaseMapOutput) ElementType() reflect.Type
func (LeaseMapOutput) MapIndex ¶
func (o LeaseMapOutput) MapIndex(k pulumi.StringInput) LeaseOutput
func (LeaseMapOutput) ToLeaseMapOutput ¶
func (o LeaseMapOutput) ToLeaseMapOutput() LeaseMapOutput
func (LeaseMapOutput) ToLeaseMapOutputWithContext ¶
func (o LeaseMapOutput) ToLeaseMapOutputWithContext(ctx context.Context) LeaseMapOutput
type LeaseOutput ¶
type LeaseOutput struct{ *pulumi.OutputState }
func (LeaseOutput) ApiVersion ¶
func (o LeaseOutput) ApiVersion() pulumi.StringOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (LeaseOutput) ElementType ¶
func (LeaseOutput) ElementType() reflect.Type
func (LeaseOutput) Kind ¶
func (o LeaseOutput) Kind() pulumi.StringOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (LeaseOutput) Metadata ¶
func (o LeaseOutput) Metadata() metav1.ObjectMetaOutput
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (LeaseOutput) Spec ¶
func (o LeaseOutput) Spec() LeaseSpecOutput
Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (LeaseOutput) ToLeaseOutput ¶
func (o LeaseOutput) ToLeaseOutput() LeaseOutput
func (LeaseOutput) ToLeaseOutputWithContext ¶
func (o LeaseOutput) ToLeaseOutputWithContext(ctx context.Context) LeaseOutput
type LeasePatch ¶
type LeasePatch 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"`
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
Metadata metav1.ObjectMetaPatchPtrOutput `pulumi:"metadata"`
// Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
Spec LeaseSpecPatchPtrOutput `pulumi:"spec"`
}
Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. Lease defines a lease concept.
func GetLeasePatch ¶
func GetLeasePatch(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LeasePatchState, opts ...pulumi.ResourceOption) (*LeasePatch, error)
GetLeasePatch gets an existing LeasePatch 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 NewLeasePatch ¶
func NewLeasePatch(ctx *pulumi.Context, name string, args *LeasePatchArgs, opts ...pulumi.ResourceOption) (*LeasePatch, error)
NewLeasePatch registers a new resource with the given unique name, arguments, and options.
func (*LeasePatch) ElementType ¶
func (*LeasePatch) ElementType() reflect.Type
func (*LeasePatch) ToLeasePatchOutput ¶
func (i *LeasePatch) ToLeasePatchOutput() LeasePatchOutput
func (*LeasePatch) ToLeasePatchOutputWithContext ¶
func (i *LeasePatch) ToLeasePatchOutputWithContext(ctx context.Context) LeasePatchOutput
type LeasePatchArgs ¶
type LeasePatchArgs 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
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
Metadata metav1.ObjectMetaPatchPtrInput
// Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
Spec LeaseSpecPatchPtrInput
}
The set of arguments for constructing a LeasePatch resource.
func (LeasePatchArgs) ElementType ¶
func (LeasePatchArgs) ElementType() reflect.Type
type LeasePatchArray ¶
type LeasePatchArray []LeasePatchInput
func (LeasePatchArray) ElementType ¶
func (LeasePatchArray) ElementType() reflect.Type
func (LeasePatchArray) ToLeasePatchArrayOutput ¶
func (i LeasePatchArray) ToLeasePatchArrayOutput() LeasePatchArrayOutput
func (LeasePatchArray) ToLeasePatchArrayOutputWithContext ¶
func (i LeasePatchArray) ToLeasePatchArrayOutputWithContext(ctx context.Context) LeasePatchArrayOutput
type LeasePatchArrayInput ¶
type LeasePatchArrayInput interface {
pulumi.Input
ToLeasePatchArrayOutput() LeasePatchArrayOutput
ToLeasePatchArrayOutputWithContext(context.Context) LeasePatchArrayOutput
}
LeasePatchArrayInput is an input type that accepts LeasePatchArray and LeasePatchArrayOutput values. You can construct a concrete instance of `LeasePatchArrayInput` via:
LeasePatchArray{ LeasePatchArgs{...} }
type LeasePatchArrayOutput ¶
type LeasePatchArrayOutput struct{ *pulumi.OutputState }
func (LeasePatchArrayOutput) ElementType ¶
func (LeasePatchArrayOutput) ElementType() reflect.Type
func (LeasePatchArrayOutput) Index ¶
func (o LeasePatchArrayOutput) Index(i pulumi.IntInput) LeasePatchOutput
func (LeasePatchArrayOutput) ToLeasePatchArrayOutput ¶
func (o LeasePatchArrayOutput) ToLeasePatchArrayOutput() LeasePatchArrayOutput
func (LeasePatchArrayOutput) ToLeasePatchArrayOutputWithContext ¶
func (o LeasePatchArrayOutput) ToLeasePatchArrayOutputWithContext(ctx context.Context) LeasePatchArrayOutput
type LeasePatchInput ¶
type LeasePatchInput interface {
pulumi.Input
ToLeasePatchOutput() LeasePatchOutput
ToLeasePatchOutputWithContext(ctx context.Context) LeasePatchOutput
}
type LeasePatchMap ¶
type LeasePatchMap map[string]LeasePatchInput
func (LeasePatchMap) ElementType ¶
func (LeasePatchMap) ElementType() reflect.Type
func (LeasePatchMap) ToLeasePatchMapOutput ¶
func (i LeasePatchMap) ToLeasePatchMapOutput() LeasePatchMapOutput
func (LeasePatchMap) ToLeasePatchMapOutputWithContext ¶
func (i LeasePatchMap) ToLeasePatchMapOutputWithContext(ctx context.Context) LeasePatchMapOutput
type LeasePatchMapInput ¶
type LeasePatchMapInput interface {
pulumi.Input
ToLeasePatchMapOutput() LeasePatchMapOutput
ToLeasePatchMapOutputWithContext(context.Context) LeasePatchMapOutput
}
LeasePatchMapInput is an input type that accepts LeasePatchMap and LeasePatchMapOutput values. You can construct a concrete instance of `LeasePatchMapInput` via:
LeasePatchMap{ "key": LeasePatchArgs{...} }
type LeasePatchMapOutput ¶
type LeasePatchMapOutput struct{ *pulumi.OutputState }
func (LeasePatchMapOutput) ElementType ¶
func (LeasePatchMapOutput) ElementType() reflect.Type
func (LeasePatchMapOutput) MapIndex ¶
func (o LeasePatchMapOutput) MapIndex(k pulumi.StringInput) LeasePatchOutput
func (LeasePatchMapOutput) ToLeasePatchMapOutput ¶
func (o LeasePatchMapOutput) ToLeasePatchMapOutput() LeasePatchMapOutput
func (LeasePatchMapOutput) ToLeasePatchMapOutputWithContext ¶
func (o LeasePatchMapOutput) ToLeasePatchMapOutputWithContext(ctx context.Context) LeasePatchMapOutput
type LeasePatchOutput ¶
type LeasePatchOutput struct{ *pulumi.OutputState }
func (LeasePatchOutput) ApiVersion ¶
func (o LeasePatchOutput) 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 (LeasePatchOutput) ElementType ¶
func (LeasePatchOutput) ElementType() reflect.Type
func (LeasePatchOutput) Kind ¶
func (o LeasePatchOutput) Kind() pulumi.StringPtrOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (LeasePatchOutput) Metadata ¶
func (o LeasePatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (LeasePatchOutput) Spec ¶
func (o LeasePatchOutput) Spec() LeaseSpecPatchPtrOutput
Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (LeasePatchOutput) ToLeasePatchOutput ¶
func (o LeasePatchOutput) ToLeasePatchOutput() LeasePatchOutput
func (LeasePatchOutput) ToLeasePatchOutputWithContext ¶
func (o LeasePatchOutput) ToLeasePatchOutputWithContext(ctx context.Context) LeasePatchOutput
type LeasePatchState ¶
type LeasePatchState struct {
}
func (LeasePatchState) ElementType ¶
func (LeasePatchState) ElementType() reflect.Type
type LeasePatchType ¶
type LeasePatchType 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"`
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
Metadata *metav1.ObjectMetaPatch `pulumi:"metadata"`
// Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
Spec *LeaseSpecPatch `pulumi:"spec"`
}
Lease defines a lease concept.
type LeasePatchTypeArgs ¶
type LeasePatchTypeArgs 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"`
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
Metadata metav1.ObjectMetaPatchPtrInput `pulumi:"metadata"`
// Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
Spec LeaseSpecPatchPtrInput `pulumi:"spec"`
}
Lease defines a lease concept.
func (LeasePatchTypeArgs) ElementType ¶
func (LeasePatchTypeArgs) ElementType() reflect.Type
func (LeasePatchTypeArgs) ToLeasePatchTypeOutput ¶
func (i LeasePatchTypeArgs) ToLeasePatchTypeOutput() LeasePatchTypeOutput
func (LeasePatchTypeArgs) ToLeasePatchTypeOutputWithContext ¶
func (i LeasePatchTypeArgs) ToLeasePatchTypeOutputWithContext(ctx context.Context) LeasePatchTypeOutput
type LeasePatchTypeInput ¶
type LeasePatchTypeInput interface {
pulumi.Input
ToLeasePatchTypeOutput() LeasePatchTypeOutput
ToLeasePatchTypeOutputWithContext(context.Context) LeasePatchTypeOutput
}
LeasePatchTypeInput is an input type that accepts LeasePatchTypeArgs and LeasePatchTypeOutput values. You can construct a concrete instance of `LeasePatchTypeInput` via:
LeasePatchTypeArgs{...}
type LeasePatchTypeOutput ¶
type LeasePatchTypeOutput struct{ *pulumi.OutputState }
Lease defines a lease concept.
func (LeasePatchTypeOutput) ApiVersion ¶
func (o LeasePatchTypeOutput) 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 (LeasePatchTypeOutput) ElementType ¶
func (LeasePatchTypeOutput) ElementType() reflect.Type
func (LeasePatchTypeOutput) Kind ¶
func (o LeasePatchTypeOutput) Kind() pulumi.StringPtrOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (LeasePatchTypeOutput) Metadata ¶
func (o LeasePatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (LeasePatchTypeOutput) Spec ¶
func (o LeasePatchTypeOutput) Spec() LeaseSpecPatchPtrOutput
Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (LeasePatchTypeOutput) ToLeasePatchTypeOutput ¶
func (o LeasePatchTypeOutput) ToLeasePatchTypeOutput() LeasePatchTypeOutput
func (LeasePatchTypeOutput) ToLeasePatchTypeOutputWithContext ¶
func (o LeasePatchTypeOutput) ToLeasePatchTypeOutputWithContext(ctx context.Context) LeasePatchTypeOutput
type LeaseSpec ¶
type LeaseSpec struct {
// acquireTime is a time when the current lease was acquired.
AcquireTime *string `pulumi:"acquireTime"`
// holderIdentity contains the identity of the holder of a current lease.
HolderIdentity *string `pulumi:"holderIdentity"`
// leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.
LeaseDurationSeconds *int `pulumi:"leaseDurationSeconds"`
// leaseTransitions is the number of transitions of a lease between holders.
LeaseTransitions *int `pulumi:"leaseTransitions"`
// renewTime is a time when the current holder of a lease has last updated the lease.
RenewTime *string `pulumi:"renewTime"`
}
LeaseSpec is a specification of a Lease.
type LeaseSpecArgs ¶
type LeaseSpecArgs struct {
// acquireTime is a time when the current lease was acquired.
AcquireTime pulumi.StringPtrInput `pulumi:"acquireTime"`
// holderIdentity contains the identity of the holder of a current lease.
HolderIdentity pulumi.StringPtrInput `pulumi:"holderIdentity"`
// leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.
LeaseDurationSeconds pulumi.IntPtrInput `pulumi:"leaseDurationSeconds"`
// leaseTransitions is the number of transitions of a lease between holders.
LeaseTransitions pulumi.IntPtrInput `pulumi:"leaseTransitions"`
// renewTime is a time when the current holder of a lease has last updated the lease.
RenewTime pulumi.StringPtrInput `pulumi:"renewTime"`
}
LeaseSpec is a specification of a Lease.
func (LeaseSpecArgs) ElementType ¶
func (LeaseSpecArgs) ElementType() reflect.Type
func (LeaseSpecArgs) ToLeaseSpecOutput ¶
func (i LeaseSpecArgs) ToLeaseSpecOutput() LeaseSpecOutput
func (LeaseSpecArgs) ToLeaseSpecOutputWithContext ¶
func (i LeaseSpecArgs) ToLeaseSpecOutputWithContext(ctx context.Context) LeaseSpecOutput
func (LeaseSpecArgs) ToLeaseSpecPtrOutput ¶
func (i LeaseSpecArgs) ToLeaseSpecPtrOutput() LeaseSpecPtrOutput
func (LeaseSpecArgs) ToLeaseSpecPtrOutputWithContext ¶
func (i LeaseSpecArgs) ToLeaseSpecPtrOutputWithContext(ctx context.Context) LeaseSpecPtrOutput
type LeaseSpecInput ¶
type LeaseSpecInput interface {
pulumi.Input
ToLeaseSpecOutput() LeaseSpecOutput
ToLeaseSpecOutputWithContext(context.Context) LeaseSpecOutput
}
LeaseSpecInput is an input type that accepts LeaseSpecArgs and LeaseSpecOutput values. You can construct a concrete instance of `LeaseSpecInput` via:
LeaseSpecArgs{...}
type LeaseSpecOutput ¶
type LeaseSpecOutput struct{ *pulumi.OutputState }
LeaseSpec is a specification of a Lease.
func (LeaseSpecOutput) AcquireTime ¶
func (o LeaseSpecOutput) AcquireTime() pulumi.StringPtrOutput
acquireTime is a time when the current lease was acquired.
func (LeaseSpecOutput) ElementType ¶
func (LeaseSpecOutput) ElementType() reflect.Type
func (LeaseSpecOutput) HolderIdentity ¶
func (o LeaseSpecOutput) HolderIdentity() pulumi.StringPtrOutput
holderIdentity contains the identity of the holder of a current lease.
func (LeaseSpecOutput) LeaseDurationSeconds ¶
func (o LeaseSpecOutput) LeaseDurationSeconds() pulumi.IntPtrOutput
leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.
func (LeaseSpecOutput) LeaseTransitions ¶
func (o LeaseSpecOutput) LeaseTransitions() pulumi.IntPtrOutput
leaseTransitions is the number of transitions of a lease between holders.
func (LeaseSpecOutput) RenewTime ¶
func (o LeaseSpecOutput) RenewTime() pulumi.StringPtrOutput
renewTime is a time when the current holder of a lease has last updated the lease.
func (LeaseSpecOutput) ToLeaseSpecOutput ¶
func (o LeaseSpecOutput) ToLeaseSpecOutput() LeaseSpecOutput
func (LeaseSpecOutput) ToLeaseSpecOutputWithContext ¶
func (o LeaseSpecOutput) ToLeaseSpecOutputWithContext(ctx context.Context) LeaseSpecOutput
func (LeaseSpecOutput) ToLeaseSpecPtrOutput ¶
func (o LeaseSpecOutput) ToLeaseSpecPtrOutput() LeaseSpecPtrOutput
func (LeaseSpecOutput) ToLeaseSpecPtrOutputWithContext ¶
func (o LeaseSpecOutput) ToLeaseSpecPtrOutputWithContext(ctx context.Context) LeaseSpecPtrOutput
type LeaseSpecPatch ¶
type LeaseSpecPatch struct {
// acquireTime is a time when the current lease was acquired.
AcquireTime *string `pulumi:"acquireTime"`
// holderIdentity contains the identity of the holder of a current lease.
HolderIdentity *string `pulumi:"holderIdentity"`
// leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.
LeaseDurationSeconds *int `pulumi:"leaseDurationSeconds"`
// leaseTransitions is the number of transitions of a lease between holders.
LeaseTransitions *int `pulumi:"leaseTransitions"`
// renewTime is a time when the current holder of a lease has last updated the lease.
RenewTime *string `pulumi:"renewTime"`
}
LeaseSpec is a specification of a Lease.
type LeaseSpecPatchArgs ¶
type LeaseSpecPatchArgs struct {
// acquireTime is a time when the current lease was acquired.
AcquireTime pulumi.StringPtrInput `pulumi:"acquireTime"`
// holderIdentity contains the identity of the holder of a current lease.
HolderIdentity pulumi.StringPtrInput `pulumi:"holderIdentity"`
// leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.
LeaseDurationSeconds pulumi.IntPtrInput `pulumi:"leaseDurationSeconds"`
// leaseTransitions is the number of transitions of a lease between holders.
LeaseTransitions pulumi.IntPtrInput `pulumi:"leaseTransitions"`
// renewTime is a time when the current holder of a lease has last updated the lease.
RenewTime pulumi.StringPtrInput `pulumi:"renewTime"`
}
LeaseSpec is a specification of a Lease.
func (LeaseSpecPatchArgs) ElementType ¶
func (LeaseSpecPatchArgs) ElementType() reflect.Type
func (LeaseSpecPatchArgs) ToLeaseSpecPatchOutput ¶
func (i LeaseSpecPatchArgs) ToLeaseSpecPatchOutput() LeaseSpecPatchOutput
func (LeaseSpecPatchArgs) ToLeaseSpecPatchOutputWithContext ¶
func (i LeaseSpecPatchArgs) ToLeaseSpecPatchOutputWithContext(ctx context.Context) LeaseSpecPatchOutput
func (LeaseSpecPatchArgs) ToLeaseSpecPatchPtrOutput ¶
func (i LeaseSpecPatchArgs) ToLeaseSpecPatchPtrOutput() LeaseSpecPatchPtrOutput
func (LeaseSpecPatchArgs) ToLeaseSpecPatchPtrOutputWithContext ¶
func (i LeaseSpecPatchArgs) ToLeaseSpecPatchPtrOutputWithContext(ctx context.Context) LeaseSpecPatchPtrOutput
type LeaseSpecPatchInput ¶
type LeaseSpecPatchInput interface {
pulumi.Input
ToLeaseSpecPatchOutput() LeaseSpecPatchOutput
ToLeaseSpecPatchOutputWithContext(context.Context) LeaseSpecPatchOutput
}
LeaseSpecPatchInput is an input type that accepts LeaseSpecPatchArgs and LeaseSpecPatchOutput values. You can construct a concrete instance of `LeaseSpecPatchInput` via:
LeaseSpecPatchArgs{...}
type LeaseSpecPatchOutput ¶
type LeaseSpecPatchOutput struct{ *pulumi.OutputState }
LeaseSpec is a specification of a Lease.
func (LeaseSpecPatchOutput) AcquireTime ¶
func (o LeaseSpecPatchOutput) AcquireTime() pulumi.StringPtrOutput
acquireTime is a time when the current lease was acquired.
func (LeaseSpecPatchOutput) ElementType ¶
func (LeaseSpecPatchOutput) ElementType() reflect.Type
func (LeaseSpecPatchOutput) HolderIdentity ¶
func (o LeaseSpecPatchOutput) HolderIdentity() pulumi.StringPtrOutput
holderIdentity contains the identity of the holder of a current lease.
func (LeaseSpecPatchOutput) LeaseDurationSeconds ¶
func (o LeaseSpecPatchOutput) LeaseDurationSeconds() pulumi.IntPtrOutput
leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.
func (LeaseSpecPatchOutput) LeaseTransitions ¶
func (o LeaseSpecPatchOutput) LeaseTransitions() pulumi.IntPtrOutput
leaseTransitions is the number of transitions of a lease between holders.
func (LeaseSpecPatchOutput) RenewTime ¶
func (o LeaseSpecPatchOutput) RenewTime() pulumi.StringPtrOutput
renewTime is a time when the current holder of a lease has last updated the lease.
func (LeaseSpecPatchOutput) ToLeaseSpecPatchOutput ¶
func (o LeaseSpecPatchOutput) ToLeaseSpecPatchOutput() LeaseSpecPatchOutput
func (LeaseSpecPatchOutput) ToLeaseSpecPatchOutputWithContext ¶
func (o LeaseSpecPatchOutput) ToLeaseSpecPatchOutputWithContext(ctx context.Context) LeaseSpecPatchOutput
func (LeaseSpecPatchOutput) ToLeaseSpecPatchPtrOutput ¶
func (o LeaseSpecPatchOutput) ToLeaseSpecPatchPtrOutput() LeaseSpecPatchPtrOutput
func (LeaseSpecPatchOutput) ToLeaseSpecPatchPtrOutputWithContext ¶
func (o LeaseSpecPatchOutput) ToLeaseSpecPatchPtrOutputWithContext(ctx context.Context) LeaseSpecPatchPtrOutput
type LeaseSpecPatchPtrInput ¶
type LeaseSpecPatchPtrInput interface {
pulumi.Input
ToLeaseSpecPatchPtrOutput() LeaseSpecPatchPtrOutput
ToLeaseSpecPatchPtrOutputWithContext(context.Context) LeaseSpecPatchPtrOutput
}
LeaseSpecPatchPtrInput is an input type that accepts LeaseSpecPatchArgs, LeaseSpecPatchPtr and LeaseSpecPatchPtrOutput values. You can construct a concrete instance of `LeaseSpecPatchPtrInput` via:
LeaseSpecPatchArgs{...}
or:
nil
func LeaseSpecPatchPtr ¶
func LeaseSpecPatchPtr(v *LeaseSpecPatchArgs) LeaseSpecPatchPtrInput
type LeaseSpecPatchPtrOutput ¶
type LeaseSpecPatchPtrOutput struct{ *pulumi.OutputState }
func (LeaseSpecPatchPtrOutput) AcquireTime ¶
func (o LeaseSpecPatchPtrOutput) AcquireTime() pulumi.StringPtrOutput
acquireTime is a time when the current lease was acquired.
func (LeaseSpecPatchPtrOutput) Elem ¶
func (o LeaseSpecPatchPtrOutput) Elem() LeaseSpecPatchOutput
func (LeaseSpecPatchPtrOutput) ElementType ¶
func (LeaseSpecPatchPtrOutput) ElementType() reflect.Type
func (LeaseSpecPatchPtrOutput) HolderIdentity ¶
func (o LeaseSpecPatchPtrOutput) HolderIdentity() pulumi.StringPtrOutput
holderIdentity contains the identity of the holder of a current lease.
func (LeaseSpecPatchPtrOutput) LeaseDurationSeconds ¶
func (o LeaseSpecPatchPtrOutput) LeaseDurationSeconds() pulumi.IntPtrOutput
leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.
func (LeaseSpecPatchPtrOutput) LeaseTransitions ¶
func (o LeaseSpecPatchPtrOutput) LeaseTransitions() pulumi.IntPtrOutput
leaseTransitions is the number of transitions of a lease between holders.
func (LeaseSpecPatchPtrOutput) RenewTime ¶
func (o LeaseSpecPatchPtrOutput) RenewTime() pulumi.StringPtrOutput
renewTime is a time when the current holder of a lease has last updated the lease.
func (LeaseSpecPatchPtrOutput) ToLeaseSpecPatchPtrOutput ¶
func (o LeaseSpecPatchPtrOutput) ToLeaseSpecPatchPtrOutput() LeaseSpecPatchPtrOutput
func (LeaseSpecPatchPtrOutput) ToLeaseSpecPatchPtrOutputWithContext ¶
func (o LeaseSpecPatchPtrOutput) ToLeaseSpecPatchPtrOutputWithContext(ctx context.Context) LeaseSpecPatchPtrOutput
type LeaseSpecPtrInput ¶
type LeaseSpecPtrInput interface {
pulumi.Input
ToLeaseSpecPtrOutput() LeaseSpecPtrOutput
ToLeaseSpecPtrOutputWithContext(context.Context) LeaseSpecPtrOutput
}
LeaseSpecPtrInput is an input type that accepts LeaseSpecArgs, LeaseSpecPtr and LeaseSpecPtrOutput values. You can construct a concrete instance of `LeaseSpecPtrInput` via:
LeaseSpecArgs{...}
or:
nil
func LeaseSpecPtr ¶
func LeaseSpecPtr(v *LeaseSpecArgs) LeaseSpecPtrInput
type LeaseSpecPtrOutput ¶
type LeaseSpecPtrOutput struct{ *pulumi.OutputState }
func (LeaseSpecPtrOutput) AcquireTime ¶
func (o LeaseSpecPtrOutput) AcquireTime() pulumi.StringPtrOutput
acquireTime is a time when the current lease was acquired.
func (LeaseSpecPtrOutput) Elem ¶
func (o LeaseSpecPtrOutput) Elem() LeaseSpecOutput
func (LeaseSpecPtrOutput) ElementType ¶
func (LeaseSpecPtrOutput) ElementType() reflect.Type
func (LeaseSpecPtrOutput) HolderIdentity ¶
func (o LeaseSpecPtrOutput) HolderIdentity() pulumi.StringPtrOutput
holderIdentity contains the identity of the holder of a current lease.
func (LeaseSpecPtrOutput) LeaseDurationSeconds ¶
func (o LeaseSpecPtrOutput) LeaseDurationSeconds() pulumi.IntPtrOutput
leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.
func (LeaseSpecPtrOutput) LeaseTransitions ¶
func (o LeaseSpecPtrOutput) LeaseTransitions() pulumi.IntPtrOutput
leaseTransitions is the number of transitions of a lease between holders.
func (LeaseSpecPtrOutput) RenewTime ¶
func (o LeaseSpecPtrOutput) RenewTime() pulumi.StringPtrOutput
renewTime is a time when the current holder of a lease has last updated the lease.
func (LeaseSpecPtrOutput) ToLeaseSpecPtrOutput ¶
func (o LeaseSpecPtrOutput) ToLeaseSpecPtrOutput() LeaseSpecPtrOutput
func (LeaseSpecPtrOutput) ToLeaseSpecPtrOutputWithContext ¶
func (o LeaseSpecPtrOutput) ToLeaseSpecPtrOutputWithContext(ctx context.Context) LeaseSpecPtrOutput
type LeaseState ¶
type LeaseState struct {
}
func (LeaseState) ElementType ¶
func (LeaseState) ElementType() reflect.Type
type LeaseType ¶
type LeaseType 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"`
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
Metadata *metav1.ObjectMeta `pulumi:"metadata"`
// Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
Spec *LeaseSpec `pulumi:"spec"`
}
Lease defines a lease concept.
type LeaseTypeArgs ¶
type LeaseTypeArgs 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"`
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
// Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
Spec LeaseSpecPtrInput `pulumi:"spec"`
}
Lease defines a lease concept.
func (LeaseTypeArgs) ElementType ¶
func (LeaseTypeArgs) ElementType() reflect.Type
func (LeaseTypeArgs) ToLeaseTypeOutput ¶
func (i LeaseTypeArgs) ToLeaseTypeOutput() LeaseTypeOutput
func (LeaseTypeArgs) ToLeaseTypeOutputWithContext ¶
func (i LeaseTypeArgs) ToLeaseTypeOutputWithContext(ctx context.Context) LeaseTypeOutput
type LeaseTypeArray ¶
type LeaseTypeArray []LeaseTypeInput
func (LeaseTypeArray) ElementType ¶
func (LeaseTypeArray) ElementType() reflect.Type
func (LeaseTypeArray) ToLeaseTypeArrayOutput ¶
func (i LeaseTypeArray) ToLeaseTypeArrayOutput() LeaseTypeArrayOutput
func (LeaseTypeArray) ToLeaseTypeArrayOutputWithContext ¶
func (i LeaseTypeArray) ToLeaseTypeArrayOutputWithContext(ctx context.Context) LeaseTypeArrayOutput
type LeaseTypeArrayInput ¶
type LeaseTypeArrayInput interface {
pulumi.Input
ToLeaseTypeArrayOutput() LeaseTypeArrayOutput
ToLeaseTypeArrayOutputWithContext(context.Context) LeaseTypeArrayOutput
}
LeaseTypeArrayInput is an input type that accepts LeaseTypeArray and LeaseTypeArrayOutput values. You can construct a concrete instance of `LeaseTypeArrayInput` via:
LeaseTypeArray{ LeaseTypeArgs{...} }
type LeaseTypeArrayOutput ¶
type LeaseTypeArrayOutput struct{ *pulumi.OutputState }
func (LeaseTypeArrayOutput) ElementType ¶
func (LeaseTypeArrayOutput) ElementType() reflect.Type
func (LeaseTypeArrayOutput) Index ¶
func (o LeaseTypeArrayOutput) Index(i pulumi.IntInput) LeaseTypeOutput
func (LeaseTypeArrayOutput) ToLeaseTypeArrayOutput ¶
func (o LeaseTypeArrayOutput) ToLeaseTypeArrayOutput() LeaseTypeArrayOutput
func (LeaseTypeArrayOutput) ToLeaseTypeArrayOutputWithContext ¶
func (o LeaseTypeArrayOutput) ToLeaseTypeArrayOutputWithContext(ctx context.Context) LeaseTypeArrayOutput
type LeaseTypeInput ¶
type LeaseTypeInput interface {
pulumi.Input
ToLeaseTypeOutput() LeaseTypeOutput
ToLeaseTypeOutputWithContext(context.Context) LeaseTypeOutput
}
LeaseTypeInput is an input type that accepts LeaseTypeArgs and LeaseTypeOutput values. You can construct a concrete instance of `LeaseTypeInput` via:
LeaseTypeArgs{...}
type LeaseTypeOutput ¶
type LeaseTypeOutput struct{ *pulumi.OutputState }
Lease defines a lease concept.
func (LeaseTypeOutput) ApiVersion ¶
func (o LeaseTypeOutput) 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 (LeaseTypeOutput) ElementType ¶
func (LeaseTypeOutput) ElementType() reflect.Type
func (LeaseTypeOutput) Kind ¶
func (o LeaseTypeOutput) Kind() pulumi.StringPtrOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (LeaseTypeOutput) Metadata ¶
func (o LeaseTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (LeaseTypeOutput) Spec ¶
func (o LeaseTypeOutput) Spec() LeaseSpecPtrOutput
Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (LeaseTypeOutput) ToLeaseTypeOutput ¶
func (o LeaseTypeOutput) ToLeaseTypeOutput() LeaseTypeOutput
func (LeaseTypeOutput) ToLeaseTypeOutputWithContext ¶
func (o LeaseTypeOutput) ToLeaseTypeOutputWithContext(ctx context.Context) LeaseTypeOutput