null

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

A Pulumi package for creating and managing Null cloud resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetDataSourceArgs

type GetDataSourceArgs struct {
	// If set, its literal value will be stored and returned. If not, its value defaults to `"default"`. This argument exists primarily for testing and has little practical use.
	HasComputedDefault *string `pulumi:"hasComputedDefault"`
	// A map of arbitrary strings that is copied into the `outputs` attribute, and accessible directly for interpolation.
	Inputs map[string]string `pulumi:"inputs"`
}

A collection of arguments for invoking getDataSource.

type GetDataSourceOutputArgs

type GetDataSourceOutputArgs struct {
	// If set, its literal value will be stored and returned. If not, its value defaults to `"default"`. This argument exists primarily for testing and has little practical use.
	HasComputedDefault pulumi.StringPtrInput `pulumi:"hasComputedDefault"`
	// A map of arbitrary strings that is copied into the `outputs` attribute, and accessible directly for interpolation.
	Inputs pulumi.StringMapInput `pulumi:"inputs"`
}

A collection of arguments for invoking getDataSource.

func (GetDataSourceOutputArgs) ElementType

func (GetDataSourceOutputArgs) ElementType() reflect.Type

type GetDataSourceResult

type GetDataSourceResult struct {
	// If set, its literal value will be stored and returned. If not, its value defaults to `"default"`. This argument exists primarily for testing and has little practical use.
	HasComputedDefault string `pulumi:"hasComputedDefault"`
	// This attribute is only present for some legacy compatibility issues and should not be used. It will be removed in a future version.
	//
	// Deprecated: This attribute is only present for some legacy compatibility issues and should not be used. It will be removed in a future version.
	Id string `pulumi:"id"`
	// A map of arbitrary strings that is copied into the `outputs` attribute, and accessible directly for interpolation.
	Inputs map[string]string `pulumi:"inputs"`
	// After the data source is "read", a copy of the `inputs` map.
	Outputs map[string]string `pulumi:"outputs"`
	Random  string            `pulumi:"random"`
}

A collection of values returned by getDataSource.

func GetDataSource

func GetDataSource(ctx *pulumi.Context, args *GetDataSourceArgs, opts ...pulumi.InvokeOption) (*GetDataSourceResult, error)

## Example Usage

type GetDataSourceResultOutput

type GetDataSourceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDataSource.

func (GetDataSourceResultOutput) ElementType

func (GetDataSourceResultOutput) ElementType() reflect.Type

func (GetDataSourceResultOutput) HasComputedDefault

func (o GetDataSourceResultOutput) HasComputedDefault() pulumi.StringOutput

If set, its literal value will be stored and returned. If not, its value defaults to `"default"`. This argument exists primarily for testing and has little practical use.

func (GetDataSourceResultOutput) Id deprecated

This attribute is only present for some legacy compatibility issues and should not be used. It will be removed in a future version.

Deprecated: This attribute is only present for some legacy compatibility issues and should not be used. It will be removed in a future version.

func (GetDataSourceResultOutput) Inputs

A map of arbitrary strings that is copied into the `outputs` attribute, and accessible directly for interpolation.

func (GetDataSourceResultOutput) Outputs

After the data source is "read", a copy of the `inputs` map.

func (GetDataSourceResultOutput) Random

func (GetDataSourceResultOutput) ToGetDataSourceResultOutput

func (o GetDataSourceResultOutput) ToGetDataSourceResultOutput() GetDataSourceResultOutput

func (GetDataSourceResultOutput) ToGetDataSourceResultOutputWithContext

func (o GetDataSourceResultOutput) ToGetDataSourceResultOutputWithContext(ctx context.Context) GetDataSourceResultOutput

type Provider

type Provider struct {
	pulumi.ProviderResourceState
}

The provider type for the null package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

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

func (*Provider) ElementType

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ProviderArgs

type ProviderArgs struct {
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type Resource

type Resource struct {
	pulumi.CustomResourceState

	// A map of arbitrary strings that, when changed, will force the null resource to be replaced, re-running any associated provisioners.
	Triggers pulumi.StringMapOutput `pulumi:"triggers"`
}

## Example Usage

func GetResource

func GetResource(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResourceState, opts ...pulumi.ResourceOption) (*Resource, error)

GetResource gets an existing Resource 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 NewResource

func NewResource(ctx *pulumi.Context,
	name string, args *ResourceArgs, opts ...pulumi.ResourceOption) (*Resource, error)

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

func (*Resource) ElementType

func (*Resource) ElementType() reflect.Type

func (*Resource) ToResourceOutput

func (i *Resource) ToResourceOutput() ResourceOutput

func (*Resource) ToResourceOutputWithContext

func (i *Resource) ToResourceOutputWithContext(ctx context.Context) ResourceOutput

type ResourceArgs

type ResourceArgs struct {
	// A map of arbitrary strings that, when changed, will force the null resource to be replaced, re-running any associated provisioners.
	Triggers pulumi.StringMapInput
}

The set of arguments for constructing a Resource resource.

func (ResourceArgs) ElementType

func (ResourceArgs) ElementType() reflect.Type

type ResourceArray

type ResourceArray []ResourceInput

func (ResourceArray) ElementType

func (ResourceArray) ElementType() reflect.Type

func (ResourceArray) ToResourceArrayOutput

func (i ResourceArray) ToResourceArrayOutput() ResourceArrayOutput

func (ResourceArray) ToResourceArrayOutputWithContext

func (i ResourceArray) ToResourceArrayOutputWithContext(ctx context.Context) ResourceArrayOutput

type ResourceArrayInput

type ResourceArrayInput interface {
	pulumi.Input

	ToResourceArrayOutput() ResourceArrayOutput
	ToResourceArrayOutputWithContext(context.Context) ResourceArrayOutput
}

ResourceArrayInput is an input type that accepts ResourceArray and ResourceArrayOutput values. You can construct a concrete instance of `ResourceArrayInput` via:

ResourceArray{ ResourceArgs{...} }

type ResourceArrayOutput

type ResourceArrayOutput struct{ *pulumi.OutputState }

func (ResourceArrayOutput) ElementType

func (ResourceArrayOutput) ElementType() reflect.Type

func (ResourceArrayOutput) Index

func (ResourceArrayOutput) ToResourceArrayOutput

func (o ResourceArrayOutput) ToResourceArrayOutput() ResourceArrayOutput

func (ResourceArrayOutput) ToResourceArrayOutputWithContext

func (o ResourceArrayOutput) ToResourceArrayOutputWithContext(ctx context.Context) ResourceArrayOutput

type ResourceInput

type ResourceInput interface {
	pulumi.Input

	ToResourceOutput() ResourceOutput
	ToResourceOutputWithContext(ctx context.Context) ResourceOutput
}

type ResourceMap

type ResourceMap map[string]ResourceInput

func (ResourceMap) ElementType

func (ResourceMap) ElementType() reflect.Type

func (ResourceMap) ToResourceMapOutput

func (i ResourceMap) ToResourceMapOutput() ResourceMapOutput

func (ResourceMap) ToResourceMapOutputWithContext

func (i ResourceMap) ToResourceMapOutputWithContext(ctx context.Context) ResourceMapOutput

type ResourceMapInput

type ResourceMapInput interface {
	pulumi.Input

	ToResourceMapOutput() ResourceMapOutput
	ToResourceMapOutputWithContext(context.Context) ResourceMapOutput
}

ResourceMapInput is an input type that accepts ResourceMap and ResourceMapOutput values. You can construct a concrete instance of `ResourceMapInput` via:

ResourceMap{ "key": ResourceArgs{...} }

type ResourceMapOutput

type ResourceMapOutput struct{ *pulumi.OutputState }

func (ResourceMapOutput) ElementType

func (ResourceMapOutput) ElementType() reflect.Type

func (ResourceMapOutput) MapIndex

func (ResourceMapOutput) ToResourceMapOutput

func (o ResourceMapOutput) ToResourceMapOutput() ResourceMapOutput

func (ResourceMapOutput) ToResourceMapOutputWithContext

func (o ResourceMapOutput) ToResourceMapOutputWithContext(ctx context.Context) ResourceMapOutput

type ResourceOutput

type ResourceOutput struct{ *pulumi.OutputState }

func (ResourceOutput) ElementType

func (ResourceOutput) ElementType() reflect.Type

func (ResourceOutput) ToResourceOutput

func (o ResourceOutput) ToResourceOutput() ResourceOutput

func (ResourceOutput) ToResourceOutputWithContext

func (o ResourceOutput) ToResourceOutputWithContext(ctx context.Context) ResourceOutput

func (ResourceOutput) Triggers

func (o ResourceOutput) Triggers() pulumi.StringMapOutput

A map of arbitrary strings that, when changed, will force the null resource to be replaced, re-running any associated provisioners.

type ResourceState

type ResourceState struct {
	// A map of arbitrary strings that, when changed, will force the null resource to be replaced, re-running any associated provisioners.
	Triggers pulumi.StringMapInput
}

func (ResourceState) ElementType

func (ResourceState) ElementType() reflect.Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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