Documentation
¶
Index ¶
- Variables
- func CallAgent[I any, O any](ctx context.Context, rpcFunction rpc.RPCFunction, args I) (O, error)
- func ToOptional[T comparable](v T) *T
- type AgentPing
- type AgentPingInput
- type AgentPingOutput
- type AnsibleExecute
- type AnsibleExecuteInput
- type AnsibleExecuteOutput
- type Exec
- type ExecInput
- type ExecOutput
- type FileStat
- type FileStatFileMode
- type FileStatInput
- type FileStatOutput
Constants ¶
This section is empty.
Variables ¶
View Source
var Tracer = otel.Tracer("mid/provider/executor")
Functions ¶
func ToOptional ¶
func ToOptional[T comparable](v T) *T
Types ¶
type AgentPing ¶
type AgentPing struct{}
func (AgentPing) Invoke ¶ added in v0.0.8
func (f AgentPing) Invoke( ctx context.Context, req infer.FunctionRequest[AgentPingInput], ) (infer.FunctionResponse[AgentPingOutput], error)
type AgentPingInput ¶ added in v0.0.8
type AgentPingInput struct {
Ping string `pulumi:"ping,optional"`
}
type AgentPingOutput ¶ added in v0.0.8
type AnsibleExecute ¶
type AnsibleExecute struct{}
func (AnsibleExecute) Invoke ¶ added in v0.0.8
func (f AnsibleExecute) Invoke( ctx context.Context, req infer.FunctionRequest[AnsibleExecuteInput], ) (infer.FunctionResponse[AnsibleExecuteOutput], error)
type AnsibleExecuteInput ¶ added in v0.0.8
type AnsibleExecuteOutput ¶ added in v0.0.8
type Exec ¶
type Exec struct{}
func (Exec) Invoke ¶ added in v0.0.8
func (f Exec) Invoke( ctx context.Context, req infer.FunctionRequest[ExecInput], ) (infer.FunctionResponse[ExecOutput], error)
type ExecOutput ¶ added in v0.0.8
type FileStat ¶
type FileStat struct{}
func (FileStat) Invoke ¶ added in v0.0.8
func (f FileStat) Invoke( ctx context.Context, req infer.FunctionRequest[FileStatInput], ) (infer.FunctionResponse[FileStatOutput], error)
type FileStatFileMode ¶
type FileStatInput ¶ added in v0.0.8
type FileStatOutput ¶ added in v0.0.8
type FileStatOutput struct {
FileStatInput
types.FileStatState
}
Click to show internal directories.
Click to hide internal directories.