time

package
v0.0.0-...-db9db0f Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sleep

type Sleep struct {
	pulumi.CustomResourceState

	Duration pulumi.StringOutput `pulumi:"duration"`
}

Sleep for a specified amount of time.

func GetSleep

func GetSleep(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SleepState, opts ...pulumi.ResourceOption) (*Sleep, error)

GetSleep gets an existing Sleep 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 NewSleep

func NewSleep(ctx *pulumi.Context,
	name string, args *SleepArgs, opts ...pulumi.ResourceOption) (*Sleep, error)

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

func (*Sleep) ElementType

func (*Sleep) ElementType() reflect.Type

func (*Sleep) ToSleepOutput

func (i *Sleep) ToSleepOutput() SleepOutput

func (*Sleep) ToSleepOutputWithContext

func (i *Sleep) ToSleepOutputWithContext(ctx context.Context) SleepOutput

type SleepArgs

type SleepArgs struct {
	Duration pulumi.StringInput
}

The set of arguments for constructing a Sleep resource.

func (SleepArgs) ElementType

func (SleepArgs) ElementType() reflect.Type

type SleepArray

type SleepArray []SleepInput

func (SleepArray) ElementType

func (SleepArray) ElementType() reflect.Type

func (SleepArray) ToSleepArrayOutput

func (i SleepArray) ToSleepArrayOutput() SleepArrayOutput

func (SleepArray) ToSleepArrayOutputWithContext

func (i SleepArray) ToSleepArrayOutputWithContext(ctx context.Context) SleepArrayOutput

type SleepArrayInput

type SleepArrayInput interface {
	pulumi.Input

	ToSleepArrayOutput() SleepArrayOutput
	ToSleepArrayOutputWithContext(context.Context) SleepArrayOutput
}

SleepArrayInput is an input type that accepts SleepArray and SleepArrayOutput values. You can construct a concrete instance of `SleepArrayInput` via:

SleepArray{ SleepArgs{...} }

type SleepArrayOutput

type SleepArrayOutput struct{ *pulumi.OutputState }

func (SleepArrayOutput) ElementType

func (SleepArrayOutput) ElementType() reflect.Type

func (SleepArrayOutput) Index

func (SleepArrayOutput) ToSleepArrayOutput

func (o SleepArrayOutput) ToSleepArrayOutput() SleepArrayOutput

func (SleepArrayOutput) ToSleepArrayOutputWithContext

func (o SleepArrayOutput) ToSleepArrayOutputWithContext(ctx context.Context) SleepArrayOutput

type SleepInput

type SleepInput interface {
	pulumi.Input

	ToSleepOutput() SleepOutput
	ToSleepOutputWithContext(ctx context.Context) SleepOutput
}

type SleepMap

type SleepMap map[string]SleepInput

func (SleepMap) ElementType

func (SleepMap) ElementType() reflect.Type

func (SleepMap) ToSleepMapOutput

func (i SleepMap) ToSleepMapOutput() SleepMapOutput

func (SleepMap) ToSleepMapOutputWithContext

func (i SleepMap) ToSleepMapOutputWithContext(ctx context.Context) SleepMapOutput

type SleepMapInput

type SleepMapInput interface {
	pulumi.Input

	ToSleepMapOutput() SleepMapOutput
	ToSleepMapOutputWithContext(context.Context) SleepMapOutput
}

SleepMapInput is an input type that accepts SleepMap and SleepMapOutput values. You can construct a concrete instance of `SleepMapInput` via:

SleepMap{ "key": SleepArgs{...} }

type SleepMapOutput

type SleepMapOutput struct{ *pulumi.OutputState }

func (SleepMapOutput) ElementType

func (SleepMapOutput) ElementType() reflect.Type

func (SleepMapOutput) MapIndex

func (SleepMapOutput) ToSleepMapOutput

func (o SleepMapOutput) ToSleepMapOutput() SleepMapOutput

func (SleepMapOutput) ToSleepMapOutputWithContext

func (o SleepMapOutput) ToSleepMapOutputWithContext(ctx context.Context) SleepMapOutput

type SleepOutput

type SleepOutput struct{ *pulumi.OutputState }

func (SleepOutput) Duration

func (o SleepOutput) Duration() pulumi.StringOutput

func (SleepOutput) ElementType

func (SleepOutput) ElementType() reflect.Type

func (SleepOutput) ToSleepOutput

func (o SleepOutput) ToSleepOutput() SleepOutput

func (SleepOutput) ToSleepOutputWithContext

func (o SleepOutput) ToSleepOutputWithContext(ctx context.Context) SleepOutput

type SleepState

type SleepState struct {
}

func (SleepState) ElementType

func (SleepState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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