v1beta1

package
v2.9.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

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 added in v2.7.2

func (*Lease) ElementType() reflect.Type

func (*Lease) ToLeaseOutput added in v2.7.2

func (i *Lease) ToLeaseOutput() LeaseOutput

func (*Lease) ToLeaseOutputWithContext added in v2.7.2

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

func (*Lease) ToLeasePtrOutput added in v2.7.7

func (i *Lease) ToLeasePtrOutput() LeasePtrOutput

func (*Lease) ToLeasePtrOutputWithContext added in v2.7.7

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 added in v2.7.7

type LeaseArray []LeaseInput

func (LeaseArray) ElementType added in v2.7.7

func (LeaseArray) ElementType() reflect.Type

func (LeaseArray) ToLeaseArrayOutput added in v2.7.7

func (i LeaseArray) ToLeaseArrayOutput() LeaseArrayOutput

func (LeaseArray) ToLeaseArrayOutputWithContext added in v2.7.7

func (i LeaseArray) ToLeaseArrayOutputWithContext(ctx context.Context) LeaseArrayOutput

type LeaseArrayInput added in v2.7.7

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 added in v2.7.7

type LeaseArrayOutput struct{ *pulumi.OutputState }

func (LeaseArrayOutput) ElementType added in v2.7.7

func (LeaseArrayOutput) ElementType() reflect.Type

func (LeaseArrayOutput) Index added in v2.7.7

func (LeaseArrayOutput) ToLeaseArrayOutput added in v2.7.7

func (o LeaseArrayOutput) ToLeaseArrayOutput() LeaseArrayOutput

func (LeaseArrayOutput) ToLeaseArrayOutputWithContext added in v2.7.7

func (o LeaseArrayOutput) ToLeaseArrayOutputWithContext(ctx context.Context) LeaseArrayOutput

type LeaseInput added in v2.7.2

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 added in v2.7.2

func (*LeaseList) ElementType() reflect.Type

func (*LeaseList) ToLeaseListOutput added in v2.7.2

func (i *LeaseList) ToLeaseListOutput() LeaseListOutput

func (*LeaseList) ToLeaseListOutputWithContext added in v2.7.2

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

func (*LeaseList) ToLeaseListPtrOutput added in v2.7.7

func (i *LeaseList) ToLeaseListPtrOutput() LeaseListPtrOutput

func (*LeaseList) ToLeaseListPtrOutputWithContext added in v2.7.7

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 added in v2.7.7

type LeaseListArray []LeaseListInput

func (LeaseListArray) ElementType added in v2.7.7

func (LeaseListArray) ElementType() reflect.Type

func (LeaseListArray) ToLeaseListArrayOutput added in v2.7.7

func (i LeaseListArray) ToLeaseListArrayOutput() LeaseListArrayOutput

func (LeaseListArray) ToLeaseListArrayOutputWithContext added in v2.7.7

func (i LeaseListArray) ToLeaseListArrayOutputWithContext(ctx context.Context) LeaseListArrayOutput

type LeaseListArrayInput added in v2.7.7

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 added in v2.7.7

type LeaseListArrayOutput struct{ *pulumi.OutputState }

func (LeaseListArrayOutput) ElementType added in v2.7.7

func (LeaseListArrayOutput) ElementType() reflect.Type

func (LeaseListArrayOutput) Index added in v2.7.7

func (LeaseListArrayOutput) ToLeaseListArrayOutput added in v2.7.7

func (o LeaseListArrayOutput) ToLeaseListArrayOutput() LeaseListArrayOutput

func (LeaseListArrayOutput) ToLeaseListArrayOutputWithContext added in v2.7.7

func (o LeaseListArrayOutput) ToLeaseListArrayOutputWithContext(ctx context.Context) LeaseListArrayOutput

type LeaseListInput added in v2.7.2

type LeaseListInput interface {
	pulumi.Input

	ToLeaseListOutput() LeaseListOutput
	ToLeaseListOutputWithContext(ctx context.Context) LeaseListOutput
}

type LeaseListMap added in v2.7.7

type LeaseListMap map[string]LeaseListInput

func (LeaseListMap) ElementType added in v2.7.7

func (LeaseListMap) ElementType() reflect.Type

func (LeaseListMap) ToLeaseListMapOutput added in v2.7.7

func (i LeaseListMap) ToLeaseListMapOutput() LeaseListMapOutput

func (LeaseListMap) ToLeaseListMapOutputWithContext added in v2.7.7

func (i LeaseListMap) ToLeaseListMapOutputWithContext(ctx context.Context) LeaseListMapOutput

type LeaseListMapInput added in v2.7.7

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 added in v2.7.7

type LeaseListMapOutput struct{ *pulumi.OutputState }

func (LeaseListMapOutput) ElementType added in v2.7.7

func (LeaseListMapOutput) ElementType() reflect.Type

func (LeaseListMapOutput) MapIndex added in v2.7.7

func (LeaseListMapOutput) ToLeaseListMapOutput added in v2.7.7

func (o LeaseListMapOutput) ToLeaseListMapOutput() LeaseListMapOutput

func (LeaseListMapOutput) ToLeaseListMapOutputWithContext added in v2.7.7

func (o LeaseListMapOutput) ToLeaseListMapOutputWithContext(ctx context.Context) LeaseListMapOutput

type LeaseListOutput added in v2.7.2

type LeaseListOutput struct {
	*pulumi.OutputState
}

func (LeaseListOutput) ElementType added in v2.7.2

func (LeaseListOutput) ElementType() reflect.Type

func (LeaseListOutput) ToLeaseListOutput added in v2.7.2

func (o LeaseListOutput) ToLeaseListOutput() LeaseListOutput

func (LeaseListOutput) ToLeaseListOutputWithContext added in v2.7.2

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

func (LeaseListOutput) ToLeaseListPtrOutput added in v2.7.7

func (o LeaseListOutput) ToLeaseListPtrOutput() LeaseListPtrOutput

func (LeaseListOutput) ToLeaseListPtrOutputWithContext added in v2.7.7

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

type LeaseListPtrInput added in v2.7.7

type LeaseListPtrInput interface {
	pulumi.Input

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

type LeaseListPtrOutput added in v2.7.7

type LeaseListPtrOutput struct {
	*pulumi.OutputState
}

func (LeaseListPtrOutput) ElementType added in v2.7.7

func (LeaseListPtrOutput) ElementType() reflect.Type

func (LeaseListPtrOutput) ToLeaseListPtrOutput added in v2.7.7

func (o LeaseListPtrOutput) ToLeaseListPtrOutput() LeaseListPtrOutput

func (LeaseListPtrOutput) ToLeaseListPtrOutputWithContext added in v2.7.7

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

type LeaseListState

type LeaseListState 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
}

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 added in v2.7.7

type LeaseMap map[string]LeaseInput

func (LeaseMap) ElementType added in v2.7.7

func (LeaseMap) ElementType() reflect.Type

func (LeaseMap) ToLeaseMapOutput added in v2.7.7

func (i LeaseMap) ToLeaseMapOutput() LeaseMapOutput

func (LeaseMap) ToLeaseMapOutputWithContext added in v2.7.7

func (i LeaseMap) ToLeaseMapOutputWithContext(ctx context.Context) LeaseMapOutput

type LeaseMapInput added in v2.7.7

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 added in v2.7.7

type LeaseMapOutput struct{ *pulumi.OutputState }

func (LeaseMapOutput) ElementType added in v2.7.7

func (LeaseMapOutput) ElementType() reflect.Type

func (LeaseMapOutput) MapIndex added in v2.7.7

func (LeaseMapOutput) ToLeaseMapOutput added in v2.7.7

func (o LeaseMapOutput) ToLeaseMapOutput() LeaseMapOutput

func (LeaseMapOutput) ToLeaseMapOutputWithContext added in v2.7.7

func (o LeaseMapOutput) ToLeaseMapOutputWithContext(ctx context.Context) LeaseMapOutput

type LeaseOutput added in v2.7.2

type LeaseOutput struct {
	*pulumi.OutputState
}

func (LeaseOutput) ElementType added in v2.7.2

func (LeaseOutput) ElementType() reflect.Type

func (LeaseOutput) ToLeaseOutput added in v2.7.2

func (o LeaseOutput) ToLeaseOutput() LeaseOutput

func (LeaseOutput) ToLeaseOutputWithContext added in v2.7.2

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

func (LeaseOutput) ToLeasePtrOutput added in v2.7.7

func (o LeaseOutput) ToLeasePtrOutput() LeasePtrOutput

func (LeaseOutput) ToLeasePtrOutputWithContext added in v2.7.7

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

type LeasePtrInput added in v2.7.7

type LeasePtrInput interface {
	pulumi.Input

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

type LeasePtrOutput added in v2.7.7

type LeasePtrOutput struct {
	*pulumi.OutputState
}

func (LeasePtrOutput) ElementType added in v2.7.7

func (LeasePtrOutput) ElementType() reflect.Type

func (LeasePtrOutput) ToLeasePtrOutput added in v2.7.7

func (o LeasePtrOutput) ToLeasePtrOutput() LeasePtrOutput

func (LeasePtrOutput) ToLeasePtrOutputWithContext added in v2.7.7

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 {
	// 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
}

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