v1beta1

package
v3.10.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

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) ElementType() reflect.Type

func (*Lease) ToLeaseOutput

func (i *Lease) ToLeaseOutput() LeaseOutput

func (*Lease) ToLeaseOutputWithContext

func (i *Lease) ToLeaseOutputWithContext(ctx context.Context) LeaseOutput

func (*Lease) ToLeasePtrOutput

func (i *Lease) ToLeasePtrOutput() LeasePtrOutput

func (*Lease) ToLeasePtrOutputWithContext

func (i *Lease) ToLeasePtrOutputWithContext(ctx context.Context) LeasePtrOutput

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

func (LeaseArgs) ElementType() reflect.Type

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 (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) ElementType() reflect.Type

func (*LeaseList) ToLeaseListOutput

func (i *LeaseList) ToLeaseListOutput() LeaseListOutput

func (*LeaseList) ToLeaseListOutputWithContext

func (i *LeaseList) ToLeaseListOutputWithContext(ctx context.Context) LeaseListOutput

func (*LeaseList) ToLeaseListPtrOutput

func (i *LeaseList) ToLeaseListPtrOutput() LeaseListPtrOutput

func (*LeaseList) ToLeaseListPtrOutputWithContext

func (i *LeaseList) ToLeaseListPtrOutputWithContext(ctx context.Context) LeaseListPtrOutput

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

func (LeaseListOutput) ElementType() reflect.Type

func (LeaseListOutput) ToLeaseListOutput

func (o LeaseListOutput) ToLeaseListOutput() LeaseListOutput

func (LeaseListOutput) ToLeaseListOutputWithContext

func (o LeaseListOutput) ToLeaseListOutputWithContext(ctx context.Context) LeaseListOutput

func (LeaseListOutput) ToLeaseListPtrOutput

func (o LeaseListOutput) ToLeaseListPtrOutput() LeaseListPtrOutput

func (LeaseListOutput) ToLeaseListPtrOutputWithContext

func (o LeaseListOutput) ToLeaseListPtrOutputWithContext(ctx context.Context) LeaseListPtrOutput

type LeaseListPtrInput

type LeaseListPtrInput interface {
	pulumi.Input

	ToLeaseListPtrOutput() LeaseListPtrOutput
	ToLeaseListPtrOutputWithContext(ctx context.Context) LeaseListPtrOutput
}

type LeaseListPtrOutput

type LeaseListPtrOutput struct{ *pulumi.OutputState }

func (LeaseListPtrOutput) Elem added in v3.7.2

func (LeaseListPtrOutput) ElementType

func (LeaseListPtrOutput) ElementType() reflect.Type

func (LeaseListPtrOutput) ToLeaseListPtrOutput

func (o LeaseListPtrOutput) ToLeaseListPtrOutput() LeaseListPtrOutput

func (LeaseListPtrOutput) ToLeaseListPtrOutputWithContext

func (o LeaseListPtrOutput) ToLeaseListPtrOutputWithContext(ctx context.Context) LeaseListPtrOutput

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

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

Items is a list of schema objects.

func (LeaseListTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (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) ElementType() reflect.Type

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

func (LeaseOutput) ElementType() reflect.Type

func (LeaseOutput) ToLeaseOutput

func (o LeaseOutput) ToLeaseOutput() LeaseOutput

func (LeaseOutput) ToLeaseOutputWithContext

func (o LeaseOutput) ToLeaseOutputWithContext(ctx context.Context) LeaseOutput

func (LeaseOutput) ToLeasePtrOutput

func (o LeaseOutput) ToLeasePtrOutput() LeasePtrOutput

func (LeaseOutput) ToLeasePtrOutputWithContext

func (o LeaseOutput) ToLeasePtrOutputWithContext(ctx context.Context) LeasePtrOutput

type LeasePtrInput

type LeasePtrInput interface {
	pulumi.Input

	ToLeasePtrOutput() LeasePtrOutput
	ToLeasePtrOutputWithContext(ctx context.Context) LeasePtrOutput
}

type LeasePtrOutput

type LeasePtrOutput struct{ *pulumi.OutputState }

func (LeasePtrOutput) Elem added in v3.7.2

func (o LeasePtrOutput) Elem() LeaseOutput

func (LeasePtrOutput) ElementType

func (LeasePtrOutput) ElementType() reflect.Type

func (LeasePtrOutput) ToLeasePtrOutput

func (o LeasePtrOutput) ToLeasePtrOutput() LeasePtrOutput

func (LeasePtrOutput) ToLeasePtrOutputWithContext

func (o LeasePtrOutput) ToLeasePtrOutputWithContext(ctx context.Context) LeasePtrOutput

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 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 (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

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 (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

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) ToLeaseTypeOutput

func (o LeaseTypeOutput) ToLeaseTypeOutput() LeaseTypeOutput

func (LeaseTypeOutput) ToLeaseTypeOutputWithContext

func (o LeaseTypeOutput) ToLeaseTypeOutputWithContext(ctx context.Context) LeaseTypeOutput

Jump to

Keyboard shortcuts

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