v1

package
v4.18.3 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 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.StringOutput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringOutput `pulumi:"kind"`
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaOutput `pulumi:"metadata"`
	// spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec LeaseSpecOutput `pulumi:"spec"`
}

Lease defines a lease concept.

func GetLease

func GetLease(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LeaseState, opts ...pulumi.ResourceOption) (*Lease, error)

GetLease gets an existing Lease resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLease

func NewLease(ctx *pulumi.Context,
	name string, args *LeaseArgs, opts ...pulumi.ResourceOption) (*Lease, error)

NewLease registers a new resource with the given unique name, arguments, and options.

func (*Lease) ElementType

func (*Lease) ElementType() reflect.Type

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
	// spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec 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.StringOutput `pulumi:"apiVersion"`
	// items is a list of schema objects.
	Items LeaseTypeArrayOutput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringOutput `pulumi:"kind"`
	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaOutput `pulumi:"metadata"`
}

LeaseList is a list of Lease objects.

func GetLeaseList

func GetLeaseList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LeaseListState, opts ...pulumi.ResourceOption) (*LeaseList, error)

GetLeaseList gets an existing LeaseList resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLeaseList

func NewLeaseList(ctx *pulumi.Context,
	name string, args *LeaseListArgs, opts ...pulumi.ResourceOption) (*LeaseList, error)

NewLeaseList registers a new resource with the given unique name, arguments, and options.

func (*LeaseList) ElementType

func (*LeaseList) ElementType() reflect.Type

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

func (o LeaseListOutput) ApiVersion() pulumi.StringOutput

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (LeaseListOutput) ElementType

func (LeaseListOutput) ElementType() reflect.Type

func (LeaseListOutput) Items

items is a list of schema objects.

func (LeaseListOutput) 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 (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

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

func (o LeaseOutput) ApiVersion() pulumi.StringOutput

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (LeaseOutput) ElementType

func (LeaseOutput) ElementType() reflect.Type

func (LeaseOutput) Kind

func (o LeaseOutput) Kind() pulumi.StringOutput

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

func (LeaseOutput) Spec

func (o LeaseOutput) Spec() LeaseSpecOutput

spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (LeaseOutput) ToLeaseOutput

func (o LeaseOutput) ToLeaseOutput() LeaseOutput

func (LeaseOutput) ToLeaseOutputWithContext

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

type LeasePatch

type LeasePatch struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrOutput `pulumi:"kind"`
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPatchPtrOutput `pulumi:"metadata"`
	// spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec LeaseSpecPatchPtrOutput `pulumi:"spec"`
}

Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. Lease defines a lease concept.

func GetLeasePatch

func GetLeasePatch(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LeasePatchState, opts ...pulumi.ResourceOption) (*LeasePatch, error)

GetLeasePatch gets an existing LeasePatch resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLeasePatch

func NewLeasePatch(ctx *pulumi.Context,
	name string, args *LeasePatchArgs, opts ...pulumi.ResourceOption) (*LeasePatch, error)

NewLeasePatch registers a new resource with the given unique name, arguments, and options.

func (*LeasePatch) ElementType

func (*LeasePatch) ElementType() reflect.Type

func (*LeasePatch) ToLeasePatchOutput

func (i *LeasePatch) ToLeasePatchOutput() LeasePatchOutput

func (*LeasePatch) ToLeasePatchOutputWithContext

func (i *LeasePatch) ToLeasePatchOutputWithContext(ctx context.Context) LeasePatchOutput

type LeasePatchArgs

type LeasePatchArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPatchPtrInput
	// spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec LeaseSpecPatchPtrInput
}

The set of arguments for constructing a LeasePatch resource.

func (LeasePatchArgs) ElementType

func (LeasePatchArgs) ElementType() reflect.Type

type LeasePatchArray

type LeasePatchArray []LeasePatchInput

func (LeasePatchArray) ElementType

func (LeasePatchArray) ElementType() reflect.Type

func (LeasePatchArray) ToLeasePatchArrayOutput

func (i LeasePatchArray) ToLeasePatchArrayOutput() LeasePatchArrayOutput

func (LeasePatchArray) ToLeasePatchArrayOutputWithContext

func (i LeasePatchArray) ToLeasePatchArrayOutputWithContext(ctx context.Context) LeasePatchArrayOutput

type LeasePatchArrayInput

type LeasePatchArrayInput interface {
	pulumi.Input

	ToLeasePatchArrayOutput() LeasePatchArrayOutput
	ToLeasePatchArrayOutputWithContext(context.Context) LeasePatchArrayOutput
}

LeasePatchArrayInput is an input type that accepts LeasePatchArray and LeasePatchArrayOutput values. You can construct a concrete instance of `LeasePatchArrayInput` via:

LeasePatchArray{ LeasePatchArgs{...} }

type LeasePatchArrayOutput

type LeasePatchArrayOutput struct{ *pulumi.OutputState }

func (LeasePatchArrayOutput) ElementType

func (LeasePatchArrayOutput) ElementType() reflect.Type

func (LeasePatchArrayOutput) Index

func (LeasePatchArrayOutput) ToLeasePatchArrayOutput

func (o LeasePatchArrayOutput) ToLeasePatchArrayOutput() LeasePatchArrayOutput

func (LeasePatchArrayOutput) ToLeasePatchArrayOutputWithContext

func (o LeasePatchArrayOutput) ToLeasePatchArrayOutputWithContext(ctx context.Context) LeasePatchArrayOutput

type LeasePatchInput

type LeasePatchInput interface {
	pulumi.Input

	ToLeasePatchOutput() LeasePatchOutput
	ToLeasePatchOutputWithContext(ctx context.Context) LeasePatchOutput
}

type LeasePatchMap

type LeasePatchMap map[string]LeasePatchInput

func (LeasePatchMap) ElementType

func (LeasePatchMap) ElementType() reflect.Type

func (LeasePatchMap) ToLeasePatchMapOutput

func (i LeasePatchMap) ToLeasePatchMapOutput() LeasePatchMapOutput

func (LeasePatchMap) ToLeasePatchMapOutputWithContext

func (i LeasePatchMap) ToLeasePatchMapOutputWithContext(ctx context.Context) LeasePatchMapOutput

type LeasePatchMapInput

type LeasePatchMapInput interface {
	pulumi.Input

	ToLeasePatchMapOutput() LeasePatchMapOutput
	ToLeasePatchMapOutputWithContext(context.Context) LeasePatchMapOutput
}

LeasePatchMapInput is an input type that accepts LeasePatchMap and LeasePatchMapOutput values. You can construct a concrete instance of `LeasePatchMapInput` via:

LeasePatchMap{ "key": LeasePatchArgs{...} }

type LeasePatchMapOutput

type LeasePatchMapOutput struct{ *pulumi.OutputState }

func (LeasePatchMapOutput) ElementType

func (LeasePatchMapOutput) ElementType() reflect.Type

func (LeasePatchMapOutput) MapIndex

func (LeasePatchMapOutput) ToLeasePatchMapOutput

func (o LeasePatchMapOutput) ToLeasePatchMapOutput() LeasePatchMapOutput

func (LeasePatchMapOutput) ToLeasePatchMapOutputWithContext

func (o LeasePatchMapOutput) ToLeasePatchMapOutputWithContext(ctx context.Context) LeasePatchMapOutput

type LeasePatchOutput

type LeasePatchOutput struct{ *pulumi.OutputState }

func (LeasePatchOutput) ApiVersion

func (o LeasePatchOutput) ApiVersion() pulumi.StringPtrOutput

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (LeasePatchOutput) ElementType

func (LeasePatchOutput) ElementType() reflect.Type

func (LeasePatchOutput) Kind

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

spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (LeasePatchOutput) ToLeasePatchOutput

func (o LeasePatchOutput) ToLeasePatchOutput() LeasePatchOutput

func (LeasePatchOutput) ToLeasePatchOutputWithContext

func (o LeasePatchOutput) ToLeasePatchOutputWithContext(ctx context.Context) LeasePatchOutput

type LeasePatchState

type LeasePatchState struct {
}

func (LeasePatchState) ElementType

func (LeasePatchState) ElementType() reflect.Type

type LeasePatchType

type LeasePatchType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ObjectMetaPatch `pulumi:"metadata"`
	// spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *LeaseSpecPatch `pulumi:"spec"`
}

Lease defines a lease concept.

type LeasePatchTypeArgs

type LeasePatchTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPatchPtrInput `pulumi:"metadata"`
	// spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec LeaseSpecPatchPtrInput `pulumi:"spec"`
}

Lease defines a lease concept.

func (LeasePatchTypeArgs) ElementType

func (LeasePatchTypeArgs) ElementType() reflect.Type

func (LeasePatchTypeArgs) ToLeasePatchTypeOutput

func (i LeasePatchTypeArgs) ToLeasePatchTypeOutput() LeasePatchTypeOutput

func (LeasePatchTypeArgs) ToLeasePatchTypeOutputWithContext

func (i LeasePatchTypeArgs) ToLeasePatchTypeOutputWithContext(ctx context.Context) LeasePatchTypeOutput

type LeasePatchTypeInput

type LeasePatchTypeInput interface {
	pulumi.Input

	ToLeasePatchTypeOutput() LeasePatchTypeOutput
	ToLeasePatchTypeOutputWithContext(context.Context) LeasePatchTypeOutput
}

LeasePatchTypeInput is an input type that accepts LeasePatchTypeArgs and LeasePatchTypeOutput values. You can construct a concrete instance of `LeasePatchTypeInput` via:

LeasePatchTypeArgs{...}

type LeasePatchTypeOutput

type LeasePatchTypeOutput struct{ *pulumi.OutputState }

Lease defines a lease concept.

func (LeasePatchTypeOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (LeasePatchTypeOutput) ElementType

func (LeasePatchTypeOutput) ElementType() reflect.Type

func (LeasePatchTypeOutput) Kind

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

spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (LeasePatchTypeOutput) ToLeasePatchTypeOutput

func (o LeasePatchTypeOutput) ToLeasePatchTypeOutput() LeasePatchTypeOutput

func (LeasePatchTypeOutput) ToLeasePatchTypeOutputWithContext

func (o LeasePatchTypeOutput) ToLeasePatchTypeOutputWithContext(ctx context.Context) LeasePatchTypeOutput

type LeaseSpec

type LeaseSpec struct {
	// acquireTime is a time when the current lease was acquired.
	AcquireTime *string `pulumi:"acquireTime"`
	// holderIdentity contains the identity of the holder of a current lease. If Coordinated Leader Election is used, the holder identity must be equal to the elected LeaseCandidate.metadata.name field.
	HolderIdentity *string `pulumi:"holderIdentity"`
	// leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measured against the time of last observed renewTime.
	LeaseDurationSeconds *int `pulumi:"leaseDurationSeconds"`
	// leaseTransitions is the number of transitions of a lease between holders.
	LeaseTransitions *int `pulumi:"leaseTransitions"`
	// PreferredHolder signals to a lease holder that the lease has a more optimal holder and should be given up. This field can only be set if Strategy is also set.
	PreferredHolder *string `pulumi:"preferredHolder"`
	// renewTime is a time when the current holder of a lease has last updated the lease.
	RenewTime *string `pulumi:"renewTime"`
	// Strategy indicates the strategy for picking the leader for coordinated leader election. If the field is not specified, there is no active coordination for this lease. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.
	Strategy *string `pulumi:"strategy"`
}

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. If Coordinated Leader Election is used, the holder identity must be equal to the elected LeaseCandidate.metadata.name field.
	HolderIdentity pulumi.StringPtrInput `pulumi:"holderIdentity"`
	// leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measured against the 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"`
	// PreferredHolder signals to a lease holder that the lease has a more optimal holder and should be given up. This field can only be set if Strategy is also set.
	PreferredHolder pulumi.StringPtrInput `pulumi:"preferredHolder"`
	// renewTime is a time when the current holder of a lease has last updated the lease.
	RenewTime pulumi.StringPtrInput `pulumi:"renewTime"`
	// Strategy indicates the strategy for picking the leader for coordinated leader election. If the field is not specified, there is no active coordination for this lease. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.
	Strategy pulumi.StringPtrInput `pulumi:"strategy"`
}

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. If Coordinated Leader Election is used, the holder identity must be equal to the elected LeaseCandidate.metadata.name field.

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 measured against the 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) PreferredHolder added in v4.17.0

func (o LeaseSpecOutput) PreferredHolder() pulumi.StringPtrOutput

PreferredHolder signals to a lease holder that the lease has a more optimal holder and should be given up. This field can only be set if Strategy is also set.

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) Strategy added in v4.17.0

func (o LeaseSpecOutput) Strategy() pulumi.StringPtrOutput

Strategy indicates the strategy for picking the leader for coordinated leader election. If the field is not specified, there is no active coordination for this lease. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.

func (LeaseSpecOutput) ToLeaseSpecOutput

func (o LeaseSpecOutput) ToLeaseSpecOutput() LeaseSpecOutput

func (LeaseSpecOutput) ToLeaseSpecOutputWithContext

func (o LeaseSpecOutput) ToLeaseSpecOutputWithContext(ctx context.Context) LeaseSpecOutput

func (LeaseSpecOutput) ToLeaseSpecPtrOutput

func (o LeaseSpecOutput) ToLeaseSpecPtrOutput() LeaseSpecPtrOutput

func (LeaseSpecOutput) ToLeaseSpecPtrOutputWithContext

func (o LeaseSpecOutput) ToLeaseSpecPtrOutputWithContext(ctx context.Context) LeaseSpecPtrOutput

type LeaseSpecPatch

type LeaseSpecPatch struct {
	// acquireTime is a time when the current lease was acquired.
	AcquireTime *string `pulumi:"acquireTime"`
	// holderIdentity contains the identity of the holder of a current lease. If Coordinated Leader Election is used, the holder identity must be equal to the elected LeaseCandidate.metadata.name field.
	HolderIdentity *string `pulumi:"holderIdentity"`
	// leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measured against the time of last observed renewTime.
	LeaseDurationSeconds *int `pulumi:"leaseDurationSeconds"`
	// leaseTransitions is the number of transitions of a lease between holders.
	LeaseTransitions *int `pulumi:"leaseTransitions"`
	// PreferredHolder signals to a lease holder that the lease has a more optimal holder and should be given up. This field can only be set if Strategy is also set.
	PreferredHolder *string `pulumi:"preferredHolder"`
	// renewTime is a time when the current holder of a lease has last updated the lease.
	RenewTime *string `pulumi:"renewTime"`
	// Strategy indicates the strategy for picking the leader for coordinated leader election. If the field is not specified, there is no active coordination for this lease. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.
	Strategy *string `pulumi:"strategy"`
}

LeaseSpec is a specification of a Lease.

type LeaseSpecPatchArgs

type LeaseSpecPatchArgs struct {
	// acquireTime is a time when the current lease was acquired.
	AcquireTime pulumi.StringPtrInput `pulumi:"acquireTime"`
	// holderIdentity contains the identity of the holder of a current lease. If Coordinated Leader Election is used, the holder identity must be equal to the elected LeaseCandidate.metadata.name field.
	HolderIdentity pulumi.StringPtrInput `pulumi:"holderIdentity"`
	// leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measured against the 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"`
	// PreferredHolder signals to a lease holder that the lease has a more optimal holder and should be given up. This field can only be set if Strategy is also set.
	PreferredHolder pulumi.StringPtrInput `pulumi:"preferredHolder"`
	// renewTime is a time when the current holder of a lease has last updated the lease.
	RenewTime pulumi.StringPtrInput `pulumi:"renewTime"`
	// Strategy indicates the strategy for picking the leader for coordinated leader election. If the field is not specified, there is no active coordination for this lease. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.
	Strategy pulumi.StringPtrInput `pulumi:"strategy"`
}

LeaseSpec is a specification of a Lease.

func (LeaseSpecPatchArgs) ElementType

func (LeaseSpecPatchArgs) ElementType() reflect.Type

func (LeaseSpecPatchArgs) ToLeaseSpecPatchOutput

func (i LeaseSpecPatchArgs) ToLeaseSpecPatchOutput() LeaseSpecPatchOutput

func (LeaseSpecPatchArgs) ToLeaseSpecPatchOutputWithContext

func (i LeaseSpecPatchArgs) ToLeaseSpecPatchOutputWithContext(ctx context.Context) LeaseSpecPatchOutput

func (LeaseSpecPatchArgs) ToLeaseSpecPatchPtrOutput

func (i LeaseSpecPatchArgs) ToLeaseSpecPatchPtrOutput() LeaseSpecPatchPtrOutput

func (LeaseSpecPatchArgs) ToLeaseSpecPatchPtrOutputWithContext

func (i LeaseSpecPatchArgs) ToLeaseSpecPatchPtrOutputWithContext(ctx context.Context) LeaseSpecPatchPtrOutput

type LeaseSpecPatchInput

type LeaseSpecPatchInput interface {
	pulumi.Input

	ToLeaseSpecPatchOutput() LeaseSpecPatchOutput
	ToLeaseSpecPatchOutputWithContext(context.Context) LeaseSpecPatchOutput
}

LeaseSpecPatchInput is an input type that accepts LeaseSpecPatchArgs and LeaseSpecPatchOutput values. You can construct a concrete instance of `LeaseSpecPatchInput` via:

LeaseSpecPatchArgs{...}

type LeaseSpecPatchOutput

type LeaseSpecPatchOutput struct{ *pulumi.OutputState }

LeaseSpec is a specification of a Lease.

func (LeaseSpecPatchOutput) AcquireTime

acquireTime is a time when the current lease was acquired.

func (LeaseSpecPatchOutput) ElementType

func (LeaseSpecPatchOutput) ElementType() reflect.Type

func (LeaseSpecPatchOutput) HolderIdentity

func (o LeaseSpecPatchOutput) HolderIdentity() pulumi.StringPtrOutput

holderIdentity contains the identity of the holder of a current lease. If Coordinated Leader Election is used, the holder identity must be equal to the elected LeaseCandidate.metadata.name field.

func (LeaseSpecPatchOutput) LeaseDurationSeconds

func (o LeaseSpecPatchOutput) LeaseDurationSeconds() pulumi.IntPtrOutput

leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measured against the time of last observed renewTime.

func (LeaseSpecPatchOutput) LeaseTransitions

func (o LeaseSpecPatchOutput) LeaseTransitions() pulumi.IntPtrOutput

leaseTransitions is the number of transitions of a lease between holders.

func (LeaseSpecPatchOutput) PreferredHolder added in v4.17.0

func (o LeaseSpecPatchOutput) PreferredHolder() pulumi.StringPtrOutput

PreferredHolder signals to a lease holder that the lease has a more optimal holder and should be given up. This field can only be set if Strategy is also set.

func (LeaseSpecPatchOutput) RenewTime

renewTime is a time when the current holder of a lease has last updated the lease.

func (LeaseSpecPatchOutput) Strategy added in v4.17.0

Strategy indicates the strategy for picking the leader for coordinated leader election. If the field is not specified, there is no active coordination for this lease. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.

func (LeaseSpecPatchOutput) ToLeaseSpecPatchOutput

func (o LeaseSpecPatchOutput) ToLeaseSpecPatchOutput() LeaseSpecPatchOutput

func (LeaseSpecPatchOutput) ToLeaseSpecPatchOutputWithContext

func (o LeaseSpecPatchOutput) ToLeaseSpecPatchOutputWithContext(ctx context.Context) LeaseSpecPatchOutput

func (LeaseSpecPatchOutput) ToLeaseSpecPatchPtrOutput

func (o LeaseSpecPatchOutput) ToLeaseSpecPatchPtrOutput() LeaseSpecPatchPtrOutput

func (LeaseSpecPatchOutput) ToLeaseSpecPatchPtrOutputWithContext

func (o LeaseSpecPatchOutput) ToLeaseSpecPatchPtrOutputWithContext(ctx context.Context) LeaseSpecPatchPtrOutput

type LeaseSpecPatchPtrInput

type LeaseSpecPatchPtrInput interface {
	pulumi.Input

	ToLeaseSpecPatchPtrOutput() LeaseSpecPatchPtrOutput
	ToLeaseSpecPatchPtrOutputWithContext(context.Context) LeaseSpecPatchPtrOutput
}

LeaseSpecPatchPtrInput is an input type that accepts LeaseSpecPatchArgs, LeaseSpecPatchPtr and LeaseSpecPatchPtrOutput values. You can construct a concrete instance of `LeaseSpecPatchPtrInput` via:

        LeaseSpecPatchArgs{...}

or:

        nil

type LeaseSpecPatchPtrOutput

type LeaseSpecPatchPtrOutput struct{ *pulumi.OutputState }

func (LeaseSpecPatchPtrOutput) AcquireTime

acquireTime is a time when the current lease was acquired.

func (LeaseSpecPatchPtrOutput) Elem

func (LeaseSpecPatchPtrOutput) ElementType

func (LeaseSpecPatchPtrOutput) ElementType() reflect.Type

func (LeaseSpecPatchPtrOutput) HolderIdentity

func (o LeaseSpecPatchPtrOutput) HolderIdentity() pulumi.StringPtrOutput

holderIdentity contains the identity of the holder of a current lease. If Coordinated Leader Election is used, the holder identity must be equal to the elected LeaseCandidate.metadata.name field.

func (LeaseSpecPatchPtrOutput) LeaseDurationSeconds

func (o LeaseSpecPatchPtrOutput) LeaseDurationSeconds() pulumi.IntPtrOutput

leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measured against the time of last observed renewTime.

func (LeaseSpecPatchPtrOutput) LeaseTransitions

func (o LeaseSpecPatchPtrOutput) LeaseTransitions() pulumi.IntPtrOutput

leaseTransitions is the number of transitions of a lease between holders.

func (LeaseSpecPatchPtrOutput) PreferredHolder added in v4.17.0

func (o LeaseSpecPatchPtrOutput) PreferredHolder() pulumi.StringPtrOutput

PreferredHolder signals to a lease holder that the lease has a more optimal holder and should be given up. This field can only be set if Strategy is also set.

func (LeaseSpecPatchPtrOutput) RenewTime

renewTime is a time when the current holder of a lease has last updated the lease.

func (LeaseSpecPatchPtrOutput) Strategy added in v4.17.0

Strategy indicates the strategy for picking the leader for coordinated leader election. If the field is not specified, there is no active coordination for this lease. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.

func (LeaseSpecPatchPtrOutput) ToLeaseSpecPatchPtrOutput

func (o LeaseSpecPatchPtrOutput) ToLeaseSpecPatchPtrOutput() LeaseSpecPatchPtrOutput

func (LeaseSpecPatchPtrOutput) ToLeaseSpecPatchPtrOutputWithContext

func (o LeaseSpecPatchPtrOutput) ToLeaseSpecPatchPtrOutputWithContext(ctx context.Context) LeaseSpecPatchPtrOutput

type LeaseSpecPtrInput

type LeaseSpecPtrInput interface {
	pulumi.Input

	ToLeaseSpecPtrOutput() LeaseSpecPtrOutput
	ToLeaseSpecPtrOutputWithContext(context.Context) LeaseSpecPtrOutput
}

LeaseSpecPtrInput is an input type that accepts LeaseSpecArgs, LeaseSpecPtr and LeaseSpecPtrOutput values. You can construct a concrete instance of `LeaseSpecPtrInput` via:

        LeaseSpecArgs{...}

or:

        nil

func LeaseSpecPtr

func LeaseSpecPtr(v *LeaseSpecArgs) LeaseSpecPtrInput

type LeaseSpecPtrOutput

type LeaseSpecPtrOutput struct{ *pulumi.OutputState }

func (LeaseSpecPtrOutput) AcquireTime

func (o LeaseSpecPtrOutput) AcquireTime() pulumi.StringPtrOutput

acquireTime is a time when the current lease was acquired.

func (LeaseSpecPtrOutput) Elem

func (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. If Coordinated Leader Election is used, the holder identity must be equal to the elected LeaseCandidate.metadata.name field.

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 measured against the 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) PreferredHolder added in v4.17.0

func (o LeaseSpecPtrOutput) PreferredHolder() pulumi.StringPtrOutput

PreferredHolder signals to a lease holder that the lease has a more optimal holder and should be given up. This field can only be set if Strategy is also set.

func (LeaseSpecPtrOutput) RenewTime

renewTime is a time when the current holder of a lease has last updated the lease.

func (LeaseSpecPtrOutput) Strategy added in v4.17.0

Strategy indicates the strategy for picking the leader for coordinated leader election. If the field is not specified, there is no active coordination for this lease. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.

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"`
	// spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *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"`
	// spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec 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) Spec

spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

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