purrl

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

A Pulumi native provider for making API calls

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	pulumi.ProviderResourceState
}

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

NewProvider registers a new resource with the given unique name, arguments, and options.

func (*Provider) ElementType

func (*Provider) ElementType() reflect.Type

func (*Provider) ToOutput added in v0.5.0

func (i *Provider) ToOutput(ctx context.Context) pulumix.Output[*Provider]

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ProviderArgs

type ProviderArgs struct {
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) ToOutput added in v0.5.0

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type Purrl

type Purrl struct {
	pulumi.CustomResourceState

	// The body of the request.
	Body pulumi.StringPtrOutput `pulumi:"body"`
	// The CA certificate if server cert is not signed by a trusted CA.
	CaCert pulumi.StringPtrOutput `pulumi:"caCert"`
	// The client certificate to use for TLS verification.
	Cert pulumi.StringPtrOutput `pulumi:"cert"`
	// The body of the request.
	DeleteBody pulumi.StringPtrOutput `pulumi:"deleteBody"`
	// The CA certificate if server cert is not signed by a trusted CA.
	DeleteCaCert pulumi.StringPtrOutput `pulumi:"deleteCaCert"`
	// The client certificate to use for TLS verification.
	DeleteCert pulumi.StringPtrOutput `pulumi:"deleteCert"`
	// The headers to send with the request.
	DeleteHeaders pulumi.StringMapOutput `pulumi:"deleteHeaders"`
	// Skip TLS verification.
	DeleteInsecureSkipTLSVerify pulumi.BoolPtrOutput `pulumi:"deleteInsecureSkipTLSVerify"`
	// The client key to use for TLS verification.
	DeleteKey pulumi.StringPtrOutput `pulumi:"deleteKey"`
	// The HTTP method to use.
	DeleteMethod pulumi.StringPtrOutput `pulumi:"deleteMethod"`
	// The response from the API call.
	DeleteResponse pulumi.StringPtrOutput `pulumi:"deleteResponse"`
	// The expected response code.
	DeleteResponseCodes pulumi.StringArrayOutput `pulumi:"deleteResponseCodes"`
	// The API endpoint to call.
	DeleteUrl pulumi.StringPtrOutput `pulumi:"deleteUrl"`
	// The headers to send with the request.
	Headers pulumi.StringMapOutput `pulumi:"headers"`
	// Skip TLS verification.
	InsecureSkipTLSVerify pulumi.BoolPtrOutput `pulumi:"insecureSkipTLSVerify"`
	// The client key to use for TLS verification.
	Key pulumi.StringPtrOutput `pulumi:"key"`
	// The HTTP method to use.
	Method pulumi.StringOutput `pulumi:"method"`
	// The name for this API call.
	Name pulumi.StringOutput `pulumi:"name"`
	// The response from the API call.
	Response     pulumi.StringOutput `pulumi:"response"`
	ResponseCode pulumi.IntOutput    `pulumi:"responseCode"`
	// The expected response code.
	ResponseCodes pulumi.StringArrayOutput `pulumi:"responseCodes"`
	// The API endpoint to call.
	Url pulumi.StringOutput `pulumi:"url"`
}

A Pulumi provider for making API calls

func GetPurrl

func GetPurrl(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PurrlState, opts ...pulumi.ResourceOption) (*Purrl, error)

GetPurrl gets an existing Purrl resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPurrl

func NewPurrl(ctx *pulumi.Context,
	name string, args *PurrlArgs, opts ...pulumi.ResourceOption) (*Purrl, error)

NewPurrl registers a new resource with the given unique name, arguments, and options.

func (*Purrl) ElementType

func (*Purrl) ElementType() reflect.Type

func (*Purrl) ToOutput added in v0.5.0

func (i *Purrl) ToOutput(ctx context.Context) pulumix.Output[*Purrl]

func (*Purrl) ToPurrlOutput

func (i *Purrl) ToPurrlOutput() PurrlOutput

func (*Purrl) ToPurrlOutputWithContext

func (i *Purrl) ToPurrlOutputWithContext(ctx context.Context) PurrlOutput

type PurrlArgs

type PurrlArgs struct {
	// The body of the request.
	Body pulumi.StringPtrInput
	// The CA certificate if server cert is not signed by a trusted CA.
	CaCert pulumi.StringPtrInput
	// The client certificate to use for TLS verification.
	Cert pulumi.StringPtrInput
	// The body of the request.
	DeleteBody pulumi.StringPtrInput
	// The CA certificate if server cert is not signed by a trusted CA.
	DeleteCaCert pulumi.StringPtrInput
	// The client certificate to use for TLS verification.
	DeleteCert pulumi.StringPtrInput
	// The headers to send with the request.
	DeleteHeaders pulumi.StringMapInput
	// Skip TLS verification.
	DeleteInsecureSkipTLSVerify pulumi.BoolPtrInput
	// The client key to use for TLS verification.
	DeleteKey pulumi.StringPtrInput
	// The HTTP method to use.
	DeleteMethod pulumi.StringPtrInput
	// The expected response code.
	DeleteResponseCodes pulumi.StringArrayInput
	// The API endpoint to call.
	DeleteUrl pulumi.StringPtrInput
	// The headers to send with the request.
	Headers pulumi.StringMapInput
	// Skip TLS verification.
	InsecureSkipTLSVerify pulumi.BoolPtrInput
	// The client key to use for TLS verification.
	Key pulumi.StringPtrInput
	// The HTTP method to use.
	Method pulumi.StringInput
	// The name for this API call.
	Name pulumi.StringInput
	// The expected response code.
	ResponseCodes pulumi.StringArrayInput
	// The API endpoint to call.
	Url pulumi.StringInput
}

The set of arguments for constructing a Purrl resource.

func (PurrlArgs) ElementType

func (PurrlArgs) ElementType() reflect.Type

type PurrlArray

type PurrlArray []PurrlInput

func (PurrlArray) ElementType

func (PurrlArray) ElementType() reflect.Type

func (PurrlArray) ToOutput added in v0.5.0

func (i PurrlArray) ToOutput(ctx context.Context) pulumix.Output[[]*Purrl]

func (PurrlArray) ToPurrlArrayOutput

func (i PurrlArray) ToPurrlArrayOutput() PurrlArrayOutput

func (PurrlArray) ToPurrlArrayOutputWithContext

func (i PurrlArray) ToPurrlArrayOutputWithContext(ctx context.Context) PurrlArrayOutput

type PurrlArrayInput

type PurrlArrayInput interface {
	pulumi.Input

	ToPurrlArrayOutput() PurrlArrayOutput
	ToPurrlArrayOutputWithContext(context.Context) PurrlArrayOutput
}

PurrlArrayInput is an input type that accepts PurrlArray and PurrlArrayOutput values. You can construct a concrete instance of `PurrlArrayInput` via:

PurrlArray{ PurrlArgs{...} }

type PurrlArrayOutput

type PurrlArrayOutput struct{ *pulumi.OutputState }

func (PurrlArrayOutput) ElementType

func (PurrlArrayOutput) ElementType() reflect.Type

func (PurrlArrayOutput) Index

func (PurrlArrayOutput) ToOutput added in v0.5.0

func (o PurrlArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Purrl]

func (PurrlArrayOutput) ToPurrlArrayOutput

func (o PurrlArrayOutput) ToPurrlArrayOutput() PurrlArrayOutput

func (PurrlArrayOutput) ToPurrlArrayOutputWithContext

func (o PurrlArrayOutput) ToPurrlArrayOutputWithContext(ctx context.Context) PurrlArrayOutput

type PurrlInput

type PurrlInput interface {
	pulumi.Input

	ToPurrlOutput() PurrlOutput
	ToPurrlOutputWithContext(ctx context.Context) PurrlOutput
}

type PurrlMap

type PurrlMap map[string]PurrlInput

func (PurrlMap) ElementType

func (PurrlMap) ElementType() reflect.Type

func (PurrlMap) ToOutput added in v0.5.0

func (i PurrlMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Purrl]

func (PurrlMap) ToPurrlMapOutput

func (i PurrlMap) ToPurrlMapOutput() PurrlMapOutput

func (PurrlMap) ToPurrlMapOutputWithContext

func (i PurrlMap) ToPurrlMapOutputWithContext(ctx context.Context) PurrlMapOutput

type PurrlMapInput

type PurrlMapInput interface {
	pulumi.Input

	ToPurrlMapOutput() PurrlMapOutput
	ToPurrlMapOutputWithContext(context.Context) PurrlMapOutput
}

PurrlMapInput is an input type that accepts PurrlMap and PurrlMapOutput values. You can construct a concrete instance of `PurrlMapInput` via:

PurrlMap{ "key": PurrlArgs{...} }

type PurrlMapOutput

type PurrlMapOutput struct{ *pulumi.OutputState }

func (PurrlMapOutput) ElementType

func (PurrlMapOutput) ElementType() reflect.Type

func (PurrlMapOutput) MapIndex

func (PurrlMapOutput) ToOutput added in v0.5.0

func (o PurrlMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Purrl]

func (PurrlMapOutput) ToPurrlMapOutput

func (o PurrlMapOutput) ToPurrlMapOutput() PurrlMapOutput

func (PurrlMapOutput) ToPurrlMapOutputWithContext

func (o PurrlMapOutput) ToPurrlMapOutputWithContext(ctx context.Context) PurrlMapOutput

type PurrlOutput

type PurrlOutput struct{ *pulumi.OutputState }

func (PurrlOutput) Body

The body of the request.

func (PurrlOutput) CaCert added in v0.3.0

func (o PurrlOutput) CaCert() pulumi.StringPtrOutput

The CA certificate if server cert is not signed by a trusted CA.

func (PurrlOutput) Cert added in v0.3.0

The client certificate to use for TLS verification.

func (PurrlOutput) DeleteBody

func (o PurrlOutput) DeleteBody() pulumi.StringPtrOutput

The body of the request.

func (PurrlOutput) DeleteCaCert added in v0.3.0

func (o PurrlOutput) DeleteCaCert() pulumi.StringPtrOutput

The CA certificate if server cert is not signed by a trusted CA.

func (PurrlOutput) DeleteCert added in v0.3.0

func (o PurrlOutput) DeleteCert() pulumi.StringPtrOutput

The client certificate to use for TLS verification.

func (PurrlOutput) DeleteHeaders

func (o PurrlOutput) DeleteHeaders() pulumi.StringMapOutput

The headers to send with the request.

func (PurrlOutput) DeleteInsecureSkipTLSVerify added in v0.3.0

func (o PurrlOutput) DeleteInsecureSkipTLSVerify() pulumi.BoolPtrOutput

Skip TLS verification.

func (PurrlOutput) DeleteKey added in v0.3.0

func (o PurrlOutput) DeleteKey() pulumi.StringPtrOutput

The client key to use for TLS verification.

func (PurrlOutput) DeleteMethod

func (o PurrlOutput) DeleteMethod() pulumi.StringPtrOutput

The HTTP method to use.

func (PurrlOutput) DeleteResponse

func (o PurrlOutput) DeleteResponse() pulumi.StringPtrOutput

The response from the API call.

func (PurrlOutput) DeleteResponseCodes

func (o PurrlOutput) DeleteResponseCodes() pulumi.StringArrayOutput

The expected response code.

func (PurrlOutput) DeleteUrl

func (o PurrlOutput) DeleteUrl() pulumi.StringPtrOutput

The API endpoint to call.

func (PurrlOutput) ElementType

func (PurrlOutput) ElementType() reflect.Type

func (PurrlOutput) Headers

func (o PurrlOutput) Headers() pulumi.StringMapOutput

The headers to send with the request.

func (PurrlOutput) InsecureSkipTLSVerify added in v0.3.0

func (o PurrlOutput) InsecureSkipTLSVerify() pulumi.BoolPtrOutput

Skip TLS verification.

func (PurrlOutput) Key added in v0.3.0

The client key to use for TLS verification.

func (PurrlOutput) Method

func (o PurrlOutput) Method() pulumi.StringOutput

The HTTP method to use.

func (PurrlOutput) Name

func (o PurrlOutput) Name() pulumi.StringOutput

The name for this API call.

func (PurrlOutput) Response

func (o PurrlOutput) Response() pulumi.StringOutput

The response from the API call.

func (PurrlOutput) ResponseCode added in v0.4.0

func (o PurrlOutput) ResponseCode() pulumi.IntOutput

func (PurrlOutput) ResponseCodes

func (o PurrlOutput) ResponseCodes() pulumi.StringArrayOutput

The expected response code.

func (PurrlOutput) ToOutput added in v0.5.0

func (o PurrlOutput) ToOutput(ctx context.Context) pulumix.Output[*Purrl]

func (PurrlOutput) ToPurrlOutput

func (o PurrlOutput) ToPurrlOutput() PurrlOutput

func (PurrlOutput) ToPurrlOutputWithContext

func (o PurrlOutput) ToPurrlOutputWithContext(ctx context.Context) PurrlOutput

func (PurrlOutput) Url

The API endpoint to call.

type PurrlState

type PurrlState struct {
}

func (PurrlState) ElementType

func (PurrlState) ElementType() reflect.Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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