Documentation ¶
Index ¶
- func Call(ctx context.Context, req *pulumirpc.CallRequest, engineConn *grpc.ClientConn, ...) (*pulumirpc.CallResponse, error)
- func Construct(ctx context.Context, req *pulumirpc.ConstructRequest, ...) (*pulumirpc.ConstructResponse, error)
- type CallArgs
- type CallFailure
- type CallFunc
- type CallResult
- type ConstructFunc
- type ConstructInputs
- type ConstructResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Call ¶ added in v3.6.1
func Call(ctx context.Context, req *pulumirpc.CallRequest, engineConn *grpc.ClientConn, call CallFunc) (*pulumirpc.CallResponse, error)
Call adapts the gRPC CallRequest/CallResponse to/from the Pulumi Go SDK programming model.
func Construct ¶
func Construct(ctx context.Context, req *pulumirpc.ConstructRequest, engineConn *grpc.ClientConn, construct ConstructFunc) (*pulumirpc.ConstructResponse, error)
Construct adapts the gRPC ConstructRequest/ConstructResponse to/from the Pulumi Go SDK programming model.
Types ¶
type CallArgs ¶ added in v3.6.1
type CallArgs struct {
// contains filtered or unexported fields
}
CallArgs represents the Call's arguments.
func (CallArgs) CopyTo ¶ added in v3.6.1
CopyTo sets the args on the given args struct. If there is a `__self__` argument, it will be returned, otherwise it will return nil.
type CallFailure ¶ added in v3.18.0
type CallFailure struct { Property string // the property that failed checking. Reason string // the reason the property failed to check. }
CallFailure indicates that a call to Call failed; it contains the property and reason for the failure.
type CallResult ¶ added in v3.6.1
type CallResult struct { // The returned values, if the call was successful. Return pulumi.Input // The failures if any arguments didn't pass verification. Failures []CallFailure }
CallResult is the result of the Call.
func NewCallResult ¶ added in v3.6.1
func NewCallResult(result interface{}) (*CallResult, error)
NewCallResult creates a CallResult from the given result.
type ConstructFunc ¶
type ConstructFunc func(ctx *pulumi.Context, typ, name string, inputs ConstructInputs, options pulumi.ResourceOption) (*ConstructResult, error)
type ConstructInputs ¶
type ConstructInputs struct {
// contains filtered or unexported fields
}
ConstructInputs represents the inputs associated with a call to Construct.
func (ConstructInputs) CopyTo ¶
func (inputs ConstructInputs) CopyTo(args interface{}) error
CopyTo sets the inputs on the given args struct.
type ConstructResult ¶
ConstructResult is the result of a call to Construct.
func NewConstructResult ¶
func NewConstructResult(resource pulumi.ComponentResource) (*ConstructResult, error)
NewConstructResult creates a ConstructResult from the resource.