Documentation
¶
Index ¶
- type BaseOutputs
- type Command
- func (c *Command) Annotate(a infer.Annotator)
- func (*Command) Create(ctx context.Context, name string, input CommandInputs, preview bool) (string, CommandOutputs, error)
- func (*Command) Delete(ctx context.Context, id string, props CommandOutputs) error
- func (*Command) Update(ctx context.Context, id string, olds CommandOutputs, news CommandInputs, ...) (CommandOutputs, error)
- type CommandInputs
- type CommandOutputs
- type Connection
- type CopyFile
- type CopyFileInputs
- type CopyFileOutputs
- type CopyToRemote
- func (c *CopyToRemote) Annotate(a infer.Annotator)
- func (c *CopyToRemote) Check(ctx context.Context, urn string, oldInputs, newInputs resource.PropertyMap) (CopyToRemoteInputs, []p.CheckFailure, error)
- func (*CopyToRemote) Create(ctx context.Context, name string, input CopyToRemoteInputs, preview bool) (string, CopyToRemoteOutputs, error)
- func (c *CopyToRemote) Update(ctx context.Context, id string, olds CopyToRemoteOutputs, ...) (CopyToRemoteOutputs, error)
- type CopyToRemoteInputs
- type CopyToRemoteOutputs
- type Logging
- type ProxyConnection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseOutputs ¶
func (*BaseOutputs) Annotate ¶
func (c *BaseOutputs) Annotate(a infer.Annotator)
Implementing Annotate lets you provide descriptions and default values for fields and they will be visible in the provider's schema and the generated SDKs.
type Command ¶
type Command struct{}
func (*Command) Annotate ¶
Implementing Annotate lets you provide descriptions for resources and they will be visible in the provider's schema and the generated SDKs.
func (*Command) Create ¶
func (*Command) Create(ctx context.Context, name string, input CommandInputs, preview bool) (string, CommandOutputs, error)
This is the Create method. This will be run on every Command resource creation.
func (*Command) Update ¶
func (*Command) Update(ctx context.Context, id string, olds CommandOutputs, news CommandInputs, preview bool) (CommandOutputs, error)
The Update method will be run on every update.
type CommandInputs ¶
type CommandInputs struct { common.ResourceInputs // the pulumi-go-provider library uses field tags to dictate behavior. // pulumi:"connection" specifies the name of the field in the schema // pulumi:"optional" specifies that a field is optional. This must be a pointer. // provider:"replaceOnChanges" specifies that the resource will be replaced if the field changes. // provider:"secret" specifies that a field should be marked secret. Stdin *string `pulumi:"stdin,optional"` Logging *Logging `pulumi:"logging,optional"` Connection *Connection `pulumi:"connection" provider:"secret"` Environment map[string]string `pulumi:"environment,optional"` AddPreviousOutputInEnv *bool `pulumi:"addPreviousOutputInEnv,optional"` }
The arguments for a remote Command resource.
func (*CommandInputs) Annotate ¶
func (c *CommandInputs) Annotate(a infer.Annotator)
Implementing Annotate lets you provide descriptions and default values for arguments and they will be visible in the provider's schema and the generated SDKs.
type CommandOutputs ¶
type CommandOutputs struct { CommandInputs BaseOutputs }
The properties for a remote Command resource.
type Connection ¶
type Connection struct { Proxy *ProxyConnection `pulumi:"proxy,optional"` // contains filtered or unexported fields }
func (*Connection) Annotate ¶
func (c *Connection) Annotate(a infer.Annotator)
func (*Connection) Dial ¶
Dial a ssh client connection from a ssh client configuration, retrying as necessary.
func (*Connection) SShConfig ¶
func (con *Connection) SShConfig() (*ssh.ClientConfig, error)
type CopyFile ¶
type CopyFile struct{}
type CopyFileInputs ¶
type CopyFileInputs struct { Connection *Connection `pulumi:"connection" provider:"secret"` Triggers *[]interface{} `pulumi:"triggers,optional" providers:"replaceOnDelete"` LocalPath string `pulumi:"localPath"` RemotePath string `pulumi:"remotePath"` }
func (*CopyFileInputs) Annotate ¶
func (c *CopyFileInputs) Annotate(a infer.Annotator)
CopyFile implements Annotate which allows you to attach descriptions to the CopyFile resource's fields.
type CopyFileOutputs ¶
type CopyFileOutputs struct {
CopyFileInputs
}
type CopyToRemote ¶
type CopyToRemote struct{}
func (*CopyToRemote) Annotate ¶
func (c *CopyToRemote) Annotate(a infer.Annotator)
Copy implements Annotate which allows you to attach descriptions to the Copy resource.
func (*CopyToRemote) Check ¶
func (c *CopyToRemote) Check(ctx context.Context, urn string, oldInputs, newInputs resource.PropertyMap) (CopyToRemoteInputs, []p.CheckFailure, error)
func (*CopyToRemote) Create ¶
func (*CopyToRemote) Create(ctx context.Context, name string, input CopyToRemoteInputs, preview bool) (string, CopyToRemoteOutputs, error)
This is the Create method. This will be run on every Copy resource creation.
func (*CopyToRemote) Update ¶
func (c *CopyToRemote) Update(ctx context.Context, id string, olds CopyToRemoteOutputs, news CopyToRemoteInputs, preview bool) (CopyToRemoteOutputs, error)
type CopyToRemoteInputs ¶
type CopyToRemoteInputs struct { Connection *Connection `pulumi:"connection" provider:"secret"` Triggers *[]interface{} `pulumi:"triggers,optional" provider:"replaceOnChanges"` Source types.AssetOrArchive `pulumi:"source"` RemotePath string `pulumi:"remotePath"` }
func (*CopyToRemoteInputs) Annotate ¶
func (c *CopyToRemoteInputs) Annotate(a infer.Annotator)
type CopyToRemoteOutputs ¶
type CopyToRemoteOutputs struct {
CopyToRemoteInputs
}
type Logging ¶
type Logging string
func (*Logging) ShouldLogStderr ¶
func (*Logging) ShouldLogStdout ¶
type ProxyConnection ¶
type ProxyConnection struct {
// contains filtered or unexported fields
}
func (*ProxyConnection) Annotate ¶
func (c *ProxyConnection) Annotate(a infer.Annotator)
func (*ProxyConnection) SShConfig ¶
func (con *ProxyConnection) SShConfig() (*ssh.ClientConfig, error)