types

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: May 23, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffAttribute added in v0.0.3

func DiffAttribute(o any, n any) *p.PropertyDiff

func DiffAttributes added in v0.0.3

func DiffAttributes(olds any, news any, attributes []string) p.DiffResponse

func DiffTriggers added in v0.0.3

func DiffTriggers(olds any, news any) p.DiffResponse

func MergeDiffResponses added in v0.0.3

func MergeDiffResponses(drs ...p.DiffResponse) p.DiffResponse

Types

type Config

type Config struct {
	Connection        *Connection `pulumi:"connection" provider:"secret"`
	DeleteUnreachable bool        `pulumi:"deleteUnreachable,optional"`
}

func (Config) GetDeleteUnreachable added in v0.0.5

func (config Config) GetDeleteUnreachable() bool

type Connection

type Connection struct {
	ConnectionBase
}

type ConnectionBase

type ConnectionBase struct {
	User       *string  `pulumi:"user,optional"`
	Password   *string  `pulumi:"password,optional" provider:"secret"`
	Host       *string  `pulumi:"host"`
	Port       *float64 `pulumi:"port,optional"`
	PrivateKey *string  `pulumi:"privateKey,optional" provider:"secret"`
}

type ExecCommand added in v0.0.3

type ExecCommand struct {
	Command     []string           `pulumi:"command"`
	Environment *map[string]string `pulumi:"environment,optional"`
	Dir         *string            `pulumi:"dir,optional"`
	Stdin       *string            `pulumi:"stdin,optional"`
}

type ExecLogging added in v0.0.3

type ExecLogging string
const (
	ExecLoggingStdout          ExecLogging = "stdout"
	ExecLoggingStderr          ExecLogging = "stderr"
	ExecLoggingStdoutAndStderr ExecLogging = "stdoutAndStderr"
	ExecLoggingNone            ExecLogging = "none"
)

type ProxyConnection

type ProxyConnection struct {
	ConnectionBase
}

type TriggersInput

type TriggersInput struct {
	Refresh *[]any `pulumi:"refresh,optional"`
	Replace *[]any `pulumi:"replace,optional" provider:"replaceOnChanges"`
}

type TriggersOutput

type TriggersOutput struct {
	Refresh     *[]any `pulumi:"refresh,optional"`
	Replace     *[]any `pulumi:"replace,optional"`
	LastChanged string `pulumi:"lastChanged"`
}

func UpdateTriggerState added in v0.0.3

func UpdateTriggerState(outs TriggersOutput, ins *TriggersInput, changed bool) TriggersOutput

Jump to

Keyboard shortcuts

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