threefold

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

The Pulumi Resource Provider for the Threefold Grid.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	// The key type registered on substrate (ed25519 or sr25519).
	Key_type pulumi.StringPtrOutput `pulumi:"key_type"`
	// The mnemonic of the user. It is very secret.
	Mnemonic pulumi.StringPtrOutput `pulumi:"mnemonic"`
	// The network to deploy on.
	Network pulumi.StringPtrOutput `pulumi:"network"`
	// The relay url, example: wss://relay.dev.grid.tf
	Relay_url pulumi.StringPtrOutput `pulumi:"relay_url"`
	// The timeout duration in seconds for rmb calls
	Rmb_timeout pulumi.StringPtrOutput `pulumi:"rmb_timeout"`
	// The substrate url, example: wss://tfchain.dev.grid.tf/ws
	Substrate_url pulumi.StringPtrOutput `pulumi:"substrate_url"`
}

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) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

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

type ProviderArgs

type ProviderArgs struct {
	// The key type registered on substrate (ed25519 or sr25519).
	Key_type pulumi.StringPtrInput
	// The mnemonic of the user. It is very secret.
	Mnemonic pulumi.StringPtrInput
	// The network to deploy on.
	Network pulumi.StringPtrInput
	// The relay url, example: wss://relay.dev.grid.tf
	Relay_url pulumi.StringPtrInput
	// The timeout duration in seconds for rmb calls
	Rmb_timeout pulumi.StringPtrInput
	// The substrate url, example: wss://tfchain.dev.grid.tf/ws
	Substrate_url pulumi.StringPtrInput
}

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) Key_type

func (o ProviderOutput) Key_type() pulumi.StringPtrOutput

The key type registered on substrate (ed25519 or sr25519).

func (ProviderOutput) Mnemonic

func (o ProviderOutput) Mnemonic() pulumi.StringPtrOutput

The mnemonic of the user. It is very secret.

func (ProviderOutput) Network

The network to deploy on.

func (ProviderOutput) Relay_url

func (o ProviderOutput) Relay_url() pulumi.StringPtrOutput

The relay url, example: wss://relay.dev.grid.tf

func (ProviderOutput) Rmb_timeout

func (o ProviderOutput) Rmb_timeout() pulumi.StringPtrOutput

The timeout duration in seconds for rmb calls

func (ProviderOutput) Substrate_url

func (o ProviderOutput) Substrate_url() pulumi.StringPtrOutput

The substrate url, example: wss://tfchain.dev.grid.tf/ws

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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