local

package
v0.0.0-...-13394e3 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 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 File

type File struct {
	pulumi.CustomResourceState

	// The content of the file.
	Content pulumi.StringArrayOutput `pulumi:"content"`
	// If an already existing file should be deleted if it exists.
	Force pulumi.BoolOutput `pulumi:"force"`
	// The path of the file.
	Path pulumi.StringOutput `pulumi:"path"`
}

A file projected into a pulumi resource

func GetFile

func GetFile(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FileState, opts ...pulumi.ResourceOption) (*File, error)

GetFile gets an existing File 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 NewFile

func NewFile(ctx *pulumi.Context,
	name string, args *FileArgs, opts ...pulumi.ResourceOption) (*File, error)

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

func (*File) ElementType

func (*File) ElementType() reflect.Type

func (*File) ToFileOutput

func (i *File) ToFileOutput() FileOutput

func (*File) ToFileOutputWithContext

func (i *File) ToFileOutputWithContext(ctx context.Context) FileOutput

type FileArgs

type FileArgs struct {
	// The content of the file.
	Content pulumi.StringArrayInput
	// If an already existing file should be deleted if it exists.
	Force pulumi.BoolPtrInput
	// The path of the file. This defaults to the name of the pulumi resource.
	Path pulumi.StringInput
}

The set of arguments for constructing a File resource.

func (FileArgs) ElementType

func (FileArgs) ElementType() reflect.Type

type FileArray

type FileArray []FileInput

func (FileArray) ElementType

func (FileArray) ElementType() reflect.Type

func (FileArray) ToFileArrayOutput

func (i FileArray) ToFileArrayOutput() FileArrayOutput

func (FileArray) ToFileArrayOutputWithContext

func (i FileArray) ToFileArrayOutputWithContext(ctx context.Context) FileArrayOutput

type FileArrayInput

type FileArrayInput interface {
	pulumi.Input

	ToFileArrayOutput() FileArrayOutput
	ToFileArrayOutputWithContext(context.Context) FileArrayOutput
}

FileArrayInput is an input type that accepts FileArray and FileArrayOutput values. You can construct a concrete instance of `FileArrayInput` via:

FileArray{ FileArgs{...} }

type FileArrayOutput

type FileArrayOutput struct{ *pulumi.OutputState }

func (FileArrayOutput) ElementType

func (FileArrayOutput) ElementType() reflect.Type

func (FileArrayOutput) Index

func (FileArrayOutput) ToFileArrayOutput

func (o FileArrayOutput) ToFileArrayOutput() FileArrayOutput

func (FileArrayOutput) ToFileArrayOutputWithContext

func (o FileArrayOutput) ToFileArrayOutputWithContext(ctx context.Context) FileArrayOutput

type FileInput

type FileInput interface {
	pulumi.Input

	ToFileOutput() FileOutput
	ToFileOutputWithContext(ctx context.Context) FileOutput
}

type FileMap

type FileMap map[string]FileInput

func (FileMap) ElementType

func (FileMap) ElementType() reflect.Type

func (FileMap) ToFileMapOutput

func (i FileMap) ToFileMapOutput() FileMapOutput

func (FileMap) ToFileMapOutputWithContext

func (i FileMap) ToFileMapOutputWithContext(ctx context.Context) FileMapOutput

type FileMapInput

type FileMapInput interface {
	pulumi.Input

	ToFileMapOutput() FileMapOutput
	ToFileMapOutputWithContext(context.Context) FileMapOutput
}

FileMapInput is an input type that accepts FileMap and FileMapOutput values. You can construct a concrete instance of `FileMapInput` via:

FileMap{ "key": FileArgs{...} }

type FileMapOutput

type FileMapOutput struct{ *pulumi.OutputState }

func (FileMapOutput) ElementType

func (FileMapOutput) ElementType() reflect.Type

func (FileMapOutput) MapIndex

func (FileMapOutput) ToFileMapOutput

func (o FileMapOutput) ToFileMapOutput() FileMapOutput

func (FileMapOutput) ToFileMapOutputWithContext

func (o FileMapOutput) ToFileMapOutputWithContext(ctx context.Context) FileMapOutput

type FileOutput

type FileOutput struct{ *pulumi.OutputState }

func (FileOutput) Content

func (o FileOutput) Content() pulumi.StringArrayOutput

The content of the file.

func (FileOutput) ElementType

func (FileOutput) ElementType() reflect.Type

func (FileOutput) Force

func (o FileOutput) Force() pulumi.BoolOutput

If an already existing file should be deleted if it exists.

func (FileOutput) Path

func (o FileOutput) Path() pulumi.StringOutput

The path of the file.

func (FileOutput) ToFileOutput

func (o FileOutput) ToFileOutput() FileOutput

func (FileOutput) ToFileOutputWithContext

func (o FileOutput) ToFileOutputWithContext(ctx context.Context) FileOutput

type FileState

type FileState struct {
}

func (FileState) ElementType

func (FileState) ElementType() reflect.Type
type Link struct {
	pulumi.CustomResourceState

	// Whether the source is a directory
	IsDir pulumi.BoolOutput `pulumi:"isDir"`
	// Whether the symlink has been created
	Linked pulumi.BoolOutput `pulumi:"linked"`
	// Whether to overwrite the target if it exists
	Overwrite pulumi.BoolPtrOutput `pulumi:"overwrite"`
	// Whether to recursively create links for directories
	Recursive pulumi.BoolPtrOutput `pulumi:"recursive"`
	// Whether to retain the link if the resource is deleted
	Retain pulumi.BoolPtrOutput `pulumi:"retain"`
	// The source file or directory to create a link to
	Source pulumi.StringOutput `pulumi:"source"`
	// The target file or directory to create a link at
	Target pulumi.StringOutput `pulumi:"target"`
	// The targets locations of the symlink
	Targets pulumi.StringArrayOutput `pulumi:"targets"`
}

Create a symlink for a file or directory

func GetLink(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LinkState, opts ...pulumi.ResourceOption) (*Link, error)

GetLink gets an existing Link 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 NewLink(ctx *pulumi.Context,
	name string, args *LinkArgs, opts ...pulumi.ResourceOption) (*Link, error)

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

func (*Link) ElementType

func (*Link) ElementType() reflect.Type

func (*Link) ToLinkOutput

func (i *Link) ToLinkOutput() LinkOutput

func (*Link) ToLinkOutputWithContext

func (i *Link) ToLinkOutputWithContext(ctx context.Context) LinkOutput

type LinkArgs

type LinkArgs struct {
	// Whether to overwrite the target if it exists
	Overwrite pulumi.BoolPtrInput
	// Whether to recursively create links for directories
	Recursive pulumi.BoolPtrInput
	// Whether to retain the link if the resource is deleted
	Retain pulumi.BoolPtrInput
	// The source file or directory to create a link to
	Source pulumi.StringInput
	// The target file or directory to create a link at
	Target pulumi.StringInput
}

The set of arguments for constructing a Link resource.

func (LinkArgs) ElementType

func (LinkArgs) ElementType() reflect.Type

type LinkArray

type LinkArray []LinkInput

func (LinkArray) ElementType

func (LinkArray) ElementType() reflect.Type

func (LinkArray) ToLinkArrayOutput

func (i LinkArray) ToLinkArrayOutput() LinkArrayOutput

func (LinkArray) ToLinkArrayOutputWithContext

func (i LinkArray) ToLinkArrayOutputWithContext(ctx context.Context) LinkArrayOutput

type LinkArrayInput

type LinkArrayInput interface {
	pulumi.Input

	ToLinkArrayOutput() LinkArrayOutput
	ToLinkArrayOutputWithContext(context.Context) LinkArrayOutput
}

LinkArrayInput is an input type that accepts LinkArray and LinkArrayOutput values. You can construct a concrete instance of `LinkArrayInput` via:

LinkArray{ LinkArgs{...} }

type LinkArrayOutput

type LinkArrayOutput struct{ *pulumi.OutputState }

func (LinkArrayOutput) ElementType

func (LinkArrayOutput) ElementType() reflect.Type

func (LinkArrayOutput) Index

func (LinkArrayOutput) ToLinkArrayOutput

func (o LinkArrayOutput) ToLinkArrayOutput() LinkArrayOutput

func (LinkArrayOutput) ToLinkArrayOutputWithContext

func (o LinkArrayOutput) ToLinkArrayOutputWithContext(ctx context.Context) LinkArrayOutput

type LinkInput

type LinkInput interface {
	pulumi.Input

	ToLinkOutput() LinkOutput
	ToLinkOutputWithContext(ctx context.Context) LinkOutput
}

type LinkMap

type LinkMap map[string]LinkInput

func (LinkMap) ElementType

func (LinkMap) ElementType() reflect.Type

func (LinkMap) ToLinkMapOutput

func (i LinkMap) ToLinkMapOutput() LinkMapOutput

func (LinkMap) ToLinkMapOutputWithContext

func (i LinkMap) ToLinkMapOutputWithContext(ctx context.Context) LinkMapOutput

type LinkMapInput

type LinkMapInput interface {
	pulumi.Input

	ToLinkMapOutput() LinkMapOutput
	ToLinkMapOutputWithContext(context.Context) LinkMapOutput
}

LinkMapInput is an input type that accepts LinkMap and LinkMapOutput values. You can construct a concrete instance of `LinkMapInput` via:

LinkMap{ "key": LinkArgs{...} }

type LinkMapOutput

type LinkMapOutput struct{ *pulumi.OutputState }

func (LinkMapOutput) ElementType

func (LinkMapOutput) ElementType() reflect.Type

func (LinkMapOutput) MapIndex

func (LinkMapOutput) ToLinkMapOutput

func (o LinkMapOutput) ToLinkMapOutput() LinkMapOutput

func (LinkMapOutput) ToLinkMapOutputWithContext

func (o LinkMapOutput) ToLinkMapOutputWithContext(ctx context.Context) LinkMapOutput

type LinkOutput

type LinkOutput struct{ *pulumi.OutputState }

func (LinkOutput) ElementType

func (LinkOutput) ElementType() reflect.Type

func (LinkOutput) IsDir

func (o LinkOutput) IsDir() pulumi.BoolOutput

Whether the source is a directory

func (LinkOutput) Linked

func (o LinkOutput) Linked() pulumi.BoolOutput

Whether the symlink has been created

func (LinkOutput) Overwrite

func (o LinkOutput) Overwrite() pulumi.BoolPtrOutput

Whether to overwrite the target if it exists

func (LinkOutput) Recursive

func (o LinkOutput) Recursive() pulumi.BoolPtrOutput

Whether to recursively create links for directories

func (LinkOutput) Retain

func (o LinkOutput) Retain() pulumi.BoolPtrOutput

Whether to retain the link if the resource is deleted

func (LinkOutput) Source

func (o LinkOutput) Source() pulumi.StringOutput

The source file or directory to create a link to

func (LinkOutput) Target

func (o LinkOutput) Target() pulumi.StringOutput

The target file or directory to create a link at

func (LinkOutput) Targets

func (o LinkOutput) Targets() pulumi.StringArrayOutput

The targets locations of the symlink

func (LinkOutput) ToLinkOutput

func (o LinkOutput) ToLinkOutput() LinkOutput

func (LinkOutput) ToLinkOutputWithContext

func (o LinkOutput) ToLinkOutputWithContext(ctx context.Context) LinkOutput

type LinkState

type LinkState struct {
}

func (LinkState) ElementType

func (LinkState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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