Documentation ¶
Index ¶
- type Lease
- type LeaseArgs
- type LeaseArray
- type LeaseArrayInput
- type LeaseArrayOutput
- 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.StringPtrOutput
- func (LeaseListOutput) ElementType() reflect.Type
- func (o LeaseListOutput) Items() LeaseTypeArrayOutput
- func (o LeaseListOutput) Kind() pulumi.StringPtrOutput
- func (o LeaseListOutput) Metadata() metav1.ListMetaPtrOutput
- 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.StringPtrOutput
- func (LeaseOutput) ElementType() reflect.Type
- func (o LeaseOutput) Kind() pulumi.StringPtrOutput
- func (o LeaseOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o LeaseOutput) Spec() LeaseSpecPtrOutput
- 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.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.ObjectMetaPtrOutput `pulumi:"metadata"` // Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec LeaseSpecPtrOutput `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 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.StringPtrOutput `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.StringPtrOutput `pulumi:"kind"` // Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ListMetaPtrOutput `pulumi:"metadata"` }
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 ¶ added in v3.19.1
func (o LeaseListOutput) 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 (LeaseListOutput) ElementType ¶
func (LeaseListOutput) ElementType() reflect.Type
func (LeaseListOutput) Items ¶ added in v3.19.1
func (o LeaseListOutput) Items() LeaseTypeArrayOutput
Items is a list of schema objects.
func (LeaseListOutput) Kind ¶ added in v3.19.1
func (o LeaseListOutput) 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 (LeaseListOutput) Metadata ¶ added in v3.19.1
func (o LeaseListOutput) Metadata() metav1.ListMetaPtrOutput
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 ¶ added in v3.19.1
func (o LeaseOutput) 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 (LeaseOutput) ElementType ¶
func (LeaseOutput) ElementType() reflect.Type
func (LeaseOutput) Kind ¶ added in v3.19.1
func (o LeaseOutput) 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 (LeaseOutput) Metadata ¶ added in v3.19.1
func (o LeaseOutput) Metadata() metav1.ObjectMetaPtrOutput
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (LeaseOutput) Spec ¶ added in v3.19.1
func (o LeaseOutput) Spec() LeaseSpecPtrOutput
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 ¶ added in v3.20.0
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 ¶ added in v3.20.0
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 ¶ added in v3.20.0
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 ¶ added in v3.20.0
func (*LeasePatch) ElementType() reflect.Type
func (*LeasePatch) ToLeasePatchOutput ¶ added in v3.20.0
func (i *LeasePatch) ToLeasePatchOutput() LeasePatchOutput
func (*LeasePatch) ToLeasePatchOutputWithContext ¶ added in v3.20.0
func (i *LeasePatch) ToLeasePatchOutputWithContext(ctx context.Context) LeasePatchOutput
type LeasePatchArgs ¶ added in v3.20.0
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 ¶ added in v3.20.0
func (LeasePatchArgs) ElementType() reflect.Type
type LeasePatchArray ¶ added in v3.20.0
type LeasePatchArray []LeasePatchInput
func (LeasePatchArray) ElementType ¶ added in v3.20.0
func (LeasePatchArray) ElementType() reflect.Type
func (LeasePatchArray) ToLeasePatchArrayOutput ¶ added in v3.20.0
func (i LeasePatchArray) ToLeasePatchArrayOutput() LeasePatchArrayOutput
func (LeasePatchArray) ToLeasePatchArrayOutputWithContext ¶ added in v3.20.0
func (i LeasePatchArray) ToLeasePatchArrayOutputWithContext(ctx context.Context) LeasePatchArrayOutput
type LeasePatchArrayInput ¶ added in v3.20.0
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 ¶ added in v3.20.0
type LeasePatchArrayOutput struct{ *pulumi.OutputState }
func (LeasePatchArrayOutput) ElementType ¶ added in v3.20.0
func (LeasePatchArrayOutput) ElementType() reflect.Type
func (LeasePatchArrayOutput) Index ¶ added in v3.20.0
func (o LeasePatchArrayOutput) Index(i pulumi.IntInput) LeasePatchOutput
func (LeasePatchArrayOutput) ToLeasePatchArrayOutput ¶ added in v3.20.0
func (o LeasePatchArrayOutput) ToLeasePatchArrayOutput() LeasePatchArrayOutput
func (LeasePatchArrayOutput) ToLeasePatchArrayOutputWithContext ¶ added in v3.20.0
func (o LeasePatchArrayOutput) ToLeasePatchArrayOutputWithContext(ctx context.Context) LeasePatchArrayOutput
type LeasePatchInput ¶ added in v3.20.0
type LeasePatchInput interface { pulumi.Input ToLeasePatchOutput() LeasePatchOutput ToLeasePatchOutputWithContext(ctx context.Context) LeasePatchOutput }
type LeasePatchMap ¶ added in v3.20.0
type LeasePatchMap map[string]LeasePatchInput
func (LeasePatchMap) ElementType ¶ added in v3.20.0
func (LeasePatchMap) ElementType() reflect.Type
func (LeasePatchMap) ToLeasePatchMapOutput ¶ added in v3.20.0
func (i LeasePatchMap) ToLeasePatchMapOutput() LeasePatchMapOutput
func (LeasePatchMap) ToLeasePatchMapOutputWithContext ¶ added in v3.20.0
func (i LeasePatchMap) ToLeasePatchMapOutputWithContext(ctx context.Context) LeasePatchMapOutput
type LeasePatchMapInput ¶ added in v3.20.0
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 ¶ added in v3.20.0
type LeasePatchMapOutput struct{ *pulumi.OutputState }
func (LeasePatchMapOutput) ElementType ¶ added in v3.20.0
func (LeasePatchMapOutput) ElementType() reflect.Type
func (LeasePatchMapOutput) MapIndex ¶ added in v3.20.0
func (o LeasePatchMapOutput) MapIndex(k pulumi.StringInput) LeasePatchOutput
func (LeasePatchMapOutput) ToLeasePatchMapOutput ¶ added in v3.20.0
func (o LeasePatchMapOutput) ToLeasePatchMapOutput() LeasePatchMapOutput
func (LeasePatchMapOutput) ToLeasePatchMapOutputWithContext ¶ added in v3.20.0
func (o LeasePatchMapOutput) ToLeasePatchMapOutputWithContext(ctx context.Context) LeasePatchMapOutput
type LeasePatchOutput ¶ added in v3.20.0
type LeasePatchOutput struct{ *pulumi.OutputState }
func (LeasePatchOutput) ApiVersion ¶ added in v3.20.0
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 ¶ added in v3.20.0
func (LeasePatchOutput) ElementType() reflect.Type
func (LeasePatchOutput) Kind ¶ added in v3.20.0
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 ¶ added in v3.20.0
func (o LeasePatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (LeasePatchOutput) Spec ¶ added in v3.20.0
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 ¶ added in v3.20.0
func (o LeasePatchOutput) ToLeasePatchOutput() LeasePatchOutput
func (LeasePatchOutput) ToLeasePatchOutputWithContext ¶ added in v3.20.0
func (o LeasePatchOutput) ToLeasePatchOutputWithContext(ctx context.Context) LeasePatchOutput
type LeasePatchState ¶ added in v3.20.0
type LeasePatchState struct { }
func (LeasePatchState) ElementType ¶ added in v3.20.0
func (LeasePatchState) ElementType() reflect.Type
type LeasePatchType ¶ added in v3.20.0
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 ¶ added in v3.20.0
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 ¶ added in v3.20.0
func (LeasePatchTypeArgs) ElementType() reflect.Type
func (LeasePatchTypeArgs) ToLeasePatchTypeOutput ¶ added in v3.20.0
func (i LeasePatchTypeArgs) ToLeasePatchTypeOutput() LeasePatchTypeOutput
func (LeasePatchTypeArgs) ToLeasePatchTypeOutputWithContext ¶ added in v3.20.0
func (i LeasePatchTypeArgs) ToLeasePatchTypeOutputWithContext(ctx context.Context) LeasePatchTypeOutput
type LeasePatchTypeInput ¶ added in v3.20.0
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 ¶ added in v3.20.0
type LeasePatchTypeOutput struct{ *pulumi.OutputState }
Lease defines a lease concept.
func (LeasePatchTypeOutput) ApiVersion ¶ added in v3.20.0
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 ¶ added in v3.20.0
func (LeasePatchTypeOutput) ElementType() reflect.Type
func (LeasePatchTypeOutput) Kind ¶ added in v3.20.0
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 ¶ added in v3.20.0
func (o LeasePatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (LeasePatchTypeOutput) Spec ¶ added in v3.20.0
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 ¶ added in v3.20.0
func (o LeasePatchTypeOutput) ToLeasePatchTypeOutput() LeasePatchTypeOutput
func (LeasePatchTypeOutput) ToLeasePatchTypeOutputWithContext ¶ added in v3.20.0
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 ¶ added in v3.20.0
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 ¶ added in v3.20.0
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 ¶ added in v3.20.0
func (LeaseSpecPatchArgs) ElementType() reflect.Type
func (LeaseSpecPatchArgs) ToLeaseSpecPatchOutput ¶ added in v3.20.0
func (i LeaseSpecPatchArgs) ToLeaseSpecPatchOutput() LeaseSpecPatchOutput
func (LeaseSpecPatchArgs) ToLeaseSpecPatchOutputWithContext ¶ added in v3.20.0
func (i LeaseSpecPatchArgs) ToLeaseSpecPatchOutputWithContext(ctx context.Context) LeaseSpecPatchOutput
func (LeaseSpecPatchArgs) ToLeaseSpecPatchPtrOutput ¶ added in v3.20.0
func (i LeaseSpecPatchArgs) ToLeaseSpecPatchPtrOutput() LeaseSpecPatchPtrOutput
func (LeaseSpecPatchArgs) ToLeaseSpecPatchPtrOutputWithContext ¶ added in v3.20.0
func (i LeaseSpecPatchArgs) ToLeaseSpecPatchPtrOutputWithContext(ctx context.Context) LeaseSpecPatchPtrOutput
type LeaseSpecPatchInput ¶ added in v3.20.0
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 ¶ added in v3.20.0
type LeaseSpecPatchOutput struct{ *pulumi.OutputState }
LeaseSpec is a specification of a Lease.
func (LeaseSpecPatchOutput) AcquireTime ¶ added in v3.20.0
func (o LeaseSpecPatchOutput) AcquireTime() pulumi.StringPtrOutput
acquireTime is a time when the current lease was acquired.
func (LeaseSpecPatchOutput) ElementType ¶ added in v3.20.0
func (LeaseSpecPatchOutput) ElementType() reflect.Type
func (LeaseSpecPatchOutput) HolderIdentity ¶ added in v3.20.0
func (o LeaseSpecPatchOutput) HolderIdentity() pulumi.StringPtrOutput
holderIdentity contains the identity of the holder of a current lease.
func (LeaseSpecPatchOutput) LeaseDurationSeconds ¶ added in v3.20.0
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 ¶ added in v3.20.0
func (o LeaseSpecPatchOutput) LeaseTransitions() pulumi.IntPtrOutput
leaseTransitions is the number of transitions of a lease between holders.
func (LeaseSpecPatchOutput) RenewTime ¶ added in v3.20.0
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 ¶ added in v3.20.0
func (o LeaseSpecPatchOutput) ToLeaseSpecPatchOutput() LeaseSpecPatchOutput
func (LeaseSpecPatchOutput) ToLeaseSpecPatchOutputWithContext ¶ added in v3.20.0
func (o LeaseSpecPatchOutput) ToLeaseSpecPatchOutputWithContext(ctx context.Context) LeaseSpecPatchOutput
func (LeaseSpecPatchOutput) ToLeaseSpecPatchPtrOutput ¶ added in v3.20.0
func (o LeaseSpecPatchOutput) ToLeaseSpecPatchPtrOutput() LeaseSpecPatchPtrOutput
func (LeaseSpecPatchOutput) ToLeaseSpecPatchPtrOutputWithContext ¶ added in v3.20.0
func (o LeaseSpecPatchOutput) ToLeaseSpecPatchPtrOutputWithContext(ctx context.Context) LeaseSpecPatchPtrOutput
type LeaseSpecPatchPtrInput ¶ added in v3.20.0
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 ¶ added in v3.20.0
func LeaseSpecPatchPtr(v *LeaseSpecPatchArgs) LeaseSpecPatchPtrInput
type LeaseSpecPatchPtrOutput ¶ added in v3.20.0
type LeaseSpecPatchPtrOutput struct{ *pulumi.OutputState }
func (LeaseSpecPatchPtrOutput) AcquireTime ¶ added in v3.20.0
func (o LeaseSpecPatchPtrOutput) AcquireTime() pulumi.StringPtrOutput
acquireTime is a time when the current lease was acquired.
func (LeaseSpecPatchPtrOutput) Elem ¶ added in v3.20.0
func (o LeaseSpecPatchPtrOutput) Elem() LeaseSpecPatchOutput
func (LeaseSpecPatchPtrOutput) ElementType ¶ added in v3.20.0
func (LeaseSpecPatchPtrOutput) ElementType() reflect.Type
func (LeaseSpecPatchPtrOutput) HolderIdentity ¶ added in v3.20.0
func (o LeaseSpecPatchPtrOutput) HolderIdentity() pulumi.StringPtrOutput
holderIdentity contains the identity of the holder of a current lease.
func (LeaseSpecPatchPtrOutput) LeaseDurationSeconds ¶ added in v3.20.0
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 ¶ added in v3.20.0
func (o LeaseSpecPatchPtrOutput) LeaseTransitions() pulumi.IntPtrOutput
leaseTransitions is the number of transitions of a lease between holders.
func (LeaseSpecPatchPtrOutput) RenewTime ¶ added in v3.20.0
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 ¶ added in v3.20.0
func (o LeaseSpecPatchPtrOutput) ToLeaseSpecPatchPtrOutput() LeaseSpecPatchPtrOutput
func (LeaseSpecPatchPtrOutput) ToLeaseSpecPatchPtrOutputWithContext ¶ added in v3.20.0
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