provider

package
v3.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: Apache-2.0 Imports: 4 Imported by: 38

Documentation

Index

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

func (a CallArgs) CopyTo(args interface{}) (pulumi.Resource, error)

CopyTo sets the args on the given args struct. If there is a `__self__` argument, it will be returned, otherwise it will return nil.

func (CallArgs) Map added in v3.6.1

func (a CallArgs) Map() (pulumi.Map, error)

Map returns the args as a Map.

func (CallArgs) Self added in v3.6.1

func (a CallArgs) Self() (pulumi.Resource, error)

Self retrieves the `__self__` argument. If `__self__` is present the value is returned, otherwise the returned value will be nil.

type CallFunc added in v3.6.1

type CallFunc func(ctx *pulumi.Context, tok string, args CallArgs) (*CallResult, error)

type CallResult added in v3.6.1

type CallResult struct {
	Return pulumi.Input
}

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.

func (ConstructInputs) Map

func (inputs ConstructInputs) Map() (pulumi.Map, error)

Map returns the inputs as a Map.

type ConstructResult

type ConstructResult struct {
	URN   pulumi.URNInput
	State pulumi.Input
}

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.

Jump to

Keyboard shortcuts

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