Documentation ¶
Index ¶
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LeaseCandidate ¶
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 ¶
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 ¶
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 ¶
func (*LeaseCandidate) ElementType() reflect.Type
func (*LeaseCandidate) ToLeaseCandidateOutput ¶
func (i *LeaseCandidate) ToLeaseCandidateOutput() LeaseCandidateOutput
func (*LeaseCandidate) ToLeaseCandidateOutputWithContext ¶
func (i *LeaseCandidate) ToLeaseCandidateOutputWithContext(ctx context.Context) LeaseCandidateOutput
type LeaseCandidateArgs ¶
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 ¶
func (LeaseCandidateArgs) ElementType() reflect.Type
type LeaseCandidateArray ¶
type LeaseCandidateArray []LeaseCandidateInput
func (LeaseCandidateArray) ElementType ¶
func (LeaseCandidateArray) ElementType() reflect.Type
func (LeaseCandidateArray) ToLeaseCandidateArrayOutput ¶
func (i LeaseCandidateArray) ToLeaseCandidateArrayOutput() LeaseCandidateArrayOutput
func (LeaseCandidateArray) ToLeaseCandidateArrayOutputWithContext ¶
func (i LeaseCandidateArray) ToLeaseCandidateArrayOutputWithContext(ctx context.Context) LeaseCandidateArrayOutput
type LeaseCandidateArrayInput ¶
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 ¶
type LeaseCandidateArrayOutput struct{ *pulumi.OutputState }
func (LeaseCandidateArrayOutput) ElementType ¶
func (LeaseCandidateArrayOutput) ElementType() reflect.Type
func (LeaseCandidateArrayOutput) Index ¶
func (o LeaseCandidateArrayOutput) Index(i pulumi.IntInput) LeaseCandidateOutput
func (LeaseCandidateArrayOutput) ToLeaseCandidateArrayOutput ¶
func (o LeaseCandidateArrayOutput) ToLeaseCandidateArrayOutput() LeaseCandidateArrayOutput
func (LeaseCandidateArrayOutput) ToLeaseCandidateArrayOutputWithContext ¶
func (o LeaseCandidateArrayOutput) ToLeaseCandidateArrayOutputWithContext(ctx context.Context) LeaseCandidateArrayOutput
type LeaseCandidateInput ¶
type LeaseCandidateInput interface { pulumi.Input ToLeaseCandidateOutput() LeaseCandidateOutput ToLeaseCandidateOutputWithContext(ctx context.Context) LeaseCandidateOutput }
type LeaseCandidateList ¶
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 ¶
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 ¶
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 ¶
func (*LeaseCandidateList) ElementType() reflect.Type
func (*LeaseCandidateList) ToLeaseCandidateListOutput ¶
func (i *LeaseCandidateList) ToLeaseCandidateListOutput() LeaseCandidateListOutput
func (*LeaseCandidateList) ToLeaseCandidateListOutputWithContext ¶
func (i *LeaseCandidateList) ToLeaseCandidateListOutputWithContext(ctx context.Context) LeaseCandidateListOutput
type LeaseCandidateListArgs ¶
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 ¶
func (LeaseCandidateListArgs) ElementType() reflect.Type
type LeaseCandidateListArray ¶
type LeaseCandidateListArray []LeaseCandidateListInput
func (LeaseCandidateListArray) ElementType ¶
func (LeaseCandidateListArray) ElementType() reflect.Type
func (LeaseCandidateListArray) ToLeaseCandidateListArrayOutput ¶
func (i LeaseCandidateListArray) ToLeaseCandidateListArrayOutput() LeaseCandidateListArrayOutput
func (LeaseCandidateListArray) ToLeaseCandidateListArrayOutputWithContext ¶
func (i LeaseCandidateListArray) ToLeaseCandidateListArrayOutputWithContext(ctx context.Context) LeaseCandidateListArrayOutput
type LeaseCandidateListArrayInput ¶
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 ¶
type LeaseCandidateListArrayOutput struct{ *pulumi.OutputState }
func (LeaseCandidateListArrayOutput) ElementType ¶
func (LeaseCandidateListArrayOutput) ElementType() reflect.Type
func (LeaseCandidateListArrayOutput) Index ¶
func (o LeaseCandidateListArrayOutput) Index(i pulumi.IntInput) LeaseCandidateListOutput
func (LeaseCandidateListArrayOutput) ToLeaseCandidateListArrayOutput ¶
func (o LeaseCandidateListArrayOutput) ToLeaseCandidateListArrayOutput() LeaseCandidateListArrayOutput
func (LeaseCandidateListArrayOutput) ToLeaseCandidateListArrayOutputWithContext ¶
func (o LeaseCandidateListArrayOutput) ToLeaseCandidateListArrayOutputWithContext(ctx context.Context) LeaseCandidateListArrayOutput
type LeaseCandidateListInput ¶
type LeaseCandidateListInput interface { pulumi.Input ToLeaseCandidateListOutput() LeaseCandidateListOutput ToLeaseCandidateListOutputWithContext(ctx context.Context) LeaseCandidateListOutput }
type LeaseCandidateListMap ¶
type LeaseCandidateListMap map[string]LeaseCandidateListInput
func (LeaseCandidateListMap) ElementType ¶
func (LeaseCandidateListMap) ElementType() reflect.Type
func (LeaseCandidateListMap) ToLeaseCandidateListMapOutput ¶
func (i LeaseCandidateListMap) ToLeaseCandidateListMapOutput() LeaseCandidateListMapOutput
func (LeaseCandidateListMap) ToLeaseCandidateListMapOutputWithContext ¶
func (i LeaseCandidateListMap) ToLeaseCandidateListMapOutputWithContext(ctx context.Context) LeaseCandidateListMapOutput
type LeaseCandidateListMapInput ¶
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 ¶
type LeaseCandidateListMapOutput struct{ *pulumi.OutputState }
func (LeaseCandidateListMapOutput) ElementType ¶
func (LeaseCandidateListMapOutput) ElementType() reflect.Type
func (LeaseCandidateListMapOutput) MapIndex ¶
func (o LeaseCandidateListMapOutput) MapIndex(k pulumi.StringInput) LeaseCandidateListOutput
func (LeaseCandidateListMapOutput) ToLeaseCandidateListMapOutput ¶
func (o LeaseCandidateListMapOutput) ToLeaseCandidateListMapOutput() LeaseCandidateListMapOutput
func (LeaseCandidateListMapOutput) ToLeaseCandidateListMapOutputWithContext ¶
func (o LeaseCandidateListMapOutput) ToLeaseCandidateListMapOutputWithContext(ctx context.Context) LeaseCandidateListMapOutput
type LeaseCandidateListOutput ¶
type LeaseCandidateListOutput struct{ *pulumi.OutputState }
func (LeaseCandidateListOutput) ApiVersion ¶
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 ¶
func (LeaseCandidateListOutput) ElementType() reflect.Type
func (LeaseCandidateListOutput) Items ¶
func (o LeaseCandidateListOutput) Items() LeaseCandidateTypeArrayOutput
items is a list of schema objects.
func (LeaseCandidateListOutput) Kind ¶
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 ¶
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 ¶
func (o LeaseCandidateListOutput) ToLeaseCandidateListOutput() LeaseCandidateListOutput
func (LeaseCandidateListOutput) ToLeaseCandidateListOutputWithContext ¶
func (o LeaseCandidateListOutput) ToLeaseCandidateListOutputWithContext(ctx context.Context) LeaseCandidateListOutput
type LeaseCandidateListState ¶
type LeaseCandidateListState struct { }
func (LeaseCandidateListState) ElementType ¶
func (LeaseCandidateListState) ElementType() reflect.Type
type LeaseCandidateListType ¶
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 ¶
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 ¶
func (LeaseCandidateListTypeArgs) ElementType() reflect.Type
func (LeaseCandidateListTypeArgs) ToLeaseCandidateListTypeOutput ¶
func (i LeaseCandidateListTypeArgs) ToLeaseCandidateListTypeOutput() LeaseCandidateListTypeOutput
func (LeaseCandidateListTypeArgs) ToLeaseCandidateListTypeOutputWithContext ¶
func (i LeaseCandidateListTypeArgs) ToLeaseCandidateListTypeOutputWithContext(ctx context.Context) LeaseCandidateListTypeOutput
type LeaseCandidateListTypeInput ¶
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 ¶
type LeaseCandidateListTypeOutput struct{ *pulumi.OutputState }
LeaseCandidateList is a list of Lease objects.
func (LeaseCandidateListTypeOutput) ApiVersion ¶
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 ¶
func (LeaseCandidateListTypeOutput) ElementType() reflect.Type
func (LeaseCandidateListTypeOutput) Items ¶
func (o LeaseCandidateListTypeOutput) Items() LeaseCandidateTypeArrayOutput
items is a list of schema objects.
func (LeaseCandidateListTypeOutput) Kind ¶
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 ¶
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 ¶
func (o LeaseCandidateListTypeOutput) ToLeaseCandidateListTypeOutput() LeaseCandidateListTypeOutput
func (LeaseCandidateListTypeOutput) ToLeaseCandidateListTypeOutputWithContext ¶
func (o LeaseCandidateListTypeOutput) ToLeaseCandidateListTypeOutputWithContext(ctx context.Context) LeaseCandidateListTypeOutput
type LeaseCandidateMap ¶
type LeaseCandidateMap map[string]LeaseCandidateInput
func (LeaseCandidateMap) ElementType ¶
func (LeaseCandidateMap) ElementType() reflect.Type
func (LeaseCandidateMap) ToLeaseCandidateMapOutput ¶
func (i LeaseCandidateMap) ToLeaseCandidateMapOutput() LeaseCandidateMapOutput
func (LeaseCandidateMap) ToLeaseCandidateMapOutputWithContext ¶
func (i LeaseCandidateMap) ToLeaseCandidateMapOutputWithContext(ctx context.Context) LeaseCandidateMapOutput
type LeaseCandidateMapInput ¶
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 ¶
type LeaseCandidateMapOutput struct{ *pulumi.OutputState }
func (LeaseCandidateMapOutput) ElementType ¶
func (LeaseCandidateMapOutput) ElementType() reflect.Type
func (LeaseCandidateMapOutput) MapIndex ¶
func (o LeaseCandidateMapOutput) MapIndex(k pulumi.StringInput) LeaseCandidateOutput
func (LeaseCandidateMapOutput) ToLeaseCandidateMapOutput ¶
func (o LeaseCandidateMapOutput) ToLeaseCandidateMapOutput() LeaseCandidateMapOutput
func (LeaseCandidateMapOutput) ToLeaseCandidateMapOutputWithContext ¶
func (o LeaseCandidateMapOutput) ToLeaseCandidateMapOutputWithContext(ctx context.Context) LeaseCandidateMapOutput
type LeaseCandidateOutput ¶
type LeaseCandidateOutput struct{ *pulumi.OutputState }
func (LeaseCandidateOutput) ApiVersion ¶
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 ¶
func (LeaseCandidateOutput) ElementType() reflect.Type
func (LeaseCandidateOutput) Kind ¶
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 ¶
func (o LeaseCandidateOutput) Metadata() metav1.ObjectMetaOutput
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (LeaseCandidateOutput) Spec ¶
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 ¶
func (o LeaseCandidateOutput) ToLeaseCandidateOutput() LeaseCandidateOutput
func (LeaseCandidateOutput) ToLeaseCandidateOutputWithContext ¶
func (o LeaseCandidateOutput) ToLeaseCandidateOutputWithContext(ctx context.Context) LeaseCandidateOutput
type LeaseCandidatePatch ¶
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 ¶
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 ¶
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 ¶
func (*LeaseCandidatePatch) ElementType() reflect.Type
func (*LeaseCandidatePatch) ToLeaseCandidatePatchOutput ¶
func (i *LeaseCandidatePatch) ToLeaseCandidatePatchOutput() LeaseCandidatePatchOutput
func (*LeaseCandidatePatch) ToLeaseCandidatePatchOutputWithContext ¶
func (i *LeaseCandidatePatch) ToLeaseCandidatePatchOutputWithContext(ctx context.Context) LeaseCandidatePatchOutput
type LeaseCandidatePatchArgs ¶
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 ¶
func (LeaseCandidatePatchArgs) ElementType() reflect.Type
type LeaseCandidatePatchArray ¶
type LeaseCandidatePatchArray []LeaseCandidatePatchInput
func (LeaseCandidatePatchArray) ElementType ¶
func (LeaseCandidatePatchArray) ElementType() reflect.Type
func (LeaseCandidatePatchArray) ToLeaseCandidatePatchArrayOutput ¶
func (i LeaseCandidatePatchArray) ToLeaseCandidatePatchArrayOutput() LeaseCandidatePatchArrayOutput
func (LeaseCandidatePatchArray) ToLeaseCandidatePatchArrayOutputWithContext ¶
func (i LeaseCandidatePatchArray) ToLeaseCandidatePatchArrayOutputWithContext(ctx context.Context) LeaseCandidatePatchArrayOutput
type LeaseCandidatePatchArrayInput ¶
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 ¶
type LeaseCandidatePatchArrayOutput struct{ *pulumi.OutputState }
func (LeaseCandidatePatchArrayOutput) ElementType ¶
func (LeaseCandidatePatchArrayOutput) ElementType() reflect.Type
func (LeaseCandidatePatchArrayOutput) Index ¶
func (o LeaseCandidatePatchArrayOutput) Index(i pulumi.IntInput) LeaseCandidatePatchOutput
func (LeaseCandidatePatchArrayOutput) ToLeaseCandidatePatchArrayOutput ¶
func (o LeaseCandidatePatchArrayOutput) ToLeaseCandidatePatchArrayOutput() LeaseCandidatePatchArrayOutput
func (LeaseCandidatePatchArrayOutput) ToLeaseCandidatePatchArrayOutputWithContext ¶
func (o LeaseCandidatePatchArrayOutput) ToLeaseCandidatePatchArrayOutputWithContext(ctx context.Context) LeaseCandidatePatchArrayOutput
type LeaseCandidatePatchInput ¶
type LeaseCandidatePatchInput interface { pulumi.Input ToLeaseCandidatePatchOutput() LeaseCandidatePatchOutput ToLeaseCandidatePatchOutputWithContext(ctx context.Context) LeaseCandidatePatchOutput }
type LeaseCandidatePatchMap ¶
type LeaseCandidatePatchMap map[string]LeaseCandidatePatchInput
func (LeaseCandidatePatchMap) ElementType ¶
func (LeaseCandidatePatchMap) ElementType() reflect.Type
func (LeaseCandidatePatchMap) ToLeaseCandidatePatchMapOutput ¶
func (i LeaseCandidatePatchMap) ToLeaseCandidatePatchMapOutput() LeaseCandidatePatchMapOutput
func (LeaseCandidatePatchMap) ToLeaseCandidatePatchMapOutputWithContext ¶
func (i LeaseCandidatePatchMap) ToLeaseCandidatePatchMapOutputWithContext(ctx context.Context) LeaseCandidatePatchMapOutput
type LeaseCandidatePatchMapInput ¶
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 ¶
type LeaseCandidatePatchMapOutput struct{ *pulumi.OutputState }
func (LeaseCandidatePatchMapOutput) ElementType ¶
func (LeaseCandidatePatchMapOutput) ElementType() reflect.Type
func (LeaseCandidatePatchMapOutput) MapIndex ¶
func (o LeaseCandidatePatchMapOutput) MapIndex(k pulumi.StringInput) LeaseCandidatePatchOutput
func (LeaseCandidatePatchMapOutput) ToLeaseCandidatePatchMapOutput ¶
func (o LeaseCandidatePatchMapOutput) ToLeaseCandidatePatchMapOutput() LeaseCandidatePatchMapOutput
func (LeaseCandidatePatchMapOutput) ToLeaseCandidatePatchMapOutputWithContext ¶
func (o LeaseCandidatePatchMapOutput) ToLeaseCandidatePatchMapOutputWithContext(ctx context.Context) LeaseCandidatePatchMapOutput
type LeaseCandidatePatchOutput ¶
type LeaseCandidatePatchOutput struct{ *pulumi.OutputState }
func (LeaseCandidatePatchOutput) ApiVersion ¶
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 ¶
func (LeaseCandidatePatchOutput) ElementType() reflect.Type
func (LeaseCandidatePatchOutput) Kind ¶
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 ¶
func (o LeaseCandidatePatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (LeaseCandidatePatchOutput) Spec ¶
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 ¶
func (o LeaseCandidatePatchOutput) ToLeaseCandidatePatchOutput() LeaseCandidatePatchOutput
func (LeaseCandidatePatchOutput) ToLeaseCandidatePatchOutputWithContext ¶
func (o LeaseCandidatePatchOutput) ToLeaseCandidatePatchOutputWithContext(ctx context.Context) LeaseCandidatePatchOutput
type LeaseCandidatePatchState ¶
type LeaseCandidatePatchState struct { }
func (LeaseCandidatePatchState) ElementType ¶
func (LeaseCandidatePatchState) ElementType() reflect.Type
type LeaseCandidatePatchType ¶
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 ¶
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 ¶
func (LeaseCandidatePatchTypeArgs) ElementType() reflect.Type
func (LeaseCandidatePatchTypeArgs) ToLeaseCandidatePatchTypeOutput ¶
func (i LeaseCandidatePatchTypeArgs) ToLeaseCandidatePatchTypeOutput() LeaseCandidatePatchTypeOutput
func (LeaseCandidatePatchTypeArgs) ToLeaseCandidatePatchTypeOutputWithContext ¶
func (i LeaseCandidatePatchTypeArgs) ToLeaseCandidatePatchTypeOutputWithContext(ctx context.Context) LeaseCandidatePatchTypeOutput
type LeaseCandidatePatchTypeInput ¶
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 ¶
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 ¶
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 ¶
func (LeaseCandidatePatchTypeOutput) ElementType() reflect.Type
func (LeaseCandidatePatchTypeOutput) Kind ¶
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 ¶
func (o LeaseCandidatePatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (LeaseCandidatePatchTypeOutput) Spec ¶
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 ¶
func (o LeaseCandidatePatchTypeOutput) ToLeaseCandidatePatchTypeOutput() LeaseCandidatePatchTypeOutput
func (LeaseCandidatePatchTypeOutput) ToLeaseCandidatePatchTypeOutputWithContext ¶
func (o LeaseCandidatePatchTypeOutput) ToLeaseCandidatePatchTypeOutputWithContext(ctx context.Context) LeaseCandidatePatchTypeOutput
type LeaseCandidateSpec ¶
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. 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. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled. Strategy string `pulumi:"strategy"` }
LeaseCandidateSpec is a specification of a Lease.
type LeaseCandidateSpecArgs ¶
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. 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. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled. Strategy pulumi.StringInput `pulumi:"strategy"` }
LeaseCandidateSpec is a specification of a Lease.
func (LeaseCandidateSpecArgs) ElementType ¶
func (LeaseCandidateSpecArgs) ElementType() reflect.Type
func (LeaseCandidateSpecArgs) ToLeaseCandidateSpecOutput ¶
func (i LeaseCandidateSpecArgs) ToLeaseCandidateSpecOutput() LeaseCandidateSpecOutput
func (LeaseCandidateSpecArgs) ToLeaseCandidateSpecOutputWithContext ¶
func (i LeaseCandidateSpecArgs) ToLeaseCandidateSpecOutputWithContext(ctx context.Context) LeaseCandidateSpecOutput
func (LeaseCandidateSpecArgs) ToLeaseCandidateSpecPtrOutput ¶
func (i LeaseCandidateSpecArgs) ToLeaseCandidateSpecPtrOutput() LeaseCandidateSpecPtrOutput
func (LeaseCandidateSpecArgs) ToLeaseCandidateSpecPtrOutputWithContext ¶
func (i LeaseCandidateSpecArgs) ToLeaseCandidateSpecPtrOutputWithContext(ctx context.Context) LeaseCandidateSpecPtrOutput
type LeaseCandidateSpecInput ¶
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 ¶
type LeaseCandidateSpecOutput struct{ *pulumi.OutputState }
LeaseCandidateSpec is a specification of a Lease.
func (LeaseCandidateSpecOutput) BinaryVersion ¶
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 ¶
func (LeaseCandidateSpecOutput) ElementType() reflect.Type
func (LeaseCandidateSpecOutput) EmulationVersion ¶
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 ¶
func (o LeaseCandidateSpecOutput) LeaseName() pulumi.StringOutput
LeaseName is the name of the lease for which this candidate is contending. This field is immutable.
func (LeaseCandidateSpecOutput) PingTime ¶
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 ¶
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 ¶
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. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.
func (LeaseCandidateSpecOutput) ToLeaseCandidateSpecOutput ¶
func (o LeaseCandidateSpecOutput) ToLeaseCandidateSpecOutput() LeaseCandidateSpecOutput
func (LeaseCandidateSpecOutput) ToLeaseCandidateSpecOutputWithContext ¶
func (o LeaseCandidateSpecOutput) ToLeaseCandidateSpecOutputWithContext(ctx context.Context) LeaseCandidateSpecOutput
func (LeaseCandidateSpecOutput) ToLeaseCandidateSpecPtrOutput ¶
func (o LeaseCandidateSpecOutput) ToLeaseCandidateSpecPtrOutput() LeaseCandidateSpecPtrOutput
func (LeaseCandidateSpecOutput) ToLeaseCandidateSpecPtrOutputWithContext ¶
func (o LeaseCandidateSpecOutput) ToLeaseCandidateSpecPtrOutputWithContext(ctx context.Context) LeaseCandidateSpecPtrOutput
type LeaseCandidateSpecPatch ¶
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. 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. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled. Strategy *string `pulumi:"strategy"` }
LeaseCandidateSpec is a specification of a Lease.
type LeaseCandidateSpecPatchArgs ¶
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. 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. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled. Strategy pulumi.StringPtrInput `pulumi:"strategy"` }
LeaseCandidateSpec is a specification of a Lease.
func (LeaseCandidateSpecPatchArgs) ElementType ¶
func (LeaseCandidateSpecPatchArgs) ElementType() reflect.Type
func (LeaseCandidateSpecPatchArgs) ToLeaseCandidateSpecPatchOutput ¶
func (i LeaseCandidateSpecPatchArgs) ToLeaseCandidateSpecPatchOutput() LeaseCandidateSpecPatchOutput
func (LeaseCandidateSpecPatchArgs) ToLeaseCandidateSpecPatchOutputWithContext ¶
func (i LeaseCandidateSpecPatchArgs) ToLeaseCandidateSpecPatchOutputWithContext(ctx context.Context) LeaseCandidateSpecPatchOutput
func (LeaseCandidateSpecPatchArgs) ToLeaseCandidateSpecPatchPtrOutput ¶
func (i LeaseCandidateSpecPatchArgs) ToLeaseCandidateSpecPatchPtrOutput() LeaseCandidateSpecPatchPtrOutput
func (LeaseCandidateSpecPatchArgs) ToLeaseCandidateSpecPatchPtrOutputWithContext ¶
func (i LeaseCandidateSpecPatchArgs) ToLeaseCandidateSpecPatchPtrOutputWithContext(ctx context.Context) LeaseCandidateSpecPatchPtrOutput
type LeaseCandidateSpecPatchInput ¶
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 ¶
type LeaseCandidateSpecPatchOutput struct{ *pulumi.OutputState }
LeaseCandidateSpec is a specification of a Lease.
func (LeaseCandidateSpecPatchOutput) BinaryVersion ¶
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 ¶
func (LeaseCandidateSpecPatchOutput) ElementType() reflect.Type
func (LeaseCandidateSpecPatchOutput) EmulationVersion ¶
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 ¶
func (o LeaseCandidateSpecPatchOutput) LeaseName() pulumi.StringPtrOutput
LeaseName is the name of the lease for which this candidate is contending. This field is immutable.
func (LeaseCandidateSpecPatchOutput) PingTime ¶
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 ¶
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 ¶
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. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.
func (LeaseCandidateSpecPatchOutput) ToLeaseCandidateSpecPatchOutput ¶
func (o LeaseCandidateSpecPatchOutput) ToLeaseCandidateSpecPatchOutput() LeaseCandidateSpecPatchOutput
func (LeaseCandidateSpecPatchOutput) ToLeaseCandidateSpecPatchOutputWithContext ¶
func (o LeaseCandidateSpecPatchOutput) ToLeaseCandidateSpecPatchOutputWithContext(ctx context.Context) LeaseCandidateSpecPatchOutput
func (LeaseCandidateSpecPatchOutput) ToLeaseCandidateSpecPatchPtrOutput ¶
func (o LeaseCandidateSpecPatchOutput) ToLeaseCandidateSpecPatchPtrOutput() LeaseCandidateSpecPatchPtrOutput
func (LeaseCandidateSpecPatchOutput) ToLeaseCandidateSpecPatchPtrOutputWithContext ¶
func (o LeaseCandidateSpecPatchOutput) ToLeaseCandidateSpecPatchPtrOutputWithContext(ctx context.Context) LeaseCandidateSpecPatchPtrOutput
type LeaseCandidateSpecPatchPtrInput ¶
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 ¶
func LeaseCandidateSpecPatchPtr(v *LeaseCandidateSpecPatchArgs) LeaseCandidateSpecPatchPtrInput
type LeaseCandidateSpecPatchPtrOutput ¶
type LeaseCandidateSpecPatchPtrOutput struct{ *pulumi.OutputState }
func (LeaseCandidateSpecPatchPtrOutput) BinaryVersion ¶
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 ¶
func (o LeaseCandidateSpecPatchPtrOutput) Elem() LeaseCandidateSpecPatchOutput
func (LeaseCandidateSpecPatchPtrOutput) ElementType ¶
func (LeaseCandidateSpecPatchPtrOutput) ElementType() reflect.Type
func (LeaseCandidateSpecPatchPtrOutput) EmulationVersion ¶
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 ¶
func (o LeaseCandidateSpecPatchPtrOutput) LeaseName() pulumi.StringPtrOutput
LeaseName is the name of the lease for which this candidate is contending. This field is immutable.
func (LeaseCandidateSpecPatchPtrOutput) PingTime ¶
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 ¶
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 ¶
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. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.
func (LeaseCandidateSpecPatchPtrOutput) ToLeaseCandidateSpecPatchPtrOutput ¶
func (o LeaseCandidateSpecPatchPtrOutput) ToLeaseCandidateSpecPatchPtrOutput() LeaseCandidateSpecPatchPtrOutput
func (LeaseCandidateSpecPatchPtrOutput) ToLeaseCandidateSpecPatchPtrOutputWithContext ¶
func (o LeaseCandidateSpecPatchPtrOutput) ToLeaseCandidateSpecPatchPtrOutputWithContext(ctx context.Context) LeaseCandidateSpecPatchPtrOutput
type LeaseCandidateSpecPtrInput ¶
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 ¶
func LeaseCandidateSpecPtr(v *LeaseCandidateSpecArgs) LeaseCandidateSpecPtrInput
type LeaseCandidateSpecPtrOutput ¶
type LeaseCandidateSpecPtrOutput struct{ *pulumi.OutputState }
func (LeaseCandidateSpecPtrOutput) BinaryVersion ¶
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 ¶
func (o LeaseCandidateSpecPtrOutput) Elem() LeaseCandidateSpecOutput
func (LeaseCandidateSpecPtrOutput) ElementType ¶
func (LeaseCandidateSpecPtrOutput) ElementType() reflect.Type
func (LeaseCandidateSpecPtrOutput) EmulationVersion ¶
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 ¶
func (o LeaseCandidateSpecPtrOutput) LeaseName() pulumi.StringPtrOutput
LeaseName is the name of the lease for which this candidate is contending. This field is immutable.
func (LeaseCandidateSpecPtrOutput) PingTime ¶
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 ¶
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 ¶
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. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.
func (LeaseCandidateSpecPtrOutput) ToLeaseCandidateSpecPtrOutput ¶
func (o LeaseCandidateSpecPtrOutput) ToLeaseCandidateSpecPtrOutput() LeaseCandidateSpecPtrOutput
func (LeaseCandidateSpecPtrOutput) ToLeaseCandidateSpecPtrOutputWithContext ¶
func (o LeaseCandidateSpecPtrOutput) ToLeaseCandidateSpecPtrOutputWithContext(ctx context.Context) LeaseCandidateSpecPtrOutput
type LeaseCandidateState ¶
type LeaseCandidateState struct { }
func (LeaseCandidateState) ElementType ¶
func (LeaseCandidateState) ElementType() reflect.Type
type LeaseCandidateType ¶
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 ¶
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 ¶
func (LeaseCandidateTypeArgs) ElementType() reflect.Type
func (LeaseCandidateTypeArgs) ToLeaseCandidateTypeOutput ¶
func (i LeaseCandidateTypeArgs) ToLeaseCandidateTypeOutput() LeaseCandidateTypeOutput
func (LeaseCandidateTypeArgs) ToLeaseCandidateTypeOutputWithContext ¶
func (i LeaseCandidateTypeArgs) ToLeaseCandidateTypeOutputWithContext(ctx context.Context) LeaseCandidateTypeOutput
type LeaseCandidateTypeArray ¶
type LeaseCandidateTypeArray []LeaseCandidateTypeInput
func (LeaseCandidateTypeArray) ElementType ¶
func (LeaseCandidateTypeArray) ElementType() reflect.Type
func (LeaseCandidateTypeArray) ToLeaseCandidateTypeArrayOutput ¶
func (i LeaseCandidateTypeArray) ToLeaseCandidateTypeArrayOutput() LeaseCandidateTypeArrayOutput
func (LeaseCandidateTypeArray) ToLeaseCandidateTypeArrayOutputWithContext ¶
func (i LeaseCandidateTypeArray) ToLeaseCandidateTypeArrayOutputWithContext(ctx context.Context) LeaseCandidateTypeArrayOutput
type LeaseCandidateTypeArrayInput ¶
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 ¶
type LeaseCandidateTypeArrayOutput struct{ *pulumi.OutputState }
func (LeaseCandidateTypeArrayOutput) ElementType ¶
func (LeaseCandidateTypeArrayOutput) ElementType() reflect.Type
func (LeaseCandidateTypeArrayOutput) Index ¶
func (o LeaseCandidateTypeArrayOutput) Index(i pulumi.IntInput) LeaseCandidateTypeOutput
func (LeaseCandidateTypeArrayOutput) ToLeaseCandidateTypeArrayOutput ¶
func (o LeaseCandidateTypeArrayOutput) ToLeaseCandidateTypeArrayOutput() LeaseCandidateTypeArrayOutput
func (LeaseCandidateTypeArrayOutput) ToLeaseCandidateTypeArrayOutputWithContext ¶
func (o LeaseCandidateTypeArrayOutput) ToLeaseCandidateTypeArrayOutputWithContext(ctx context.Context) LeaseCandidateTypeArrayOutput
type LeaseCandidateTypeInput ¶
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 ¶
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 ¶
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 ¶
func (LeaseCandidateTypeOutput) ElementType() reflect.Type
func (LeaseCandidateTypeOutput) Kind ¶
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 ¶
func (o LeaseCandidateTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (LeaseCandidateTypeOutput) Spec ¶
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 ¶
func (o LeaseCandidateTypeOutput) ToLeaseCandidateTypeOutput() LeaseCandidateTypeOutput
func (LeaseCandidateTypeOutput) ToLeaseCandidateTypeOutputWithContext ¶
func (o LeaseCandidateTypeOutput) ToLeaseCandidateTypeOutputWithContext(ctx context.Context) LeaseCandidateTypeOutput